whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Support sendsubscribertomod option
Date Thu, 16 Aug 2018 11:24:03 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 75aebd8  Support sendsubscribertomod option
75aebd8 is described below

commit 75aebd891436bcc8e98f28bae3abf11a898ecc9f
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Aug 16 12:24:02 2018 +0100

    Support sendsubscribertomod option
---
 tools/moderationhelper.rb | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/tools/moderationhelper.rb b/tools/moderationhelper.rb
index 961037f..fc23964 100755
--- a/tools/moderationhelper.rb
+++ b/tools/moderationhelper.rb
@@ -35,6 +35,7 @@ _html do
         '/committers/subscribe.cgi' => 'Mailing List Subscription Helper',
         'http://www.apache.org/foundation/mailinglists.html#subscribing' => 'Information
on Subscribing/Unsubscribing',
         'http://apache.org/dev/committers.html#mail-moderate' => 'Guide for moderators',
+        'http://apache.org/dev/committers.html#problem_posts' => 'Guide for moderators
- dealing with problem posts',
         'http://untroubled.org/ezmlm/manual/Sending-commands.html#Sending-commands' =>
'EZMLM Command Help'
       },
       helpblock: -> {
@@ -59,6 +60,7 @@ _html do
               _li 'subscribers can post and will receive mail'
               _li 'allow-subscribers can post; they do not get copies of mails (this is used
for e.g. press@)'
               _li 'deny-subscribers cannot post; their posts will be rejected without needing
moderation'
+              _li 'sendsubscribertomod-subscribers will have all posts moderated (for posters
who are borderline problems) - ask INFRA to enable the setting for the list'
             end
           end
 
@@ -171,6 +173,24 @@ _html do
                 end
               end
             end
+            _tr do
+              _td ' '
+              _td do
+                _label do
+                  _input type: "radio", name: "cmd", value: "sendsubscribertomod-subscribe",
required: true, checked: (@cmd == "sendsubscribertomod-subscribe")
+                  _ 'sendsubscribertomod-subscribe (add to list of moderated subscribers
- ask INFRA to enable this for the list)'
+                end
+              end
+            end
+            _tr do
+              _td ' '
+              _td do
+                _label do
+                  _input type: "radio", name: "cmd", value: "sendsubscribertomod-unsubscribe",
required: true, checked: (@cmd == "sendsubscribertomod-unsubscribe")
+                  _ 'sendsubscribertomod-unsubscribe (remove from list of moderated subscribers)'
+                end
+              end
+            end
           end
           _p {
             _br


Mime
View raw message