Commit graph

764 commits

Author SHA1 Message Date
Daniel Rudolf c7862de924
Build system: Use conditional build stages for deploying
Thanks @BanzaiMan for this tip
2018-12-03 12:02:55 +01:00
Daniel Rudolf cde8c8697b
Improve/update/fix phpDoc class docs 2018-12-03 11:52:05 +01:00
Daniel Rudolf 5e4d758acb
Various small code improvements 2018-12-03 11:51:39 +01:00
Daniel Rudolf 24ab96ced9
Sync inline docs 2018-12-03 11:50:28 +01:00
Daniel Rudolf e172dd20a1
Don't require env variables, proberly handle alt server ports 2018-09-10 01:51:35 +02:00
Daniel Rudolf bbe7f62043
Version 2.0.2
```
* [Fixed] Support Windows paths (`\` instead of `/`) in `Pico::evaluateRequestUrl()`
```
2018-08-12 13:50:09 +02:00
Daniel Rudolf c6b81f9eb6
Update CHANGELOG.md 2018-08-12 13:50:05 +02:00
Daniel Rudolf 010a3649b6
Update Pico::VERSION and Pico::VERSION_ID 2018-08-12 13:49:16 +02:00
Bitm@rte 9005edaa25 add support for windows path on evaluateRequestUrl() method (#452)
* add support for windows path on evaluateRequestUrl() method

* update CHANGELOG.md
2018-08-06 23:47:52 +02:00
Daniel Rudolf ac36863fa7
Version 2.0.1
```
* [Changed] Improve documentation
* [Changed] Add missing "Formatted Date", "Time" and "Hidden" meta headers; use
            the "Hidden" meta header to manually hide a page in the pages list
```
2018-07-29 13:11:21 +02:00
Daniel Rudolf 2f9f40d76c
Update Pico::VERSION and Pico::VERSION_ID 2018-07-29 13:11:14 +02:00
Daniel Rudolf ca7321f82f
Update CHANGELOG.md 2018-07-29 12:57:21 +02:00
Daniel Rudolf c7d4d25ab3
Add missing registred meta headers
Use the `Formatted Date` meta header to explicitly set a page's formatted date (i.e. `$meta['date_formatted']`), and `Time` to set `$meta['time']`. Use the `Hidden` meta header to manually hide a page (the page is still accessible, but won't show up in the pages list). Note the difference between `$pageData['hidden']` and `$pageData['meta']['hidden']`.
2018-07-29 12:51:28 +02:00
Daniel Rudolf a7df4c2115
Build system: Fix GitHub release creation 2018-07-29 12:47:06 +02:00
Daniel Rudolf dc37a3efda
Sync inline docs 2018-07-29 12:46:37 +02:00
Daniel Rudolf 16f95be865
composer.json: Remove 2.0-dev branch alias 2018-07-03 15:59:01 +02:00
Daniel Rudolf edef825792
Build system: Don't overwrite config/config.yml.template when creating pre-bundled releases 2018-07-01 20:57:37 +02:00
Daniel Rudolf 834300acb4
Build system: Fix cloc statistics generation 2018-07-01 19:21:14 +02:00
Daniel Rudolf 41badc1829
Version 2.0.0
```
* [New] Add Bountysource
* [Changed] Improve documentation
* [Changed] Improve release & build process
* [Changed] Add `Pico::setConfig()` example to `index.php.dist`
* [Fixed] Don't load `config/config.yml` multiple times
```
2018-07-01 18:12:37 +02:00
Daniel Rudolf be86f8fa8c
Update Pico::VERSION 2018-07-01 18:12:34 +02:00
Daniel Rudolf 238a98283a
Update CHANGELOG.md 2018-07-01 17:53:09 +02:00
Daniel Rudolf 6a7494a54d
Merge pull request #334 from picocms/pico-1.1
Pico 2.0
2018-07-01 17:45:28 +02:00
Daniel Rudolf 25c32de0ab
Update CHANGELOG.md 2018-07-01 17:23:35 +02:00
Daniel Rudolf 09057db2e0
Add Pico::setConfig() example to index.php.dist 2018-07-01 17:17:15 +02:00
Daniel Rudolf 1ce4a0bc36
Sync user and inline docs 2018-07-01 17:16:29 +02:00
Daniel Rudolf 6d6a39b744
Fix Travis build
See travis-ci/travis-ci#8248
2018-07-01 15:22:40 +02:00
Daniel Rudolf f994ef191c
Merge branch 'enhancement/bountysource' into pico-1.1
Conflicts:
	README.md
	content-sample/index.md
	themes/default/font/fontello.eot
	themes/default/font/fontello.svg
	themes/default/font/fontello.ttf
	themes/default/font/fontello.woff
	themes/default/font/fontello.woff2
	themes/default/fontello.css
2018-07-01 14:53:18 +02:00
Daniel Rudolf af237c1d67
Merge pull request #429 from JHeimbach/fix-configloading
stop config.yml on loading again
2018-04-29 17:31:28 +02:00
johannes Heimbach c12b50dc1b stop config.yml on loading again 2018-04-29 17:21:27 +02:00
Daniel Rudolf a30dcbc814
Version 2.0.0-beta.3
```
* [Changed] Add `README.md`, `CONTRIBUTING.md` and `CHANGELOG.md` of main repo
            to pre-bundled releases, keep `.gitignore`
* [Changed] Deny access to a possibly existing `composer.phar` in `.htaccess`
* [Changed] Disallow the use of the `callback` filter for the `url_param` and
            `form_param` Twig functions
* [Changed] Improve documentation
* [Fixed] Fix page tree when sorting pages by arbitrary values
* [Fixed] Fix sorting of `Pico::$nativePlugins`
```
2018-04-07 22:14:28 +02:00
Daniel Rudolf 822d58db60
Fix auto-publishing of pre-bundled releases 2018-04-07 22:14:14 +02:00
Daniel Rudolf 25ada4a8df
Update CHANGELOG.md 2018-04-07 21:37:22 +02:00
Daniel Rudolf 93f2162976
Update CHANGELOG.md 2018-03-29 22:48:36 +02:00
Daniel Rudolf 568166ad07
Check Pico::VERSION constant before deploying a new release 2018-03-29 22:48:24 +02:00
Daniel Rudolf b405edba17
Various small improvements 2018-03-29 22:47:23 +02:00
Daniel Rudolf 190889b77b
Fix sorting of Pico::$nativePlugins
Thanks to PT on our Freenode IRC channel #picocms for reporting this!
2018-03-29 22:45:12 +02:00
Daniel Rudolf 05c2c968c3
Use filter_id() for the url_param and form_param Twig functions
This is a follow-up to 80263a91dc
2018-02-24 16:40:00 +01:00
Daniel Rudolf 80263a91dc
Disallow the use of the callback filter for the url_param and form_param Twig functions 2018-02-24 14:02:59 +01:00
Daniel Rudolf 5f7b455975
Add README.md, CONTRIBUTING.md and CHANGELOG.md to pre-bundled releases 2018-02-24 13:19:04 +01:00
Daniel Rudolf 9c182bd756
Add Lighttpd config to sample contents
Thanks @tony5 for bringing this up and testing!
2018-02-03 18:33:48 +01:00
Daniel Rudolf 03cc10183c
Fix page tree 2018-01-31 12:29:59 +01:00
Daniel Rudolf a58bfc567e
Improve inline docs 2018-01-28 14:25:13 +01:00
Daniel Rudolf 25bfa289cf
Inline docs: Update nginx rewrite rules to match .htaccess
nginx's rewrite rules don't have to match `picocms/Pico`'s `.htaccess`, but `picocms/pico-composer`'s `.htaccess` - because basically all installations of Pico 2.0 and later use `picocms/pico-composer`'s frame.
2018-01-27 21:08:56 +01:00
Daniel Rudolf 6bb65fb12b
Deny access to composer.phar in .htaccess
This file might be present if users strictly follow our install instructions
 and don't delete it on their own after successfully installing Pico.
2018-01-27 21:03:45 +01:00
Daniel Rudolf b6bd714e52
README.md: Add Pico 2.0 install/upgrade instructions 2018-01-27 21:03:06 +01:00
Daniel Rudolf e079946e6f
Build system: Don't delete .gitignore when creating release archives
It doesn't make much sense to remove all .gitignore files just to explain users that they should create those files if they want to manage their website using a Git repository.
2018-01-27 21:02:06 +01:00
Daniel Rudolf 604ee70d27
Version 2.0.0-beta.2
```
* [New] Improve release & build process and move most build tools to the new
        `picocms/ci-tools` repo, allowing them to be used by other projects
* [New] Add page tree; refer to the `Pico::buildPageTree()` method for more
        details; also see the `onPageTreeBuilt` event
* [Changed] Update dependencies: Twig 1.35
* [Changed] ! Improve `.htaccess` and deny access to all dot files by default
* [Changed] ! Throw a `RuntimeException` when non-native plugins are loaded,
            but Pico's `PicoDeprecated` plugin is not loaded
* [Changed] ! Change `AbstractPicoPlugin::$enabled`'s behavior: setting it to
            TRUE now leads to throwing a `RuntimeException` when the plugin's
            dependencies aren't fulfilled; use NULL to maintain old behavior
* [Changed] ! Force themes to use `.twig` as file extension for Twig templates
* [Changed] Improve PHP class docs
* [Changed] Various small improvements
```
2018-01-21 23:31:25 +01:00
Daniel Rudolf fb7d99d3da
Update CHANGELOG.md 2018-01-21 23:31:06 +01:00
Daniel Rudolf c697ec2e5c
Update CHANGELOG.md for Pico v2.0.0-beta.1 and upcoming v2.0.0-beta.2 2018-01-21 23:07:10 +01:00
Daniel Rudolf 888190f15a
Various small improvements 2018-01-21 23:06:38 +01:00