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 f542a271 Add archiver types
f542a271 is described below

commit f542a2712f699ab37db11f1016cb4f39ac8e028b
Author: Sebb <[email protected]>
AuthorDate: Mon Jul 17 17:23:46 2023 +0100

    Add archiver types
---
 www/members/mailing_lists.cgi | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/www/members/mailing_lists.cgi b/www/members/mailing_lists.cgi
index 73450183..7d4544de 100755
--- a/www/members/mailing_lists.cgi
+++ b/www/members/mailing_lists.cgi
@@ -22,7 +22,7 @@ FLAGS = %{
 -mz moderate after checking sender is known
 -Mz unmoderated, but requires sender to be known
 
--s subscriptions are moderated (i.e. private list)
+-s subscriptions are moderated (usually means the list is private)
 
 -x check mime-type, size etc
 -y send copy to [email protected]
@@ -64,6 +64,9 @@ listfilter = params['match'].last
 
 mod_counts = ASF::MLIST.list_moderators(nil).first.map {|x,y| [x, 
y.length]}.to_h
 
+list_types = {}
+ASF::MLIST.list_types(true) {|d,l,t| list_types["#{l}@#{d}"] = t}
+
 _html do
   _body? do
     _whimsy_body(
@@ -107,7 +110,8 @@ _html do
             _th 'Type (mu)', data_sort: 'string'
             _th 'mod count', data_sort: 'int'
             _th 'Known (z)', data_sort: 'string'
-            _th 'Private (s)', data_sort: 'string'
+            _th 'Moderate subs(s)', data_sort: 'string'
+            _th 'Archiver type', data_sort: 'string'
             _th 'Filter (x)', data_sort: 'string'
             _th 'cc.Security (y)', data_sort: 'string'
           end
@@ -143,6 +147,7 @@ _html do
               end
               _td flags.include? 'z'
               _td flags.include? 's'
+              _td list_types[lad]
               _td flags.include? 'x'
               _td flags.include? 'y'
             end

Reply via email to