Commit graph

938 commits

Author SHA1 Message Date
Daniel Rudolf
bdb86d37ff
CI: Improve Composer root version guessing for PRs 2022-02-19 16:52:09 +01:00
Daniel Rudolf
f4706bb8e1
CI: Improve GitHub Actions YAML formatting 2022-02-19 16:46:49 +01:00
Daniel Rudolf
d01918a2fe
CI: Update Stale Bot config 2022-02-19 16:46:11 +01:00
Daniel Rudolf
b9de38f7f2
CI: Improve reusable 'install' action 2022-02-19 16:38:24 +01:00
Daniel Rudolf
23b00ba1e0
CI: Move install steps to reusable 'install' action 2022-02-13 17:27:59 +01:00
Daniel Rudolf
92907a1361
GitHub 'test' workflow: Run on any pull request 2022-02-13 15:39:57 +01:00
Daniel Rudolf
8b4b20fe97
PHP_CodeSniffer: Allow using strftime() 2022-02-13 15:34:44 +01:00
Daniel Rudolf
68c47429ef
Add GitHub workflow 'test'
Runs `composer install` and `phpcs` on basically every push, replaces Travis CI.
2022-02-13 15:34:13 +01:00
Daniel Rudolf
e33f6c8148
Update various links 2022-02-13 15:10:08 +01:00
Daniel Rudolf
76a761c3a2
Bump to API version 4 2022-02-07 00:00:27 +01:00
Daniel Rudolf
0f152c7165
Travis CI: Test on PHP 8.0 and 8.1 2022-02-06 23:23:59 +01:00
Daniel Rudolf
f7ccd0b703
Revert "Added Temporary PHP 8.0 Notice"
This reverts commit ff5e345e58.
2022-02-06 23:22:58 +01:00
Daniel Rudolf
5a81fe89d8
CONTRIBUTING.md: Probot Stale was replaced by GitHub Actions 2022-02-06 23:22:33 +01:00
Daniel Rudolf
4e572adb33
Merge branch 'master' into pico-3.0 2022-02-06 23:21:00 +01:00
Daniel Rudolf
1b956afc29
Code cleanup 2022-02-06 23:15:51 +01:00
Daniel Rudolf
fe6c8f805a
Re-add deprecated Pico::getBaseThemeUrl() and AbstractPicoPlugin::__call()
This reverts commits efc4fb5288 and bc816febfc
2022-02-06 23:15:39 +01:00
Daniel Rudolf
41fc15a7e8
Remove picocms\Pico\ namespace
This reverts commit 812ae5c215
2022-02-06 23:14:08 +01:00
Daniel Rudolf
edfab74ff2
Add %page_*% replacements for Markdown files
`%page_id%` is replaced by the page's ID, `%page_url%` by the page's relative URL, and `%page_path%` by the dirname of page file.
2022-02-06 22:43:19 +01:00
Maya McDougall
ff5e345e58
Added Temporary PHP 8.0 Notice 2022-02-06 16:34:18 -05:00
Daniel Rudolf
7e3c6a7b3e
Merge pull request #599 from dipohl/patch-1
Update web links in index.md
2021-08-15 13:38:01 +02:00
dipohl
2e425dc8ef
Update index.md
Checked all web links and updated them where necessary especially eliminating some 404 errors.
2021-08-15 11:02:43 +02:00
Daniel Rudolf
09fbaaaf33
IRC: Switch from Freenode to Libera.Chat 2021-08-13 17:19:24 +02:00
Daniel Rudolf
d0f32c0a2b
Create SECURITY.md 2021-06-21 20:45:31 +02:00
Daniel Rudolf
d8470f9f5c
Replace Probot Stale with GitHub Action
Looks like Probot Stale is abandoned... Too bad. 😒
2021-03-09 13:40:16 +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