<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mailman.git/src/mailman/app, branch pluggable-components</title>
<subtitle>The GNU Mailing List manager.
</subtitle>
<id>https://git.neuromancer.sk/mailman.git/atom?h=pluggable-components</id>
<link rel='self' href='https://git.neuromancer.sk/mailman.git/atom?h=pluggable-components'/>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/'/>
<updated>2017-08-07T15:39:08Z</updated>
<entry>
<title>Fix coverage, deprecate, but run non-plugin (post|pre)_hooks.</title>
<updated>2017-08-07T15:39:08Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2017-07-25T19:44:54Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=8addebbf9802e911c06f6a27b7ffff1e0f1d2e57'/>
<id>urn:sha1:8addebbf9802e911c06f6a27b7ffff1e0f1d2e57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add REST-ability to plugins.</title>
<updated>2017-08-07T15:39:07Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2017-06-01T18:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=a665dccf9404d6f95d8a4587f05d748b504e1f9d'/>
<id>urn:sha1:a665dccf9404d6f95d8a4587f05d748b504e1f9d</id>
<content type='text'>
 - Adds the rest_object method to the IPlugin interface. This method
   is called by the REST api to route requests to the plugin's REST
   api. All attributes are proxied, so the object becomes a true
   REST object in the ObjectRouter hierarchy. For example see the
   RESTExample and ExamplePlugin classes in mailman.testing.plugin.
   The plugin might return None from this method, in which case
   all calls to it's REST api route will return 404 NotFound.

 - Adds new routes to the REST api. For version &gt;= 3.1:

   - /3.1/plugins
     Returns a dictionary with plugin names as keys, and their configs
     as values.

   - /3.1/plugins/&lt;plugin_name&gt;
	 Proxies everything to plugin's rest_object, if plugin with such
     name exists and provides a non-null rest_object, else NotFound.
</content>
</entry>
<entry>
<title>Add per-plugin hooks, add docs about plugins.</title>
<updated>2017-08-07T15:39:07Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2017-06-01T13:46:48Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=0d4f53b51892866b5cc85ace229b23f4b9bac896'/>
<id>urn:sha1:0d4f53b51892866b5cc85ace229b23f4b9bac896</id>
<content type='text'>
 - 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.
</content>
</entry>
<entry>
<title>Add pluggable components.</title>
<updated>2017-08-07T15:39:07Z</updated>
<author>
<name>J08nY</name>
</author>
<published>2017-05-31T00:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=38a86adcdb78c1944c26a5ab8deddff619b33bcf'/>
<id>urn:sha1:38a86adcdb78c1944c26a5ab8deddff619b33bcf</id>
<content type='text'>
 - 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.
</content>
</entry>
<entry>
<title>Rename metadata key for clarity</title>
<updated>2017-08-04T01:13:04Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2017-08-04T01:13:04Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=9cdcffbc1189a19bc2963cf3d5c86a3d4f1f24a6'/>
<id>urn:sha1:9cdcffbc1189a19bc2963cf3d5c86a3d4f1f24a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert to click for CLI options</title>
<updated>2017-07-22T03:02:05Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2017-07-22T03:02:05Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=f00b94f18e1d82d1488cbcee6053f03423bc2f49'/>
<id>urn:sha1:f00b94f18e1d82d1488cbcee6053f03423bc2f49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide a better way to avoid instantiating some components</title>
<updated>2017-06-17T03:33:38Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2017-06-17T03:33:38Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e'/>
<id>urn:sha1:88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure the held message subject is a string.</title>
<updated>2017-05-25T05:25:11Z</updated>
<author>
<name>Mark Sapiro</name>
</author>
<published>2017-05-25T05:25:11Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=3df8d5182b44148bbd4b43f5474cd67b2ca699f9'/>
<id>urn:sha1:3df8d5182b44148bbd4b43f5474cd67b2ca699f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the template name of the welcome message.</title>
<updated>2017-05-24T20:25:26Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2017-05-24T20:25:26Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=b2d961dcffa6602c2b39e421b157c0c0026b6c46'/>
<id>urn:sha1:b2d961dcffa6602c2b39e421b157c0c0026b6c46</id>
<content type='text'>
We did not previously complete the renaming of the templates.  Rename:

* user:ack:welcome -&gt; list:user:notice:welcome
* user:ack:goodbye -&gt; list:user:notice:goodbye

The new names are what are actually used in send_welcome_message() and
send_goodbye_message() so the old names were actually never used.

NOTE: If you added welcome or goodbye templates through REST from git head,
the old names will not be used.  Given that this wasn't a feature in 3.0, and
the above use case is very unlikely, I've decided not to do a migration.  If
anybody is affected, the changes can be made manually in withlist.

Closes: #337
</content>
</entry>
<entry>
<title>Fix two problems and close #260</title>
<updated>2017-04-22T20:42:31Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2017-04-22T20:42:31Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=0c5c9defb63981aeb95fc5b5bc76544020378f8b'/>
<id>urn:sha1:0c5c9defb63981aeb95fc5b5bc76544020378f8b</id>
<content type='text'>
</content>
</entry>
</feed>
