diff options
author | jimpop@template.hostname <> | 2015-11-04 21:09:42 +0000 |
---|---|---|
committer | jimpop@template.hostname <> | 2015-11-04 21:09:42 +0000 |
commit | 6bd19f91b98517af02a3dae766d49c1610967815 (patch) | |
tree | 901bfb1bc108065bda4fb0f8931274c1124edd62 /Mailman/Gui | |
parent | 2b8a93aad055efe7754ee3f1c93afd588b1d53ff (diff) | |
download | mailman2-6bd19f91b98517af02a3dae766d49c1610967815.tar.gz mailman2-6bd19f91b98517af02a3dae766d49c1610967815.tar.xz mailman2-6bd19f91b98517af02a3dae766d49c1610967815.zip |
Auto-Moderate Verbose Members
Diffstat (limited to 'Mailman/Gui')
-rw-r--r-- | Mailman/Gui/Privacy.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Mailman/Gui/Privacy.py b/Mailman/Gui/Privacy.py index 3af5d8ef..68f508af 100644 --- a/Mailman/Gui/Privacy.py +++ b/Mailman/Gui/Privacy.py @@ -229,6 +229,18 @@ class Privacy(GUIBase): <a href="%(adminurl)s/members">membership management screens</a>.""")), + ('member_verbosity_threshold', mm_cfg.Number, 5, 0, + _('Ceiling on acceptable number of member posts, per interval, before automatic moderation.'), + + _('''If a member posts this many times, within sender_verbosity_interval, + the member is automatically moderated. Use 0 to disable.''')), + + ('member_verbosity_interval', mm_cfg.Number, 5, 300, + _('Number of seconds to use in determining whether or not to automatically moderate a member.'), + + _('''If a member posts exceed member_verbosity_threshold, within sender_verbosity_interval, + the member is automatically moderated.''')), + ('member_moderation_action', mm_cfg.Radio, (_('Hold'), _('Reject'), _('Discard')), 0, _("""Action to take when a moderated member posts to the |