diff options
| author | Barry Warsaw | 2013-05-30 18:29:28 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2013-05-30 18:29:28 -0400 |
| commit | bffd71903475efad53ce6aa59c96a704a905a984 (patch) | |
| tree | 306f9e344008ce934274c9b4fb58cb1ac7cf006e | |
| parent | 2ccac91e208a9c4e68df9ec68a6923c2ad354e6b (diff) | |
| download | mailman-bffd71903475efad53ce6aa59c96a704a905a984.tar.gz mailman-bffd71903475efad53ce6aa59c96a704a905a984.tar.zst mailman-bffd71903475efad53ce6aa59c96a704a905a984.zip | |
* Add `subject_prefix` to the `IMailingList` interface, and clarify the
docstring for `display_name`. (LP: #1181498)
| -rw-r--r-- | src/mailman/docs/NEWS.rst | 20 | ||||
| -rw-r--r-- | src/mailman/interfaces/mailinglist.py | 14 |
2 files changed, 24 insertions, 10 deletions
diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst index 564eb8d67..97478e2ce 100644 --- a/src/mailman/docs/NEWS.rst +++ b/src/mailman/docs/NEWS.rst @@ -12,15 +12,6 @@ Here is a history of user visible changes to Mailman. =============================== (2013-XX-XX) -Bugs ----- - * Non-queue runners should not create ``var/queue`` subdirectories. Fixed by - Sandesh Kumar Agrawal. (LP: #1095422) - * Creation of lists with upper case names should be coerced to lower case. - (LP: #1117176) - * Fix REST server crash on `mailman reopen` due to no interception of - signals. (LP: #1184376) - REST ---- * Add ``reply_to_address`` and ``first_strip_reply_to`` as writable @@ -36,6 +27,17 @@ Configuration the configuration file, just after ``./mailman.cfg`` and before ``~/.mailman.cfg``. (LP: #1157861) +Bugs +---- + * Non-queue runners should not create ``var/queue`` subdirectories. Fixed by + Sandesh Kumar Agrawal. (LP: #1095422) + * Creation of lists with upper case names should be coerced to lower case. + (LP: #1117176) + * Fix REST server crash on `mailman reopen` due to no interception of + signals. (LP: #1184376) + * Add `subject_prefix` to the `IMailingList` interface, and clarify the + docstring for `display_name`. (LP: #1181498) + 3.0 beta 3 -- "Here Again" ========================== diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index 7b409b5a1..eb2a931f4 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -98,7 +98,8 @@ class IMailingList(Interface): display_name = Attribute("""\ The short human-readable descriptive name for the mailing list. This - is used in locations such as the message footers and Subject prefix. + is used in locations such as the message footers and as the default + value for the Subject prefix. """) description = Attribute("""\ @@ -108,6 +109,17 @@ class IMailingList(Interface): mailing lists, or in headers, and so forth. It should be as succinct as you can get it, while still identifying what the list is.""") + subject_prefix = Attribute("""\ + The text to insert at the front of the Subject field. + + When messages posted to this mailing list are sent to the list + subscribers, the Subject header may be rewritten to include an + identifying prefix. Typically this prefix will appear in square + brackets and the default value inside the brackets is taken as the + list's display name. However, any value can be used, including the + empty string to prevent Subject header rewriting. + """) + allow_list_posts = Attribute( """Flag specifying posts to the list are generally allowed. |
