summaryrefslogtreecommitdiff
path: root/src/mailman/rules/tests/test_moderation.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename metadata key for clarityBarry Warsaw2017-08-041-6/+6
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Minor cleanups, rewording, style.Barry Warsaw2016-05-031-28/+36
|
* Change handling of rules for banned addresses.Aditya2016-05-031-23/+38
| | | | | | | If any of the senders are banned, both the member moderation and nonmember moderation rules return False unconditionally. Add test for the above.
* Add testsAditya2016-05-031-1/+77
|
* Allow fall backs for moderation actions.Barry Warsaw2016-04-011-10/+16
| | | | | | | | | The `moderation_action` for members and nonmember can now be ``None`` which signals falling back to the appropriate list default action, e.g. `default_member_action` and `default_nonmember_action`. Given by Aurélien Bompard. Closes #189
* Members and nonmembers moderation action fallbackAurélien Bompard2016-03-311-0/+57
| | | | | | | | Members and nonmember's moderation action should be None by default, and in that case the moderation rule should fallback to the mailing list's default action. Fixes: #189
* First massive round of cleanups.Barry Warsaw2016-03-231-7/+2
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Do a cleansing pass on abompard's branch.Barry Warsaw2015-06-241-12/+14
|
* Use the *_these_nonmembers properties for moderationAurélien Bompard2015-06-171-0/+37
|
* Implement reasons for why a message is being held for moderator approval.Barry Warsaw2015-05-111-0/+37
| | | | | | | Given by Aurélien Bompard, tweaked by Barry Warsaw. Remove the inaccurate confirmation url and admindb urls from the substitution dictionaries for postauth.txt and posthold.txt, and the templates.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* * Fix non-member moderation rule to prefer a member sender if both membersBarry Warsaw2014-03-151-0/+78
and non-members are in the message's sender list. Given by Aurélien Bompard. (LP: #1291452)