summaryrefslogtreecommitdiff
path: root/inc/plugin.php
Commit message (Collapse)AuthorAge
* Remove error supression for file_exists()Andreas Gohr2015-01-07
| | | | | | | In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
* Merge remote-tracking branch 'origin/master' into scrutinizerissuesGerrit Uitslag2014-12-09
|\ | | | | | | | | | | | | | | | | Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
| * improve some scrutinizer issuesGerrit Uitslag2014-09-28
| | | | | | | | | | | | different types unused vars PHPDocs
| * Merge remote-tracking branch 'origin/master' into overridablelangstringsGerrit Uitslag2014-09-28
| |\ | | | | | | | | | | | | Conflicts: inc/plugin.php
| * | visibility plugin methodsGerrit Uitslag2014-09-28
| | |
| * | use config cascade for loading of localizationsGerrit Uitslag2014-09-28
| | |
| * | extend lang file cascade, so users can override some lang stringsGerrit Uitslag2014-05-13
| | | | | | | | | | | | Fixes #692
* | | PHPDocs and some improvementsGerrit Uitslag2014-10-02
| | |
* | | Many PHPDocs, some unused and dyn declared varsGerrit Uitslag2014-10-01
| |/ |/| | | | | | | | | many PHPDocs some unused variables some dynamically declared variables declared
* | rephrased error message. #681Andreas Gohr2014-07-04
| |
* | Merge branch 'oldpluginshasnoGetinfo' of ↵Andreas Gohr2014-07-04
|\ \ | | | | | | | | | | | | | | | | | | | | | git://github.com/splitbrain/dokuwiki into pull-request-709 * 'oldpluginshasnoGetinfo' of git://github.com/splitbrain/dokuwiki: Reformat getInfo function Improve missing plugin.info.txt message.
| * | Reformat getInfo functionGerrit Uitslag2014-05-13
| | | | | | | | | | | | with previous commit, Fixes #681
| * | Improve missing plugin.info.txt message.Gerrit Uitslag2014-05-13
| |/
* / log deprecated function calls FS#2399Andreas Gohr2014-05-10
|/ | | | | | This introduces a new dbg_deprecated() function which allows for easy marking of deprecated functions. Each call is logged to the debuglog when debuggin is enabled.
* our code may only throw user errorsAndreas Gohr2014-04-09
|
* rename render() to render_text() in Doku_Plugin. #496Andreas Gohr2014-01-22
|
* Bugfix: DOKU_CONF pathhArpanet2013-09-20
| | | Remove extraneous slash
* Fix loading for helper components with loadHelper()Michael Hamann2013-08-01
| | | | | The check if the plugin is enabled is done later in the plugin controller anyway.
* removed a bunch of functions which were deprecated in 2005/2006Anika Henke2013-02-18
|
* Merge branch 'master' into futureAndreas Gohr2013-02-03
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (162 commits) fixed revision JS for images upgraded SimplePie to 1.3.1 FS#2708 removed obsolete browser plugin (migrate does it) adjust spacing to match standard 1.4em grid added comment on use of whitelist vs blacklist Updated idfilter() function for IIS use var and remove suggestions when needed Use variable for maximum number of suggestions for quicksearch. And hide suggestions when search field is emptied, or when no suggestion are found. added 'home' class to first link in hierarchical breadcrumbs reduced required max width to go into tablet mode re-added linear gradients for firefox added missing styling for disabled form elements (FS#2705) fixed acronyms in italics (FS#2684) improved print styles (includes fixes for FS#2645 and FS#2707) basic styles improvements Greek language update Use list in acl help text, for more structure Galician language update touch the config on save, even if no changes were made unwind the width narrowing commit put some whitespace between form submit button and fieldset bottom border ... Conflicts: lib/plugins/config/admin.php lib/plugins/config/settings/config.class.php
| * $msg of loadHelper for base plugin class default to true too.Klap-in2013-01-27
| |
| * Correct PHPDoc comment of DokuWiki_Plugin::locale_xhtml()Michael Hamann2013-01-19
| |
| * Correct parameter documentation of DokuWiki_Plugin::loadHelper()Michael Hamann2012-12-03
| |
* | Merge branch 'confmanager' into futureAndreas Gohr2013-01-25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * confmanager: added failing test for array type started to add some unit tests to config manager Revert "config manager: let PHP parse the config file" added 'array' type for config manager config manager: let PHP parse the config file config manager: removed dead/commented code added PCRE UTF-8 checks to do=check FS#2636 avoid multiple paralell update checks fix regression bug in HTTPClient FS#2621 changed PAGEUTILS_ID_HIDEPAGE to has BEFORE/AFTER added event PAGEUTILS_ID_HIDEPAGE added test for isHiddenPage() add index file similar to fileicons to show active smileys fix E_STRICT errors FS#2427
| * fix E_STRICT errors FS#2427Andreas Gohr2012-07-28
| | | | | | | | | | | | | | | | This commit fixes all E_STRICT messages shown when running the test suite. There might be more problems not covered by tests, yet. For compatibility reasons with plugins, E_STRICT errors are still supressed.
* | authmysql fixesAndreas Gohr2012-11-09
| | | | | | | | | | * use proper plugin config * code/PHP5 cleanup
* | merge old auth style configs with plugin configAndreas Gohr2012-11-09
|/
* Fix type declarations in some PHPDoc commentsMichael Hamann2012-07-25
|
* 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