Daniel Rudolf
2d728d56af
Update CHANGELOG.md
9 years ago
Daniel Rudolf
32be061cd6
Merge pull request #346 from ghuron/patch-1
...
Use http or https depending on page access
9 years ago
ghuron
d6accc23ee
Use http or https depending on page access
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
2678473e09
Merge pull request #342 from ErickMR19/patch-1
...
Update style.css
9 years ago
Erick Madrigal Ríos
0e632bdaa1
Update style.css
...
Responsive design is currently broken when the width is between 768px and 850px, because the width of inner class is set fixed at 850px
9 years ago
Daniel Rudolf
d8f9166918
Fix nginx configuration example
...
Thanks Robby (via IRC)
9 years ago
Daniel Rudolf
6557f5684d
Update CHANGELOG.md
9 years ago
Daniel Rudolf
3fbcea7837
Default theme: Add definition list styling
...
Resolves #339 . Thanks @Marcussacapuces91
9 years ago
Daniel Rudolf
2d2491e36f
Update CHANGELOG.md
9 years ago
Daniel Rudolf
b31c93acf6
Inline docs: Fix blogging tutorial
...
Fixes #338 . Thank you @marctilman
9 years ago
Daniel Rudolf
46781c7c7b
Version 1.0.2
...
```
* [Changed] Various small improvements and changes...
* [Fixed] Check dependencies when a plugin is enabled by default
* [Fixed] Allow `Pico::$requestFile` to point to somewhere outside `content_dir`
* [Fixed] #336 : Fix `Date` meta header parsing with ISO-8601 datetime strings
```
9 years ago
Daniel Rudolf
92b72104da
Update CHANGELOG.md
9 years ago
Daniel Rudolf
5534e401f7
Update CHANGELOG.md
9 years ago
Daniel Rudolf
bbd8ef8847
Fix Date meta header parsing with ISO-8601 datetime strings
...
Symfony YAML interprets ISO-8601 datetime strings and returns timestamps instead of the string. This behavior conforms to the YAML standard, i.e. this is no bug of Symfony YAML.
Fixes #336 . Thanks @csholmq for reporting this.
9 years ago
Daniel Rudolf
0a4e7443d2
Fix class doc typos
9 years ago
Daniel Rudolf
d56d3f8c8c
Revert "Default theme: Move elements into Twig blocks"
...
This reverts commit a3fa373119
.
At first glance this adds flexibility, but at the moment it is impossible with Twig to ensure the existance of a block. As a result, custom themes may break the plugin. A custom theme should overwrite a plugin's template explicitly.
9 years ago
Daniel Rudolf
3d11b8a979
Replace is_a() function calls with instanceof operator
9 years ago
Daniel Rudolf
dc621b24cd
Improve class docs of Pico::loadConfig()
9 years ago
Daniel Rudolf
988a23fd02
Modular config: Load config from any config/*.config.php
...
Resolves #330
After loading the `config/config.php`, Pico proceeds with any existing `config/*.config.php` in alphabetical order. The file order is crucial: Config values which has been set already, cannot be overwritten by a succeeding file. This is also true for arrays, i.e. when specifying `$config['test'] = array('foo' => 'bar')` in `config/a.config.php` and `$config['test'] = array('baz' => 42)` in `config/b.config.php`, `$config['test']['baz']` will be undefined
9 years ago
Daniel Rudolf
cd74b681f5
Fix scope isolated config includes
9 years ago
Daniel Rudolf
75d5081bfb
Use scope isolated includes for plugins & config
9 years ago
Daniel Rudolf
5bb1c325ff
Add onSinglePageLoading event; allow skipping pages in onSinglePageLoaded
9 years ago
Daniel Rudolf
245cd15770
Refactor Pico::prepareFileContent() for better performance
9 years ago
Daniel Rudolf
479926eeb4
Add Pico::VERSION constant
9 years ago
Daniel Rudolf
43705d0f76
Minor code refactoring
9 years ago
Daniel Rudolf
0d40259c06
Merge branch 'master' into pico-1.1
9 years ago
Daniel Rudolf
8426a53f63
Allow Pico::$requestFile to point to somewhere outside content_dir
...
Bugfix; Refactoring Pico::load404Content() and Pico::discoverCurrentPage()
9 years ago
Daniel Rudolf
2a3e2fa576
Fix typos in class docs/exception messages
9 years ago
Daniel Rudolf
1709b920d1
Add AbstractPicoPlugin::getPluginConfig() method
9 years ago
Daniel Rudolf
a3fa373119
Default theme: Move elements into Twig blocks
...
Allows plugins to extend the default template
9 years ago
Daniel Rudolf
86614a3ab4
Default theme: Use flexbox to grow content div
9 years ago
Daniel Rudolf
a8f0fd1f33
Merge branch 'master' into pico-1.1
9 years ago
Daniel Rudolf
a2aa46fd0e
Don't let dependant plugins automatically enable plugins which should be disabled by default
...
Follow-up to f10440b
and c0a7fdc
9 years ago
Daniel Rudolf
c0a7fdc801
Don't always check dependants of a disabled plugin
...
This isn't necessary because dependant plugins will check their dependencies on their own. Follow-up to f10440b
9 years ago
Daniel Rudolf
98b1f87281
CONTRIBUTING.md: Update markdown parsers
9 years ago
Daniel Rudolf
5a9c02f7bf
Allow plugins to trigger events
...
You MUST NOT trigger events of Pico's core through a plugin!
9 years ago
Daniel Rudolf
56b2ed6c7d
Allow manual plugin loading
9 years ago
Daniel Rudolf
4f487b7ccf
AbstractPicoPlugin: Fix typos in exception message
9 years ago
Daniel Rudolf
f10440b996
Check dependencies when a plugin is enabled by default
9 years ago
Daniel Rudolf
996d946eb7
Version 1.0.1
...
```
* [Changed] Improve documentation
* [Changed] Replace `version_compare()` with `PHP_VERSION_ID` in
`index.php.dist` (available since PHP 5.2.7)
* [Fixed] Suppress PHP warning when using `date_default_timezone_get()`
* [Fixed] #329 : Force Apache's `MultiViews` feature to be disabled
```
9 years ago
Daniel Rudolf
b7a296ffb4
CHANGELOG.md: Update v1.0.1 release date
9 years ago
Daniel Rudolf
871316962b
Update README.md: Add IRC + Issue infos
9 years ago
Daniel Rudolf
51bdee794b
Update CHANGELOG.md
9 years ago
Daniel Rudolf
b77c9da29b
Force Apache's MultiViews feature to be disabled
...
Thanks @sonst-was for reporting this. Resolves #329
9 years ago
Daniel Rudolf
159a849c65
CONTRIBUTING.md: Improve "Build & Release process" section
9 years ago
Daniel Rudolf
70d3c76758
README.md: Add Freenode IRC badge
...
Join #picocms on irc.freenode.net via irc://irc.freenode.net/picocms or https://webchat.freenode.net/?channels=%23picocms
10 years ago
Daniel Rudolf
42c5e0a5b6
README.md: Remove Scrutinizer badge
...
... due to pretty pointless results and recommendations
10 years ago
Daniel Rudolf
327c55db77
Add Markdown Extra to inline user docs
...
Resolves #321 . Thanks @ufgum for reporting
10 years ago