Commit graph

52 commits

Author SHA1 Message Date
Daniel Rudolf be0828bf2a
Update CHANGELOG.md 2017-07-25 15:02:20 +02:00
Daniel Rudolf c69dca0f8c
Remove Twitter links
Our Twitter account is basically abandoned. Our key asset never was a hardly to subdue flood of words anyway 😆
2017-03-17 00:45:34 +01:00
Daniel Rudolf a2d0d745ff
Fix detection of Windows-based server environments 2017-02-19 23:43:43 +01:00
Daniel Rudolf d9393df4fa
Pico::getBaseUrl(): Improve hostname detection with proxies 2016-11-23 23:26:55 +01:00
Daniel Rudolf 6a68df2866
Update CHANGELOG.md 2016-11-02 03:12:09 +01:00
Daniel Rudolf 53ebf0e39d
Update CHANGELOG.md 2016-10-04 13:15:50 +02:00
Daniel Rudolf f8e6d4fbd1
Update CHANGELOG.md 2016-09-17 16:51:00 +02:00
Daniel Rudolf 08fd7465bc
Update CHANGELOG.md 2016-08-24 21:41:54 +02:00
Daniel Rudolf 39d4a7c2ae
Hotfix for responsiveness of default theme
I'll completely refactor the default theme for Pico 1.1... The CSS is just broken.
2016-08-01 16:51:22 +02:00
Daniel Rudolf fb4bdfe1fc
Fix Pico::parseFileMeta() for non-YAML 1-liners
\Symfony\Component\Yaml\Parser::parse() returns the unchanged value when a 1-liner string which is no valid YAML is passed. Assume this string to be the page title. Thus the following page will work now:

```
---
This is the title
---

# Example page

{{ meta.title }} is going to be "This is the title" - or "%meta.title%" == "This is the title".
```
2016-07-15 03:13:58 +02:00
Daniel Rudolf bf1663cc1c
Add Pico's social icons to default theme 2016-07-06 01:26:29 +02:00
Daniel Rudolf d17f0a8a8f
Update CHANGELOG.md 2016-05-11 23:32:26 +02:00
Daniel Rudolf ee5b4f0d56
.htaccess: Deny access to CHANGELOG.md, composer.json, composer.lock
See discussion in #343
2016-04-27 21:02:20 +02:00
Daniel Rudolf 8b1539640d
Update CHANGELOG.md 2016-04-24 04:06:47 +02:00
Daniel Rudolf 4140ad48ac Update CHANGELOG.md 2016-04-21 19:19:03 +02:00
Daniel Rudolf 2d728d56af Update CHANGELOG.md 2016-04-21 14:16:14 +02:00
Daniel Rudolf 8dfb1b14c7
Improve HTTPS detection with proxies
Fixes #344. Thanks @Robby-

Implementation details taken from Symfony 3.0.4, method \Symfony\Component\HttpFoundation\Request::isSecure(), see https://github.com/symfony/symfony/blob/v3.0.4/src/Symfony/Component/HttpFoundation/Request.php#L1169-L1192
2016-04-17 02:44:41 +02:00
Daniel Rudolf 27d32430ee Update CHANGELOG.md 2016-04-16 13:57:18 +02:00
Daniel Rudolf 6557f5684d Update CHANGELOG.md 2016-04-04 13:48:29 +02:00
Daniel Rudolf 2d2491e36f Update CHANGELOG.md 2016-03-24 17:42:40 +01:00
Daniel Rudolf 92b72104da Update CHANGELOG.md 2016-03-16 14:35:41 +01:00
Daniel Rudolf 5534e401f7 Update CHANGELOG.md 2016-03-16 14:30:45 +01:00
Daniel Rudolf f10440b996 Check dependencies when a plugin is enabled by default 2016-02-29 19:44:25 +01:00
Daniel Rudolf b7a296ffb4 CHANGELOG.md: Update v1.0.1 release date 2016-02-27 19:25:40 +01:00
Daniel Rudolf 51bdee794b Update CHANGELOG.md 2016-02-24 23:30:43 +01:00
Daniel Rudolf d8be108c5b Suppress PHP warning when using date_default_timezone_get()
Thanks to @nem25 for reporting this
2016-02-04 14:19:14 +01:00
Daniel Rudolf b3f1347379 Update CHANGELOG.md 2016-01-25 19:48:29 +01:00
Daniel Rudolf d5689cc9af Update CHANGELOG.md 2015-12-24 13:37:31 +01:00
Daniel Rudolf 13632afa54 Update CHANGELOG.md 2015-12-23 16:19:48 +01:00
Daniel Rudolf 5be2f8e597 Fix path handling on Windows
Fixes #307; thank you @bpgs for reporting!
2015-12-23 16:17:06 +01:00
Daniel Rudolf d2842956b2 Update CHANGELOG.md 2015-12-21 04:19:27 +01:00
Daniel Rudolf 329049bd18 Fix empty meta header 2015-12-21 03:42:59 +01:00
Daniel Rudolf 67e1e8a8ea Default theme: Highlight active page + hide untitled pages
Related to #302
2015-12-21 03:31:34 +01:00
Daniel Rudolf a138d23daf Throw LogicException instead of RuntimeException in Pico::setConfig() 2015-12-13 22:19:02 +01:00
Daniel Rudolf 0c85d70820 Adding $queryData parameter to Pico::getPageUrl() method
This allows developers to easily add custom query data to an page URL without the need to check enabled URL rewriting on their own. Since Twigs `link` filter is just an alias for Pico::getPageUrl(), theme designers can do the same with e.g. `{{ "index"|link("foo=bar&baz=42") }}`.

Theme designers, heads up! Don't forget that the result of the `link` filter is never escaped, so the result could contain unescaped ampersands when passing custom query data. You should pass the result to Twigs `escape` filter when using custom query data.
2015-12-13 22:14:05 +01:00
theshka fa4e095bdf Move LICENSE to LICENSE.md 2015-12-01 15:12:20 -06:00
Daniel Rudolf b23a777f5a Update CHANGELOG.md 2015-11-30 19:05:59 +01:00
Daniel Rudolf 268c41e7fa Update CHANGELOG.md 2015-11-30 18:49:05 +01:00
Daniel Rudolf be46e19677 Merge branch 'master' into feature/PicoTwigExtension
Conflicts:
	CHANGELOG.md
2015-11-29 22:19:57 +01:00
Daniel Rudolf 698a249d45 Force Pico::$requestUrl to have no leading/trailing slash
Fixes #291
2015-11-27 22:52:45 +01:00
Daniel Rudolf 98022a5a8f Update CHANGELOG.md 2015-11-27 20:21:13 +01:00
Diogo Oliveira de Melo 85442266b5 update CHANGELOG 2015-11-23 20:29:33 -02:00
Daniel Rudolf d252df4b98 Throw RuntimeException on invalid content dirs 2015-11-19 04:48:22 +01:00
Daniel Rudolf 71076e8eba Update CHANGELOG.md 2015-11-14 00:27:49 +01:00
Daniel Rudolf aa68cfaa45 Update CHANGELOG.md 2015-11-13 22:34:47 +01:00
Daniel Rudolf c72ea0ecec PicoDeprecated: Sanitize content_dir and base_url options when reading config.php in Picos root dir 2015-11-13 19:10:30 +01:00
Daniel Rudolf 19cbb41222 Update CHANGELOG.md 2015-11-13 16:48:20 +01:00
Daniel Rudolf 282b7ce16c Update CHANGELOG.md 2015-11-12 20:36:05 +01:00
Daniel Rudolf 8ff18c9366 Update CHANGELOG.md 2015-11-08 14:35:28 +01:00
Daniel Rudolf af8de56512 Fix typos 2015-11-04 19:50:44 +01:00