summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not create the .mo files during setup. This makes things go much faster.Barry Warsaw2009-11-241-12/+12
| | | | | The tests do require a partial French translation for digester.txt, so just include the bare minimum, already msgfmt'd in the mailman.testing package.
* * Switch to distribute from setuptools.Barry Warsaw2009-11-231-5/+2
| | | | * Remove the dependency on setuptools_bzr and use a MANIFEST.in instead
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-0/+1
| | | | package.
* Use lazr.smtptest instead of our own SMTPServer and test SMTPd.Barry Warsaw2009-10-151-0/+1
| | | | | Update the lazr.restful IWebServiceConfiguration implementation to include the new hop_by_hop_headers attribute, by way of BaseWSGIWebServiceConfiguration.
* Bye bye mailmanctl, long live 'bin/mailman start'Barry Warsaw2009-10-091-1/+1
|
* Re-enable setuptools_bzrBarry Warsaw2009-09-251-3/+3
|
* Re-enable __version__Barry Warsaw2009-09-251-2/+1
|
* Play much more nicely with buildout, and use a better mechanism for declaringBarry Warsaw2009-09-251-15/+21
| | | | | the namespace package. This gets things working on a fresh Ubuntu Karmic installation.
* Instead of using an adapter, use a utility to get the mailing list manager.Barry Warsaw2009-08-261-1/+2
|
* Remove the special cases for pylint. Version 0.18 "works" out of the box ↵Barry Warsaw2009-08-251-0/+2
| | | | | | now, except that it has a bug where it can't handle "from __future__ import absolute_import". Robustify master.py so that we can't get into a situation where the pid dictionary changes size during iteration. No test, but this should be fixed.
* A start on the 'mailman' subcommand layout, with the help of argparse. RightBarry Warsaw2009-08-091-2/+1
| | | | | | | | | | | | | now the only subcommand is 'lists' which displays all mailing lists like the old bin/list_lists command did (which is now removed). Remove bin/version since 'bin/mailman --version' does this for us. Simplify the calculation of the bin scripts; there will be many fewer of them. Extend i18n to use a class based structure. By default, all i18n strings are dedented after translation and substitution, which improves command line help. The class structure allows for overriding this behavior.
* Integrate pylint and Sphinx documentation buildout targets.Barry Warsaw2009-06-301-0/+3
| | | | | | | | * bin/lint.sh runs the linter (be very afraid) * bin/docs runs Sphinx over the documentation (needs refining) src/sphinxconf.py is an ugly hack to hook the buildout recipe so that we can ignore text files in our tree that are not documentation.
* Checking pointing all the ZCA and restful wiring that I really don'tBarry Warsaw2009-04-021-0/+3
| | | | understand. Cargo culting FTW.
* Get rid of the mailman.scrubber entry point.Barry Warsaw2009-03-101-2/+1
|
* Get rid of the mailman.rules entry point.Barry Warsaw2009-03-091-1/+0
|
* Get rid of the mailman.handlers entry point.Barry Warsaw2009-03-091-1/+0
|
* Get rid of mailman.commands entry point.Barry Warsaw2009-03-091-9/+1
|
* Remove the mailman.database setup.py plugin, instead opting for defining theBarry Warsaw2009-03-051-1/+0
| | | | database class in the configuration file.
* Checkpointing the conversion of automatic responses away from pickles.Barry Warsaw2009-02-161-0/+1
|
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-2/+5
| | | | correctly regardless of how it's used.
* Defaults module is mostly eradicated, converted to lazr.config. The testBarry Warsaw2009-01-051-1/+0
| | | | suite does not yet work though.
* - For command line scripts, -C names the configuration file to use. ForBarry Warsaw2009-01-031-11/+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.
* * Update NEWS.txt and ALPHA.txtBarry Warsaw2009-01-011-1/+1
| | | | | * Change setup.py to use gettext's msgfmt command * Fix typo
* Added a buildout hack for zope.testing so that we can add our own command lineBarry Warsaw2008-12-251-1/+0
| | | | | | | | | | 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-0/+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.
* Basic buildout infrastructure.Barry Warsaw2008-12-181-1/+1
| | | | | | Added a NEWS file. Move old bin scripts to the attic.
* Target Python 2.6. Make the test suite pass without deprecations.Barry Warsaw2008-10-161-2/+2
|
* Move core Mailman modules to the new mailman.core package. FunctionalityBarry Warsaw2008-09-291-1/+1
| | | | | 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.
* Upgrade to GPLv3.Barry Warsaw2008-09-241-10/+11
|
* Add rough support for a local MHonArc archiver, using the permalink proposalBarry Warsaw2008-07-091-1/+2
| | | | | | from the prototype archiver. Add a mailman.archiver log.
* Refactor the archivers so that they live in a separate sub-package. Split outBarry Warsaw2008-07-051-4/+4
| | | | | | | | | 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-0/+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-1/+4
| | | | | | | | | 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-1/+2
|
* Update and reorganize the command queue runner so that it works with theBarry Warsaw2008-04-261-2/+10
|\ | | | | | | | | plugin architecture. Update the Echo command to the new architecture. Add a doctest of course.
| * temporary start on command processor rewriteBarry Warsaw2008-04-221-2/+9
|/
* Remove unnecessary 3rd party package.Barry Warsaw2008-04-081-1/+0
|
* One more version change.Barry Warsaw2008-03-311-1/+1
|
* More fixes to get the basic end-to-end delivery mechanisms working.Barry Warsaw2008-03-301-1/+1
| | | | | | | | | - 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.
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-13/+13
|
* Rework the basic infrastructure for qrunner process control. Split out theBarry Warsaw2008-02-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | functionality of mailmanctl into a separate master watcher script. mailmanctl has not yet been updated but that'll happen next. Fix DELIVERY_MODULE to name a handler instead of a module. Change make_instance to use pkg_resources instead of module.__file__. Change the qrunner and master processes coordination so that the qrunners are not restarted on SIGINT, because otherwise C-c just doesn't work. Now SIGUSR1 is how we'll implement 'mailman restart'. Add a database commit so that initializing the schema doesn't lock the sqlite database. Also, don't try to initialize the schema if the tables already exist. Use some sqlite magic to do this test. Move mailman.cfg.in into a new package Mailman/extras inside the tree. Also, MAILMAN_UID and MAILMAN_GID should be integers not strings. Convert the command runner to use an IHandler instance instead of handler module. Similarly for the outgoing runner, DELIVERY_MODULE now names an IHandler instance instead of a handler module.
* The start of a cleaning up of Errors.py. Eventually, I want to get rid ofBarry Warsaw2008-02-191-1/+0
| | | | | | | | | this module, in favor of moving exceptions into the interface modules that they are appropriate for. For now, this is just the low-hanging fruit. Along the way, clean up by reSTifying some interfaces and implementations.
* Reorganize the Handler architecture to a pipeline architecture with plugins.Barry Warsaw2008-02-171-0/+1
| | | | | | | | | | | | | | | | Now plugins can define additional handlers and the handlers can be organized into named pipelines. Modules are no longer the unit of a handler, now we use classes so we can assert interface conformance. The GLOBAL_PIPELINE is gone, replaced by the 'built-in' pipeline. The OWNER_PIPELINE is not yet replaced. I still need a few more tests of the basic pipeline architecture, although the individual handlers have pretty good coverage. Added the IHandler and IPipeline interfaces. Still broken, but not yet removed: Mailman/pipeline/moderate.py.
* Merge from trunk.Barry Warsaw2008-01-141-1/+4
|\
| * Update copyright years. Change a plugin name.Barry Warsaw2008-01-131-1/+1
| |
| * Remove dependency on SQLAlchemy.Barry Warsaw2008-01-131-1/+0
| |
| * Add an interface IArchiver which is used to calculate urls and send messagesBarry Warsaw2008-01-131-2/+3
| | | | | | | | | | | | | | | | | | | | to the archiver. Also add a plugin architecture for easily overriding the archiver, and hook this into the setup.py script. Updated CookHeaders.py and Scrubber.py handlers to use the plugged archiver. Updated doctests as appropriate. Fix a typo in the setup.py file.
| * Fix the requirement for the setuptools/bzr plugin. Update a copyrightBarry Warsaw2008-01-131-2/+2
| | | | | | | | year.
* | Use a more efficient way of deleting rows from a table, which coincidentallyBarry Warsaw2008-01-141-1/+1
| | | | | | | | <wink> works around the storm cache bug #178546.
* | First cut at a rules processor, separate from the disposition of rule hits.Barry Warsaw2007-12-271-4/+3
|/ | | | | | | | | | | | | | The basic idea is that we process rules on a mlist, message, metadata triplet making a list of all rules that hit. Then a different part of the system will decide on the disposition of a message based on which rules hit and their priority. The doctest and plugin architecture is in place, including the tie-in to setup.py. Ported the first rule -- emergency.py -- to the new rule processor. We no longer need SQLAlchemy as a requirement, and the setuptools/bzr plugin name has changed.