<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mailman.git/Mailman/rules, branch plugin</title>
<subtitle>The GNU Mailing List manager.
</subtitle>
<id>https://git.neuromancer.sk/mailman.git/atom?h=plugin</id>
<link rel='self' href='https://git.neuromancer.sk/mailman.git/atom?h=plugin'/>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/'/>
<updated>2008-02-27T06:26:18Z</updated>
<entry>
<title>Bite the bullet: rename the Mailman package to mailman.</title>
<updated>2008-02-27T06:26:18Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-27T06:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=a1c73f6c305c7f74987d99855ba59d8fa823c253'/>
<id>urn:sha1:a1c73f6c305c7f74987d99855ba59d8fa823c253</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the import of Mailman.configuration.config explicit in doctests.</title>
<updated>2008-02-27T02:24:13Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-27T02:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=f0c044111dfdf6ffe3531df18ccf268a4056874b'/>
<id>urn:sha1:f0c044111dfdf6ffe3531df18ccf268a4056874b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reorganize the Handler architecture to a pipeline architecture with plugins.</title>
<updated>2008-02-17T22:34:21Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-17T22:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=69d158b13ae9cfa37040c2e7a664ca266b42050b'/>
<id>urn:sha1:69d158b13ae9cfa37040c2e7a664ca266b42050b</id>
<content type='text'>
Now plugins can define additional handlers and the handlers can be organized
into named pipelines.  Modules are no longer the unit of a handler, now we use
classes so we can assert interface conformance.

The GLOBAL_PIPELINE is gone, replaced by the 'built-in' pipeline.  The
OWNER_PIPELINE is not yet replaced.

I still need a few more tests of the basic pipeline architecture, although the
individual handlers have pretty good coverage.

Added the IHandler and IPipeline interfaces.

Still broken, but not yet removed: Mailman/pipeline/moderate.py.
</content>
</entry>
<entry>
<title>Tweak copyright years.</title>
<updated>2008-02-08T04:01:48Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-08T04:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=0478757a09b4173937d75103fa96444b6b085300'/>
<id>urn:sha1:0478757a09b4173937d75103fa96444b6b085300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Python 2.5's email package uses cStringIO in its feed parser, and this doesn't</title>
<updated>2008-01-24T07:40:41Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-01-24T07:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=a76cbbcac84319245a0afb4a4dee32d4d4c79622'/>
<id>urn:sha1:a76cbbcac84319245a0afb4a4dee32d4d4c79622</id>
<content type='text'>
support unicode.  Although this never bit me on OS X (Leopard) it matters
greatly on Linux (Ubuntu) where you get lots of test failures because of it.
So instead, just use 8-bit string in message_from_string().  Everything works
fine still.
</content>
</entry>
<entry>
<title>SpamDetect is gone, so the chains/rules implementation experiment is deemed a</title>
<updated>2008-02-02T03:21:05Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-02T03:21:05Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=b6f3ba4c9ebe821dd2c4676d7397fe5312b72a36'/>
<id>urn:sha1:b6f3ba4c9ebe821dd2c4676d7397fe5312b72a36</id>
<content type='text'>
success and will now be merged into the trunk.

Move the Truth rule into the built-in rules package in a separate module, and
add a test.

Modify IChainLink so that the rule and chain attributes are not names but
indeed the actual ILink or IChain object directly.  Update the
chains.process() function accordingly.  Remove the IChain.get_rule() method.

Don't derive BuiltInChain from Chain and don't make it an IMutableChain.  It's
now just an IChain, and is implemented concretely.

Refactor the HeaderMatchChain and friends so that it can be used with both the
global HEADER_MATCHES variable and the list-specific header_matches variable,
which has exactly the same semantics.  Oh yeah, get rid of the list's
header_filter_rules attribute and replace it with header_matches so that the
semantics match, it's easy to explain, and it's all nice and clean.
</content>
</entry>
<entry>
<title>Port header matching previously described by the misnamed KNONW_SPAMMERS</title>
<updated>2008-01-26T23:35:18Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-01-26T23:35:18Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=3952c95a23a74b8686b55a3a4f1873238e6d6610'/>
<id>urn:sha1:3952c95a23a74b8686b55a3a4f1873238e6d6610</id>
<content type='text'>
variable to the new chain processing system.  Create a header-matching chain
which handles global site header matching rules defined by HEADER_MATCHES.
Rip this logic out of the SpamDetect handler; really this entire handler needs
to go away but the rest of it isn't ported yet.

IChains now have a get_rule() method which allows them to return private
(i.e. not globally registered) rules.  This is used by the header matching
chain.

Mailman.app.chains.process() has had its parameter list reordered to be more
like all other function signatures that take a mailing list, message, and
message metadata.
</content>
</entry>
<entry>
<title>More changes to rules and chains.</title>
<updated>2008-01-24T04:47:50Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-01-24T04:47:50Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=df637148d8fa2d5c101a990ee6766ea8547f000a'/>
<id>urn:sha1:df637148d8fa2d5c101a990ee6766ea8547f000a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>More updates to rules and chains, especially by adding additional tests.</title>
<updated>2008-01-21T05:26:55Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-01-21T05:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=4460aad316db5c8af9b84c392e67441acaac9d72'/>
<id>urn:sha1:4460aad316db5c8af9b84c392e67441acaac9d72</id>
<content type='text'>
- Remove the Emergency.py handler.  This is now covered by the emergency.py
  rule.
- Remove the hold.txt doctest.  This is now covered by the chains.txt and
  emergency.txt doctests.
- Added a chains.txt doctest.
- Extend the pending db to handle list values, although only lists that
  contain nothing but strings.
- Rename the 'adminapproved' message metadata key (for the emergency rule) to
  'moderator_approved'.

Also, backport a change to the Decorate handler where message metadata on the
'decoration-data' key ca be used in the header and footer.
</content>
</entry>
<entry>
<title>Use a more efficient way of deleting rows from a table, which coincidentally</title>
<updated>2008-01-15T04:22:15Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-01-15T04:22:15Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=0bf7659000d2736839919c1ac2adc99b9bcb1b46'/>
<id>urn:sha1:0bf7659000d2736839919c1ac2adc99b9bcb1b46</id>
<content type='text'>
&lt;wink&gt; works around the storm cache bug #178546.
</content>
</entry>
</feed>
