summaryrefslogtreecommitdiff
path: root/mailman/Utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-702/+0
| | | | correctly regardless of how it's used.
* More cleanup.Barry Warsaw2009-01-201-132/+0
|
* Several important cleanups.Barry Warsaw2009-01-161-8/+5
| | | | | | | | | | * 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.
* Complete the integration of MTA setup with list creation and deletion. MakeBarry Warsaw2009-01-061-2/+2
| | | | | | | | | Postfix lmtp file more compliant with the Postfix docs. (Thanks Patrick Koetter). Fix a few more lazr.config conversion issues. Fix bin/show_qfiles, and add a --summary switch.
* Defaults module is mostly eradicated, converted to lazr.config. The testBarry Warsaw2009-01-051-3/+3
| | | | suite does not yet work though.
* Picking some (py)lint.Barry Warsaw2009-01-041-2/+2
|
* Fix typoBarry Warsaw2009-01-031-1/+1
|
* "Fix" Pipermail in the sense that it doesn't traceback.Barry Warsaw2009-01-031-3/+6
| | | | | | | | Fix some typos in Utils.py Fix add_members and list_members Add a testing MTA.
* Bump copyright yearsBarry Warsaw2009-01-011-1/+1
|
* Convert more configuration variables to lazr.config.Barry Warsaw2008-12-221-1/+1
| | | | | | | | 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-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.
* Target Python 2.6. Make the test suite pass without deprecations.Barry Warsaw2008-10-161-1/+0
|
* More clean up.Barry Warsaw2008-09-291-24/+0
| | | | | | - Remove Utils.reap() - Flesh out interfaces. - PEP 8 names.
* Eradicate SafeDict.Barry Warsaw2008-09-281-4/+2
|
* mailman.Errors -> mailman.core.errorsBarry Warsaw2008-09-261-5/+6
|
* Upgrade to GPLv3.Barry Warsaw2008-09-241-12/+12
|
* Make all the SMTP_LOG_* templates, PEP 292 compatible. Make them consistentlyBarry Warsaw2008-03-301-2/+0
| | | | | | | | | | | 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.
* Added a test of the OutgoingRunner, and subsequent changes to make it pass,Barry Warsaw2008-03-271-1/+1
| | | | | | | | | | | | | | 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.
* Move AlreadySubscribedError to interfaces/member.py in the (new) preferenceBarry Warsaw2008-03-231-2/+4
| | | | | | | | 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
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-0/+860