summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | 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
| | | | | | |
| | * | | | | add domainowner and serverowner optionsAbhilash Raj2015-03-216-26/+128
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | | * The built-in example ``IArchiver`` implementations now explicitly returnBarry Warsaw2015-04-064-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | None. (LP: #1203359)
* | | | | | Update docstring.Barry Warsaw2015-03-291-0/+1
| |_|/ / / |/| | | |
* | | | | trunk mergeBarry Warsaw2015-03-2828-301/+440
|\ \ \ \ \
| * | | | | Update NEWS.Barry Warsaw2015-03-261-0/+4
| | | | | |
| * | | | | Merging in several refactorings, and a REST API change.Barry Warsaw2015-03-2627-301/+436
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backward Incompatible REST API Changes: * The JSON representation for subscription holds now no longer contains the `password` key. Also, the `address` key has been renamed to `email` for consistency with established terminology and other usage. Other Internal API Changes: * IUserManager has grown a `make_user()` method. Refactorings: * Most uses in the test suite of add_member() have been replaced with a new version of the subscribe() helper. This reduces the surface area of this ancient internal API. Eventually add_member() will have to go away or significantly change with the subscription policy workflow. * hold_subscription() as well as the remaining instances of add_member() now use a namedtuple in their arguments, to keep the signatures manageable.
| | * | | | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-16/+6
| | | | | |
| | * | | | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-10/+4
| | | | | |
| | * | | | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-3/+2
| | | | | |
| | * | | | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-8/+2
| | | | | |
| | * | | | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-38/+16
| | | | | |
| | * | | | Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-7/+4
| | | | | |
| | * | | | Replace add_member() with subscribe().Barry Warsaw2015-03-261-27/+16
| | | | | |
| | * | | | Extended test helper subscribe() which takes an optional email address andBarry Warsaw2015-03-266-8/+40
| | | | | | | | | | | | | | | | | | | | | | | | returns the newly created member.
| | * | | | Remove a misleading comment.Barry Warsaw2015-03-221-1/+0
| | | | | |
| | * | | | More tests of make_user().Barry Warsaw2015-03-212-5/+59
| | | | | |
| | * | | | * Refactor add_member() so that it uses a RequestRecord namedtuple.Barry Warsaw2015-03-2119-258/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-282-6/+6
|/ / / / /
* | | | | Test importing MM2 pickles with BounceInfo. Given by abompard.Barry Warsaw2015-03-272-0/+61
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Add a test for instance-containing pickle importAurélien Bompard2015-03-263-0/+58
|/ / / /
* | | | Additional fixes for importing from Mailman 2. Given by abompard.Barry Warsaw2015-03-253-7/+86
|\ \ \ \
| * \ \ \ Fixes in the import processAurélien Bompard2015-03-163-6/+62
| |\ \ \ \ | | |_|/ / | |/| | |