summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/mailinglist.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
-rw-r--r--src/mailman/interfaces/mailinglist.py34
1 files changed, 28 insertions, 6 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py
index a3e6e443a..bced070d3 100644
--- a/src/mailman/interfaces/mailinglist.py
+++ b/src/mailman/interfaces/mailinglist.py
@@ -91,11 +91,9 @@ class IMailingList(Interface):
domain = Attribute(
"""The `IDomain` that this mailing list is defined in.""")
- 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.
+ 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.
""")
description = Attribute("""\
@@ -384,7 +382,7 @@ class IMailingList(Interface):
# Processing.
posting_chain = Attribute(
- """This mailing list's moderation chain.
+ """This mailing list's posting moderation chain.
When messages are posted to a mailing list, it first goes through a
moderation chain to determine whether the message will be accepted.
@@ -399,6 +397,24 @@ class IMailingList(Interface):
This attribute names a pipeline for postings, which must exist.
""")
+ owner_chain = Attribute(
+ """This mailing list's owner moderation chain.
+
+ When messages are posted to the owners of a mailing list, it first
+ goes through a moderation chain to determine whether the message will
+ be accepted. This attribute names a chain for postings, which must
+ exist.
+ """)
+
+ owner_pipeline = Attribute(
+ """This mailing list's owner posting pipeline.
+
+ Every mailing list has a processing pipeline that messages flow
+ through once they've been accepted for posting to the owners of a
+ mailing list. This attribute names a pipeline for postings, which
+ must exist.
+ """)
+
data_path = Attribute(
"""The file system path to list-specific data.
@@ -423,6 +439,12 @@ class IMailingList(Interface):
Filtering is performed on MIME type and file name extension.
""")
+ filter_action = Attribute(
+ """Action to take when the top-level content-type is filtered.
+
+ The value is a `FilterAction` enum.
+ """)
+
convert_html_to_plaintext = Attribute(
"""Flag specifying whether text/html parts should be converted.