summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge branch 'fix-import-header-filters' into 'master' Barry Warsaw2016-11-262-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cover another header match import case This branch just covers one more import conversion case seen in the wild. See merge request !163
| * | | | | Cover another header match import caseAurélien Bompard2016-07-192-1/+3
| | | | | |
* | | | | | NEWS.Barry Warsaw2016-11-261-0/+2
| | | | | |
* | | | | | Merge branch 'hide-system-disabled-archivers' into 'master' Barry Warsaw2016-11-266-22/+18
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't show the disabled archivers in the REST API Previously, system-disabled archivers were shown in the REST API. As a result it was possible to enable them without a validation error, but they would stay disabled on the next API GET call (their actual activation status depends on the list-specific *and* the system-wide status). Because one can't add a configuration overlay to the running REST server in testing mode, the prototype archiver was disabled in the testing configuration. This is where most of the changes in this commit come from. See merge request !87
| * | | | | Fix testsAurélien Bompard2016-08-183-11/+11
| | | | | |
| * | | | | Don't show the disabled archivers in the REST APIAurélien Bompard2016-08-184-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because one can't add a configuration overlay to the running REST server in testing mode, the prototype archiver was disabled in the testing configuration. This is where most of the changes in this commit come from.
* | | | | | Fix QA.Barry Warsaw2016-11-251-1/+0
| | | | | |
* | | | | | Add NEWS and a little bit of cleanup.Barry Warsaw2016-11-253-7/+10
| | | | | |
* | | | | | Rename test email and use resource filename instead of __file__.Abhilash Raj2016-11-253-4/+6
| | | | | |
* | | | | | Return 'defective message' for a bad held messageAbhilash Raj2016-11-253-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Minor cleanup and test added.Barry Warsaw2016-11-252-1/+19
| | | | | |
* | | | | | Transmit the moderation reason to hold_message()Aurélien Bompard2016-11-253-1/+12
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `reason` attribute of `hold_message()` was always None. Serialize the moderation reasons list and pass it to the function. This allows the `reason` attribute in REST to actually contain the moderation reason. It was always blank before.
* | | | | Use aiosmtpd 1.0a3 and add NEWS.Barry Warsaw2016-11-243-57/+17
| | | | |
* | | | | Remove some unused code.Barry Warsaw2016-11-241-12/+0
| | | | |
* | | | | Remove some unnecessary code and update a comment.Barry Warsaw2016-11-242-5/+1
| | | | |
* | | | | Fix the connection count tests.Barry Warsaw2016-11-242-9/+83
| | | | |
* | | | | Sort the recipients list.Barry Warsaw2016-11-241-1/+3
| | | | |
* | | | | Mostly converted to aiosmtpd.Barry Warsaw2016-11-241-127/+118
| | | | | | | | | | | | | | | | | | | | | | | | | Rewrite the smtpd based servers using aiosmtpd, although it still needs a bit of work. Requires aiosmtpd 1.0a3 which is not yet released.
* | | | | Start converting lazr.smtptestBarry Warsaw2016-11-241-0/+1
| | | | |
* | | | | Replace smtpd with aiosmtpd.Barry Warsaw2016-11-244-1038/+53
| | | | |
* | | | | Minor style cleanup.Barry Warsaw2016-11-241-23/+23
| | | | |
* | | | | Fix an API callAurélien Bompard2016-11-211-1/+1
| | | | |
* | | | | Run the workflows at the end of the tests to clean things upAurélien Bompard2016-11-211-0/+5
| | | | |
* | | | | Handle a missing user when a workflow is restored.Aurélien Bompard2016-11-212-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Between the creation of a subscription workflow and its approval, the user may have been merged with another user. In this case, use the associated address to find the new user.
* | | | | Workflow: support dependencies between attributesAurélien Bompard2016-11-212-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore the attributes in the order they are declared in `SAVE_ATTRIBUTES` to allow for dependencies between attributes (required by the `SubscriptionWorkflow`).
* | | | | Fix the Flake8 ignore tagsAurélien Bompard2016-11-2119-26/+27
| | | | |
* | | | | Fix a flake8 error.Barry Warsaw2016-11-131-1/+1
| | | | |
* | | | | Closes: #68Barry Warsaw2016-11-138-17/+31
| | | | | | | | | | | | | | | | | | | | | | | | | Messages sent to the list's moderators now include the actual recipient addresses. Given by Tom Briles.
* | | | | tomoderators -> to_moderators.Barry Warsaw2016-10-311-2/+5
| | | | |
* | | | | Issue 68: send messages to list moderators when tomoderators=TrueTom Briles2016-10-315-7/+32
| |_|_|/ |/| | |
* | | | Closes: #259Barry Warsaw2016-10-313-2/+4
| | | | | | | | | | | | | | | | | | | | Remove the digest mbox files after the digests are sent. Given by Aurélien Bompard.
* | | | Implment review suggestionsAurélien Bompard2016-10-312-5/+5
| | | |
* | | | Remove digest mbox after sending itAurélien Bompard2016-10-312-0/+6
| | | | | | | | | | | | | | | | Fixes #259
* | | | Support HTTP/1.1 by default.Barry Warsaw2016-10-303-28/+6
| | | | | | | | | | | | | | | | | | | | This works around Python issue 28548 and fixes #288. Test given by Amit.
* | | | qa fix: unused variableamitt0012016-10-301-2/+2
| | | |
* | | | < python 3.5.x non-enum HTTPStatus supportamitt0012016-10-301-1/+5
| | | |
* | | | qa fixamitt0012016-10-301-1/+0
| | | |
* | | | Test invalid url response.amitt0012016-10-301-0/+8
| | | |
* | | | Rest api send error response with headersamitt0012016-10-301-1/+23
| |_|/ |/| |
* | | Add NEWS entryAurélien Bompard2016-10-271-0/+2
| | |
* | | Prevent posting from banned addressesAurélien Bompard2016-10-277-6/+178
| | | | | | | | | | | | Fixes #283
* | | News and test tweak.Barry Warsaw2016-10-262-7/+11
| | |
* | | Sort the ban list by emailAurélien Bompard2016-10-262-5/+6
| | |
* | | Full coverage.Barry Warsaw2016-10-263-8/+27
| | | | | | | | | | | | NEWS.
* | | Implement the review suggestionsAurélien Bompard2016-10-265-14/+20
| | | | | | | | | | | | See !161
* | | Add a method to find list using properties filtersAurélien Bompard2016-10-264-8/+29
| | | | | | | | | | | | | | | | | | This allows the filtering to be done at the database level. It also makes list pagination much more efficient, since the slicing is done at the database level too.
* | | REST: add a query string to only get advertised listsAurélien Bompard2016-10-262-5/+39
| | |
* | | Fix doctests to properly set unsubscription_policy = SubscriptionPolicy.openMark Sapiro2016-10-252-1/+2
| | | | | | | | | | | | where needed.
* | | Merge /var/git/mailman into mailman_292Mark Sapiro2016-10-256-8/+32
|\ \ \
| * | | Manual merge.Barry Warsaw2016-10-254-10/+16
| | | | | | | | | | | | | | | | * Rebased, cleaned up, and test improvement.