summaryrefslogtreecommitdiff
path: root/src/mailman/utilities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor __import__'s into a separate utility module.Barry Warsaw2009-05-161-0/+59
|
* __all__Barry Warsaw2009-03-091-0/+4
|
* Complete the porting of the autoresponse implementation, with no need of theBarry Warsaw2009-02-191-1/+1
| | | | | | old pickle attributes. Fix a typo in the datetime.py module.
* Add IAutoResponseSet.last_response() and fix a few bugs with the datetimeBarry Warsaw2009-02-191-3/+4
| | | | | testing harness. Remove the {admin,postings,request}_response attributes, but these are not apparently tested.
* Add a "mock and monkey" layer to set up testing infrastructure, e.g. forBarry Warsaw2009-02-171-0/+69
| | | | | | | | | | predictable dates and times. Fill out the autorespond.txt test to show that when the date flips over, the response counts reset. Add a date/time factory which we should use rather than the built-in datetime for now() and today() so that they can be appropriately tested.
* Massive digester rework.Barry Warsaw2009-02-041-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves actual digest creation and sending into a new queue runner. That way, digest creation does not block the main incoming processor. Lots of code clean up and reorganization too, and many fixes. digest_last_sent_at: Make this a DateTime digest_size_threshold: Make this a Float digest_volume_frequency: Make this an Enum DigestFrequency: new enum Fix up IMailingList interface to reflect reality. In Runner base class, allow for msg.get_sender() to return a False value. If this happens (as it can with the empty marker messages used to signal the digester that there's work to do), just use the list's preferred language. Give the retry.py and incoming.py queue runner modules some proper epilogues. The EmptyingRunner (for testing) logs itself as the runner its wrapping. The digest file name now ends in .mmdf since that's the format we're using. Add 'create_list' to doctest globals. Add a Mailbox class to add support for the context manager protocol.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-253-0/+137
correctly regardless of how it's used.