summaryrefslogtreecommitdiff
path: root/lib/plugins/upgradeplugindirectory/action.php
Commit message (Collapse)AuthorAge
* reverted plugin disabling method back to old behaviourAndreas Gohr2009-01-27
| | | | | | | | | | | | | | | | | | Ignore-this: b5fadadeee9de8e52c41c056cf62be6d With this patch plugins are now disabled by placing a disabled file in the plugin directory again. Even though renaming plugin directories is the method with the fewest disk accesses it makes a lot of trouble with code revision control systems and, more important, Linux package management systems. Future versions of DokuWiki may use a central config file instead. This patch also fixes the problem with the plugin manager not checking the return values of the pugin_(dis|en)able functions correctly. darcs-hash:20090127182521-7ad00-62018a546d49d57582d93298c8228fd71601a5e8.gz
* upgradeplugindirectory plugin: rework redirect loop fix + improve messages ↵Chris Smith2009-01-22
| | | | | | for wiki admins darcs-hash:20090122121128-f07c6-942f3696f2424432da6f45ab127273b98c7d9bf6.gz
* prevent possible infinite redirect loop in upgradeplugindirectory pluginMichael Klier2009-01-20
| | | | darcs-hash:20090120222709-23886-478ff1ee40ff91f2a478735e51423e888b47a5af.gz
* Major rework of pluginutilsChris Smith2009-01-18
This patch completely reworks pluginutils to: - reduce the number of file accesses to enumerate and load plugins - change the way disabled plugins are recorded. a disabled plugin will now have ".disabled" added to its directory name (this halves the number of file accesses required to enumerate installed plugins) - place the guts of pluginutils code inside a class, Doku_Plugin_Controller, the existing access routines are preserved and no changes are required. - add two globals, $plugin_controller_class & $plugin_controller this allows preload.php to define its own plugin controller class - update config plugin to support new plugin structure config plugin now issues a PLUGIN_CONFIG_PLUGINLIST event before it finalizes the list of plugins it will be working with. Handlers of this event can remove plugins from the list. - update plugin manager plugin to support new plugin structure plugin manager now issues a PLUGIN_PLUGINMANAGER_PLUGINLIST event similarly to config plugin. - plugin manager updated to redirect after changes to plugins and to use msg() Finally, this patch contains a one-shot action plugin which will automatically convert a plugins directory from the old style disabled file to the new style. Note for darcs users, the new disabled format will mean a couple of old oneshot plugins, importoldchangelog and importoldindex, will have their directory names changed, which could lead to darcs wanting to record the change. darcs-hash:20090118190143-f07c6-d2e79af546a49a4af5817dd0c5cc27066e67c4d0.gz