Commit graph

965 commits

Author SHA1 Message Date
Daniel Rudolf c3c7606d2c
Merge branch 'master' into pico-3.0-alpha 2020-12-24 17:27:35 +01:00
Daniel Rudolf 221625efac
CONTRIBUTING.md: Rename 'type: Question' label to 'type: Support' 2020-11-11 16:10:46 +01:00
Daniel Rudolf 7228129cad
Version 2.1.4
```
* [Changed] Silence PHP errors in Parsedown
* [Fixed] #560: Improve charset guessing for formatted date strings using
          `strftime()` (Pico always uses UTF-8, but `strftime()` might not)
```
2020-08-29 16:15:52 +02:00
Daniel Rudolf b95cfe0a0e
Update Pico::VERSION and Pico::VERSION_ID 2020-08-29 16:15:37 +02:00
Daniel Rudolf e4741d0fde
Update CHANGELOG.md 2020-08-29 16:14:52 +02:00
Daniel Rudolf 1916dc5645
Silence PHP notices in upstream Parsedown
Parsedown is a still unresolved issue in whole, this at least ensures that we don't fill up logfiles with useless errors...
2020-08-29 16:07:10 +02:00
Daniel Rudolf 4be1f6ae90
Try to proberly encode formatted date strings returned by strftime()
Fixes #560
2020-08-29 16:04:10 +02:00
Daniel Rudolf 9bf317f903
Travis CI: Use phpDocumentor 3 2020-07-10 19:45:21 +02:00
Daniel Rudolf 0e2b124b8e
Version 2.1.3
```
* [New] Add `locale` option to `config/config.yml`
* [Changed] Improve Pico docs
```
2020-07-10 18:51:38 +02:00
Daniel Rudolf 590d467347
Update Pico::VERSION and Pico::VERSION_ID 2020-07-10 18:51:32 +02:00
Daniel Rudolf 649feed2f6
Update CHANGELOG.md 2020-07-10 18:50:35 +02:00
Dimitri Merejkowsky 1345d6ac82 More inclusive README
Replace 'you guys' by something more gender neutral.
2020-06-29 21:40:47 +02:00
Daniel Rudolf 60f27dfe85
Merge pull request #546 from asdfuser/master
Add option to set a locale
2020-06-14 19:03:08 +02:00
Daniel Willmann b2df860546 Add option to set a locale
As mentioned in https://www.php.net/manual/en/function.basename.php both
basename() and dirname() are locale aware.
An incorrect locale can cause the page tree to behave in strange ways.

For example the structure

/über-uns
 |-index.md
 |-impressum.md

could lead to the page impressum not being a child of über-uns.
2020-06-14 17:34:46 +02:00
Daniel Rudolf d6f9806b32
Replace substr()-based comparisons by substr_compare() 2020-05-01 20:55:00 +02:00
Daniel Rudolf bc816febfc
Remove deprecated Pico::getBaseThemeUrl()
Use Pico::getConfig('themes_url') instead.
2020-04-11 23:21:45 +02:00
Daniel Rudolf efc4fb5288
Remove deprecated AbstractPlugin::__call()
Use AbstractPlugin::getPico() instead (e.g. `->getPico()->getConfig('my_config')` instead of `->getConfig('my_config')`).
2020-04-11 23:21:20 +02:00
Daniel Rudolf 9f596ac5b7
Improve phpDocumentor 3 config 2020-04-11 23:12:22 +02:00
Daniel Rudolf de5bd4399c
Update to phpDocumentor 3 config 2020-04-11 22:13:00 +02:00
Daniel Rudolf 1b1fa73fd9
Fix Travis CI 2020-04-11 21:21:33 +02:00
Daniel Rudolf 646aa355e5
Various small improvements 2020-04-11 21:15:50 +02:00
Daniel Rudolf bdafcb5b96
Fix Travis CI 2020-04-10 23:52:44 +02:00
Daniel Rudolf 62aa4dbc7e
Check theme dir before trying to load theme 2020-04-10 23:44:00 +02:00
Daniel Rudolf dffaa012f7
Merge branch 'master' into pico-3.0 2020-04-10 23:33:20 +02:00
Daniel Rudolf 1aca13e83d
Version 2.1.2
```
* [Fixed] Fix DummyPlugin declaring API version 3
```
2020-04-10 23:18:00 +02:00
Daniel Rudolf b892d6bb11
Update Pico::VERSION and Pico::VERSION_ID 2020-04-10 23:17:45 +02:00
Daniel Rudolf 0ddde859e8
Update CHANGELOG.md 2020-04-10 23:17:01 +02:00
Daniel Rudolf 6c746fabb6
Fix DummyPlugin declaring API version 3 2020-04-10 23:14:33 +02:00
Daniel Rudolf 85d7573020
Update to Symfony YAML 5.0 and Twig 3.0
Pico now requires PHP 7.2.5+
2020-04-10 23:11:53 +02:00
Daniel Rudolf b1a58b9300
Update code styling to PHP 7.0+
This commit includes no functional changes.
2020-04-10 23:08:57 +02:00
Daniel Rudolf 812ae5c215
Move Pico to picocms\Pico\ namespace 2020-04-10 23:08:54 +02:00
Daniel Rudolf af9c09e440
Add composer.json branch alias for Pico 3.0 2020-03-29 16:04:38 +02:00
Daniel Rudolf 039dd4edb2
Version 3.0.0-alpha.1
```
* [New] Kick-start development of Pico 3.0
* [Changed] Require PHP 7.0.8+
* [Changed] Update dependencies: Twig 2.12, Symfony YAML 3.4, Parsedown 1.7.4
            and Parsedown Extra 0.8.1; this is just an interim step, we'll
            update to Twig 3.0+ and Symfony YAML 5.0+ later
```
2020-03-29 15:33:14 +02:00
Daniel Rudolf b6a0343118
Update CHANGELOG.md 2020-03-29 15:07:32 +02:00
Daniel Rudolf 727d8a12c0
Fix Travis CI trying to build Pico 3.0 on PHP 5.x 2020-03-29 14:59:58 +02:00
Daniel Rudolf 2ee41e9a8d
Update Pico::VERSION and Pico::VERSION_ID 2020-03-29 14:57:08 +02:00
Daniel Rudolf a053a72a12
Update dependencies, Pico now requires PHP 7.0.8+
Pico now depends on Twig 2.12, Symfony YAML 3.4, Parsedown 1.7.4 and Parsedown Extra 0.8.1.
2020-03-29 14:39:02 +02:00
Daniel Rudolf 718b790b19
Kick-start development of Pico 3.0 2020-03-29 14:37:35 +02:00
Daniel Rudolf 5d6257feac
Update composer.json branch aliases 2020-03-29 14:35:52 +02:00
Daniel Rudolf b49936fb3a
Version 2.1.1
```
* [Fixed] Require Parsedown 1.8.0-beta-7 and Parsedown Extra 0.8.0-beta-1 due
          to changes in Parsedown and Parsedown Extra breaking BC beyond repair
* [Changed] #523: Check for hidden pages based on page ID instead of full paths
* [Changed] Improve Pico docs
```
2019-12-31 16:33:55 +01:00
Daniel Rudolf 6672fb2277
Update Pico::VERSION and Pico::VERSION_ID 2019-12-31 16:33:45 +01:00
Daniel Rudolf 4c97f69ef8
Update CHANGELOG.md 2019-12-31 16:32:22 +01:00
Daniel Rudolf 8a44584291
Composer: Force Parsedown 1.8.0-beta-7 and Parsedown Extra 0.8.0-beta-1
A few days ago Parsedown released new ("stable") versions of Parsedown and Parsedown Extra: Parsedown 1.7.4 and Parsedown Extra 0.8.1. Parsedown 1.7.4 backports some features of Parsedown 1.8.0-beta-7 and is compatible with Parsedown Extra 0.8.1. However, due to these changes Parsedown Extra 0.8.1 now breaks compatibility with Parsedown 1.8.0-beta-7. Parsedown's release process is messed up beyond repair... Not sure what we're going to do now, this needs some research whether we can downgrade to Parsedown 1.7.4 without breaking things (what would require us to release a new major release, i.e. Pico 3.0). For now we're pinning Parsedown 1.8.0-beta-7 and Parsedown Extra 0.8.0-beta-1 as of Pico 2.1.0.
2019-12-31 16:25:52 +01:00
Daniel Rudolf 447479d973
Test hidden page requests on page ID
Fixes #523
2019-12-31 00:36:22 +01:00
Daniel Rudolf 1d250a2f7c
Travis CI: Switch to PHP 5.3 for branch deployment (just like release deployment) 2019-12-02 19:28:16 +01:00
Daniel Rudolf 86f82b930d
Travis CI: Update to Ubuntu Bionic, add HHVM 3.24 LTS 2019-12-02 19:22:57 +01:00
Daniel Rudolf 95146669f7
README.md: Add instructions for using a Git repo 2019-12-02 18:37:56 +01:00
Daniel Rudolf ae1225f725
Travis CI: Add PHP 7.4 2019-11-30 16:43:00 +01:00
Daniel Rudolf 2661730ef5
CONTRIBUTING.md: Add `info: Pico CMS for Nextcloud\' label 2019-11-29 15:42:33 +01:00
Daniel Rudolf 41a4da5229
Merge pull request #515 from picocms/pico-2.1
This is **Pico 2.1 - small, but mighty!**

If you want to upgrade to Pico 2.1, simply follow the usual upgrade instructions for minor releases. Installing Pico is as easy as before. You can find more extensive upgrade instructions as well as a complete list of all additions and changes in Pico's [upgrade docs](http://picocms.org/in-depth/upgrade-pico-21/) - even though this is a minor release, it's still a lot of new and improved stuff!

You might also want to give [Pico CMS for Nextcloud `v1.0.0`](https://apps.nextcloud.com/apps/cms_pico) a try - it's now an official part of Pico. You can find more info at [picocms.org](http://picocms.org/plugins/#pico-cms-for-nextcloud)
2019-11-25 01:11:59 +01:00