lp:~barry/mailman/subpolicy-2

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

7341. By Barry Warsaw on 2015-04-15

Prevent replay attacks with the confirmation token.

7340. By Barry Warsaw on 2015-04-14

Update TODO.

7339. By Barry Warsaw on 2015-04-14

Remove unused import.

7338. By Barry Warsaw on 2015-04-14

Full test suite passes.

* Make sure Registrar.discard() removces any workflow state manager state
  associated with the token, and that this is flushed to SA.

* Adjust the email commands to the new IRegistrar API.

* Update the IRegistrar interface.

* Add IWorkflowStateManager.discard() and make `count` an attribute/property.

* Mark two tests as expected failures due to LP: #1444184.

7337. By Barry Warsaw on 2015-04-14

Merge the member query fix branch.

7336. By Barry Warsaw on 2015-04-14

Checkpointing.

7335. By Barry Warsaw on 2015-04-13

The SubscriptionWorkflow class doesn't need to include the expiry date in its
pendable data since that gets added automatically by the IPendings utility.

After the user is subscribed, clean up the saved workflows and reset the token
to None.

Give the SubscriptionWorkflow a name property for convenience.

7334. By Barry Warsaw on 2015-04-13

* Give the workflow state manager a count method.
* The workflow state manager no longer allows updates via .save().
* Restoring a workflow state evicts the record from the database.

7333. By Barry Warsaw on 2015-04-13

Give IPendings a count of entries.

7332. By Barry Warsaw on 2015-04-13

SubscriptionPolicy is largely done, modulo bugs, and the unknown-unknown of
course. This commit contains test failures because the next step is to hook
everything up.

Changes here include:

 * confirm.txt removes the URL since we can't know that.
 * Changes to the ConfirmationNeededEvent
 * Create the Pendable early in the workflow.
 * Clean up test.
 * Update IRegistrar docstring.

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