summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Several RESTful updates.Barry Warsaw2009-05-064-10/+33
| | | | | | * Fix a typo in the runner * Add support for 404 Not Found exceptions * Suppress sha module deprecation warnings from lazr.restful
* /sys -> /systemBarry Warsaw2009-05-044-9/+8
|
* A working test of the REST server. http://localhost:8001/3.0/sys returnsBarry Warsaw2009-05-046-8/+136
| | | | useful information. It's GET only atm.
* The very basics of a working REST server. Only works for localhost:8001/sysBarry Warsaw2009-05-037-23/+111
|
* Moving closer now.Barry Warsaw2009-05-028-61/+179
| | | | | | | | | * Use the source version of lazr.restful until it's cheeseshopped. * IHasGet -> IResolvePathNames * path_override -> None; we don't need this * Simplify publication. We don't need anything fancy, except that what sucks is that it seems like we need to unwrap the security proxy in callObject() * Adaptation to IAbsoluteURL still doesn't work right.
* Make things import.Barry Warsaw2009-04-022-3/+98
|
* More checkpointing.Barry Warsaw2009-04-025-4/+14
|
* Checking pointing all the ZCA and restful wiring that I really don'tBarry Warsaw2009-04-028-2/+235
| | | | understand. Cargo culting FTW.
* Checkpointing more REST stuffBarry Warsaw2009-04-014-0/+134
|
* Checkpointing restful annotations.Barry Warsaw2009-04-013-6/+19
|
* Hook in lazr.restful (which isn't in the Cheeseshop yet).Barry Warsaw2009-04-016-19/+132
| | | | | | | Add infrastructure that the first REST interface will use, i.e. providing the Mailman and Python versions. Update bin/version
* Oops!Barry Warsaw2009-03-291-31/+0
|
* Add argparse 'cause I think this might end up being cool.Barry Warsaw2009-03-2919-151/+108
| | | | | | | | 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.
* Bye bye plugins module.Barry Warsaw2009-03-291-74/+0
|
* Last few conversions to pkg_resources instead of listdir'ing the file systemBarry Warsaw2009-03-292-6/+4
| | | | directly.
* typoBarry Warsaw2009-03-291-1/+1
|
* Move the Action and NewsModeration enums into their own interface files.Barry Warsaw2009-03-2510-55/+79
|
* Get rid of the mailman.scrubber entry point.Barry Warsaw2009-03-102-4/+7
|
* Get rid of the mailman.rules entry point.Barry Warsaw2009-03-093-13/+12
|
* Get rid of the mailman.handlers entry point.Barry Warsaw2009-03-092-11/+10
|
* Get rid of mailman.commands entry point.Barry Warsaw2009-03-091-4/+13
|
* __all__Barry Warsaw2009-03-091-0/+4
|
* Remove the mailman.database setup.py plugin, instead opting for defining theBarry Warsaw2009-03-053-5/+10
| | | | database class in the configuration file.
* Minor cleanupsBarry Warsaw2009-03-053-4/+6
|
* There are some situations where the RFC 2919 List-ID header must be explicitlyBarry Warsaw2009-03-036-21/+73
| | | | | set. Make this possible by moving list_id to an attribute of the MailingList object instead of hard-coding its calculation in cook_headers.py.
* Convert content filter and acceptable aliases away from pickle types.Barry Warsaw2009-03-0311-114/+440
| | | | | | | * Add an adapter from mailing lists to acceptable alias set. Use this instead of the old acceptable alias interface, which is not removed. * Add contentfilter table * Add a bunch of missing docstrings
* acceptable_aliases are no longer a pickle.Barry Warsaw2009-02-236-18/+149
|
* Get rid of one_last_digest. Move this into a separate OneLastDigest table.Barry Warsaw2009-02-2212-96/+349
| | | | | | | | | | | | | Make it explicit to get the last digest (I could imagine an user selecting not to). Actually add tests for this. Start to get rid of 'from storm.locals import *' in favor of more specific imports. Start to use Store.of() instead of config.db.store where we can. Rework (delivery)MemberRosters to use the Member attributes. This ensures that the layered lookup happens at the expense of query optimization. Sundry and various cleanups.
* Major cleanup of the automatic response stuff.Barry Warsaw2009-02-1910-158/+154
| | | | | | | | | inject_message() grows a keyword argument dictionary which gets merged into the message metadata. Move NODELTA into the autorespond interface as ALWAYS_REPLY. Convert the integer response values into the ResponseAction enum.
* Complete the porting of the autoresponse implementation, with no need of theBarry Warsaw2009-02-193-69/+193
| | | | | | old pickle attributes. Fix a typo in the datetime.py module.
* Refactor.Barry Warsaw2009-02-193-76/+63
|
* Add IAutoResponseSet.last_response() and fix a few bugs with the datetimeBarry Warsaw2009-02-196-10/+67
| | | | | testing harness. Remove the {admin,postings,request}_response attributes, but these are not apparently tested.
* Eradicate hold_and_cmd_autoresponses.Barry Warsaw2009-02-175-30/+40
|
* Add a "mock and monkey" layer to set up testing infrastructure, e.g. forBarry Warsaw2009-02-174-4/+102
| | | | | | | | | | predictable dates and times. Fill out the autorespond.txt test to show that when the date flips over, the response counts reset. Add a date/time factory which we should use rather than the built-in datetime for now() and today() so that they can be appropriately tested.
* Checkpointing the conversion of automatic responses away from pickles.Barry Warsaw2009-02-165-0/+271
|
* Remove one more unused function.Barry Warsaw2009-02-121-21/+0
|
* Remove or move QuotePeriods(), LCDomain(), and ValidateEmail from the UtilsBarry Warsaw2009-02-127-50/+79
| | | | module.
* Remove Utils.ParseEmail() and Utils.midnight().Barry Warsaw2009-02-125-34/+62
|
* Much clean up of the language code, though more can be done. Factor out theBarry Warsaw2009-02-1234-162/+227
| | | | | | | 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.
* Clean up and reorganization languages and the language manager.Barry Warsaw2009-02-108-173/+162
|
* More cleanup of Utils.py on the path of its eventual demise.Barry Warsaw2009-02-0955-85/+12
| | | | | Move the attic and web directories out of src/mailman for easier grepping. Eventually these will go away.
* Update an __all__ section.Barry Warsaw2009-02-091-0/+2
|
* Move mailman.Message to mailman.email.Message. Rename Message.get_sender() toBarry Warsaw2009-02-0936-233/+172
| | | | | | | | | 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.
* Branch mergeBarry Warsaw2009-02-075-19/+25
|\
| * Remove the Mailman.Mailbox module; use the standard Python mailbox module.Barry Warsaw2009-02-076-23/+37
| |
* | Work around the limitation in Python 2.6's OptionParser class's refusal toBarry Warsaw2009-02-041-4/+28
| | | | | | | | accept unicode options strings in its add_option() method.
* | Repair some test failures and fix a doc typo as reported by Patrick Koetter.Barry Warsaw2009-02-042-22/+12
|/
* Get an obsolete module out of our way.Barry Warsaw2009-02-041-0/+0
|
* Massive digester rework.Barry Warsaw2009-02-0416-891/+1511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix 64 bit incompatibility.Barry Warsaw2009-01-291-3/+3
|