summaryrefslogtreecommitdiff
path: root/mailman/archiving/mhonarc.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-97/+0
| | | | correctly regardless of how it's used.
* Several important cleanups.Barry Warsaw2009-01-161-8/+9
| | | | | | | | | | * 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-061-2/+1
| | | | | | | | | | | 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-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* More test reairs.Barry Warsaw2008-12-271-1/+1
|
* Added a buildout hack for zope.testing so that we can add our own command lineBarry Warsaw2008-12-251-2/+3
| | | | | | | | | | 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.
* 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.
* Upgrade to GPLv3.Barry Warsaw2008-09-241-12/+12
|
* Support for proper domains by interface. Add a test and update modules asBarry Warsaw2008-09-201-1/+1
| | | | | | | | | | necessary. Finally delete DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST. Now add_domain() must be called in the confirmation file for every domain. add_domain() itself is now pretty much just a proxy for the Domain constructor. Add stop() as an alias for pdb.set_trace() to the documentation doctest globs.
* Add rough support for a local MHonArc archiver, using the permalink proposalBarry Warsaw2008-07-091-0/+95
from the prototype archiver. Add a mailman.archiver log.