Daniel Rudolf
1aacce829f
🎉 Switch from Travis CI to GitHub Actions for release deployment
...
Since Travis CI was transformed into a proprietary service we didn't have a CI pipeline. This heavily refactors and simplifies the CI pipeline and uses GitHub Actions to deploy new Pico releases. You can use Pico's Makefile to build new releases locally, too. Pico's build script no longer depends on any external resources (like our `picocms/ci-tools` collection). However, this isn't true for other release deployment steps, like updating phpDoc class docs, version badge, cloc stats, etc., even though the CI scripts are mostly self-containing now.
2022-02-27 23:05:17 +01:00
Daniel Rudolf
67408ce935
Merge branch 'pico-3.0-alpha' into pico-3.0
2022-02-27 21:17:55 +01:00
Daniel Rudolf
261b5c68a7
CI: Add 'deploy-branch.yml' workflow to update website on branch updates
2022-02-27 00:17:27 +01:00
Daniel Rudolf
e3365a4345
CI: Check Pico version on tag push
2022-02-26 22:37:51 +01:00
Daniel Rudolf
4bf3260766
phpDoc: Ignore .github dir
2022-02-26 21:53:57 +01:00
Daniel Rudolf
93dbbe750d
Add 'SECURITY.md' to .htaccess
2022-02-26 21:53:38 +01:00
Daniel Rudolf
61880d150e
Update Pico::VERSION to '3.0.0-dev'
2022-02-26 21:52:11 +01:00
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
f7637ad335
Version 3.0.0-alpha.2
...
```
* [Changed] Merge all fixes of Pico v2.1.2 to v2.1.4
* [Fixed] #575 : Update Symfony YAML v3.4 to support PHP 8.0+
```
2020-12-24 17:41:20 +01:00
Daniel Rudolf
888b910a84
Update Pico::VERSION
...
Pico::VERSION_ID isn't updated because this is a alpha release.
2020-12-24 17:41:20 +01:00
Daniel Rudolf
4b95733a51
Update CHANGELOG.md
2020-12-24 17:41:20 +01:00
Daniel Rudolf
59d9514ed4
Travis CI: Add PHP 8.0 target
2020-12-24 17:40:58 +01:00
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