Commit graph

623 commits

Author SHA1 Message Date
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)
2015-10-01 15:05:50 +02:00
Daniel Rudolf
5e77d862bf Remove twig cache dir 2015-09-29 00:42:04 +02:00
Daniel Rudolf
8d88863805 Fix whitespace 2015-09-28 17:42:47 +02:00
Daniel Rudolf
13a50c7f2f Don't change $pageData['id'], add ~dup1 to the array key only 2015-09-28 17:25:10 +02:00
Daniel Rudolf
a5755b0d39 Fix deprecated get_page_data and get_pages events 2015-09-28 17:13:26 +02:00
Daniel Rudolf
a7fd853f8f Add striptags filter to description meta header
Thanks @PontusHorn
2015-09-17 23:44:05 +02:00
Daniel Rudolf
5533b07531 Re-add lost PicoPluginInterface 2015-09-15 13:20:52 +02:00
Daniel Rudolf
f76a0b75be Use v0.7 releases of erusev/parsedown-extra 2015-09-15 13:17:00 +02:00
Daniel Rudolf
70f187fb45 Rename IPicoPlugin to PicoPluginInterface 2015-09-15 13:15:45 +02:00
Daniel Rudolf
4821454ad5 Declare in config/config.php.template to prevent a E_NOTICE 2015-09-14 23:08:02 +02:00
Daniel Rudolf
5731ede297 Allow omitting config/config.php; Fix write context on return value
Thanks @Lomanic for reporting
2015-09-14 23:01:08 +02:00
Daniel Rudolf
71e7da28cc Various fixes
Thanks @PontusHorn for spotting!
2015-09-13 20:46:09 +02:00
Daniel Rudolf
a83b01ef4f Access plugins by class name, not file name
Class name and file name can differ regarding case sensitivity
2015-09-06 14:35:23 +02:00
Daniel Rudolf
533822320e Workaround for webservers omitting QUERY_STRING
Thanks @theshka for spotting
2015-08-30 21:31:47 +02:00
Daniel Rudolf
5eed6d0562 Add missing update of index.twig 2015-08-30 21:29:52 +02:00
Daniel Rudolf
df10d60846 Fixing paths in global.php
That shouldn't be there... Thanks @theshka for spotting
2015-08-30 21:29:20 +02:00
Daniel Rudolf
c44afd396d Update .htaccess 2015-08-28 18:37:36 +02:00
Daniel Rudolf
5438fdb368 Rename index.html of default theme to index.twig; Update template 2015-08-28 18:35:53 +02:00
Daniel Rudolf
39e1d788c5 Update sample content 2015-08-28 18:34:14 +02:00
Daniel Rudolf
144939b978 Update config.php.template 2015-08-28 18:33:27 +02:00
Daniel Rudolf
70316eca87 Add PicoDeprecated, PicoParsePagesContent, PicoExcerpt
These plugins are crucial for backward compatibility
2015-08-28 18:30:19 +02:00
Daniel Rudolf
fd1b94e990 Update composer.json 2015-08-28 18:28:49 +02:00
Daniel Rudolf
b3477906f1 Replace Pico_Plugin with DummyPlugin
DummyPlugin is a template for Pico plugins. You're a plugin developer? This template may be helpful :-)
2015-08-28 18:28:25 +02:00
Daniel Rudolf
07ae26789c Add AbstractPicoPlugin
The plugin magic takes place here...
2015-08-28 18:26:56 +02:00
Daniel Rudolf
43a7540f46 Add IPicoPlugin 2015-08-28 18:25:54 +02:00
Daniel Rudolf
cd145821ba Remove pull request message 2015-08-28 18:24:06 +02:00
Daniel Rudolf
92c307d8be Pico 1.0
I unfortunately messed up my repo so this is just a single commit... :(
2015-08-28 18:22:32 +02:00
Daniel Rudolf
284e0ce7de Move constants to global.php 2015-08-28 18:19:03 +02:00
Daniel Rudolf
c496297c44 Class files should exactly match the class name 2015-08-28 18:13:50 +02:00
Daniel Rudolf
adc356251e Remove index.html
A empty index.html is a solution for nothing...
2015-08-28 18:11:45 +02:00
Tyler Heshka
2fdcacc14b Merge pull request #244 from muja/scandir
Use scandir instead of opendir to ensure alphabetical order.
2015-08-04 11:21:18 -06:00
Tyler Heshka
2d6b0ad45a Merge pull request #246 from PhrozenByte/enhancement/CleanupPaths
Cleanup paths
2015-08-04 11:20:33 -06:00
Daniel Rudolf
f90e3b4472 Update inline doc 2015-08-01 22:38:14 +02:00
Daniel Rudolf
6e8bc85a8b Move config.php.template to config/; Add config/.gitignore 2015-08-01 22:07:14 +02:00
Daniel Rudolf
399b73aa3b Move config.php to config/; Add CONFIG_DIR and VENDOR_DIR constants 2015-08-01 22:03:54 +02:00
Daniel Rudolf
e23e61daad CONTENT_DIR constant isn't functional anymore 2015-08-01 21:55:19 +02:00
Danyel Bayraktar
8d82cde120 Use scandir instead of opendir to ensure alphabetical order. 2015-07-14 13:31:51 +02:00
Tyler Heshka
e942d40187 Merge pull request #237 from theshka/master
Fix call on method of an object just created with new/PHP 5.3.10
2015-06-23 19:10:58 -04:00
theshka
f4cc9727ff Fix call on method of an object just created with new/PHP 5.3.10 compatibility error. 2015-06-23 19:06:53 -04:00
Tyler Heshka
6e50ac5cc8 Merge pull request #234 from kushipl/master
Apply PSR1/PSR2 coding standards.
2015-06-12 13:26:16 -04:00
Wojciech Grzebieniowski
577160b109 Apply PSR1/PSR2 coding standards.
Mostly - use consistent indentation. Currently some methods in Pico
class are indented with space ( get_files() ), some with tabs.
2015-06-10 11:40:26 +02:00
Tyler Heshka
376e551ec4 Merge pull request #233 from kushipl/master
Fixed indent
2015-06-10 03:38:26 -04:00
Wojciech Grzebieniowski
83a3313e53 Fixed indent 2015-06-10 09:10:25 +02:00
Tyler Heshka
820e84e0b9 Merge pull request #232 from kushipl/master
Avoid using global config variable.
2015-06-09 13:06:58 -04:00
Wojciech Grzebieniowski
23b90e2a92 Avoid using global config variable.
Instead config is keeped in Pico::$config private variable, and the
config.php returns $config.
2015-06-09 12:01:11 +02:00
Tyler Heshka
48e5c9e500 Merge pull request #230 from theshka/master
fix date_formatted issue
2015-05-29 13:39:14 -04:00
theshka
28a6b721ce fix date_formatted issue 2015-05-29 13:23:20 -04:00
theshka
eb368d31e1 fix date_formatted issue 2015-05-29 13:22:52 -04:00
theshka
a335eec82a add rewrite base directive 2015-05-25 07:51:18 -04:00
theshka
b11a358505 add comments and RewriteBase directive 2015-05-25 07:41:08 -04:00