summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_domains.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename metadata key for clarityBarry Warsaw2017-08-041-0/+1
|
* Remove the dependency on httplib2.Barry Warsaw2017-02-061-13/+13
| | | | Closes #42
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Fixed a bunch of things in PATCHing domains and added tests and NEWS.Mark Sapiro2016-10-221-0/+50
|
* Split registration (subscription) and unsubscription:Barry Warsaw2016-09-131-1/+1
| | | | | | | | * events * notices * handlers Also, be sure to do only one `leave` command per email.
* New template system. Closes #249Barry Warsaw2016-07-161-1/+221
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Clean up the rest directory.Barry Warsaw2016-03-251-8/+0
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Cleanups, corner case fixes, and coverage.Barry Warsaw2015-12-311-1/+13
|
* Abhilash's fix for allowing singleton strings in REST interfaces that alsoBarry Warsaw2015-04-151-0/+17
|\ | | | | | | accept lists of strings.
| * add test for previous bugfixAbhilash Raj2015-04-141-0/+9
|/
* * Domains now have a list of owners, which are ``IUser`` objects, instead ofBarry Warsaw2015-04-061-0/+55
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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-061-1/+43
| | | | | | | | | | | | | | | | | | | | 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.
| * * implement left over methodsAbhilash Raj2015-04-061-4/+11
| | | | | | | | * add and remove owners using the address
| * * Add `drop_column` inside sqlite check, fix indentationAbhilash Raj2015-03-311-0/+5
|/ | | | | | | | * 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
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* All the REST tests pass.Barry Warsaw2014-12-151-1/+12
|
* Checkpointing.Barry Warsaw2014-11-301-3/+2
| | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* Domains are ported to falcon.Barry Warsaw2014-08-131-0/+14
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * Python 2.7 is not required. Python 2.6 is no longer officially supported.Barry Warsaw2012-10-311-12/+4
| | | | | The code base is now also `python2.7 -3` clean, although there are still some warnings in 3rd party dependencies. LP: #1073506
* - Module modernization by adding the print_function() import.Barry Warsaw2012-04-221-6/+7
| | | | - Update many tests to use the transaction() context manager.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Remove extraneous `test_suite()` functions. zope.testrunner willBarry Warsaw2011-10-301-8/+0
| | | | | | | | | automatically do the right thing in most cases. Keep test_suite() in test_documentation.py since these dynamically set up docs tests properly. Refactor test_passwords.py so that base class tests aren't bogusly run. Also, remove test_membership.py which was essentially disabled because it was testing the MM2 membership API.
* * Four new events are created, and notifications are sent during domainBarry Warsaw2011-09-021-0/+11
| | | | | | | | | | lifecycle changes: - DomainCreatingEvent - sent before the domain is created - DomainCreatedEvent - sent after the domain is created - DomainDeletingEvent - sent before the domain is deleted - DomainDeletedEvent - sent after the domain is deleted * Using the above events, when a domain is deleted, associated mailing lists are deleted. (LP: #837526)
* * New REST resource http://.../<domain>/lists can be GETed in order to findBarry Warsaw2011-08-301-0/+72
all the mailing lists in a specific domain (LP: #829765). Given by Stephen A. Goss.