summaryrefslogtreecommitdiff
path: root/src/mailman/app/tests/test_registrar.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Intermediate CommitAbhilash Raj2016-09-011-269/+0
|
* New template system. Closes #249Barry Warsaw2016-07-161-1/+2
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* First massive round of cleanups.Barry Warsaw2016-03-231-14/+6
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Merge branch '1-admin-notify-mchanges' into 'release-3.0'Barry Warsaw2015-05-021-0/+40
| | | | | | | | Honor admin_notify_mchanges with subscription policy When the mailing list's `admin_notify_mchanges` is True, the list owners now get the subscription notification. (Closes: #1) See merge request !4
* Branch his ready.Barry Warsaw2015-04-171-1/+1
|
* Plumb the subscription policy through the REST API.Barry Warsaw2015-04-151-16/+31
|
* The SubscriptionWorkflow and Registar classes now have both a token and aBarry Warsaw2015-04-151-29/+43
| | | | | | | | | | | | "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.
* * Mailing list subscription policy work flow has been completely rewritten.Barry Warsaw2015-04-151-2/+2
| | | | | | 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.
* Prevent replay attacks with the confirmation token.Barry Warsaw2015-04-151-5/+38
|
* Full test suite passes.Barry Warsaw2015-04-141-2/+6
| | | | | | | | | | | | | * 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.
* Checkpointing.Barry Warsaw2015-04-141-0/+170