Daniel Rudolf
de6b3a7c28
Fix Markdown %meta.*% replacement
...
Don't even try to use arrays here...
10 years ago
Daniel Rudolf
a654b1585b
phpDocumentor 2.8.5 currently doesn't support the Generic notations
...
This will likely be implemented as soon as the proposed PSR-5: PHPDoc is accepted
10 years ago
Daniel Rudolf
92af554d14
Improve inline code comments; preparing use of phpDocumentor
10 years ago
Daniel Rudolf
4171f9a031
Move URL Rewriting to Config section
10 years ago
Daniel Rudolf
9cdd34edcc
Change content order, add Customization section
10 years ago
Daniel Rudolf
15515ff3fd
Fix typo/formatting
10 years ago
theshka
aec024a793
fix spelling
10 years ago
theshka
132399f305
add comments/in-line docs
10 years ago
theshka
8380b54142
fix spelling
10 years ago
theshka
01122f2901
fix spelling
10 years ago
theshka
fe83d1fa7f
fix spelling
10 years ago
theshka
3336fb717e
fix spelling
10 years ago
Daniel Rudolf
b46ed0535c
Let users know about Twigs link filter
10 years ago
Daniel Rudolf
40dbd0ee37
Update Picos inline user docs
...
Adding a Blogging and URL Rewriting section, splitting the Plugins section into "for users" and "for devs", extend all sections and fix some typos
10 years ago
Daniel Rudolf
7c5f371b9a
Use PSR-0 autoload
...
Makes no big difference... Using PSR-4 breaks BC.
10 years ago
Daniel Rudolf
b09433a37b
Allow multiple calls to Pico::setConfig()
10 years ago
Daniel Rudolf
04a1c603d0
Update changelog.txt for 1419cf1
10 years ago
Daniel Rudolf
1419cf1636
Add Pico::setConfig() method
...
Thanks @dav-m85
10 years ago
Daniel Rudolf
7aa199d77a
Update changelog.txt for 7537159
10 years ago
Daniel Rudolf
7537159868
Remove the need to register headers during onMetaHeaders()
...
Why? I'm currently writing the user docs and I really have no idea how to explain this whole process in a non-technical way... It is very likely that a normal user wants to use custom tags and it would be absurd to tell him,that he should learn a programming language to do so. On the other hand, providing a copy-and-paste template makes the whole idea of explicitly registering headers worthless. The only reasonable solution is to remove the need to register headers.
Anyway, I think @PontusHorn is right to say that registering headers makes the whole system more predictable. So plugin developers are still instructed to register their meta headers during . We actually can't check and ensure this, but that's imho the best solution.
10 years ago
Daniel Rudolf
1cbf48af79
Split PicoDeprecated::onConfigLoaded() into multiple methods
10 years ago
Daniel Rudolf
46ef63186a
Support $config['<plugin name>']['enabled'] option
...
... as a alternative to $config['<plugin name>.enabled']; Thanks @theshka for giving this hint
10 years ago
Daniel Rudolf
9d518fd722
Move sorting of $pages from Pico::getPages() to Pico::sortPages()
10 years ago
Daniel Rudolf
4f1e8667c3
Cast AbstractPicoPlugin::$dependsOn to array
...
Plugin devs could come up with the idea of setting AbstractPicoPlugin::$dependsOn to a string (single dependency) or null (no dependencies)
10 years ago
Daniel Rudolf
79e2dacdb2
Fix method docs typo
10 years ago
Daniel Rudolf
27d694697f
Fix code formatting
10 years ago
Daniel Rudolf
006afa5774
Update changelog.txt
...
The changelog only provides basic information about the enormous changes introduced with Pico 1.0-beta. Please refer to the (not yet written... 😄 ) UPGRADE section of the docs for details.
10 years ago
Daniel Rudolf
2e15e112f7
Define deprecated constants before evaluating the config.php in Picos root dir
...
This prevents E_NOTICEs when using e.g. ROOT_DIR in a old config.php, so upgrading users are usually not bothered with this BC break
10 years ago
Daniel Rudolf
ef1a9e0c33
Improve README.md
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
3f7b0998c6
Declare undefined $plugins variable
...
Thanks @Lomanic
10 years ago
Daniel Rudolf
3a4721a20c
SCANDIR_SORT_* constants are available since PHP 5.4
...
Thanks @Lomanic
10 years ago
Daniel Rudolf
ab8994593f
Improve README.md formatting; Run PHP web server on localhost only
10 years ago
Daniel Rudolf
fa024ce849
Fix README.md formatting
10 years ago
Daniel Rudolf
7698f18df0
Merge branch 'master' into pico1.0
...
Merging @theshka's README.md updates...
Conflicts:
README.md
10 years ago
Daniel Rudolf
00f76d1083
Update README.md
10 years ago
theshka
a8e68eaac8
Update README
10 years ago
Daniel Rudolf
9be23de897
Require PHP >= 5.3.6 until erusev/parsedown-extra#75 is solved
10 years ago
Daniel Rudolf
241a52907e
Update inline code comments
10 years ago
Daniel Rudolf
fbb744dd43
Deny access to config, content, content-sample, lib and vendor dirs
...
Send 404 Not Found instead of 403 Forbidden
10 years ago
Daniel Rudolf
012dffa856
Fix #257
10 years ago
Daniel Rudolf
fd64e4fa5e
Add a exception to alpha sorting: List index files first
...
This guarantees that e.g. sub/index.md is listed before sub/foo.md
10 years ago
Daniel Rudolf
45815e2c6d
Don't read file contents of inaccessible pages
10 years ago
Daniel Rudolf
95db5ba1a1
Drop inaccessible pages
...
e.g. drop sub.md if sub/index.md exists
10 years ago
Daniel Rudolf
cdef7a6324
Explicitly treat relative paths to be relative to Picos root dir
...
This tempers the BC break, we can now recommend to simply remove the ROOT_DIR part
10 years ago
Daniel Rudolf
fc7632b0ac
Overhaul init of Pico
...
This may break BC if you're using one of the now deprecated constants (e.g. ROOT_DIR)
10 years ago
Daniel Rudolf
5e77d862bf
Remove twig cache dir
10 years ago
Daniel Rudolf
8d88863805
Fix whitespace
10 years ago
Daniel Rudolf
13a50c7f2f
Don't change $pageData['id'], add ~dup1 to the array key only
10 years ago