summaryrefslogtreecommitdiff
path: root/mailman/queue/archive.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-91/+0
| | | | correctly regardless of how it's used.
* The conversion from Defaults.py to lazr.config is complete.Barry Warsaw2009-01-061-6/+6
| | | | | | | | | | | lazr.config 1.1 now has everything we need, so we don't need the special develop hack. make_instance is no longer necessary. Refactor the style stuff into their own directory. Finally! Move the delivery module into the mailman.mta package.
* - For command line scripts, -C names the configuration file to use. ForBarry Warsaw2009-01-031-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | convenient testing, if -C is not given, then the environment variable MAILMAN_CONFIG_FILE is consulted. - Mailing lists no longer have a .web_page_url attribute; this is taken from the mailing list's domain's base_url attribute. - Incoming MTA selection is now taken from the config file instead of plugins. An MTA for Postfix+LMTP is added. bin/genaliases works again. - The LMTP server now properly calculates the message's original size. - If a message has no Message-ID, the stock archivers will return None for the permalink now instead of raising an assertion. - IArchiver no longer has an is_enabled property; this is taken from the configuration file now. - In bin/create_list, fixed a unicode problem when the language is defined in the configuration file. - Fixed bin/dumbdb, bin/list_lists, bin/remove_list, bin/unshunt, and bin/mailmanctl - config.archivers is a property now, not a dictionary that needs initialization from plugins. - IMailTransportAgent interface has been added.
* Bump copyright yearsBarry Warsaw2009-01-011-1/+1
|
* Added a buildout hack for zope.testing so that we can add our own command lineBarry Warsaw2008-12-251-2/+10
| | | | | | | | | | options to bin/test. More test repair, even though it's cheating. Use a bunch of variables from Defaults.py even though these will have to be moved to the schema.cfg. Update logging initialization to consult the propagate flag from the command line. Also skip mailman.root since this is not a valid logger.
* Use my lazr.config megamerge branch for now, even though it's still underBarry Warsaw2008-12-231-5/+5
| | | | | | | | | | | | | | development. Completely rework the way switchboards and queue runners are initialized, i.e. driven from the configuration file instead of hard coded. The various queue runner directories are no longer available thorugh the config object directly. Get them from config.switchboards. Provide minimal mailman.cfg and testing.cfg configuration files. Neuter styles for now until they can be consolidated with lazr.config.
* The future is now.Barry Warsaw2008-10-171-2/+0
|
* Move core Mailman modules to the new mailman.core package. FunctionalityBarry Warsaw2008-09-291-1/+1
| | | | | that's part of the 'application', i.e. non-essential to the core functionality is left in mailman.app. This division of labor is still formative.
* Upgrade to GPLv3.Barry Warsaw2008-09-241-12/+12
|
* Rework the archiver interface. Remove get_primary_archiver() since now thereBarry Warsaw2008-06-151-2/+1
| | | | | | | | | can be any number of them. get_list_url() -> list_url() get_message_url() -> permalink() Only add Archived-At header if mlist.archive is set.
* Fix the archiver doctest.Barry Warsaw2008-03-311-1/+1
|
* More fixes to get end-to-end delivery basically working.Barry Warsaw2008-03-301-18/+20
| | | | | | | | | | | | | | | - Add a VirginPipeline for the virgin queue, which is mostly the same as the BuiltInPipeline, so refactor the commonality into a BasePipeline. - Simplify and update bin/dumpdb. - Rename inject() to inject_text() and add inject_message(). Both interfaces will be useful. - When enqueuing and not using _plaintext, use the highest pickle protocol supported. - Fix the archive runner's calculation of whether to clobber the message's Date: header. - Fix the outgoing queue's deliver_after calculation. - Update the virgin queue runner. It doesn't need to inherit from IncomingRunner any more; it can just execute the 'virgin' pipeline.
* More fixes to get the basic end-to-end delivery mechanisms working.Barry Warsaw2008-03-301-1/+11
| | | | | | | | | - Lots of Pipermail work just to get it to play nice with the new apis. - Fix ARCHIVE_SCRUBBER - Lots of changes to mailman.app.archiving, especially to provide an adapter from the new MailingList api to the one expected by Pipermail (e.g. archive_dir()). - Add a test of the basic pipermail archiver.
* Added a test of the OutgoingRunner, and subsequent changes to make it pass,Barry Warsaw2008-03-271-1/+2
| | | | | | | | | | | | | | including: - MailingList.full_path -> IMailingList.data_path and implement this as a property on the MailingList object. - Fix the 'decorate' handler to work with the new member/user data model, instead of the old MemberAdaptor interface. - Fix a few problems with the smtp-direct handler, though this needs more work and tests. - Add some debug logging to both the test smtplistener and the SMTPServer proxy. Fix the proxy's consumption of messages from the thread queue. - Fix the smtplistener's calculation of the X-Peer header.
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-0/+72