summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Checkpointing.Barry Warsaw2015-04-1417-636/+307
| | | |
| * | | 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.
| * | | * Give the workflow state manager a count method.Barry Warsaw2015-04-133-8/+36
| | | | | | | | | | | | | | | | | | | | * The workflow state manager no longer allows updates via .save(). * Restoring a workflow state evicts the record from the database.
| * | | Give IPendings a count of entries.Barry Warsaw2015-04-132-0/+13
| | | |
| * | | SubscriptionPolicy is largely done, modulo bugs, and the unknown-unknown ofBarry Warsaw2015-04-135-108/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-133-3/+24
| | | |
| * | | Fix regression.Barry Warsaw2015-04-131-1/+0
| | | |
| * | | Subsume hold_subscription() functionality into the subscription workflow.Barry Warsaw2015-04-133-14/+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-136-46/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-095-74/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | Rebase Alembic revisions.Barry Warsaw2015-04-071-2/+2
| | | |
| * | | Add run_thru() and run_until() to workflow, mostly for testing purposes.Barry Warsaw2015-04-072-2/+46
| | | |
| * | | Trunk mergeBarry Warsaw2015-04-0725-115/+660
| |\ \ \ | |/ / / |/| | |
| * | | Check pointingBarry Warsaw2015-04-064-8/+31
| | | |
| * | | Advertise the subscription policy in the REST APIAurélien Bompard2015-03-313-1/+7
| | | |
| * | | Fix some typos.Barry Warsaw2015-03-302-3/+3
| | | |
| * | | * 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
| | | |
| * | | Fix merge turd.Barry Warsaw2015-03-291-1/+1
| | | |
| * | | Refactorings and tests.Barry Warsaw2015-03-297-89/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2915-11/+560
| |\ \ \
| | * | | 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-274-7/+33
| | | | |
| | * | | Factor generic workflow operations in their own classAurélien Bompard2015-03-261-23/+37
| | | | |
| | * | | Save and restore attributesAurélien Bompard2015-03-262-7/+20
| | | | |
| | * | | Merge from headAurélien Bompard2015-03-2613-18/+186
| | |\ \ \
| | * | | | Save the workflow state in the databaseAurélien Bompard2015-03-255-4/+88
| | | | | |
| | * | | | Add a table to store workflow statesAurélien Bompard2015-03-254-0/+116
| | | | | |
| | * | | | 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
| | | | | |
| | * | | | Import the subscription_policy from Mailman2Aurélien Bompard2015-03-212-1/+29
| | | | | |
| | * | | | Make the subscription policy a database columnAurélien Bompard2015-03-213-9/+46
| | | | | |
| | * | | | 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-2028-313/+636
| | | | | |
| | | | * | * Remove the admindb url from the template so that the approveAbhilash Raj2015-04-152-6/+3
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | requests no longer have a wrong url * Change the reason for holding the message to 'N/A' from 'XXX'
* | | | | * Domains now have a list of owners, which are ``IUser`` objects, instead ofBarry Warsaw2015-04-0622-115/+652
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the single ``contact_address`` they used to have. ``IUser`` objects now also have a ``is_server_owner`` flag (defaulting to False) to indicate whether they have superuser privileges. Give by Abhliash Raj, with fixes and refinements by Barry Warsaw. (LP: #1423756) * Domains can now optionally be created with owners; domain owners can be added after the fact; domain owners can be deleted. Also, users now have an ``is_server_owner`` flag as part of their representation, which defaults to False, and can be PUT and PATCH'd. Given by Abhilash Raj, with fixes and refinements by Barry Warsaw. (LP: #1423756)
| * | | | | Add lots of test for various bits of domain owners.Barry Warsaw2015-04-066-37/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A little refactoring of list_of_str() into list_of_strings_validator() which is now put in the validators.py module and used in several places. Python 3 super() style. Add some code and tests to catch <domain>/owners references when <domain> doesn't exist.
| * | | | | Checkpointing:Barry Warsaw2015-04-068-27/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cleanups. * Updates to domains and users. * Allow is_server_owner to be PUT.
| * | | | | Reviewed and updated domains doctest.Barry Warsaw2015-04-061-13/+18
| | | | | |
| * | | | | Flesh out the domain interface, model, and tests. Clean up style.Barry Warsaw2015-04-063-34/+112
| | | | | |
| * | | | | Abhilash's branch, pre-cleaning.Barry Warsaw2015-04-0619-92/+249
|/| | | | |
| * | | | | * implement left over methodsAbhilash Raj2015-04-069-55/+67
| | | | | | | | | | | | | | | | | | | | | | | | * add and remove owners using the address
| * | | | | * Add `drop_column` inside sqlite check, fix indentationAbhilash Raj2015-03-318-52/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change `Owner` to `DomainOwner` * Fix indentation errors in docs * add multiple owners using `add_owners` * all dummy addresses should be using example.com, example.org to avoid conflict ever * add dummy tests
| * | | | | add tests, fix docs, remove contact_addressAbhilash Raj2015-03-288-63/+102
| | | | | |
| * | | | | merge serverowner branchAbhilash Raj2015-03-278-30/+146
| |\ \ \ \ \
| | * | | | | all tests passing now (except doctests)Abhilash Raj2015-03-267-23/+38
| | | | | | |