| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Move a doctest to the right directory. | Barry Warsaw | 2015-04-16 | 1 | -344/+0 | |
| | | | ||||||
| * | | Plumb the subscription policy through the REST API. | Barry Warsaw | 2015-04-15 | 4 | -23/+75 | |
| | | | ||||||
| * | | Give the SubscriptionWorkflow a member attribute which gets set to the member | Barry Warsaw | 2015-04-15 | 2 | -40/+22 | |
| | | | | | | | | | | | | | | | | | once their subscription is completed. Remove some dead tests. Update an interface. | |||||
| * | | Rewrite the subscription service doctest for the updated API. | Barry Warsaw | 2015-04-15 | 2 | -145/+118 | |
| | | | ||||||
| * | | The SubscriptionWorkflow and Registar classes now have both a token and a | Barry Warsaw | 2015-04-15 | 4 | -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 Warsaw | 2015-04-15 | 8 | -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 Warsaw | 2015-04-15 | 4 | -6/+88 | |
| | | | ||||||
| | * | Remove unused import. | Barry Warsaw | 2015-04-14 | 1 | -1/+0 | |
| | | | ||||||
| | * | Full test suite passes. | Barry Warsaw | 2015-04-14 | 3 | -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 Warsaw | 2015-04-14 | 5 | -224/+198 | |
| | | | ||||||
| | * | The SubscriptionWorkflow class doesn't need to include the expiry date in its | Barry Warsaw | 2015-04-13 | 3 | -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 of | Barry Warsaw | 2015-04-13 | 3 | -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 Warsaw | 2015-04-13 | 2 | -2/+23 | |
| | | | ||||||
| | * | Fix regression. | Barry Warsaw | 2015-04-13 | 1 | -1/+0 | |
| | | | ||||||
| | * | Subsume hold_subscription() functionality into the subscription workflow. | Barry Warsaw | 2015-04-13 | 2 | -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 Warsaw | 2015-04-13 | 2 | -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 Warsaw | 2015-04-09 | 3 | -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 Warsaw | 2015-04-07 | 2 | -2/+46 | |
| | | | ||||||
| | * | Trunk merge | Barry Warsaw | 2015-04-07 | 1 | -1/+1 | |
| | |\ | |/ |/| | ||||||
| * | | Abhilash's branch, pre-cleaning. | Barry Warsaw | 2015-04-06 | 1 | -1/+1 | |
| |\ \ | ||||||
| | * | | add domainowner and serverowner options | Abhilash Raj | 2015-03-21 | 1 | -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 pointing | Barry Warsaw | 2015-04-06 | 4 | -8/+31 | |
| | | | | ||||||
| | | * | Fix some typos. | Barry Warsaw | 2015-03-30 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | * Refactor test_workflow into a separate module. | Barry Warsaw | 2015-03-29 | 4 | -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 Warsaw | 2015-03-29 | 1 | -0/+3 | |
| | | | | ||||||
| | | * | Refactorings and tests. | Barry Warsaw | 2015-03-29 | 2 | -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 Warsaw | 2015-03-29 | 2 | -4/+297 | |
| | |/| |/| | | ||||||
| | | * | Test when confirmations are required | Aurélien Bompard | 2015-03-27 | 2 | -2/+21 | |
| | | | | ||||||
| | | * | Write and move tests for the bare Workflow class | Aurélien Bompard | 2015-03-27 | 2 | -37/+46 | |
| | | | | ||||||
| | | * | Start implmenting the send_confirmation step | Aurélien Bompard | 2015-03-27 | 1 | -0/+7 | |
| | | | | ||||||
| | | * | Workflow: allow saving and restoring with an empty queue | Aurélien Bompard | 2015-03-27 | 2 | -4/+30 | |
| | | | | ||||||
| | | * | Factor generic workflow operations in their own class | Aurélien Bompard | 2015-03-26 | 1 | -23/+37 | |
| | | | | ||||||
| | | * | Save and restore attributes | Aurélien Bompard | 2015-03-26 | 2 | -7/+20 | |
| | | | | ||||||
| | | * | Save the workflow state in the database | Aurélien Bompard | 2015-03-25 | 2 | -0/+31 | |
| | | | | ||||||
| | | * | Store method names in the SubscriptionWorkflow to allow state saving | Aurélien Bompard | 2015-03-25 | 1 | -16/+15 | |
| | | | | ||||||
| | | * | SubscriptionWorkflow: add a test for moderated lists | Aurélien Bompard | 2015-03-25 | 2 | -5/+28 | |
| | | | | ||||||
| | | * | Typo in the previous commit | Aurélien Bompard | 2015-03-20 | 2 | -2/+2 | |
| | | | | ||||||
| | | * | Restore the features of commit 7301.3.1 which were lost in the merge | Aurélien Bompard | 2015-03-20 | 2 | -9/+26 | |
| | | | | ||||||
| | | * | Remove commented-out code | Aurélien Bompard | 2015-03-20 | 1 | -53/+0 | |
| | | | | ||||||
| | | * | Resurrect Barry's subpolicy branch (lp:~barry/mailman/subpolicy) | Aurélien Bompard | 2015-03-20 | 9 | -219/+428 | |
| | |/ | ||||||
| * | | trunk merge | Barry Warsaw | 2015-03-28 | 9 | -217/+229 | |
| |\ \ | ||||||
| | * | | Replace add_member() with subscribe() helper. | Barry Warsaw | 2015-03-26 | 1 | -16/+6 | |
| | | | | ||||||
| | * | | Replace add_member() with subscribe(). | Barry Warsaw | 2015-03-26 | 1 | -27/+16 | |
| | | | | ||||||
| | * | | Extended test helper subscribe() which takes an optional email address and | Barry Warsaw | 2015-03-26 | 1 | -0/+1 | |
| | | | | | | | | | | | | | returns the newly created member. | |||||
| | * | | Remove a misleading comment. | Barry Warsaw | 2015-03-22 | 1 | -1/+0 | |
| | | | | ||||||
| | * | | * Refactor add_member() so that it uses a RequestRecord namedtuple. | Barry Warsaw | 2015-03-21 | 8 | -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 Warsaw | 2015-03-28 | 1 | -3/+3 | |
| |/ | ||||||
| * | LP: #1425359: Elaborate on how email addresses with mixed case can subscribe | Barry Warsaw | 2015-03-13 | 2 | -9/+53 | |
| |\ | | | | | | | to a mailing list. | |||||
| | * | Fixed the issue #1425359 and wrote corresponding tests. | black-perl ankprashar@gmail.com | 2015-03-04 | 1 | -1/+1 | |
| |/ | ||||||
| * | We don't need the 'six' package any more. | Barry Warsaw | 2015-01-04 | 3 | -9/+7 | |
| | | ||||||
