Commit Graph

260 Commits (869ab1f2e031a53f47e6cbccc71cb5d7910757e0)

Author SHA1 Message Date
Daniel Rudolf 698a249d45 Force Pico::$requestUrl to have no leading/trailing slash 10 years ago
Daniel Rudolf 2761f8b751 Refactor Pico::isUrlRewritingEnabled() 10 years ago
Daniel Rudolf 86d1f713f2 Move PHP version check to index.php 10 years ago
Daniel Rudolf 81821e7811 Improve Pico::getBaseUrl() code styling 10 years ago
theshka 1fae7ab3df * [New] added PHP_VERSION check to Pico::run() 10 years ago
Daniel Rudolf 840d41bca5 Improve type hinting 10 years ago
Daniel Rudolf c34afad4af Fix typo 10 years ago
Daniel Rudolf d252df4b98 Throw RuntimeException on invalid content dirs 10 years ago
Daniel Rudolf f5006c036a Prevent double slashes in base_url when installed to document root 10 years ago
Daniel Rudolf c72ea0ecec PicoDeprecated: Sanitize content_dir and base_url options when reading config.php in Picos root dir 10 years ago
Daniel Rudolf 10de8efa11 Move markdown filter to PicoTwigExtension 10 years ago
Daniel Rudolf f19adc64b9 Add PicoTwigExtension with map and sort_by filters 10 years ago
Daniel Rudolf 78ceabe878 Various improvements 10 years ago
Daniel Rudolf f9e9642c22 Fix Pico::getPageUrl() 10 years ago
Daniel Rudolf 2ca711ad59 Add missing rawurlencode() to Pico::getPageUrl() 10 years ago
Daniel Rudolf cd7cd374bb Add content filter to get the parsed contents of a page (lazy loading) 10 years ago
Daniel Rudolf af8de56512 Fix typos 10 years ago
Daniel Rudolf ccac8dd4d3 Force trailing slash of $config['base_url'] and force existance of $config['timezone'] 10 years ago
Daniel Rudolf 90128f4946 Fix possible foreach on null errors 10 years ago
Daniel Rudolf ebe007bd78 Guess content directory 10 years ago
Daniel Rudolf 9a702415fb Remove `return $config` in `config/config.php` 10 years ago
Daniel Rudolf afb55b9cb6 Improve class docs 10 years ago
Daniel Rudolf e6681ea903 Improve class docs 10 years ago
Daniel Rudolf 54ce5b9699 Various small improvements 10 years ago
Daniel Rudolf 647a7b5bb7 Trap empty $requestFileParts 10 years ago
Daniel Rudolf 9e2604af85 Prevent content_dir breakouts using malicious request URLs 10 years ago
Daniel Rudolf de6b3a7c28 Fix Markdown %meta.*% replacement 10 years ago
Daniel Rudolf a654b1585b phpDocumentor 2.8.5 currently doesn't support the Generic notations 10 years ago
Daniel Rudolf 92af554d14 Improve inline code comments; preparing use of phpDocumentor 10 years ago
theshka 01122f2901 fix spelling 10 years ago
Daniel Rudolf b09433a37b Allow multiple calls to Pico::setConfig() 10 years ago
Daniel Rudolf 1419cf1636 Add Pico::setConfig() method 10 years ago
Daniel Rudolf 7537159868 Remove the need to register headers during onMetaHeaders() 10 years ago
Daniel Rudolf 9d518fd722 Move sorting of $pages from Pico::getPages() to Pico::sortPages() 10 years ago
Daniel Rudolf 27d694697f Fix code formatting 10 years ago
Daniel Rudolf 9aa62b4b44 Improve method docs of Pico::load404Content() 10 years ago
Daniel Rudolf 77f939028c Support per-directory 404.md files 10 years ago
Daniel Rudolf 3a4721a20c SCANDIR_SORT_* constants are available since PHP 5.4 10 years ago
Daniel Rudolf 241a52907e Update inline code comments 10 years ago
Daniel Rudolf fd64e4fa5e Add a exception to alpha sorting: List index files first 10 years ago
Daniel Rudolf 45815e2c6d Don't read file contents of inaccessible pages 10 years ago
Daniel Rudolf 95db5ba1a1 Drop inaccessible pages 10 years ago
Daniel Rudolf cdef7a6324 Explicitly treat relative paths to be relative to Picos root dir 10 years ago
Daniel Rudolf fc7632b0ac Overhaul init of Pico 10 years ago
Daniel Rudolf 70f187fb45 Rename IPicoPlugin to PicoPluginInterface 10 years ago
Daniel Rudolf 5731ede297 Allow omitting config/config.php; Fix write context on return value 10 years ago
Daniel Rudolf 71e7da28cc Various fixes 10 years ago
Daniel Rudolf a83b01ef4f Access plugins by class name, not file name 10 years ago
Daniel Rudolf 533822320e Workaround for webservers omitting QUERY_STRING 10 years ago
Daniel Rudolf cd145821ba Remove pull request message 10 years ago