diff options
| author | J08nY | 2017-05-31 02:09:09 +0200 |
|---|---|---|
| committer | J08nY | 2017-06-17 19:35:47 +0200 |
| commit | 765f327dfac9c4537184b2073ea4893cf4560ad7 (patch) | |
| tree | 76c7aec591fd0c4ca864d0653a8223836c4f774a /src/mailman/rest/tests/test_basic.py | |
| parent | 6a148f762d5ee4fd91505eb0aa165b759899019f (diff) | |
| download | mailman-765f327dfac9c4537184b2073ea4893cf4560ad7.tar.gz mailman-765f327dfac9c4537184b2073ea4893cf4560ad7.tar.zst mailman-765f327dfac9c4537184b2073ea4893cf4560ad7.zip | |
Add pluggable components.
- Adds the notion of a 'plugin'.
- A plugin has a package path and a flag specifying whether
it's enabled or not.
- Adds a find_pluggable_components function similar to the
find_components one. This one dynamically searches not only
the mailman package but all of plugins.
- e.g. find_pluggable_components('rules', IRule) finds
all IRule components in mailman.rules but also in
example_plugin.rules for plugin names example_plugin.
- Uses the find_pluggable_components function in place of
find_components when searching for Rules, Handlers, Chains,
EmailCommands, and Styles.
Diffstat (limited to 'src/mailman/rest/tests/test_basic.py')
0 files changed, 0 insertions, 0 deletions
