Commit Graph
16 Commits
Author SHA1 Message Date
Matthias Gutjahr 2624bcadec Add checks for indexes (cp. issue #206, amends commit 8002559) 2014-09-07 22:01:54 +02:00
Matthias Gutjahr 959022fa07 Init basic Smarty when requesting CSS (Fixes #204)
In order to be able to call `serendipity_plugin_api_pre_event_hook` in a template's config.ini.php from serendipity.css.php, Smarty must be initialized first.
In case of a 'css' event, within the event hook $eventData contains the template's CSS which can now be manipulated and/or extended.
2014-08-20 17:10:44 +02:00
Matthias Gutjahr 8002559603 Fix missing entry properties passed to 'backend_publish' event hook (Fixes #206)
Some plugins make use of additional entry properties (title, body, extended, author) after being called by the 'backend_publish' hook, e.g.

 * serendipity_event_forum
 * serendipity_event_freetag
 * serendipity_event_ljupdate
 * serendipity_event_trackback
 * serendipity_event_versioning
 * serendipity_event_entryproperties
 * serendipity_event_mailer
 * serendipity_event_twitter

 Thus we need to set these properties in the serendipity_updertEntry() method to make sure the plugins get the required data. Of course, we could fetch the entry either in overview.inc.php or again in each plugin, but that would mean an additional query to the DB.
2014-08-19 10:20:19 +02:00
Matthias Gutjahr becf99ad1f Fixes bug in serendipity_serverOffsetHour (cp. http://board.s9y.org/viewtopic.php?f=3&t=19963) and adds test case 2014-06-05 16:41:56 +02:00
Matthias Gutjahr 08f9580b54 Add HTTP_Request2 and dependencies as bundled libraries
Update PEAR library to version 1.9.4
2014-05-09 17:39:01 +02:00
Matthias Gutjahr 9a4b87626a Remove single quotation marks from example PHP command to generate checksums 2014-04-25 18:04:08 +02:00
Matthias Gutjahr 03689cdd77 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-04-25 10:56:14 +02:00
Matthias Gutjahr ea5295cdb3 Remove debug output 2014-04-25 10:40:36 +02:00
Matthias Gutjahr dfd0261cda Exclude git directories from path traversal 2014-04-25 10:39:47 +02:00
Matthias Gutjahr 7c8ac6822e Catch exceptions in upgrader if files or directories do not exist cp. http://board.s9y.org/viewtopic.php?f=1&t=19860 2014-04-16 23:45:16 +02:00
Matthias Gutjahr 0986ba8497 Added Creative Commons Version 4.0 to options 2014-01-21 09:22:56 +01:00
Matthias Gutjahr 1dd627c9c3 Fixed wrong variable name 2013-09-06 14:29:46 +02:00
Matthias Gutjahr 5267970499 Added CLI check required for Metatron 2013-09-06 14:23:34 +02:00
Matthias Gutjahr c9e9d93f92 Added fix for comment_author_self (cp. http://board.s9y.org/viewtopic.php?f=10&t=19115) 2013-07-26 12:43:09 +02:00
Matthias Gutjahr 2e060c3e5f Added userlevel name in user admin section of backend (#28) 2013-07-20 20:43:55 +02:00
Matthias Gutjahr df09953d8e Fix for "Illegal string offset 'tag'" error 2013-02-06 15:14:21 +01:00