<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mailman.git/Mailman/database, branch master</title>
<subtitle>The GNU Mailing List manager.
</subtitle>
<id>https://git.neuromancer.sk/mailman.git/atom?h=master</id>
<link rel='self' href='https://git.neuromancer.sk/mailman.git/atom?h=master'/>
<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>Rework the basic infrastructure for qrunner process control.  Split out the</title>
<updated>2008-02-25T05:24:03Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-25T05:24:03Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=6965bd89216a8d759ff8ea35ca4d1e88b0c35906'/>
<id>urn:sha1:6965bd89216a8d759ff8ea35ca4d1e88b0c35906</id>
<content type='text'>
functionality of mailmanctl into a separate master watcher script.  mailmanctl
has not yet been updated but that'll happen next.

Fix DELIVERY_MODULE to name a handler instead of a module.

Change make_instance to use pkg_resources instead of module.__file__.

Change the qrunner and master processes coordination so that the qrunners are
not restarted on SIGINT, because otherwise C-c just doesn't work.  Now SIGUSR1
is how we'll implement 'mailman restart'.

Add a database commit so that initializing the schema doesn't lock the sqlite
database.  Also, don't try to initialize the schema if the tables already
exist.  Use some sqlite magic to do this test.

Move mailman.cfg.in into a new package Mailman/extras inside the tree.  Also,
MAILMAN_UID and MAILMAN_GID should be integers not strings.

Convert the command runner to use an IHandler instance instead of handler
module.  Similarly for the outgoing runner, DELIVERY_MODULE now names an
IHandler instance instead of a handler module.
</content>
</entry>
<entry>
<title>The start of a cleaning up of Errors.py.  Eventually, I want to get rid of</title>
<updated>2008-02-20T02:22:20Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-20T02:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=aab29f252ebefb1520714080a90bb42a25393f18'/>
<id>urn:sha1:aab29f252ebefb1520714080a90bb42a25393f18</id>
<content type='text'>
this module, in favor of moving exceptions into the interface modules that
they are appropriate for.

For now, this is just the low-hanging fruit.

Along the way, clean up by reSTifying some interfaces and implementations.
</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>Convert IncomingRunner to use the new chains disposition architecture.  move</title>
<updated>2008-02-02T16:18:22Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-02-02T16:18:22Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=d865604398932718dab761f3fb4f56c3a18d25b8'/>
<id>urn:sha1:d865604398932718dab761f3fb4f56c3a18d25b8</id>
<content type='text'>
the big explanatory text at the beginning of incoming.py to a doctest called
OVERVIEW.tt (which doesn't actually contain any tests yet -- it's
documentation though).

Added a doctest for the incoming runner, though this will be fleshed out in
more detail next.

Mailman.Post renamed to Mailman.inject, and simplified.  We don't need its
command line script behavior because that is now handled by bin/inject.

Add a 'start_chain' attribute to mailing lists.  This names the chain that
processing of messages for that list begins with.

We were inconsistent in the use of the 'no reply' address attribute.  It's now
always 'no_reply_address'.

Update the smtplistener helper with lessons learned about how to suppress
bogus asyncore error messages.  Also, switch to using a maildir mailbox
instead of an mbox mailbox.
</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>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-02T21:02:19Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2008-01-02T21:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=a077406487020ecf8dfb7b27e931ca7eb9f5d3b2'/>
<id>urn:sha1:a077406487020ecf8dfb7b27e931ca7eb9f5d3b2</id>
<content type='text'>
&lt;wink&gt; works around the storm cache bug #178546.
</content>
</entry>
<entry>
<title>Add three new rules and their associated doctests.</title>
<updated>2007-12-30T07:47:45Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-12-30T07:47:45Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=5b4bb22feca4d520afef44d1c472807e020d17b5'/>
<id>urn:sha1:5b4bb22feca4d520afef44d1c472807e020d17b5</id>
<content type='text'>
- A rule that checks to see if the sender is a moderated member.
- A rule that checks to see if the sender is a non-member.
- A rule that checks to see if the message has no (or an empty) Subject.

Give IMembers (and the associated database implementation) an `is_moderated`
flag.
</content>
</entry>
<entry>
<title>Add .get() to our Message subclass, which ensures that returned</title>
<updated>2007-12-11T04:00:14Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-12-11T04:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=7923b90f0349f9e2dc891082e2e1c3bf23b4d79c'/>
<id>urn:sha1:7923b90f0349f9e2dc891082e2e1c3bf23b4d79c</id>
<content type='text'>
values are unicodes if they come from the base class as a string.

Get rid of the 'global id'.  Now use just Message-ID.  Rename
X-List-ID-Hash to X-Message-ID-Hash.  Do not take Date header into
account when calculating this hash.

Because of the above change, the assumption is that there will be no
Message-ID collisions.  Therefore, get rid of IMessageStore
.get_message(), .get_messages_by_message_id() and
.get_messages_by_hash().  Instead, it's now .get_message_by_id() and
.get_message_by_hash() both of which return the message object or
None.

Message.hash -&gt; Message.message_id_hash

When storing a message in the message store, the final path component
has the entire hash, not just the leftover parts after directory
prefix splitting.

MessageStore.delete_message() deletes the file too.

Doctests clean up message store messages though the message store
instead of directly off the filesystem.
</content>
</entry>
</feed>
