summaryrefslogtreecommitdiff
path: root/mailman/queue/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-466/+0
| | | | correctly regardless of how it's used.
* More cleanup.Barry Warsaw2009-01-201-2/+3
|
* Several important cleanups.Barry Warsaw2009-01-161-17/+19
| | | | | | | | | | * Turn on absolute_import and unicode_literals everywhere, and deal with the aftermath. * Use 'except X as Y' everywhere. * Make the module prologues much more consistent. * Use '{}'.format() consistently, except for logger interface. * Because of the problems with calling ** args with unicode keywords, hide calls to Template.substitute() behind an API.
* Defaults module is mostly eradicated, converted to lazr.config. The testBarry Warsaw2009-01-051-1/+1
| | | | suite does not yet work though.
* Mark's backport of file preservation in the queue runners. Test and cleanupBarry Warsaw2009-01-041-10/+43
|\ | | | | | | by Barry.
| * Port of 2.x changes to limit number of times a .bak can be recovered.Mark Sapiro2009-01-031-9/+43
|/
* - For command line scripts, -C names the configuration file to use. ForBarry Warsaw2009-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* All tests are now passing!Barry Warsaw2009-01-011-2/+3
|
* Use my lazr.config megamerge branch for now, even though it's still underBarry Warsaw2008-12-231-48/+67
| | | | | | | | | | | | | | 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.
* Lots of changes to make bin/withlist work under a buildout environment.Barry Warsaw2008-12-201-1/+1
| | | | | | | | | | mailman.configuration -> mailman.config.config mailman.initialize -> mailma.core.initialize mailman.loginit -> mailman.core.logging (yay future absolute imports!) Convert all configurations to lazr.config, though some legacy still remains, and I haven't been able to remove Defaults.py yet. Added as_boolean() and as_log_level() helpers for explicit type conversion. Added a schema.cfg.
* The future is now.Barry Warsaw2008-10-171-2/+0
|
* Target Python 2.6. Make the test suite pass without deprecations.Barry Warsaw2008-10-161-3/+3
|
* More clean up.Barry Warsaw2008-09-291-105/+82
| | | | | | - Remove Utils.reap() - Flesh out interfaces. - PEP 8 names.
* Upgrade to GPLv3.Barry Warsaw2008-09-241-12/+12
|
* Make all the SMTP_LOG_* templates, PEP 292 compatible. Make them consistentlyBarry Warsaw2008-03-301-12/+26
| | | | | | | | | | | put the Message-ID first in the log message. Dict the MsgSafeDict class as unnecessary now. Fix the DEFAULT_MSG_FOOTER. Back out an earlier unnecessary change for virgin queue pipelines. Add a bunch of debugging to the mail Runner loops.
* More fixes to get end-to-end delivery basically working.Barry Warsaw2008-03-301-4/+5
| | | | | | | | | | | | | | | - 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.
* Lots of little patches trying to get a simple end-to-end test working. ThereBarry Warsaw2008-03-251-1/+3
| | | | | | | | | | | | should be tests for these. :/ - Disable MTA hack in remove_list() - Convert bin/inject to SingleMailingListOptions - Remove an unnecessary import - Fix qrunner restarts in bin/master - Add IMailinglist.pipeline so that this value persists - Move Runner.SLEEPTIME into the __init__() so that it isn't hurt by order of configuration initialization.
* Sprinkle a few more transaction API calls around to make sure the databaseBarry Warsaw2008-03-121-1/+4
| | | | | | | | | | | | doesn't remain in a locked state, hosing other processes. - Move a commit to the end of StockDatabase._create() - Add an abort to the Exception clause if there's an error while dequeuing - Add an abort to the Exception clause if there's an error while finishing - Add a commit after _doperiodic() and _shortcircuit() is called. - Add a commit to the end of cleaning_teardown() in test_documentation.py This now makes all the tests pass even when all of them are run.
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-0/+415