| e66e6c7e | 30-Apr-2006 |
chris <chris@jalakai.co.uk> |
improvements to common plugin i/f
update comments to work with DokuWiki's auto generated API docs.
slight restructure of configuration functions and comments - loadConfig now loads plugin config se
improvements to common plugin i/f
update comments to work with DokuWiki's auto generated API docs.
slight restructure of configuration functions and comments - loadConfig now loads plugin config settings into $conf['plugin'][<plugin_name>] & $this->conf. These are aliases ensuring only one copy is stored. - readDefaultSettings() reads the plugin's conf/default.php
darcs-hash:20060430152308-9b6ab-9ec53e79ce5b07405acb84d19d81df9dd609612e.gz
show more ...
|
| d88b5f04 | 27-Apr-2006 |
Anika Henke <a.c.henke@arcor.de> |
danish lang.php of configmanager fixed (caused broken admin page)
darcs-hash:20060427224105-d5083-505d1230b7d13dfbf1eb6ae1144b7b72313574dc.gz |
| 8a489810 | 28-Apr-2006 |
Andreas Gohr <andi@splitbrain.org> |
removed left over event testing code from main template
darcs-hash:20060428213851-7ad00-2aebcece3effc9315645cf3164c83f2631a7f2a2.gz |
| 83730152 | 21-Apr-2006 |
Ben Coburn <btcoburn@silicodon.net> |
smart cache-control headers for media fetch
The HTTP Cache-Control header output now respects the Dokuwiki media parameters 'cache', 'recache', and 'nocache'. - cache: cachetime or one hour (which
smart cache-control headers for media fetch
The HTTP Cache-Control header output now respects the Dokuwiki media parameters 'cache', 'recache', and 'nocache'. - cache: cachetime or one hour (which ever is larger) - recache: remaining cachetime + 10 seconds so the newly recached media is used - nocache: no caching
Notes: - 'proxy-revalidate' should ensure that public caches always revalidate, this will keep caches from (accidentally) ignoring Dokuwiki's ACL rules. - 'no-transform' should keep media from being modified in transit by caches.
Impact: Speeds up page layout/display by browsers when they already have the media in their [memory] cache. For example the 2nd time a page is viewed. This also reduces server load by eliminating most of the overhead needed to return '304 Not Modified' responses each time an image is viewed.
darcs-hash:20060421025424-05dcb-23ff26c5cb410bcd166299a840f4c500fa0d112e.gz
show more ...
|
| 4f3c4962 | 21-Apr-2006 |
Ben Coburn <btcoburn@silicodon.net> |
bugfix fetch remote media (recache and nocache)
Fixes a major bug in fetching remote media with 'recache' and improves the efficiency of 'nocache'.
Recache: - Used to reload the remote media on E
bugfix fetch remote media (recache and nocache)
Fixes a major bug in fetching remote media with 'recache' and improves the efficiency of 'nocache'.
Recache: - Used to reload the remote media on EVERY request. - Now it behaves as intended and only reloads the remote media into the Dokuwiki cache every $conf['cachetime'] time.
Nocache: - No longer stores remote media in the Dokuwiki cache. - No longer loads, saves, and forwards remote media -- just redirects. - No longer resizes images on the server because the cached results can not be reused. Overall this is faster for Dokuwiki. The bandwidth usage for the 3rd party server is the same (less for Dokuwiki). Page loading should also be faster because data is not being forwarded through Dokuwiki (and the 3rd part server's cache control headers will be respected automatically).
darcs-hash:20060421012210-05dcb-a6029baa0fad218ace28e0e3c2f442b1ca645a99.gz
show more ...
|
| b1112787 | 28-Apr-2006 |
Ben Coburn <btcoburn@silicodon.net> |
accesskey tooltip rewriting
Does client-side rewriting of accesskey tooltip text so that it will be more OS and browser specific. Dokuwiki should output all accesskey tooltips as [ALT+<key>] because
accesskey tooltip rewriting
Does client-side rewriting of accesskey tooltip text so that it will be more OS and browser specific. Dokuwiki should output all accesskey tooltips as [ALT+<key>] because this patch matches on "[ALT+".
darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
show more ...
|
| 24bb549b | 24-Apr-2006 |
chris <chris@jalakai.co.uk> |
event system revision
This is a major revision of DokuWiki's event system. There are changes to class names, function names, function parameters and their order and event names.
For action plugin
event system revision
This is a major revision of DokuWiki's event system. There are changes to class names, function names, function parameters and their order and event names.
For action plugin writers the following changes are important:
- <event_name> is no longer signalled, only <event_name>_BEFORE and <event_name>_AFTER. - note the case change for _BEFORE and _AFTER - calling stopPropagation while processing a _BEFORE signal no longer prevents an _AFTER signal. The events _continue value is reset before the _AFTER signal is made. - events have a new readonly property, canPreventDefault. This lets the event handling hook know whether or not the event honours preventDefault calls.
- parameters have changed for the register_hook method, parameters are now $event_name, $advise (can be 'BEFORE' or 'AFTER') $object $method $param (this parameter is now optional) - parameter order has changed for the hook event handler callback functions &$event $param (can now be left off)
Event names have changed, they are now structured <dokuwiki name>_<event data name>_<action_name or state if no action>
DOKUWIKI_START
darcs-hash:20060424220152-9b6ab-00e366288f7ec8a85b85dc83694a5f43a07aa082.gz
show more ...
|
| ea40e5ef | 17-Apr-2006 |
mtbrains <mtbrains@comcast.net> |
Allow styles sheets that apply to "all" media
darcs-hash:20060417003153-a90f0-4792fd7b946f62d3696b979f8debfa73587d353a.gz |
| f65bfee1 | 14-Apr-2006 |
chris <chris@jalakai.co.uk> |
action plugins
This patch adds events and a third plugin type, "action" plugins, to DokuWiki.
The patch doesn't include any event signalling, that will be added in later patches.
Action plugins ar
action plugins
This patch adds events and a third plugin type, "action" plugins, to DokuWiki.
The patch doesn't include any event signalling, that will be added in later patches.
Action plugins are loaded before most Dokuwiki processing takes place and at the same time are given the opportunity to register handlers (or hooks) to receive specific dokuwiki events.
Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register handlers to receive events.
Any part of Dokuwiki can create and signal events, including templates and plugins.
This patch also revises the admin plugin class by making it an extension of a new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this new class.
Further details of events, their signalling and handling, and of action plugins will be added to wiki.splitbrain.org in due course :-)
darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
show more ...
|
| c6480b76 | 12-Apr-2006 |
Andreas Gohr <andi@splitbrain.org> |
consistent filetype icons
Now all filetype icons have the same style and work on light and dark backgrounds. A test file was added to lib/images/fileicons/index.php
darcs-hash:20060412195703-7ad00-
consistent filetype icons
Now all filetype icons have the same style and work on light and dark backgrounds. A test file was added to lib/images/fileicons/index.php
darcs-hash:20060412195703-7ad00-4d31a65788e8da0255ea6e064382595e8ae183ff.gz
show more ...
|
| a6598f23 | 10-Apr-2006 |
Ben Coburn <btcoburn@silicodon.net> |
pagetitle as template pagename
Uses the first heading as the page name in the default template if $conf['useheading'] is set. Updates tpl_pagetitle() so that it can return this value.
darcs-hash:20
pagetitle as template pagename
Uses the first heading as the page name in the default template if $conf['useheading'] is set. Updates tpl_pagetitle() so that it can return this value.
darcs-hash:20060410234311-05dcb-b4636f7c0d8f98658a6097ea9ee4dff1ee2de8b4.gz
show more ...
|
| c1b992e1 | 10-Apr-2006 |
Andreas Gohr <andi@splitbrain.org> |
make alphatransparency shadows available to modern browsers only
darcs-hash:20060410192459-7ad00-4212125ec31532656030b4d80984f6b45b5cf293.gz |
| e04f1f16 | 09-Apr-2006 |
chris <chris@jalakai.co.uk> |
Bug#680
Update default plugins to ensure they exit immediately if not called from within Dokuwiki
darcs-hash:20060409233841-9b6ab-555e4fced756849a5d7b9de6e4aaaea24c6da3ae.gz |
| 8fda4569 | 09-Apr-2006 |
chris <chris@jalakai.co.uk> |
plugin manager update, fix for php warning if all plugins disabled
darcs-hash:20060409232533-9b6ab-13b2065c81b857a73b8e1175c9371978f8f76ab5.gz |
| 07525e80 | 10-Apr-2006 |
Ben Coburn <btcoburn@silicodon.net> |
CSS and JS cache-control tweak
Tells standards compliant browsers that conditional requests for CSS and JS need only be made once an hour. This should reduce page display latency on some browsers.
CSS and JS cache-control tweak
Tells standards compliant browsers that conditional requests for CSS and JS need only be made once an hour. This should reduce page display latency on some browsers.
Originated from the comment in this thread: http://www.freelists.org/archives/dokuwiki/03-2006/msg00590.html
darcs-hash:20060410012723-05dcb-eccb42aefe85c9dbb4f35fdf03a9635561cf5710.gz
show more ...
|
| cd7fd4a2 | 09-Apr-2006 |
Andreas Gohr <andi@splitbrain.org> |
spanish language update
darcs-hash:20060409115740-7ad00-dd6cb62ccd4e0947ccb7566b0c0010eb807585e3.gz |
| c4b55279 | 27-Mar-2006 |
Ben Coburn <btcoburn@silicodon.net> |
fix config plugin setting_numeric pattern
The old pattern (left as a comment) allowed many PHP syntax errors to be inserted into local.php for numeric values. This was breaking the wiki... see bug #
fix config plugin setting_numeric pattern
The old pattern (left as a comment) allowed many PHP syntax errors to be inserted into local.php for numeric values. This was breaking the wiki... see bug #769.
This patch should eliminate the syntax errors by using a more restrictive definition of numeric settings.
darcs-hash:20060327200700-05dcb-ccb8d532e5c123965fc6c8e79fb49c93170d827e.gz
show more ...
|
| 17e7a281 | 27-Mar-2006 |
Ben Coburn <btcoburn@silicodon.net> |
update config plugin metadata
darcs-hash:20060327181005-05dcb-73b7a1f4400832ba29962efc543d9959ebc6b2db.gz |
| a954fae3 | 27-Mar-2006 |
Ben Coburn <btcoburn@silicodon.net> |
fix config plugin function name _setup_localised_plugin_prompts
darcs-hash:20060327152528-05dcb-415564ff328ca9dd1f0fbe758924a2ae6a5b74cc.gz |
| aee14112 | 26-Mar-2006 |
chris <chris@jalakai.co.uk> |
plugin manager update / will now expire page, css & js caches after a plugin change
darcs-hash:20060326122952-9b6ab-f6aef3c5b2f9e936d2f32ed148d19bbd8a9da2da.gz |
| a609a9cc | 24-Mar-2006 |
Ben Coburn <btcoburn@silicodon.net> |
show page generation time
darcs-hash:20060324032426-05dcb-cca609254cfef5b583510b86904f1656dea98fc7.gz |
| 0e99f6d7 | 21-Mar-2006 |
Ben Coburn <btcoburn@silicodon.net> |
'Back to top' style bug fix
Removes some link underlining that would appear around the 'Back to top' button.
darcs-hash:20060321020948-05dcb-e0e5f2d30bd05bad37ad64d587fc4dc29abcb30b.gz |
| 4a778400 | 22-Mar-2006 |
Esther Brunner <esther@kaffeehaus.ch> |
changes to config plugin needed for template and plugin configuration
darcs-hash:20060322140525-283c4-54953a1954beba0e78c896610b33a6f3c953cbb6.gz |
| f1f77134 | 22-Mar-2006 |
Esther Brunner <esther@kaffeehaus.ch> |
methods for loading config variables in syntax and amin plugins
darcs-hash:20060322110832-283c4-d8e56c241f8a34827f1c188c4db7162ef658e010.gz |
| 902ea3be | 21-Mar-2006 |
larsch8 <larsch8@m2.stud.ku.dk> |
Danish lang update
darcs-hash:20060321005453-a08f5-274da46720f4487a03d8ba55b3ce1d48b6a5346c.gz |