summaryrefslogtreecommitdiff
path: root/mailman/app
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-259-1133/+0
| | | | correctly regardless of how it's used.
* More cleanup.Barry Warsaw2009-01-201-1/+1
|
* Several important cleanups.Barry Warsaw2009-01-168-7/+25
| | | | | | | | | | * 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-6/+4
| | | | | | | | | 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.
* The conversion from Defaults.py to lazr.config is complete.Barry Warsaw2009-01-062-0/+3
| | | | | | | | | | | 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-053-8/+7
| | | | suite does not yet work though.
* Picking some (py)lint.Barry Warsaw2009-01-042-4/+1
|
* Remove the mailman.interface magic. Use the more specific interface imports.Barry Warsaw2009-01-045-6/+11
|
* - For command line scripts, -C names the configuration file to use. ForBarry Warsaw2009-01-031-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-018-8/+8
|
* Many test fixes, mostly by temporarily changing config -> Defaults.Barry Warsaw2008-12-291-3/+3
| | | | | | | 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.
* More test repairs.Barry Warsaw2008-12-282-6/+4
|
* Lots of changes to make bin/withlist work under a buildout environment.Barry Warsaw2008-12-207-7/+7
| | | | | | | | | | 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-175-11/+2
|
* Move core Mailman modules to the new mailman.core package. FunctionalityBarry Warsaw2008-09-297-642/+3
| | | | | 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-263-10/+13
|
* Upgrade to GPLv3.Barry Warsaw2008-09-2413-156/+156
|
* Complete the 'join' command, including allowing it to both register andBarry Warsaw2008-09-241-23/+22
| | | | subscribe to a mailing list.
* Collect the initialization of adapters into a separate method.Barry Warsaw2008-09-231-3/+1
| | | | Flesh out the join method.
* thread mergeBarry Warsaw2008-09-231-1/+20
|\
| * Use adaptation to get from an IDomain to an IRegistrar.Barry Warsaw2008-09-231-1/+20
| |
* | Merge in command refactoring branch.Barry Warsaw2008-08-123-82/+165
|\ \ | |/ |/| | | | | | | 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/+2
| | | | | | | | | | | | - Add join command - Add echo command - Add end command
* | Refactor the archivers so that they live in a separate sub-package. Split outBarry Warsaw2008-07-051-207/+0
| | | | | | | | | | | | | | | | | | 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.
* | Implement the basic Mail-Archive.com archiving algorithm.Barry Warsaw2008-07-051-2/+55
| | | | | | | | | | 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-4/+65
| | | | | | | | | | | | | | | | | | 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-29/+12
|/
* Update and reorganize the command queue runner so that it works with theBarry Warsaw2008-04-261-0/+42
| | | | | plugin architecture. Update the Echo command to the new architecture. Add a doctest of course.
* More fixes to get end-to-end delivery basically working.Barry Warsaw2008-03-302-13/+34
| | | | | | | | | | | | | | | - Add a VirginPipeline for the virgin queue, which is mostly the same as the BuiltInPipeline, so refactor the commonality into a BasePipeline. - Simplify and update bin/dumpdb. - Rename inject() to inject_text() and add inject_message(). Both interfaces will be useful. - When enqueuing and not using _plaintext, use the highest pickle protocol supported. - Fix the archive runner's calculation of whether to clobber the message's Date: header. - Fix the outgoing queue's deliver_after calculation. - Update the virgin queue runner. It doesn't need to inherit from IncomingRunner any more; it can just execute the 'virgin' pipeline.
* More fixes to get the basic end-to-end delivery mechanisms working.Barry Warsaw2008-03-301-23/+56
| | | | | | | | | - 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-271-2/+2
| | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | | | 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.
* Move AlreadySubscribedError to interfaces/member.py in the (new) preferenceBarry Warsaw2008-03-231-2/+12
| | | | | | | | 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-1/+1
| | | | | | arguments. Added a MultipleMailingListOptions subclass.
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-2713-0/+1669