summaryrefslogtreecommitdiff
path: root/src/mailman/app
Commit message (Collapse)AuthorAgeFilesLines
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-156-16/+9
| | | | package.
* As before, replace config.db.requests and config.db.pendings with utilities.Barry Warsaw2009-08-262-11/+11
|
* Replace the message_store instance on the database with an IMessageStoreBarry Warsaw2009-08-261-4/+7
| | | | utility.
* Remove the user_manager attribute from config.db and expose it as anBarry Warsaw2009-08-263-14/+18
| | | | IUserManager utility.
* Instead of using an adapter, use a utility to get the mailing list manager.Barry Warsaw2009-08-262-3/+6
|
* * Updated NEWS.txt for 3.0a3.Barry Warsaw2009-08-212-3/+5
| | | | | * Use the IListManager() adapter instead of hanging the list manager off of config.db. This makes the code somewhat cleaner.
* The basics of 'mailman members --add'.Barry Warsaw2009-08-161-1/+1
|
* 'mailman info' command.Barry Warsaw2009-08-121-1/+4
|
* Move BadDomainSpecificationError to domain.txt interface. Try to set this toBarry Warsaw2009-07-261-3/+3
| | | | | | return an HTTP 400 error, though it does not seem to work. Expose list creation through the API.
* Wow. Put domains into the database.Barry Warsaw2009-07-162-3/+5
| | | | | | | | Add an IDomainManager and a global domain manager which can be gotten by adapting the global config object. Add an IDomainCollection interface for exposing the domain manager onto the API.
* More lint picking.Barry Warsaw2009-07-042-2/+3
| | | | Fix a documentation link.
* Many pylint cleanups.Barry Warsaw2009-06-305-15/+36
|
* More REST server updates.Barry Warsaw2009-06-291-17/+0
| | | | | | | * Get rid of in-Python adapter registration in favor of ZCML. Eventually, I'd like to get rid of the ZCML. * Set the view_permission to None, but it's still not right. * Add IDomainSet and an adapter from Configuration to IDomainSet.
* When cleaning up the artifacts of a list being deleted, be more careful forBarry Warsaw2009-05-271-1/+3
| | | | | | | | | | | | | | artifacts that don't exist. In that case, just skimp them rather than complain. Docstring style cleanup. Allow for doctest layer specification in the package's __init__.py, defaulting to SMTPLayer if not given. This is probably too coarse for long term use, but it works for now. Make sure pipelines.txt properly cleans up its digest; it must be flushed after clearing.
* Refactor __import__'s into a separate utility module.Barry Warsaw2009-05-161-6/+3
|
* rsplit -> rpartitionBarry Warsaw2009-05-151-6/+6
|
* Add argparse 'cause I think this might end up being cool.Barry Warsaw2009-03-292-18/+67
| | | | | | | | Refactor the finding of components so that it's much easier to find and register the ones that come with Mailman by default. Move all the old cmd_*.py commands into the attic. These will eventually be ported to the new framework.
* Move the Action and NewsModeration enums into their own interface files.Barry Warsaw2009-03-251-1/+1
|
* Get rid of mailman.commands entry point.Barry Warsaw2009-03-091-4/+13
|
* Refactor.Barry Warsaw2009-02-191-70/+0
|
* Eradicate hold_and_cmd_autoresponses.Barry Warsaw2009-02-171-22/+38
|
* Remove or move QuotePeriods(), LCDomain(), and ValidateEmail from the UtilsBarry Warsaw2009-02-123-5/+6
| | | | module.
* Much clean up of the language code, though more can be done. Factor out theBarry Warsaw2009-02-124-16/+14
| | | | | | | language manager stuff into a separate Language class, and be clearer in the APIs about whether we want a language code or a Language instance. The impetus to this was to get rid of Utils.GetCharSet(), which is done.
* Move mailman.Message to mailman.email.Message. Rename Message.get_sender() toBarry Warsaw2009-02-095-22/+23
| | | | | | | | | Message.sender (property) and Message.get_senders() to Message.senders (another property). The semantics of .sender is slightly different too; it no longer consults config.mailman.use_envelope_sender. Add absolute_import and unicode_literals to Utils.py, and clean up a few imports.
* Get an obsolete module out of our way.Barry Warsaw2009-02-041-426/+0
|
* Massive digester rework.Barry Warsaw2009-02-041-0/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves actual digest creation and sending into a new queue runner. That way, digest creation does not block the main incoming processor. Lots of code clean up and reorganization too, and many fixes. digest_last_sent_at: Make this a DateTime digest_size_threshold: Make this a Float digest_volume_frequency: Make this an Enum DigestFrequency: new enum Fix up IMailingList interface to reflect reality. In Runner base class, allow for msg.get_sender() to return a False value. If this happens (as it can with the empty marker messages used to signal the digester that there's work to do), just use the list's preferred language. Give the retry.py and incoming.py queue runner modules some proper epilogues. The EmptyingRunner (for testing) logs itself as the runner its wrapping. The digest file name now ends in .mmdf since that's the format we're using. Add 'create_list' to doctest globals. Add a Mailbox class to add support for the context manager protocol.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-259-0/+1133
correctly regardless of how it's used.