summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_validator.py
Commit message (Collapse)AuthorAgeFilesLines
* Add more tests for coverage.J08nY2017-08-071-1/+43
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* allow_none -> allow_blankBarry Warsaw2016-07-121-2/+2
|
* Fix import orderAurélien Bompard2016-07-121-1/+1
|
* REST: allow setting a member's moderation_action to NoneAurélien Bompard2016-07-121-1/+12
|
* Import order flake8 plugin.Barry Warsaw2016-03-271-1/+1
| | | | Fix lots of import order errors discovered by the new plugin.
* Clean up the rest directory.Barry Warsaw2016-03-251-6/+0
|
* Refactor API differences into a separate class.Barry Warsaw2016-01-131-1/+1
| | | | | | | | | | | We now have an IAPI interface which defines methods to convert to/from UUIDs to their REST representations, and to calculate the API-homed full URL path to a resource. Add implementations API30 and API31 to handle the two different implementations so far. This also simplifies the various path_to() calls. Also: Add support for diff_cover to tox.ini to check that all differences against the master branch have full test coverage.
* Refactor API contexts.Barry Warsaw2016-01-131-7/+8
| | | | | | Rather than sprinkle API version string tests all over the place, create an IAPI interface which encapsulates the differences between API 3.0 and 3.1, and arrange for this to be used to convert to and from UUIDs.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Major push for completing issue #121. Now in API 3.1, all UUIDs must be theBarry Warsaw2015-12-301-6/+29
| | | | | | | | | hex representations of a UUID, not the int representation. Also: * Some general code cleanup. * Fix issue 185 (REST server crash when subscribing a user without a preferred address).
* A better email validator which actually validates the email address.Barry Warsaw2015-04-151-1/+17
|
* Abhilash's fix for allowing singleton strings in REST interfaces that alsoBarry Warsaw2015-04-151-0/+48
accept lists of strings.