------------------------------------------------------------
revno: 1189
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Thu 2011-10-13 21:27:43 -0700
message:
Fixed cron/checkdbs to report unsubscriptions waiting approval. Bug #873821.
modified:
NEWS
cron/checkdbs
--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2
Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'NEWS'
--- NEWS 2011-10-14 04:09:02 +0000
+++ NEWS 2011-10-14 04:27:43 +0000
@@ -127,6 +127,9 @@
Bug Fixes and other patches
+ - Fixed cron/checkdbs to report unsubscriptions waiting approval.
+ Bug #873821.
+
- The fix for BUG #266220 (sf1181161) has been enhanced so that if there
is a pathological HTML part such that the Approved: password text isn't
found, but it is found after stripping out HTML tags, the post is
=== modified file 'cron/checkdbs'
--- cron/checkdbs 2005-08-27 01:40:17 +0000
+++ cron/checkdbs 2011-10-14 04:27:43 +0000
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -14,7 +14,8 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
"""Check for pending admin requests and mail the list owners if necessary.
@@ -149,6 +150,13 @@
fullname = ' (%s)' % fullname
pending.append(' %s%s %s' % (addr, fullname, time.ctime(when)))
first = 1
+ for id in mlist.GetUnsubscriptionIds():
+ if first:
+ pending.append(_('Pending unsubscriptions:'))
+ first = 0
+ addr = mlist.GetRecord(id)
+ pending.append(' %s' % addr)
+ first = 1
for id in mlist.GetHeldMessageIds():
if first:
pending.append(_('\nPending posts:'))
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org