summaryrefslogtreecommitdiff
path: root/Mailman/interfaces/mailinglist.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-02-17 23:34:09 -0500
committerBarry Warsaw2008-02-17 23:34:09 -0500
commit7ce2361faa1033bde84579ae9205944e5554b57f (patch)
tree2574ab932f57aed10cb33ef43d6f27717da07617 /Mailman/interfaces/mailinglist.py
parent69d158b13ae9cfa37040c2e7a664ca266b42050b (diff)
downloadmailman-7ce2361faa1033bde84579ae9205944e5554b57f.tar.gz
mailman-7ce2361faa1033bde84579ae9205944e5554b57f.tar.zst
mailman-7ce2361faa1033bde84579ae9205944e5554b57f.zip
Added a test for the built-in pipeline. Fixed some broken handler names in
the built-in pipeline. Fixed DEFAULT_SUBJECT_PREFIX to take $-names instead of %-names, although I'm not entirely sure the %%d stuff still works (we need a test for this). Added IMailingList.real_name attribute and added this to the default style. A column for this was in the database but not in the storm object. Also re-enabled the style's subject_prefix attribute. Moved some of the digest test functions into Mailman.tests.helpers.
Diffstat (limited to 'Mailman/interfaces/mailinglist.py')
-rw-r--r--Mailman/interfaces/mailinglist.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mailman/interfaces/mailinglist.py b/Mailman/interfaces/mailinglist.py
index 1d7501cac..d94ed6f71 100644
--- a/Mailman/interfaces/mailinglist.py
+++ b/Mailman/interfaces/mailinglist.py
@@ -61,6 +61,13 @@ class IMailingList(Interface):
posted to mylist@example.com, then the list_name is 'mylist'.
""")
+ real_name = Attribute(
+ """The short human-readable descriptive name for the mailing list. By
+ default, this is the capitalized `list_name`, but it can be changed to
+ anything. This is used in locations such as the message footers and
+ Subject prefix.
+ """)
+
host_name = Attribute(
"""The read-only domain name 'hosting' this mailing list. This is
always the domain name part of the posting email address, and it may