lp:~barry/mailman/lp1065447

Created by Barry Warsaw and last modified
Get this branch:
bzr branch lp:~barry/mailman/lp1065447
Only Barry Warsaw can upload to this branch. If you are Barry Warsaw please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Barry Warsaw
Project:
GNU Mailman
Status:
Merged

Recent revisions

7192. By Barry Warsaw

initial refactoring

7191. By Barry Warsaw

merge

7190. By Barry Warsaw

Fix the order of PasswordContext.verify() to match that of passlib.

7189. By Barry Warsaw

More NEWS.

7188. By Barry Warsaw

Flesh out a few more tests.

7187. By Barry Warsaw

* Expose a REST API for membership change (subscriptions and unsubscriptions)
  moderation. (LP: #1090753)
* Fixed `send_goodbye_message()`. (LP: #1091321)

Also:

* Rewrite and refactor request.rst into better documentation, moving
  non-good-path tests into unittests. This doctest now only describes the
  IRequests API, while the bulk of the moderation documentation now lives in
  moderator.rst.
* When a subscription request is pended, the `delivery_mode` key is now just
  the enum item's name, instead of the str() of the enum (which would include
  the class name). We know it's always going to be a DeliveryMode enum.
* Refactor out the welcome_message calculation from the welcome_message_uri,
  since the same algorithm can apply to goodbye_message_uri.
* When a _Request is retrieved, include the RequestType enum name in the data
  dictionary (if there is one) under the `_request_type` key. Some APIs find
  this useful, but it's not directly returned otherwise.
* For held messages via the REST API, flatten the `data` key into the
  top-level JSON representation, exposing some of the _mod_* keys under their
  non-_mod_* equivalent. Ignore _mod_* keys we don't care about. This is an
  API change.

7186. By Barry Warsaw

 * Allow the getting/setting of IMailingList.subject_prefix via the REST API
   (given by Terri Oda). (LP: #1062893)

7185. By Barry Warsaw

Update to the latest version.

7184. By Barry Warsaw

 * Deleting a user through the REST API also deletes all the user's linked
   addresses and memberships. (LP: #1074374)

Also: Clean up pyflakes warning by removing an obsolete __all__ entry.

7183. By Barry Warsaw

Merge Aurélien Bompard's branch to factor our archiver-specific configurations
into their own configuration files. Reworked by Barry to use the new external
configuration file support, and to make test suite succeed.

Configuration
-------------
 * `[passlib]path` configuration variable renamed to `[passlib]configuration`.
 * Postfix-specific configurations in the `[mta]` section are moved to a
   separate file, named by the `[mta]configuration` variable.
 * In the new `postfix.cfg` file, `postfix_map_cmd` is renamed to
   `postmap_command`.

Also:
 * More Python 2.7-isms, use assertMultiLineEqual() directly.
 * Added external_configuration() and load_external() to mailman.config.config
 * ConfigLayer does a blanket set of [postfix]postmap_command so subtests
   generally won't have to.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:mailman
This branch contains Public information 
Everyone can see this information.

Subscribers