lp:~barry/mailman/lp1090753

Created by Barry Warsaw and last modified
Get this branch:
bzr branch lp:~barry/mailman/lp1090753
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

7191. By Barry Warsaw

* Fill out the documentation on moderation notifications.
* Fix LP: 1091321; typo in send_goodbye_message().

7190. By Barry Warsaw

Fix cross-references.

7189. By Barry Warsaw

* Simplify moderator.rst and requests.rst so they serve a better purpose as
  documentation. Move non-documentation tests into a separate unittest file.

* Separate out the doctests for IRequest from the doctests for
  app/moderator.py and place the latter in a separate file.

* Fix typo in app/membership.py (s/send_goodbye_msg/send_goodbye_message), but
  LP: #1091321 tracks more needed fixes in this area.

7188. By Barry Warsaw

Undo temporary buildout.cfg change due to LP: #1090762

7187. By Barry Warsaw

fixes

7186. By Barry Warsaw

Complete the exposure of subscription request moderation via REST (still needs
a clean up pass and thorough unit testing).

* Insert the RequestType enum name into the data dictionary returned by
  get_request(). Otherwise, there's really no good way to get that
  information, which several APIs need.

* Flatten the data dictionary returned by held message JSON representations,
  into the JSON dictionary itself. Do a filtering and rename pass on the
  keys.

  - rename 'id' to 'request_id'
  - remove the redundant 'key'

* Refactor some common stuff into _ModerationBase, although more refactoring
  is coming.

7185. By Barry Warsaw

Expose held subscription/unsubscription requests via the API.

* hold_subscription(): Don't str(mode) to get a string representation, just
  mode.name since we know it is a DeliveryMode. This means we don't need to
  split the value later in handle_subscription().

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.

7182. By Barry Warsaw

A couple of minor code cleanups.

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