summaryrefslogtreecommitdiff
path: root/mailman/interfaces
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-2529-2559/+0
| | | | correctly regardless of how it's used.
* Several important cleanups.Barry Warsaw2009-01-1628-5/+198
| | | | | | | | | | * 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-0/+7
| | | | | | | | | | | 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.
* Picking some (py)lint.Barry Warsaw2009-01-044-2/+23
|
* Remove the mailman.interface magic. Use the more specific interface imports.Barry Warsaw2009-01-041-36/+2
|
* - For command line scripts, -C names the configuration file to use. ForBarry Warsaw2009-01-032-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0128-28/+28
|
* Use my lazr.config megamerge branch for now, even though it's still underBarry Warsaw2008-12-231-2/+3
| | | | | | | | | | | | | | 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.
* More clean up.Barry Warsaw2008-09-291-0/+79
| | | | | | - Remove Utils.reap() - Flesh out interfaces. - PEP 8 names.
* mailman.Errors -> mailman.core.errorsBarry Warsaw2008-09-261-1/+1
|
* Upgrade to GPLv3.Barry Warsaw2008-09-2428-336/+336
|
* Complete the 'join' command, including allowing it to both register andBarry Warsaw2008-09-241-1/+1
| | | | subscribe to a mailing list.
* thread mergeBarry Warsaw2008-09-211-10/+34
|\
| * mergeRFBarry Warsaw2008-09-211-10/+34
| |\
| | * Support for proper domains by interface. Add a test and update modules asBarry Warsaw2008-09-201-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | thread mergeBarry Warsaw2008-09-161-3/+6
|\| |
| * | Use pkg_resources to find mailman.sql file.Barry Warsaw2008-09-101-3/+6
| |/ | | | | | | Flesh out a docstring.
* | Merge in command refactoring branch.Barry Warsaw2008-08-121-2/+10
|\ \ | |/ |/| | | | | | | Begin to flesh out the tests for the join command. Refactor out notifications from the add_member() function.
| * Checkpointing new command infrastructure.Barry Warsaw2008-08-121-2/+10
| | | | | | | | | | | | - Add join command - Add echo command - Add end command
* | Implement the basic Mail-Archive.com archiving algorithm.Barry Warsaw2008-07-051-1/+1
| | | | | | | | | | Fix the start up of the SMTPServer to listen on a consistent port number. post_number -> post_id
* | Implement a prototypical archiver that supports Archived-At permalink header,Barry Warsaw2008-07-021-0/+22
| | | | | | | | | | | | | | | | | | 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.
* | start of archiving workBarry Warsaw2008-06-141-5/+2
|/
* temporary start on command processor rewriteBarry Warsaw2008-04-222-1/+51
|
* mailman.Version -> mailman.versionBarry Warsaw2008-03-311-1/+1
|
* Added a test of the OutgoingRunner, and subsequent changes to make it pass,Barry Warsaw2008-03-271-0/+7
| | | | | | | | | | | | | | 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.
* Lots of little patches trying to get a simple end-to-end test working. ThereBarry Warsaw2008-03-251-0/+7
| | | | | | | | | | | | 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.
* The start of exposing memberships in the IUser.Barry Warsaw2008-03-241-0/+3
|
* Move AlreadySubscribedError to interfaces/member.py in the (new) preferenceBarry Warsaw2008-03-231-3/+22
| | | | | | | | 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
* Add transaction API to IDatabase, e.g. begin(), commit(), and abort(). Add anBarry Warsaw2008-03-121-4/+8
| | | | implementation of these to StockDatabase. Expose 'commit' to doctest globals.
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-2727-0/+2116