------------------------------------------------------------
revno: 1306
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Tue 2011-06-07 15:41:51 -0700
message:
The user options 'list my other subscriptions' page now indicates for
each list if the subscription is 'nomail' or 'digest'. Bug #793669.
modified:
Mailman/Cgi/options.py
NEWS
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Cgi/options.py'
--- Mailman/Cgi/options.py 2011-05-10 01:34:07 +0000
+++ Mailman/Cgi/options.py 2011-06-07 22:41:51 +0000
@@ -298,8 +298,14 @@
# the user is a member. If so, add it to the list.
onlists = []
for gmlist in lists_of_member(mlist, user) + [mlist]:
+ extra = ''
url = gmlist.GetOptionsURL(user)
link = Link(url, gmlist.real_name)
+ if gmlist.getDeliveryStatus(user) <> MemberAdaptor.ENABLED:
+ extra += ', ' + _('nomail')
+ if user in gmlist.getDigestMemberKeys():
+ extra += ', ' + _('digest')
+ link = HTMLFormatObject(link, 0) + extra
onlists.append((gmlist.real_name, link))
onlists.sort()
items = OrderedList(*[link for name, link in onlists])
=== modified file 'NEWS'
--- NEWS 2011-06-02 18:09:49 +0000
+++ NEWS 2011-06-07 22:41:51 +0000
@@ -12,6 +12,9 @@
New Features
+ - The user options 'list my other subscriptions' page now indicates for
+ each list if the subscription is 'nomail' or 'digest'. Bug #793669.
+
- A new list poster password has been implemented. This password may only
be used in Approved: or X-Approved: headers for pre-approving posts.
Using this password for that purpose precludes compromise of a more
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org