summaryrefslogtreecommitdiff
path: root/mailman/options.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-143/+0
| | | | correctly regardless of how it's used.
* Several important cleanups.Barry Warsaw2009-01-161-5/+8
| | | | | | | | | | * 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.
* - For command line scripts, -C names the configuration file to use. ForBarry Warsaw2009-01-031-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 repairs.Barry Warsaw2008-12-311-4/+6
| | | | | | | * Move the lmtp configurations to lazr.config * Fixes to master.py * In qrunner.py, don't override initialize() * Make sure subprocesses get configured correctly during tests
* Lots of changes to make bin/withlist work under a buildout environment.Barry Warsaw2008-12-201-3/+3
| | | | | | | | | | 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
|
* mailman.Version -> mailman.versionBarry Warsaw2008-03-311-1/+1
|
* Move AlreadySubscribedError to interfaces/member.py in the (new) preferenceBarry Warsaw2008-03-231-2/+10
| | | | | | | | for putting exceptions close to the interfaces where they are used. MakeRandomPassword() returns unicodes now. Flesh out bin/add_members.py and bin/list_members.py
* Rename rmlist to remove_list, and let it take multiple -l command lineBarry Warsaw2008-03-221-0/+12
| | | | | | arguments. Added a MultipleMailingListOptions subclass.
* Several fixes to command line scripts.Barry Warsaw2008-03-221-4/+55
| | | | | | - Add an options base class that groks unicode argument types - Rename newlist to create_list - Update list_lists, master, qrunner
* Added a common option parsing class, and converted master to it.Barry Warsaw2008-03-211-0/+62