summaryrefslogtreecommitdiff
path: root/src/mailman/app (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Move a doctest to the right directory.Barry Warsaw2015-04-161-344/+0
| |
* | Plumb the subscription policy through the REST API.Barry Warsaw2015-04-154-23/+75
| |
* | Give the SubscriptionWorkflow a member attribute which gets set to the memberBarry Warsaw2015-04-152-40/+22
| | | | | | | | | | | | | | | | once their subscription is completed. Remove some dead tests. Update an interface.
* | Rewrite the subscription service doctest for the updated API.Barry Warsaw2015-04-152-145/+118
| |
* | The SubscriptionWorkflow and Registar classes now have both a token and aBarry Warsaw2015-04-154-80/+120
|/ | | | | | | | | | | | "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-158-236/+1307
|\ | | | | | | | | | | 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-154-6/+88
| |
| * Remove unused import.Barry Warsaw2015-04-141-1/+0
| |
| * Full test suite passes.Barry Warsaw2015-04-143-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-145-224/+198
| |
| * The SubscriptionWorkflow class doesn't need to include the expiry date in itsBarry Warsaw2015-04-133-1/+36
| | | | | | | | | | | | | | | | | | 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.
| * SubscriptionPolicy is largely done, modulo bugs, and the unknown-unknown ofBarry Warsaw2015-04-133-91/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Subscription workflows now support bans.Barry Warsaw2015-04-132-2/+23
| |
| * Fix regression.Barry Warsaw2015-04-131-1/+0
| |
| * Subsume hold_subscription() functionality into the subscription workflow.Barry Warsaw2015-04-132-8/+108
| | | | | | | | | | Specifically, log a message and send a notification to the list owners when a subscription is held and the list is so configured.
| * Handle save/restore of the subscription workflow.Barry Warsaw2015-04-132-6/+97
| | | | | | | | | | | | | | | | | | | | To handle the case of restoring a saved workflow, allow the subscriber to be None in the constructor, but assert that it is not None after the first workflow step. Add setters/getters for handling save/restore. In the base workflow interface, rename key to token.
| * Subscription workflow checkpointing.Barry Warsaw2015-04-093-68/+310
| | | | | | | | | | | | | | | | | | | | * TO DO: - hook up sending of confirmation - processing confirmations and continuing workflow - get tokens for saving workflows - integrate with RequestRecord - integrate with hold_subscription - after getting moderator approval, continue workflow
| * Add run_thru() and run_until() to workflow, mostly for testing purposes.Barry Warsaw2015-04-072-2/+46
| |
| * Trunk mergeBarry Warsaw2015-04-071-1/+1
| |\ | |/ |/|
* | Abhilash's branch, pre-cleaning.Barry Warsaw2015-04-061-1/+1
|\ \
| * | add domainowner and serverowner optionsAbhilash Raj2015-03-211-2/+0
| | | | | | | | | | | | | | | | | | * Add is_serverowner flag in User model and api * Add owner table for user-domain's many to many relationship * add owners subresource in domain's rest api
| | * Check pointingBarry Warsaw2015-04-064-8/+31
| | |
| | * Fix some typos.Barry Warsaw2015-03-301-1/+1
| | |
| | * * Refactor test_workflow into a separate module.Barry Warsaw2015-03-294-74/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | * save_state() -> save() * restore_state() -> restore() * Add push() as the public API for pushing new state on the deque. * Uppercase class attributes. * Add logging on exception. * Minor style fixes.
| | * Fix merge turd.Barry Warsaw2015-03-291-0/+3
| | |
| | * Refactorings and tests.Barry Warsaw2015-03-292-70/+97
| | | | | | | | | | | | | | | | | | | | | | | | * Move the basic Workflow class to a module in mailman.app. * Rename the interface and model modules. * Update the configure.zcml. * Minor style fixes. * Add a test for the workflow model.
| | * Merge abompard's subpolicy branch port with trunk. Still a WIP.Barry Warsaw2015-03-292-4/+297
| |/| |/| |
| | * Test when confirmations are requiredAurélien Bompard2015-03-272-2/+21
| | |
| | * Write and move tests for the bare Workflow classAurélien Bompard2015-03-272-37/+46
| | |
| | * Start implmenting the send_confirmation stepAurélien Bompard2015-03-271-0/+7
| | |
| | * Workflow: allow saving and restoring with an empty queueAurélien Bompard2015-03-272-4/+30
| | |
| | * Factor generic workflow operations in their own classAurélien Bompard2015-03-261-23/+37
| | |
| | * Save and restore attributesAurélien Bompard2015-03-262-7/+20
| | |
| | * Save the workflow state in the databaseAurélien Bompard2015-03-252-0/+31
| | |
| | * Store method names in the SubscriptionWorkflow to allow state savingAurélien Bompard2015-03-251-16/+15
| | |
| | * SubscriptionWorkflow: add a test for moderated listsAurélien Bompard2015-03-252-5/+28
| | |
| | * Typo in the previous commitAurélien Bompard2015-03-202-2/+2
| | |
| | * Restore the features of commit 7301.3.1 which were lost in the mergeAurélien Bompard2015-03-202-9/+26
| | |
| | * Remove commented-out codeAurélien Bompard2015-03-201-53/+0
| | |
| | * Resurrect Barry's subpolicy branch (lp:~barry/mailman/subpolicy)Aurélien Bompard2015-03-209-219/+428
| |/
* | trunk mergeBarry Warsaw2015-03-289-217/+229
|\ \
| * | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-16/+6
| | |
| * | Replace add_member() with subscribe().Barry Warsaw2015-03-261-27/+16
| | |
| * | Extended test helper subscribe() which takes an optional email address andBarry Warsaw2015-03-261-0/+1
| | | | | | | | | | | | returns the newly created member.
| * | Remove a misleading comment.Barry Warsaw2015-03-221-1/+0
| | |
| * | * Refactor add_member() so that it uses a RequestRecord namedtuple.Barry Warsaw2015-03-218-211/+244
| |/ | | | | | | | | | | * RequestRecord contains no password key so these are not part of the held requests database any more. * Pending record contains `email` now instead of `address`.
* / Fix some typos.Barry Warsaw2015-03-281-3/+3
|/
* LP: #1425359: Elaborate on how email addresses with mixed case can subscribeBarry Warsaw2015-03-132-9/+53
|\ | | | | | | to a mailing list.
| * Fixed the issue #1425359 and wrote corresponding tests.black-perl ankprashar@gmail.com2015-03-041-1/+1
|/
* We don't need the 'six' package any more.Barry Warsaw2015-01-043-9/+7
|