------------------------------------------------------------
revno: 1366
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Sat 2014-12-20 12:06:47 -0800
message:
Implement a new DEFAULT_SUBSCRIBE_OR_INVITE setting to control the default
for the admin Mass Subscriptions page.
modified:
Mailman/Cgi/admin.py
Mailman/Defaults.py.in
NEWS
--
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 'Mailman/Cgi/admin.py'
--- Mailman/Cgi/admin.py 2014-04-16 02:46:52 +0000
+++ Mailman/Cgi/admin.py 2014-12-20 20:06:47 +0000
@@ -1169,7 +1169,8 @@
Label(_('Subscribe these users now or invite them?')),
RadioButtonArray('subscribe_or_invite',
(_('Subscribe'), _('Invite')),
- 0, values=(0, 1))
+ mm_cfg.DEFAULT_SUBSCRIBE_OR_INVITE,
+ values=(0, 1))
])
table.AddCellInfo(table.GetCurrentRowIndex(), 0, bgcolor=GREY)
table.AddCellInfo(table.GetCurrentRowIndex(), 1, bgcolor=GREY)
=== modified file 'Mailman/Defaults.py.in'
--- Mailman/Defaults.py.in 2014-10-17 15:43:49 +0000
+++ Mailman/Defaults.py.in 2014-12-20 20:06:47 +0000
@@ -254,6 +254,10 @@
# SSENDERTIME -> Default to grouped by sender and sorted by time.
# STIME -> Default to ungrouped and sorted by time.
DISPLAY_HELD_SUMMARY_SORT_BUTTONS = No
+#
+# Shall the default for the admin Mass Subscription function be Invite rather
+# than Subscribe? Set to Yes in mm_cfg.py to make the default be Invite.
+DEFAULT_SUBSCRIBE_OR_INVITE = No
=== modified file 'NEWS'
--- NEWS 2014-12-16 23:41:12 +0000
+++ NEWS 2014-12-20 20:06:47 +0000
@@ -51,6 +51,10 @@
2.1.19 (xx-xxx-xxxx)
+ - There is a new DEFAULT_SUBSCRIBE_OR_INVITE setting. Set this to Yes
+ to make the default selection on the admin Mass Subscriptions page
+ Invite rather than Subscribe. (LP: #1404511)
+
New Features
- There is a new list attribute in the Bounce processing section.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org