summaryrefslogtreecommitdiff
path: root/src/mailman/core/plugins.py
Commit message (Collapse)AuthorAgeFilesLines
* Make config.plugin_configs yield a dict with plugin names.J08nY2017-08-071-2/+1
| | | | - Allows to better loop over pluging configs and their names.
* Add per-plugin hooks, add docs about plugins.J08nY2017-08-071-0/+42
| | | | | | | | | | | | | | | - Removes pre_hook, post_hook and ext_dir. With the latter being unused. Warns on startup if the hooks are present in config. - Adds IPlugin interface with pre_hook and post_hook methods. - Adds 'class' config parameter to plugins, which can be set to a class implementing the IPlugin interface, it will be initialized once on Mailman's startup, then before the DB setup the pre_hook will be run, after DB and other components the post_hook will be run. Plugin instances are stored in the config.plugins dict, with keys being their configuration section names.
* Bye bye plugins module.Barry Warsaw2009-03-291-74/+0
|
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+74
correctly regardless of how it's used.