Commit graph

901 commits

Author SHA1 Message Date
Daniel Rudolf
f3b5a92247
Fix directory separator in Pico::getUrlFromPath() 2019-07-14 14:56:14 +02:00
Daniel Rudolf
ad729a99c4
Remove base_dir and theme_dir Twig variables
These variables aren't really needed in Twig and can still be accessed using $config
2019-07-14 14:56:14 +02:00
Daniel Rudolf
33117be981
Config: Rename theme_url to themes_url, add plugins_url, assets_url and assets_dir 2019-07-14 14:56:14 +02:00
Daniel Rudolf
38bb0a4ac7
Various small improvements 2019-04-30 15:30:00 +02:00
Daniel Rudolf
bb1b8639bd
Add Pico::getUrlFromPath() and Pico::getAbsoluteUrl(), replacing Pico::getBaseThemeUrl() 2019-04-30 15:26:31 +02:00
Daniel Rudolf
f016c8a937
Add Pico::getNormalizedPath() 2019-04-30 15:22:49 +02:00
Daniel Rudolf
8ce3b0c224
Add debug mode
You can enable Pico's debug mode by setting the PICO_DEBUG environment variable. At the moment this just enables Twig's debug mode.
2019-03-28 20:12:46 +01:00
Daniel Rudolf
edf849725d
Config template: Add more Twig config options 2019-03-28 20:11:46 +01:00
Daniel Rudolf
008ca6f41b
Pico::loadConfig(): Make twig cache path absolute 2019-03-28 19:14:23 +01:00
Daniel Rudolf
c91518a7c8
composer.json: Update Parsedown Extra 0.8 and Parsedown 1.8 version constraints 2019-03-11 23:28:09 +01:00
Daniel Rudolf
787344a526
Rename prev_page Twig variable to previous_page 2019-03-11 23:02:57 +01:00
Daniel Rudolf
34ae8e8812
Support %config.*% Markdown placeholders 2019-03-11 23:02:45 +01:00
Daniel Rudolf
8cb37d38ba
composer.json: Add 3.0.x-dev alias for pico-3.0 branch 2019-03-11 23:02:02 +01:00
Daniel Rudolf
2cf60e25af
Build system: Small improvement 2019-02-21 10:35:54 +01:00
Daniel Rudolf
7c1e889717
Travis CI: Remove hhvm master and nightly, add HHVM 3.30 and 3.27
HHVM 4 no longer supports execution of PHP code. HHVM 3.30 and 3.27 are the only remaining still supported HHVM versions with PHP support. They will reach end-of-life in the course of 2019.
2019-02-21 10:35:11 +01:00
Daniel Rudolf
e697f56d10
Version 2.0.5-beta.1
```
* [New] Add PHP 7.3 tests
* [New] Add `2.0.x-dev` alias for master branch to `composer.json`
* [Changed] Update to Parsedown Extra 0.8 and Parsedown 1.8 (both still beta)
* [Changed] Improve release & build process
```
2019-01-03 13:15:49 +01:00
Daniel Rudolf
38b6aef40a
Update CHANGELOG.md 2019-01-03 13:15:44 +01:00
Daniel Rudolf
6dd6da655f
Build system: Allow pre-release dependencies when creating pre-releases 2019-01-03 13:15:18 +01:00
Daniel Rudolf
feba0b32df
Update Pico::VERSION and Pico::VERSION_ID 2019-01-03 01:34:16 +01:00
Daniel Rudolf
1c904b5215
Update CHANGELOG.md 2019-01-03 01:12:35 +01:00
Daniel Rudolf
a327977696
Update to Parsedown Extra 0.8 and Parsedown 1.8 (both currently in beta) 2019-01-03 01:00:25 +01:00
Daniel Rudolf
d663553c34
composer.json: Add 2.0.x-dev alias for master branch 2019-01-03 00:23:26 +01:00
Daniel Rudolf
5955c8c322
Update CHANGELOG.md 2018-12-31 16:20:28 +01:00
Daniel Rudolf
061a11636f
Travis CI: Add PHP 7.3 2018-12-23 23:43:13 +01:00
Daniel Rudolf
c889f5b475
Add IRC Logger
All credit goes to François Beerten from https://colabti.org and his awesome IRC Logger 2 project (https://colabti.org/ilogger2/IrcLogger2.html)
2018-12-23 23:43:02 +01:00
Daniel Rudolf
bbf4aa4f6b
Version 2.0.4
```
* [Fixed] Proberly handle hostnames with ports in `Pico::getBaseUrl()`
* [Changed] Improve documentation
```
2018-12-17 15:57:47 +01:00
Daniel Rudolf
9924cf8485
Update Pico::VERSION and Pico::VERSION_ID 2018-12-17 15:55:52 +01:00
Daniel Rudolf
8352be3937
Update CHANGELOG.md 2018-12-17 15:54:30 +01:00
M.Martellenghi
84949975b0
Proberly handle hostnames with ports in Pico::getBaseUrl() (#472)
* fixed getting current port from current host

Resolves #472
2018-12-17 15:53:33 +01:00
Daniel Rudolf
cbed65cfdf
User docs: Improve blogging example 2018-12-16 13:46:24 +01:00
Daniel Rudolf
66dbf6b2c8
Update CHANGELOG.md 2018-12-05 21:30:43 +01:00
Daniel Rudolf
8826bf4bfe
Improve install and upgrade instructions 2018-12-05 21:30:32 +01:00
Daniel Rudolf
ea924356a2
Version 2.0.3
```
* [Fixed] Support alternative server ports in `Pico::getBaseUrl()`
* [Changed] Don't require server environment variables to be configured
* [Changed] Improve release & build process
* [Changed] Improve documentation
* [Changed] Improve PHP class docs
* [Changed] Various small improvements
```
2018-12-03 12:34:12 +01:00
Daniel Rudolf
b8106c6c31
Update Pico::VERSION and Pico::VERSION_ID 2018-12-03 12:34:08 +01:00
Daniel Rudolf
c071dfa2d3
Update CHANGELOG.md 2018-12-03 12:33:57 +01:00
Daniel Rudolf
533ad99e57
Build system: Remove tag_name and target_commitish
Fixed in travis-ci/dpl#923 (ref travis-ci/dpl#914)
2018-12-03 12:33:38 +01:00
Daniel Rudolf
df17baac18
Revert "Build system: Use conditional build stages for deploying"
This reverts commit c7862de924.
2018-12-03 12:19:46 +01:00
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