Commit Graph

320 Commits (bd0a257784f37c4badeb94a03e7ce0499118ac58)

Author SHA1 Message Date
Daniel Rudolf 7b222b03e4
Add Pico::API_VERSION 9 years ago
Daniel Rudolf 36b3aef1c7
Fix Pico::loadPlugin() when called before Pico::loadPlugins() 9 years ago
Daniel Rudolf 1d73524e41
Search for content/index.md to determine the content dir to use 9 years ago
Daniel Rudolf f52e3dc890
Add Pico::getVendorDir() 9 years ago
Daniel Rudolf 82a342ba44
Various small improvements 9 years ago
Daniel Rudolf a2d0d745ff
Fix detection of Windows-based server environments 9 years ago
Daniel Rudolf 882a80a179
Update docs to reflect 9b7523b 9 years ago
Daniel Rudolf d4c65fa523
Allow configuring Parsedown 9 years ago
Daniel Rudolf 5429a3a932
Add Pico::getTwigTemplate() 9 years ago
Daniel Rudolf 9b7523b9e8
Use .yml files to configure Pico 9 years ago
Daniel Rudolf 0a080c8965
Add lazy init for Symfony YAML, Parsedown and Twig 9 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 10 years ago
Daniel Rudolf 6465c2b0a9
Support REQUEST_URI routing method 10 years ago
Daniel Rudolf 6234be88b0
Always use `on404Content...` execution path when serving a 404.md 10 years ago
Daniel Rudolf d19621a908
Improve themes dir guessing; add $config['theme_url'] config 10 years ago
Daniel Rudolf 1b3ef7516d
Drop the "index" part of URLs 10 years ago
Daniel Rudolf a119122497 Fix coding standard violation 10 years ago
Daniel Rudolf b133f6dae5 Add Pico::VERSION_ID (like PHP_VERSION_ID) 10 years ago