summaryrefslogtreecommitdiff
path: root/mailman/pipeline
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-2539-6815/+0
| | | | correctly regardless of how it's used.
* More cleanup.Barry Warsaw2009-01-201-19/+1
|
* Get rid of a few now unnecessary u-prefixes.Barry Warsaw2009-01-162-4/+4
|
* Several important cleanups.Barry Warsaw2009-01-1624-99/+172
| | | | | | | | | | * 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.
* The conversion from Defaults.py to lazr.config is complete.Barry Warsaw2009-01-065-439/+50
| | | | | | | | | | | 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.
* Defaults module is mostly eradicated, converted to lazr.config. The testBarry Warsaw2009-01-055-30/+31
| | | | suite does not yet work though.
* Picking some (py)lint.Barry Warsaw2009-01-047-11/+4
|
* Remove the mailman.interface magic. Use the more specific interface imports.Barry Warsaw2009-01-0426-29/+41
|
* "Fix" Pipermail in the sense that it doesn't traceback.Barry Warsaw2009-01-031-1/+1
| | | | | | | | Fix some typos in Utils.py Fix add_members and list_members Add a testing MTA.
* - For command line scripts, -C names the configuration file to use. ForBarry Warsaw2009-01-036-18/+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.
* * Update NEWS.txt and ALPHA.txtBarry Warsaw2009-01-011-1/+1
| | | | | * Change setup.py to use gettext's msgfmt command * Fix typo
* Bump copyright yearsBarry Warsaw2009-01-0121-21/+21
|
* All tests are now passing!Barry Warsaw2009-01-012-3/+5
|
* Many test fixes, mostly by temporarily changing config -> Defaults.Barry Warsaw2008-12-291-3/+2
| | | | | | | Rewrote start_qrunners() for new lazr.config based configuration. ReopenableFileHandler.reopen() given a default filename argument for reopening to a different file. Useful in tests.
* Down to only 27 test failures.Barry Warsaw2008-12-262-18/+24
| | | | | | | | | More temporary config -> Defaults changes. More fixes to smtp_direct.py. Other queue runner fixes, including allowing make_testable_runner() to take an optional 'name' which overrides the default class-calculated name.
* Added a buildout hack for zope.testing so that we can add our own command lineBarry Warsaw2008-12-2513-41/+37
| | | | | | | | | | 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.
* Convert more configuration variables to lazr.config.Barry Warsaw2008-12-2219-19/+0
| | | | | | | | Add .push() and .pop() methods to the Configuration object. Put the 'config' object in the globals of doctests. Add some test layers for setting up the configuration and the SMTP server.
* Lots of changes to make bin/withlist work under a buildout environment.Barry Warsaw2008-12-2014-75/+60
| | | | | | | | | | 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-173-9/+9
|
* Target Python 2.6. Make the test suite pass without deprecations.Barry Warsaw2008-10-161-2/+2
|
* Move core Mailman modules to the new mailman.core package. FunctionalityBarry Warsaw2008-09-292-7/+10
| | | | | 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.
* mailman.Errors -> mailman.core.errorsBarry Warsaw2008-09-269-21/+18
|
* Upgrade to GPLv3.Barry Warsaw2008-09-2421-252/+252
|
* Refactor the archivers so that they live in a separate sub-package. Split outBarry Warsaw2008-07-051-0/+1
| | | | | | | | | the Pipermail, Prototype, and MailArchiver plugins into separate modules. Put the archives registry on the config object and initialize it at the right time. Update plugin entry points.
* mailman.tests should contain only tests.Barry Warsaw2008-07-031-1/+1
| | | | mailman.testing should contain any support for running the tests.
* Implement a prototypical archiver that supports Archived-At permalink header,Barry Warsaw2008-07-022-0/+3
| | | | | | | | | using the current concept of the hash. This can change, but at least now I have the interfaces and infrastructure to support this header. Of course, Pipermail doesn't support a permalink, so that archiver no-ops. Add an adapter to provide the interface that Pipermail requires over and above the IMailingList interface. Add an is_enabled flag to IArchiver.
* Rework the archiver interface. Remove get_primary_archiver() since now thereBarry Warsaw2008-06-153-19/+14
|\ | | | | | | | | | | | | | | | | 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.
| * start of archiving workBarry Warsaw2008-06-143-19/+14
|/
* One more version change fix.Barry Warsaw2008-03-311-1/+1
|
* mailman.Version -> mailman.versionBarry Warsaw2008-03-312-4/+4
|
* Fix the scrubber doctest.Barry Warsaw2008-03-311-1/+1
|
* Make all the SMTP_LOG_* templates, PEP 292 compatible. Make them consistentlyBarry Warsaw2008-03-301-20/+42
| | | | | | | | | | | 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 the basic end-to-end delivery mechanisms working.Barry Warsaw2008-03-303-7/+8
| | | | | | | | | - 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-275-18/+18
| | | | | | | | | | | | | | 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.
* Fix a typo in a roster name.Barry Warsaw2008-03-061-0/+155
| | | | | | | | | | Remove an outdated comment. Add an SMTPServer wrapper class to the test helpers module. This will be used in tests of the outgoing queue, which actually needs to talk to an SMTP server. Adapt the smtpd-based server to being run under thread control, and remove some now unnecessary code.
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-2739-0/+7007