lp:~barry/mailman/restsub

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

7325. By Barry Warsaw

Plumb the subscription policy through the REST API.

7324. By Barry Warsaw

Give the SubscriptionWorkflow a member attribute which gets set to the member
once their subscription is completed.

Remove some dead tests.

Update an interface.

7323. By Barry Warsaw

A better email validator which actually validates the email address.

7322. By Barry Warsaw

Rewrite the subscription service doctest for the updated API.

7321. By Barry Warsaw

The SubscriptionWorkflow and Registar classes now have both a token and a
"token owner". The latter describes who owns the token --i.e. which phase of
the workflow is being waited on. It can either be no one, the subscriber, or
the moderator.

Tokens and token owners are properly initialized and reset when the workflow
is completed, so we always know which step of the process is being waited on.

Also, remove ISubscriptionService.join() since this will now be handled by the
IRegistrar adapter.

7320. By Barry Warsaw

Add a test for a reported (but non-reproducible) failure patching a mailing list's subscription policy.

7319. By Barry Warsaw

Open templates for reading in utf-8; given by abompard.

7318. By Barry Warsaw

Abhilash's fix for allowing singleton strings in REST interfaces that also
accept lists of strings.

7317. By Barry Warsaw

 * Mailing list subscription policy work flow has been completely rewritten.
   It now properly supports email verification and subscription confirmation
   by the user, and approval by the moderator using unique tokens.
   ``IMailingList`` objects now have a ``subscription_policy`` attribute.

7316. By Barry Warsaw

 * Domains now have a list of owners, which are ``IUser`` objects, instead of
   the single ``contact_address`` they used to have. ``IUser`` objects now
   also have a ``is_server_owner`` flag (defaulting to False) to indicate
   whether they have superuser privileges. Give by Abhliash Raj, with fixes
   and refinements by Barry Warsaw. (LP: #1423756)

 * Domains can now optionally be created with owners; domain owners can be
   added after the fact; domain owners can be deleted. Also, users now have
   an ``is_server_owner`` flag as part of their representation, which defaults
   to False, and can be PUT and PATCH'd. Given by Abhilash Raj, with fixes
   and refinements by Barry Warsaw. (LP: #1423756)

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