------------------------------------------------------------
revno: 1541
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Fri 2015-02-13 10:41:28 -0800
message:
  Because of privacy concerns with the 2.2 backport adding real name to
  list rosters, this is controlled by a new ROSTER_DISPLAY_REALNAME
  setting that defaults to No.
modified:
  Mailman/Defaults.py.in
  Mailman/HTMLFormatter.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/Defaults.py.in'
--- Mailman/Defaults.py.in	2015-02-05 22:10:11 +0000
+++ Mailman/Defaults.py.in	2015-02-13 18:41:28 +0000
@@ -141,6 +141,10 @@
 # character that doesn't match this class.
 ACCEPTABLE_LISTNAME_CHARACTERS = '[-+_.=a-z0-9]'
 
+# Shall the user's real names be displayed along with their email addresses
+# in list rosters?  Defaults to No to preserve prior behavior.
+ROSTER_DISPLAY_REALNAME = No
+
 
 
 #####

=== modified file 'Mailman/HTMLFormatter.py'
--- Mailman/HTMLFormatter.py	2015-01-23 00:09:03 +0000
+++ Mailman/HTMLFormatter.py	2015-02-13 18:41:28 +0000
@@ -91,7 +91,7 @@
             else:
                 showing = person
             realname = Utils.uncanonstr(self.getMemberName(person), lang)
-            if realname:
+            if realname and mm_cfg.ROSTER_DISPLAY_REALNAME:
                 showing += " (%s)" % Utils.websafe(realname)
             got = Link(url, showing)
             if self.getDeliveryStatus(person) <> MemberAdaptor.ENABLED:

=== modified file 'NEWS'
--- NEWS	2015-02-10 23:34:07 +0000
+++ NEWS	2015-02-13 18:41:28 +0000
@@ -158,6 +158,11 @@
 
   Bug fixes and other patches
 
+    - Because of privacy concerns with the 2.2 backport adding real name to
+      list rosters, this is controlled by a new ROSTER_DISPLAY_REALNAME
+      setting that defaults to No.  You may wish to set this to Yes in
+      mm_cfg.py.
+
     - Organization: headers are now unconditionally removed from posts to
       anonymous lists.  Regexps in ANONYMOUS_LIST_KEEP_HEADERS weren't kept
       if the regexp included the trailing ':'.  This is fixed too.

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to