lp:~barry/mailman/subpolicy

Created by Barry Warsaw on 2014-04-16 and last modified on 2015-03-21
Get this branch:
bzr branch lp:~barry/mailman/subpolicy
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:
Abandoned

Recent revisions

7257. By Barry Warsaw on 2015-03-21

Add some notes and diagrams

7256. By Barry Warsaw on 2014-11-13

Trunk merge

7255. By Barry Warsaw on 2014-11-10

Trunk merge

7254. By Barry Warsaw on 2014-09-07

More checkpointing subpolicy branch.

7253. By Barry Warsaw on 2014-08-26

Update add_members() signature to use RequestRecords too.

7252. By Barry Warsaw on 2014-08-26

Several changes to better support subscription policies:

 * hold_subscription() now takes a RequestRecord namedtuple instead of a bunch
   of function arguments.

 * Remove passwords from this record, which are auto/random generated anyway.
   Also remove passwords from the add_member() API.

 * Rename the 'address' field to these APIs to 'email' to be more consistent
   with internal conventions.

Both of these changes introduce backward incompatible changes to the REST
API. List request JSON representations change 'address' to 'email' and where
previously present, remove the 'password' key.

Also add a SubscriptionWorkflow class which is a little state machine handling
subscription policies. This is not entirely complete or tested yet. Add a
SubscriptionPolicy enum to capture the policies.

7251. By Barry Warsaw on 2014-04-17

Move make_user() into the IUserManager interface.

7250. By Barry Warsaw on 2014-04-17

Refactor add_member() to have a separate make_user() helper.

7249. By Barry Warsaw on 2014-04-16

- Remove another use of add_member().
- Teach IMailingList.get_roster() about MemberRole.nonmember

7248. By Barry Warsaw on 2014-04-16

More porting of add_member() to subscribe{,_ex()} in tests where appropriate.

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.