summaryrefslogtreecommitdiff
path: root/src/mailman/chains/headers.py
Commit message (Collapse)AuthorAgeFilesLines
* Ensure all holds/rejects have a reason.Mark Sapiro2017-07-261-0/+5
|
* Account for msg['subject'] possibly being a Header instance.Mark Sapiro2017-05-241-0/+3
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Tweaks.Barry Warsaw2016-10-221-0/+1
|
* Fixes for #280.Mark Sapiro2016-10-221-1/+4
|
* Fix header match rule suffix inflation.Barry Warsaw2016-05-011-26/+21
| | | | | Given by Aurélien Bompard. Closes #226
* Give predictable names to header match rulesAurélien Bompard2016-05-011-8/+28
| | | | Fixes #226.
* Clean up the chains subdirectory.Barry Warsaw2016-03-241-5/+2
|
* Refine some coding style.Barry Warsaw2016-02-291-4/+3
| | | | | Slightly rewrite a test so that the event subscribers are more narrow. Opportunistically remove ^L
* Revert "Rename the HeaderMatch.chain column to action"Aurélien Bompard2016-02-291-5/+2
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Action-less header matches default to the site-wide antispam actionAurélien Bompard2016-02-291-1/+2
| | | | | Action.defer can't be used on header match links since the 'any' link that jumped to the configuration default happens before header matches.
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-291-1/+5
| | | | It makes it clearer what values are valid, and allows validation.
* Super duper.Barry Warsaw2016-01-261-1/+1
| | | | | * Python 3-ify super() calls. * Remove a bunch of obsolete exception classes.
* Make creating Link objects a more convenient.Barry Warsaw2016-01-251-6/+3
| | | | | | 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.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Clean up pass through abompard's branch.Barry Warsaw2015-10-201-9/+15
|
* Implement changes from the reviewAurélien Bompard2015-10-201-8/+4
|
* Make sure site-wide header_matches take precedence over list-specific onesAurélien Bompard2015-10-201-6/+7
|
* Adapt the code and the tests to the new HeaderMatch objectAurélien Bompard2015-10-201-1/+1
|
* Handle header-match rule-specific actionAurélien Bompard2015-10-201-2/+7
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-5/+1
|
* Core tests pass.Barry Warsaw2014-12-151-1/+1
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* General code cleanup.Barry Warsaw2012-04-251-3/+3
| | | | | | | | - Add explicit dependency on zope.event in setup.py. - Use Python 3 compatible syntax for specifying that a class implements an interface, i.e. the @implementer class decorator. - print_function futures. - Whitespace normalization.
* * Header check specifications in the `mailman.cfg` file have changed quiteBarry Warsaw2012-04-061-59/+55
| | | | | | | | | | | | | | | | | | | | 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.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-1/+1
| | | | package.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+156
correctly regardless of how it's used.