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 2b14ac3f Allow for a couple of official subscriptions
2b14ac3f is described below
commit 2b14ac3f5ffd8c3a83ce4f1f586beee71541a38f
Author: Sebb <[email protected]>
AuthorDate: Thu Oct 24 00:12:16 2024 +0100
Allow for a couple of official subscriptions
---
www/officers/subscriptioncheck.cgi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/officers/subscriptioncheck.cgi
b/www/officers/subscriptioncheck.cgi
index 684b1183..6bfd2273 100755
--- a/www/officers/subscriptioncheck.cgi
+++ b/www/officers/subscriptioncheck.cgi
@@ -14,6 +14,9 @@ unless user.asf_chair_or_member?
exit
end
+# These are OK for member-announce
+MEMBER_ANNOUNCE_OK = %w([email protected] [email protected])
+
DEFAULT_LISTS =
'board,markpub,members,members-announce,members-notify,operations,press,trademarks,[email protected]'
listnames = ENV['QUERY_STRING']
listnames = DEFAULT_LISTS if listnames == ''
@@ -89,6 +92,7 @@ _html do
_a listid, href: "https://lists.apache.org/list.html?#{listid}"
_ "(updated #{modtime})"
end
+ subscribers -= MEMBER_ANNOUNCE_OK if listid ==
'[email protected]'
maillist = ASF::Mail.list
subscribers.each do |line|
person = maillist[line.downcase]