Commit Graph

333 Commits (pico-3.0-alpha)

Author SHA1 Message Date
Daniel Rudolf fd78ec38c7
Various small improvements 8 years ago
Daniel Rudolf 793fcdb4e1
Add "remove" fallback to Twig's "sort_by" filter 8 years ago
Daniel Rudolf 21051fe08b
Pico::loadComposerPlugins(): Use Pico::getVendorDir() instead of Pico::$vendorDir 8 years ago
Daniel Rudolf 23ad80b98a
Let Pico load plugins from vendor/pico-plugin.php 8 years ago
Daniel Rudolf b098e22033
Various small improvements 8 years ago
Daniel Rudolf d26da62bf1
Add onSinglePageContent event 8 years ago
Daniel Rudolf 773f4795f7
Remove Pico::registerTwig(), use Pico::getTwig() instead 8 years ago
Daniel Rudolf 80c88f2a7d
Refactor onMetaHeaders event 8 years ago
Daniel Rudolf f4332a247c
Force PicoDeprecated to be first plugin in the plugins array 8 years ago
Daniel Rudolf 624310bbe7
Various small improvements 8 years ago
Daniel Rudolf 191f6edbe9
Don't pass the $plugins argument of the onPluginsLoaded event by reference 8 years ago
Daniel Rudolf 6e28a51080
Refactor onPages… and onPage… core events 8 years ago
Daniel Rudolf 7b222b03e4
Add Pico::API_VERSION 8 years ago
Daniel Rudolf 36b3aef1c7
Fix Pico::loadPlugin() when called before Pico::loadPlugins() 8 years ago
Daniel Rudolf 1d73524e41
Search for content/index.md to determine the content dir to use 8 years ago
Daniel Rudolf f52e3dc890
Add Pico::getVendorDir() 8 years ago
Daniel Rudolf 82a342ba44
Various small improvements 8 years ago
Daniel Rudolf a2d0d745ff
Fix detection of Windows-based server environments 8 years ago
Daniel Rudolf 882a80a179
Update docs to reflect 9b7523b 8 years ago
Daniel Rudolf d4c65fa523
Allow configuring Parsedown 8 years ago
Daniel Rudolf 5429a3a932
Add Pico::getTwigTemplate() 8 years ago
Daniel Rudolf 9b7523b9e8
Use .yml files to configure Pico 8 years ago
Daniel Rudolf 0a080c8965
Add lazy init for Symfony YAML, Parsedown and Twig 8 years ago
Daniel Rudolf c56ba02b0b
Reintroduce plugin prefix classifications 9 years ago
Daniel Rudolf 9254240e44
Load plugins from <plugin name>.php and <plugin name>/<plugin name>.php only 9 years ago
Daniel Rudolf eec1d625c4
Add Pico::getFilesGlob() method 9 years ago
Daniel Rudolf 586d792c32
Update Pico::VERSION_ID constant 9 years ago
Daniel Rudolf 46f5d3d56d
Move Twig link filter and url_param and form_param functions to PicoTwigExtension 9 years ago
Daniel Rudolf 1f35346f53
Improve detection of hidden files to serve 404 contents instead 9 years ago
Daniel Rudolf 8f7e4da53d
Rename Pico 1.1 to Pico 2.0 9 years ago
Daniel Rudolf 2e880d6c7f
Discover the previous and next pages of all pages 9 years ago
Daniel Rudolf 9b72b5c316
Give pages starting with a underscore (_) a special treatment 9 years ago
Daniel Rudolf 9a2dd4f078
Mark Twig variables rewrite_url and is_front_page as deprecated 9 years ago
Daniel Rudolf ec3f7fb626
Improve class docs 9 years ago
Daniel Rudolf 5193b77fdf
Reuse YAML parser instance 9 years ago
Daniel Rudolf 5d48aa7040
Let Pico::getTwigVariables() return the "real" array 9 years ago
Daniel Rudolf bc5729629d
Fire onMetaHeaders event only once, cache results of Pico::getMetaHeaders() 9 years ago
Daniel Rudolf 82c6dd9795
Don't sort pages when a unknown sort method is specified 9 years ago
Daniel Rudolf 5cf47e65de
Various small improvements 9 years ago
Daniel Rudolf 7a6e4f8271
Sort all loaded plugins using a plugin dependency topology 9 years ago
Daniel Rudolf 0a269746eb
Add Pico::is404Content() method 9 years ago
Daniel Rudolf d9393df4fa
Pico::getBaseUrl(): Improve hostname detection with proxies 9 years ago
Daniel Rudolf 38615e444d
Use Pico::loadFileContent() in Pico::readPages() 9 years ago
Daniel Rudolf bea610dbf4
Pico::evaluateRequestUrl(): Replace strpos()+substr() with strstr() 9 years ago
Daniel Rudolf 3ebb51a55e
Improve class docs 9 years ago
Daniel Rudolf 00603f61fc
Add integrated 404 Not Found page 9 years ago
Daniel Rudolf a74db1ddbb
Add Pico::filterVariable() method 9 years ago
Daniel Rudolf 0b4099fdb0
Improve class docs 9 years ago
Daniel Rudolf f73c9622b8
Fix Pico::evaluateRequestUrl(): PHP's built-in webserver doesn't always set QUERY_STRING 9 years ago
Daniel Rudolf 21bd18bcf0
Replace Pico::discoverRequestFile() with public Pico::resolveFilePath() 9 years ago