diff options
-rwxr-xr-x | Mailman/Defaults.py.in | 4 | ||||
-rw-r--r-- | Mailman/HTMLFormatter.py | 2 | ||||
-rwxr-xr-x | NEWS | 5 |
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: @@ -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. |