aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMailman/Defaults.py.in4
-rw-r--r--Mailman/HTMLFormatter.py2
-rwxr-xr-xNEWS5
3 files changed, 10 insertions, 1 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index fc64a1a4..068a7dab 100755
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -141,6 +141,10 @@ HTML_TO_PLAIN_TEXT_COMMAND = '/usr/bin/lynx -dump %(filename)s'
# 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
+
#####
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index df22e5f2..901e7e58 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -91,7 +91,7 @@ class HTMLFormatter:
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:
diff --git a/NEWS b/NEWS
index 6f16998a..343f0c51 100755
--- a/NEWS
+++ b/NEWS
@@ -158,6 +158,11 @@ Here is a history of user visible changes to Mailman.
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.