summaryrefslogtreecommitdiff
path: root/src/mailman/rules/docs/header-matching.rst (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Rename the HeaderMatch.chain column to action"Aurélien Bompard2016-02-291-2/+1
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-291-1/+2
| | | | It makes it clearer what values are valid, and allows validation.
* The order of a mailing list's header matches is significantAurélien Bompard2016-02-291-4/+4
| | | | | | | Add a numerical index property to HeaderMatch objects, and change the HeaderMatchSet manager to take the order into account. Items can now be inserted and removed by index.
* Make creating Link objects a more convenient.Barry Warsaw2016-01-251-2/+2
| | | | | | Link.__init__() can now take an IRule or the string naming a rule, which will be looked up in config.rules. Similarly, it can take an IChain or the name of a chain.
* Clean up pass through abompard's branch.Barry Warsaw2015-10-201-8/+8
|
* Use and interface for the set of header_matchesAurélien Bompard2015-10-201-7/+5
|
* Fix a code typo in the docsAurélien Bompard2015-10-201-1/+1
|
* Implement changes from the reviewAurélien Bompard2015-10-201-2/+31
|
* Adapt the code and the tests to the new HeaderMatch objectAurélien Bompard2015-10-201-1/+4
|
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-8/+8
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* * `passlib`_ is now used for all password hashing instead of flufl.password.Barry Warsaw2012-07-021-4/+6
| | | | | | | | | | | | | | | | | | | | | | | The default hash is `sha512_crypt`. * Events renamed and moved: * `mailman.chains.accept.AcceptNotification` * `mailman.chains.base.ChainNotification` * `mailman.chains.discard.DiscardNotification` * `mailman.chains.hold.HoldNotification` * `mailman.chains.owner.OwnerNotification` * `mailman.chains.reject.RejectNotification` changed to (respectively): * `mailman.interfaces.chains.AcceptEvent` * `mailman.interfaces.chains.ChainEvent` * `mailman.interfaces.chains.DiscardEvent` * `mailman.interfaces.chains.HoldEvent` * `mailman.interfaces.chains.AcceptOwnerEvent` * `mailman.interfaces.chains.RejectEvent` * A `ConfigurationUpdatedEvent` is triggered when the system-wide global configuration stack is pushed or popped. * With the switch to `passlib`_, `[passwords]password_scheme` has been removed. Instead use `[passwords]path` to specify where to find the `passlib.cfg` file. See the comments in `schema.cfg` for details.
* * Header check specifications in the `mailman.cfg` file have changed quiteBarry Warsaw2012-04-061-85/+104
| | | | | | | | | | | | | | | | | | | | bit. The previous `[spam.header.foo]` sections have been removed. Instead, there's a new `[antispam]` section that contains a `header_checks` variable. This variable takes multiple lines of `Header: regexp` values, one per line. There is also a new `jump_chain` variable which names the chain to jump to should any of the header checks (including the list-specific, and programmatically added ones) match. * Fixed a typo when returning the configuration file's header match checks. (LP: #953497) Also: - Remove an unused method. - Improve test coverage for mailman/app/bounces.py - 100% test coverage for mailman/chains/headers.py - Various other minor code cleanup. - Fixed the 'any' rule, which was checking a bogus metadata dictionary key.
* Finally, all doctests are named .rstBarry Warsaw2011-09-231-0/+146