summaryrefslogtreecommitdiff
path: root/inc/plugin.php
Commit message (Collapse)AuthorAge
* give useful message for broken plugins FS#2068Andreas Gohr2011-03-04
|
* Language files can now be customized in the conf/ directoryMichael Hamann2010-12-29
| | | | | | As suggested by Robin Getz locale .txt files can now be duplicated and changed in the conf/lang/ directory and conf/plugin_lang/$plugin/ directory for plugins.
* Allow plugins to specify that they have to be instantiatedAdrian Lang2010-03-29
| | | | | | | | Plugins may return false in isSingleton to let plugin_load return a new instance every time it is called. Renderer plugins are not loaded with $new set to true, but instead specify themself that they are not singletons. This behaviour allows the odt renderer to keep working (see #1598).
* More flexible plugin packages FS#1746Andreas Gohr2009-11-11
| | | | | | Ignore-this: 252bb5a42965ed045221c0544136aa62 darcs-hash:20091111203437-7ad00-86f06d842b3bec22641a637cb09dbc666a42ca2d.gz
* Coding Standard CleanupAndreas Gohr2009-10-20
| | | | | | Ignore-this: 259cb5773c3144c6c706d87298dcf674 darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
* Fix for FS#1598 - allow a plugin to be a singleton if it so desiresChris Smith2009-02-11
| | | | | | | | | | | | | | | DokuWiki typically instantiates a plugin once and reuses that instance whenever the plugin is required. However on some occasions DokuWiki will request a new instantiation of a plugin. This particularly applies to render plugins. This patch allows a plugin to force DokuWiki to reuse the existing instance. If a plugin wishes to only be instantiated once then it should implement an "isSingleton()" method and that method should return boolean true. darcs-hash:20090211143520-f07c6-5c1a33dbed55f0b196a204745fe3139f3c7c0aa9.gz
* CSRF prevention for admin pluginsAndreas Gohr2007-08-29
| | | | | | | | | | | | | | | This patch adds a session based token to all form in the default action plugins. The validity of the token is checked before any administrative function is executed aiming to protect DokuWiki's admin functions from Cross-site request forgery (CSRF) attacks. Another patch will follow to add the same functionality on other, less critical functions. More details on CSRF attacks can be found at http://en.wikipedia.org/wiki/Cross-site_request_forgery darcs-hash:20070829201538-7ad00-d0770224a3351fd8e38968e3a9d8e73520482445.gz
* Typo in plugin.php (FS#1094)Guy Brand2007-03-23
| | | | darcs-hash:20070323075309-19e2d-ec759de766c1ee42e0145e81bea3946aa9f35298.gz
* helper plugin patchEsther Brunner2007-02-27
| | | | darcs-hash:20070227122635-20862-e10e801a5224585fa32d8dc3401fd5eb98d70930.gz
* moved plugin base class to incAndreas Gohr2007-01-20
darcs-hash:20070119233350-7ad00-a8ae733093693a55c2566f5ee698a7b4aa3a833a.gz