Commit Graph

216 Commits (cbb8ece5799463303069f466c490494f24a78265)

Author SHA1 Message Date
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
Daniel Rudolf fb4bdfe1fc
Fix Pico::parseFileMeta() for non-YAML 1-liners 9 years ago
Daniel Rudolf aa1bc077a7
Add $dropIndex parameter to Pico::getPageUrl() method 9 years ago
Daniel Rudolf 848e28b7e6
Declare Pico::getFiles() public 9 years ago
Daniel Rudolf eeb43e131f
Pico::prepareFileContent(): Declare $variables variable 9 years ago
Daniel Rudolf 94279c57f8
Improve phpDocs class docs 9 years ago
Daniel Rudolf e01044319a
Build system: Use dynamic phpDoc title 9 years ago
Daniel Rudolf 6465c2b0a9
Support REQUEST_URI routing method 9 years ago
Daniel Rudolf 6234be88b0
Always use `on404Content...` execution path when serving a 404.md 9 years ago
Daniel Rudolf d19621a908
Improve themes dir guessing; add $config['theme_url'] config 9 years ago
Daniel Rudolf 1b3ef7516d
Drop the "index" part of URLs 9 years ago
Daniel Rudolf a119122497 Fix coding standard violation 9 years ago
Daniel Rudolf b133f6dae5 Add Pico::VERSION_ID (like PHP_VERSION_ID) 9 years ago
Daniel Rudolf 8dfb1b14c7
Improve HTTPS detection with proxies 9 years ago
Daniel Rudolf bbd8ef8847 Fix Date meta header parsing with ISO-8601 datetime strings 9 years ago
Daniel Rudolf 0a4e7443d2 Fix class doc typos 9 years ago
Daniel Rudolf 3d11b8a979 Replace is_a() function calls with instanceof operator 9 years ago