Daniel Rudolf
cd3d3dcec5
Bump API version
...
Due to ad729a99c4
and 33117be981
6 years ago
Daniel Rudolf
17aba01513
Various small improvements
6 years ago
Daniel Rudolf
fd97c70502
Deprecated AbstractPicoPlugin::__call() in favour of PicoPluginInterface::getPico()
6 years ago
Daniel Rudolf
581a3a0609
Add AbstractPicoPlugin::configEnabled()
6 years ago
Daniel Rudolf
bbccb374de
phpDoc class docs: Use {@inheritDoc} in AbstractPicoPlugin
6 years ago
Daniel Rudolf
d72bc24ab3
Remove PicoPluginInterface::__construct()
...
It doesn't really matter how the current Pico instance is injected into the plugin unless PicoPluginInterface::getPico() is implemented
6 years ago
Daniel Rudolf
eca06a38a9
phpDoc class docs: Remove superflous @return void
6 years ago
Daniel Rudolf
56659ab95d
Build system: Don't use Composer for dev dependencies
...
PHP_CodeSniffer and phpDocumentor are external tools which should never affect Pico's environment, thus we rather use PHARs in the future.
6 years ago
Daniel Rudolf
6e6d80c044
Add Pico::substituteUrl() and `url` Twig filter
...
Allows theme developers and users to use URL placeholders like `%base_url%` in meta headers, e.g. to include images.
6 years ago
Daniel Rudolf
715cb83431
Improve class docs of Pico::getBaseThemeUrl() and Pico::getUrlFromPath()
6 years ago
Daniel Rudolf
8d6e9ac31e
Replace file_exists() by is_file()
6 years ago
Daniel Rudolf
641cae849b
Travis CI: Additionally create .zip release archives
6 years ago
Daniel Rudolf
c9a3f84673
Sync config/config.yml.template with Pico::loadConfig()
6 years ago
Daniel Rudolf
8c8c6e33f7
composer.json: Remove 3.0.x-dev alias
6 years ago
Daniel Rudolf
6476d6507d
Re-add deprecated Pico::getBaseThemeUrl() to maintain BC
6 years ago
Daniel Rudolf
ae82c16369
composer.json: Add 2.1.x-dev alias for pico-2.1 branch
6 years ago
Daniel Rudolf
3eab6c58d0
Bump version to 2.1.0-nightly
6 years ago
Daniel Rudolf
f3b5a92247
Fix directory separator in Pico::getUrlFromPath()
6 years ago
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
6 years ago
Daniel Rudolf
33117be981
Config: Rename theme_url to themes_url, add plugins_url, assets_url and assets_dir
6 years ago
Daniel Rudolf
38bb0a4ac7
Various small improvements
6 years ago
Daniel Rudolf
bb1b8639bd
Add Pico::getUrlFromPath() and Pico::getAbsoluteUrl(), replacing Pico::getBaseThemeUrl()
6 years ago
Daniel Rudolf
f016c8a937
Add Pico::getNormalizedPath()
6 years ago
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.
6 years ago
Daniel Rudolf
edf849725d
Config template: Add more Twig config options
6 years ago
Daniel Rudolf
008ca6f41b
Pico::loadConfig(): Make twig cache path absolute
6 years ago
Daniel Rudolf
c91518a7c8
composer.json: Update Parsedown Extra 0.8 and Parsedown 1.8 version constraints
6 years ago
Daniel Rudolf
787344a526
Rename prev_page Twig variable to previous_page
6 years ago
Daniel Rudolf
34ae8e8812
Support %config.*% Markdown placeholders
6 years ago
Daniel Rudolf
8cb37d38ba
composer.json: Add 3.0.x-dev alias for pico-3.0 branch
6 years ago
Daniel Rudolf
2cf60e25af
Build system: Small improvement
6 years ago
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.
6 years ago
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
```
7 years ago
Daniel Rudolf
38b6aef40a
Update CHANGELOG.md
7 years ago
Daniel Rudolf
6dd6da655f
Build system: Allow pre-release dependencies when creating pre-releases
7 years ago
Daniel Rudolf
feba0b32df
Update Pico::VERSION and Pico::VERSION_ID
7 years ago
Daniel Rudolf
1c904b5215
Update CHANGELOG.md
7 years ago
Daniel Rudolf
a327977696
Update to Parsedown Extra 0.8 and Parsedown 1.8 (both currently in beta)
7 years ago
Daniel Rudolf
d663553c34
composer.json: Add 2.0.x-dev alias for master branch
7 years ago
Daniel Rudolf
5955c8c322
Update CHANGELOG.md
7 years ago
Daniel Rudolf
061a11636f
Travis CI: Add PHP 7.3
7 years ago
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 )
7 years ago
Daniel Rudolf
bbf4aa4f6b
Version 2.0.4
...
```
* [Fixed] Proberly handle hostnames with ports in `Pico::getBaseUrl()`
* [Changed] Improve documentation
```
7 years ago
Daniel Rudolf
9924cf8485
Update Pico::VERSION and Pico::VERSION_ID
7 years ago
Daniel Rudolf
8352be3937
Update CHANGELOG.md
7 years ago
M.Martellenghi
84949975b0
Proberly handle hostnames with ports in `Pico::getBaseUrl()` ( #472 )
...
* fixed getting current port from current host
Resolves #472
7 years ago
Daniel Rudolf
cbed65cfdf
User docs: Improve blogging example
7 years ago
Daniel Rudolf
66dbf6b2c8
Update CHANGELOG.md
7 years ago
Daniel Rudolf
8826bf4bfe
Improve install and upgrade instructions
7 years ago
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
```
7 years ago