diff options
| author | Barry Warsaw | 2012-03-07 15:45:09 -0800 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-07 15:45:09 -0800 |
| commit | eb41bebb04cb8158d46d130ba63ca2044f2ccbb1 (patch) | |
| tree | 05a0ac5a50bcdf9074b8e3ae50a86aa704eda33a /src/mailman/chains/docs | |
| parent | 4ca5055eea7c521e620de8ceeff6fa538b7a0c0b (diff) | |
| download | mailman-eb41bebb04cb8158d46d130ba63ca2044f2ccbb1.tar.gz mailman-eb41bebb04cb8158d46d130ba63ca2044f2ccbb1.tar.zst mailman-eb41bebb04cb8158d46d130ba63ca2044f2ccbb1.zip | |
* 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
Diffstat (limited to 'src/mailman/chains/docs')
| -rw-r--r-- | src/mailman/chains/docs/moderation.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman/chains/docs/moderation.rst b/src/mailman/chains/docs/moderation.rst index d80f9bd2c..fed120147 100644 --- a/src/mailman/chains/docs/moderation.rst +++ b/src/mailman/chains/docs/moderation.rst @@ -73,7 +73,7 @@ built-in chain. No rules hit and so the message is accepted. >>> from mailman.core.chains import process >>> from mailman.testing.helpers import event_subscribers >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') <mailman.chains.accept.AcceptNotification ...> <mailman.chains.accept.AcceptChain ...> Subject: aardvark @@ -108,7 +108,7 @@ moderator approval. ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') <mailman.chains.hold.HoldNotification ...> <mailman.chains.hold.HoldChain ...> Subject: badger @@ -133,7 +133,7 @@ The list's member moderation action can also be set to `discard`... ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') <mailman.chains.discard.DiscardNotification ...> <mailman.chains.discard.DiscardChain ...> Subject: cougar @@ -157,7 +157,7 @@ The list's member moderation action can also be set to `discard`... ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') <mailman.chains.reject.RejectNotification ...> <mailman.chains.reject.RejectChain ...> Subject: dingo @@ -196,7 +196,7 @@ moderator approval. ... """) >>> with event_subscribers(on_chain): - ... process(mlist, msg, {}, 'built-in') + ... process(mlist, msg, {}, 'default-posting-chain') <mailman.chains.hold.HoldNotification ...> <mailman.chains.hold.HoldChain ...> Subject: elephant |
