summaryrefslogtreecommitdiff
path: root/Mailman/rules/implicit_dest.py
Commit message (Collapse)AuthorAgeFilesLines
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-95/+0
|
* More changes to rules and chains.Barry Warsaw2008-01-231-1/+2
| | | | | | | | | | | | | Now a link has a rule, action, chain, and function, not all of which needs to be specified. The action is a LinkAction enum adn specifies what to do should the rule match. The use of the chain or function depends on what the action is. Several interface changes now make it easier to jump to other chains, push (i.e. detour) to chains, etc. Rules can also now specify that they should not be recorded in X-* headers. Added a TruthRule which always matches.
* Extended test_documentation.py to be able to find doctests in subdirectoriesBarry Warsaw2008-01-011-5/+1
| | | | | | called 'docs' anywhere under the Mailman package. Change the rule API to return rule classes not instances. Added the ChainJump enum, though this will likely change soon.
* Port the maximum message size check to a rule. Add doctest.Barry Warsaw2007-12-291-1/+0
| | | | | | | | Rename the implicit.txt doctest. specialized_message_from_string(): Mimic the way the text->message parser will include the size of the original text as an attribute on the message object. The maximum message size rule will use this information.
* Port the implicit destination checking to the rules infrastructure and add aBarry Warsaw2007-12-291-0/+99
bunch of doctests. Note that the old Hold Notification tests are temporarily disabled as these will have to be rewritten when the rule matching logic gets added.