From 6bd19f91b98517af02a3dae766d49c1610967815 Mon Sep 17 00:00:00 2001 From: "jimpop@template.hostname" <> Date: Wed, 4 Nov 2015 21:09:42 +0000 Subject: Auto-Moderate Verbose Members --- Mailman/Gui/Privacy.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Mailman/Gui') 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): membership management screens.""")), + ('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 -- cgit v1.2.3