Commit graph

488 commits

Author SHA1 Message Date
Daniel Rudolf 49cb6c144a
Use Pico's 404.md to deny access to lib, content... dirs 2016-04-24 04:06:40 +02:00
Daniel Rudolf 6234be88b0
Always use on404Content... execution path when serving a 404.md 2016-04-24 04:06:04 +02:00
Daniel Rudolf 3a36dbd934
Build system: Add automatic version file updates for picocms.org 2016-04-24 03:25:55 +02:00
Daniel Rudolf 4140ad48ac Update CHANGELOG.md 2016-04-21 19:19:03 +02:00
Daniel Rudolf 4e215fe522 Default theme: Force HTTPS to load Google Fonts
See https://github.com/picocms/Pico/pull/346#issuecomment-213000364 (via #346 / d6accc2), thanks @smcdougall
2016-04-21 19:18:15 +02:00
Daniel Rudolf 2d728d56af Update CHANGELOG.md 2016-04-21 14:16:14 +02:00
Daniel Rudolf 32be061cd6 Merge pull request #346 from ghuron/patch-1
Use http or https depending on page access
2016-04-21 14:14:41 +02:00
ghuron d6accc23ee Use http or https depending on page access 2016-04-21 14:58:47 +03: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 2678473e09 Merge pull request #342 from ErickMR19/patch-1
Update style.css
2016-04-16 13:55:47 +02:00
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
2016-04-16 01:14:19 -06:00
Daniel Rudolf d8f9166918
Fix nginx configuration example
Thanks Robby (via IRC)
2016-04-15 17:25:20 +02:00
Daniel Rudolf 6557f5684d Update CHANGELOG.md 2016-04-04 13:48:29 +02:00
Daniel Rudolf 3fbcea7837 Default theme: Add definition list styling
Resolves #339. Thanks @Marcussacapuces91
2016-04-04 13:46:19 +02:00
Daniel Rudolf 2d2491e36f Update CHANGELOG.md 2016-03-24 17:42:40 +01:00
Daniel Rudolf b31c93acf6 Inline docs: Fix blogging tutorial
Fixes #338. Thank you @marctilman
2016-03-24 17:41:26 +01:00
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
```
2016-03-16 14:36:08 +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 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.
2016-03-16 14:27:42 +01:00
Daniel Rudolf 0a4e7443d2 Fix class doc typos 2016-03-16 13:33:52 +01:00
Daniel Rudolf 8426a53f63 Allow Pico::$requestFile to point to somewhere outside content_dir
Bugfix; Refactoring Pico::load404Content() and Pico::discoverCurrentPage()
2016-03-03 00:04:31 +01:00
Daniel Rudolf a2aa46fd0e Don't let dependant plugins automatically enable plugins which should be disabled by default
Follow-up to f10440b and c0a7fdc
2016-02-29 20:58:42 +01:00
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
2016-02-29 20:41:41 +01:00
Daniel Rudolf 98b1f87281 CONTRIBUTING.md: Update markdown parsers 2016-02-29 20:20:02 +01:00
Daniel Rudolf 4f487b7ccf AbstractPicoPlugin: Fix typos in exception message 2016-02-29 19:47:02 +01:00
Daniel Rudolf f10440b996 Check dependencies when a plugin is enabled by default 2016-02-29 19:44:25 +01:00
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
```
2016-02-27 19:25:52 +01:00
Daniel Rudolf b7a296ffb4 CHANGELOG.md: Update v1.0.1 release date 2016-02-27 19:25:40 +01:00
Daniel Rudolf 871316962b Update README.md: Add IRC + Issue infos 2016-02-27 19:17:35 +01:00
Daniel Rudolf 51bdee794b Update CHANGELOG.md 2016-02-24 23:30:43 +01:00
Daniel Rudolf b77c9da29b Force Apache's MultiViews feature to be disabled
Thanks @sonst-was for reporting this. Resolves #329
2016-02-24 23:28:41 +01:00
Daniel Rudolf 159a849c65 CONTRIBUTING.md: Improve "Build & Release process" section 2016-02-12 16:56:05 +01:00
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
2016-02-06 21:37:10 +01:00
Daniel Rudolf 42c5e0a5b6 README.md: Remove Scrutinizer badge
... due to pretty pointless results and recommendations
2016-02-06 21:35:43 +01:00
Daniel Rudolf 327c55db77 Add Markdown Extra to inline user docs
Resolves #321. Thanks @ufgum for reporting
2016-02-04 14:23:16 +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 ce508fab6b Replace version_compare() in index.php.dist with PHP_VERSION_ID 2016-01-25 19:32:17 +01:00
Daniel Rudolf 1c2f6a1b23 Update class docs 2016-01-25 19:31:53 +01:00
Daniel Rudolf dbd8fa8c2f Merge pull request #315 from picocms/enhancement/static-badges
Add static shields.io badge generator
2016-01-25 19:28:36 +01:00
Daniel Rudolf ce84a8618c Build system: Minor code refactoring 2016-01-17 21:26:06 +01:00
Daniel Rudolf 10495c2ce5 _build/generate-badge.sh: Use curl instead of wget
After playing around a little bit with a Ubuntu 12.04 LTS virtual machine, `curl` came in my mind... I've absolutetly no idea why `curl` works, but `wget` does not (it's an issue with OpenSSL and both use it the same way...), but anyway - it works
2016-01-16 00:06:12 +01:00
Daniel Rudolf 0f85f85367 Build scripts: Fix exit codes 2016-01-14 22:57:31 +01:00
Daniel Rudolf 32ea0508cf _build/github-deploy.sh: Fix exit code on conflicting remote commit 2016-01-14 22:49:31 +01:00
Daniel Rudolf f46d0b978c _build/generate-badge.sh: Skip on emty file 2016-01-14 16:33:42 +01:00
Daniel Rudolf 9f0c7bde5d Revert "_build/generate-badge.sh: Connect to shields.io using SSLv3"
This reverts commit 1561786f31.
2016-01-14 16:24:10 +01:00
Daniel Rudolf 1561786f31 _build/generate-badge.sh: Connect to shields.io using SSLv3
This is necessary due to a strange TLS bug in Ubuntu 12.04 LTS used by Travis CI. See https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/861137 for details.
2016-01-14 16:02:34 +01:00
Daniel Rudolf 4f60289d36 _build/deploy-phpdoc-release.sh: Fix version badge status 2016-01-14 15:16:14 +01:00