From eb41bebb04cb8158d46d130ba63ca2044f2ccbb1 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 7 Mar 2012 15:45:09 -0800 Subject: * Mailing lists get multiple chains and pipelines. For example, normal postings go through the `posting_chain` while messages to owners to through `owners_chain`. The default `built-in` chain is renamed to `default-posting-chain` while the `built-in` pipeline is renamed `default-posting-pipeline`. * Schema changes: - start_chain -> posting_chain - pipeline -> posting_pipeline --- src/mailman/interfaces/mailinglist.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/mailman/interfaces') diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index 4bd47a180..a3e6e443a 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -383,11 +383,20 @@ class IMailingList(Interface): # Processing. - pipeline = Attribute( - """The name of this mailing list's processing pipeline. + posting_chain = Attribute( + """This mailing list's 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. + This attribute names a chain for postings, which must exist. + """) + + posting_pipeline = Attribute( + """This mailing list's posting pipeline. Every mailing list has a processing pipeline that messages flow - through once they've been accepted. + through once they've been accepted for posting to the mailing list. + This attribute names a pipeline for postings, which must exist. """) data_path = Attribute( -- cgit v1.3.1