summaryrefslogtreecommitdiff
path: root/src/mailman/rest/post_moderation.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Squashed commit of the following:HEADmasterBarry Warsaw2017-08-291-1/+1
| | | | | | | | | | | | | | | | | commit 3c6500c2292869f94667520f16c8d6c6f1d2c530 Author: Barry Warsaw <barry@python.org> Date: Tue Aug 29 22:51:18 2017 -0400 Close #383 Messages with badly encoded ``Subject`` headers no longer crash the message moderation REST API. commit f6040ec139bcccd48cfa9acc734cd528a8ede35c Author: Aurélien Bompard <aurelien@bompard.org> Date: Thu Jul 27 00:52:05 2017 +0200 Fix #383: email encoding errors can crash the REST API
* Style fixesSimon Hanna2017-01-111-9/+7
|
* Decode RFC2047 encoded Subject when accessing held messagesSimon Hanna2017-01-111-0/+11
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Add NEWS and a little bit of cleanup.Barry Warsaw2016-11-251-2/+3
|
* Return 'defective message' for a bad held messageAbhilash Raj2016-11-251-1/+7
| | | | | If a message can't be parsed by Python due to bad structure, don't raise an error but return a generic 'this message is defective' string instead.
* API consistency.Barry Warsaw2016-04-031-1/+1
|
* Clean up the rest directory.Barry Warsaw2016-03-251-9/+3
|
* Refactor API differences into a separate class.Barry Warsaw2016-01-131-5/+3
| | | | | | | | | | | 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-1/+1
| | | | | | 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.
* Boost coverage.Barry Warsaw2016-01-091-4/+8
|
* A little bit more refactoring, just to keep things cleaner.Barry Warsaw2016-01-061-2/+1
|
* Additional refactoring to use the QuerySequence wrapper, so that we can stillBarry Warsaw2016-01-061-1/+2
| | | | | | use len() and slicing on SQLAlchemy query results. We also don't need to list()-ify the results in the tests. This isn't perfect, but at least it doesn't introduce yet another layer violation.
* Return SQL queries in IListRequests.of_typeAurélien Bompard2016-01-061-1/+1
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* _resource_as_dict() may not return None.Barry Warsaw2015-12-121-1/+3
| | | | Add some assertions to prove this is always the case.
* JSON representations for held message now include a ``self_link``.Barry Warsaw2015-11-151-7/+8
|
* REST: add a self_link entry to held messagesAurélien Bompard2015-11-151-1/+5
|
* * REST API version 3.1 introduced. Mostly backward compatible with versionBarry Warsaw2015-07-181-2/+0
| | | | | | 3.0 except that UUIDs are represented as hex strings instead of 128-bit integers, since the latter are not compatible with all versions of JavaScript.
* Checkpointing.Barry Warsaw2015-04-161-0/+155