summaryrefslogtreecommitdiff
path: root/src/mailman/model/tests/test_mailinglist.py
Commit message (Collapse)AuthorAgeFilesLines
* Add more tests for coverage.J08nY2017-08-071-0/+24
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Merge branch 'hide-system-disabled-archivers' into 'master' Barry Warsaw2016-11-261-7/+7
|\ | | | | | | | | | | | | | | | | | | | | | | 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-181-7/+7
| |
* | CheckpointingBarry Warsaw2016-09-011-1/+1
| |
* | Intermediate CommitAbhilash Raj2016-09-011-0/+13
|/
* Clean up the model and languages directories.Barry Warsaw2016-03-251-58/+49
|
* Last cleanups.Barry Warsaw2016-02-291-11/+6
| | | | | | | | | * Remove an unused import. * Opportunistically remove ^Ls * Add a missing interface attribute. * Fix up some docstrings. * Rename a parameter in an interface for clarity. * Random code style cleanups.
* Revert "Rename the HeaderMatch.chain column to action"Aurélien Bompard2016-02-291-8/+7
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Review suggestions: improve unit testsAurélien Bompard2016-02-291-19/+39
|
* Review suggestions: rename the new index column to positionAurélien Bompard2016-02-291-19/+19
|
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-291-7/+8
| | | | It makes it clearer what values are valid, and allows validation.
* Use a property for HeaderMatch.indexAurélien Bompard2016-02-291-3/+17
| | | | | Moving header matches up and down the stack is more transparent that way.
* The order of a mailing list's header matches is significantAurélien Bompard2016-02-291-27/+149
| | | | | | | Add a numerical index property to HeaderMatch objects, and change the HeaderMatchSet manager to take the order into account. Items can now be inserted and removed by index.
* Add a set_preferred() helper.Barry Warsaw2016-02-061-4/+3
| | | | | This refactors the setting of a user's preferred address to the first in their list of linked addresses.
* Boost coverage.Barry Warsaw2016-01-251-1/+18
| | | | Also, ignore `raise AssertionError` lines globally.
* Several optimizations:Barry Warsaw2016-01-111-0/+19
| | | | | | | | | | | | * Use `yield from` wherever appropriate. * Use SA's .one_or_none() where appropriate. - Fix a bug in MailingList.pass_extensions. - Use ValueError in other places for consistency. - Remove unreached/nonsense code. - Simplify the SubscriptionService.find_member() and .find_members() implementations. - Boost coverage.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Clean up pass through abompard's branch.Barry Warsaw2015-10-201-26/+37
|
* Use and interface for the set of header_matchesAurélien Bompard2015-10-201-1/+45
|
* LP: #1432239 - Make sure acceptable aliases are deleted before the mailingBarry Warsaw2015-03-241-1/+23
| | | | list is deleted.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* More model test fixes and ports.Barry Warsaw2014-12-131-1/+41
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* More fixes.Barry Warsaw2013-11-261-1/+5
|
* Checkpointing.Barry Warsaw2013-11-251-0/+102