summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_listconf.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix the template name of the welcome message.Barry Warsaw2017-05-241-5/+5
| | | | | | | | | | | | | | | | | We did not previously complete the renaming of the templates. Rename: * user:ack:welcome -> list:user:notice:welcome * user:ack:goodbye -> list:user:notice:goodbye The new names are what are actually used in send_welcome_message() and send_goodbye_message() so the old names were actually never used. NOTE: If you added welcome or goodbye templates through REST from git head, the old names will not be used. Given that this wasn't a feature in 3.0, and the above use case is very unlikely, I've decided not to do a migration. If anybody is affected, the changes can be made manually in withlist. Closes: #337
* Remove the dependency on httplib2.Barry Warsaw2017-02-061-38/+36
| | | | Closes #42
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Simplified the various list settings and remamed several things.Mark Sapiro2016-12-261-4/+2
|
* Added new list DMARC attributes to rest/listconf.py and updated tests.Mark Sapiro2016-11-011-0/+6
|
* Use a multiline value and update NEWSAurélien Bompard2016-08-311-2/+2
|
* REST: allow MailingList.info to be setAurélien Bompard2016-08-301-0/+16
|
* Close #273Barry Warsaw2016-08-231-1/+1
| | | | | A mailing list's ``description`` must not contain newlines. Given by Aurélien Bompard.
* Forbid newlines in MailingList.descriptionAurélien Bompard2016-08-231-0/+12
| | | | Fixes: #273
* New template system. Closes #249Barry Warsaw2016-07-161-5/+18
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Fix #207Barry Warsaw2016-07-141-1/+1
| | | | | A list's ``moderator_password`` can be set via the REST API. Given by Andrew Breksa.
* Add a test to verify the problem isn't in core.Barry Warsaw2016-03-311-0/+14
|
* Clean up the rest directory.Barry Warsaw2016-03-251-10/+4
|
* Add NEWS and clean up.Barry Warsaw2016-03-031-23/+27
|
* Exposed goodbye_message_uri attribute through REST API.Harshit Bansal2016-03-031-0/+37
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Digests improvements:Barry Warsaw2015-12-191-3/+123
| | | | | | | * digestable -> digests_enabled * nondigestable: removed * Exposed digests_enabled, digest_send_periodic, digest_volume_frequency in REST.
* Fix the error code for a corner case.Barry Warsaw2015-12-171-3/+3
| | | | | | | I.e. when the URL is good, but the request dictionary contains a bogus attribute, you should get a 400 error, not a 404. Also, fix some comments.
* Remove code accidentally pulled in from another branch.Barry Warsaw2015-12-171-8/+0
|
* Many improvements to listconf.py.Barry Warsaw2015-12-171-46/+199
| | | | | | | | | | | | | | | | Closes #182 * Improve the documentation, especially in describing how to PUT and PATCH to list configuration subresources. * Improve the return codes for many error corner cases. Specifically, this makes more consistent when a 400 error is returned or a 404 error is returned. * Improve the handling of some weird corner cases, and add tests. * Fix the setting of error response reasons by not trying to .format() into a bytes object (which isn't allowed in Python 3). * Add lots of comments to the code, which improves the readability of all the twisty little turns. * 100% code coverage for listconf.py!
* adds tests for new digest attributesYashu Seth2015-12-161-0/+2
|
* Add a test for a reported (but non-reproducible) failure patching a mailing ↵Barry Warsaw2015-04-151-1/+19
| | | | list's subscription policy.
* Advertise the subscription policy in the REST APIAurélien Bompard2015-03-311-0/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* * You can access the system configuration via the resource pathBarry Warsaw2014-12-261-0/+91
``/3.0/system/configuration/<section>``. This returns a dictionary with the keys being the section's variables and the values being their value from ``mailman.cfg`` as verbatim strings. You can get a list of all section names via ``/3.0/system/configuration`` which returns a dictionary containing the ``http_etag`` and the section names as a sorted list under the ``sections`` key. The system configuration resource is read-only.