Daniel Rudolf
fb7d99d3da
Update CHANGELOG.md
8 years ago
Daniel Rudolf
c697ec2e5c
Update CHANGELOG.md for Pico v2.0.0-beta.1 and upcoming v2.0.0-beta.2
8 years ago
Daniel Rudolf
1cd6e241f0
Prepare v2.0.0-beta.1
8 years ago
Daniel Rudolf
be0828bf2a
Update CHANGELOG.md
8 years ago
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 😆
8 years ago
Daniel Rudolf
a2d0d745ff
Fix detection of Windows-based server environments
8 years ago
Daniel Rudolf
d9393df4fa
Pico::getBaseUrl(): Improve hostname detection with proxies
9 years ago
Daniel Rudolf
6a68df2866
Update CHANGELOG.md
9 years ago
Daniel Rudolf
53ebf0e39d
Update CHANGELOG.md
9 years ago
Daniel Rudolf
f8e6d4fbd1
Update CHANGELOG.md
9 years ago
Daniel Rudolf
08fd7465bc
Update CHANGELOG.md
9 years ago
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.
9 years ago
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".
```
9 years ago
Daniel Rudolf
bf1663cc1c
Add Pico's social icons to default theme
9 years ago
Daniel Rudolf
d17f0a8a8f
Update CHANGELOG.md
9 years ago
Daniel Rudolf
ee5b4f0d56
.htaccess: Deny access to CHANGELOG.md, composer.json, composer.lock
...
See discussion in #343
9 years ago
Daniel Rudolf
8b1539640d
Update CHANGELOG.md
9 years ago
Daniel Rudolf
4140ad48ac
Update CHANGELOG.md
9 years ago
Daniel Rudolf
2d728d56af
Update CHANGELOG.md
9 years ago
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
9 years ago
Daniel Rudolf
27d32430ee
Update CHANGELOG.md
9 years ago
Daniel Rudolf
6557f5684d
Update CHANGELOG.md
9 years ago
Daniel Rudolf
2d2491e36f
Update CHANGELOG.md
9 years ago
Daniel Rudolf
92b72104da
Update CHANGELOG.md
9 years ago
Daniel Rudolf
5534e401f7
Update CHANGELOG.md
9 years ago
Daniel Rudolf
f10440b996
Check dependencies when a plugin is enabled by default
9 years ago
Daniel Rudolf
b7a296ffb4
CHANGELOG.md: Update v1.0.1 release date
9 years ago
Daniel Rudolf
51bdee794b
Update CHANGELOG.md
9 years ago
Daniel Rudolf
d8be108c5b
Suppress PHP warning when using date_default_timezone_get()
...
Thanks to @nem25 for reporting this
10 years ago
Daniel Rudolf
b3f1347379
Update CHANGELOG.md
10 years ago
Daniel Rudolf
d5689cc9af
Update CHANGELOG.md
10 years ago
Daniel Rudolf
13632afa54
Update CHANGELOG.md
10 years ago
Daniel Rudolf
5be2f8e597
Fix path handling on Windows
...
Fixes #307 ; thank you @bpgs for reporting!
10 years ago
Daniel Rudolf
d2842956b2
Update CHANGELOG.md
10 years ago
Daniel Rudolf
329049bd18
Fix empty meta header
10 years ago
Daniel Rudolf
67e1e8a8ea
Default theme: Highlight active page + hide untitled pages
...
Related to #302
10 years ago
Daniel Rudolf
a138d23daf
Throw LogicException instead of RuntimeException in Pico::setConfig()
10 years ago
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.
10 years ago
theshka
fa4e095bdf
Move LICENSE to LICENSE.md
10 years ago
Daniel Rudolf
b23a777f5a
Update CHANGELOG.md
10 years ago
Daniel Rudolf
268c41e7fa
Update CHANGELOG.md
10 years ago
Daniel Rudolf
698a249d45
Force Pico::$requestUrl to have no leading/trailing slash
...
Fixes #291
10 years ago
Daniel Rudolf
98022a5a8f
Update CHANGELOG.md
10 years ago
Diogo Oliveira de Melo
85442266b5
update CHANGELOG
10 years ago
Daniel Rudolf
d252df4b98
Throw RuntimeException on invalid content dirs
10 years ago
Daniel Rudolf
71076e8eba
Update CHANGELOG.md
10 years ago
Daniel Rudolf
aa68cfaa45
Update CHANGELOG.md
10 years ago
Daniel Rudolf
c72ea0ecec
PicoDeprecated: Sanitize content_dir and base_url options when reading config.php in Picos root dir
10 years ago
Daniel Rudolf
19cbb41222
Update CHANGELOG.md
10 years ago
Daniel Rudolf
282b7ce16c
Update CHANGELOG.md
10 years ago