summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Integrate pylint and Sphinx documentation buildout targets.Barry Warsaw2009-06-302-0/+99
| | | | | | | | * 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.
* Implement returning multiple domains, a single specific domain, and raising aBarry Warsaw2009-06-292-1/+87
| | | | 404 if the named domain is missing.
* Add an adapter for IDomain to IAbsoluteURL and add some zope.security onionsBarry Warsaw2009-06-295-11/+56
| | | | to the varnish.
* Set testing threads as daemon so they won't hang.Barry Warsaw2009-06-293-4/+6
| | | | Fix system absolute url.
* More REST server updates.Barry Warsaw2009-06-2915-103/+157
| | | | | | | * 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.
* typoBarry Warsaw2009-05-271-1/+1
|
* When cleaning up the artifacts of a list being deleted, be more careful forBarry Warsaw2009-05-275-9/+51
| | | | | | | | | | | | | | 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.
* Allow for setting the doctest layer in the doctest package's __init__. If notBarry Warsaw2009-05-274-16/+68
| | | | given, then SMTPLayer is used by default.
* Get rid of some useless stuff.Barry Warsaw2009-05-252-11/+8
|
* Refactor __import__'s into a separate utility module.Barry Warsaw2009-05-1613-52/+95
|
* rsplit -> rpartitionBarry Warsaw2009-05-1510-30/+30
|
* Back out that last change in override order between the environment variableBarry Warsaw2009-05-151-2/+4
| | | | and -C.
* Add initialization pre- and post- hooks, configurable in the config file.Barry Warsaw2009-05-157-17/+169
| | | | | | | | | | | This lets you run a bit of Python at various stages of the initialization process. Move the warnings filters to the top mailman package __init__.py so you always get it. lazr.restful is too chatty. The environment variable $MAILMAN_CONFIG_FILE now overrides -C. Hmm, I think we really want it the original way.
* A little bit of cleanup.Barry Warsaw2009-05-112-7/+2
|
* Linux signal management appears to work differently than OS X. Introduce aBarry Warsaw2009-05-114-2/+16
| | | | | runner flag to indicate whether the qrunner parent process should intercept signals or not. The REST server should not intercept signals.
* More tests for the REST server, this time, for the queue runner.Barry Warsaw2009-05-107-18/+83
| | | | | | | | | | | Add logging to the RESTRunner. Also, use pkg_resources.resource_stream() instead of .resource_string() where appropriate. Add a bunch of XXX comments for things I need to figure out about the Zope-ish parts of the lazr.restful implementation. Change __getitem__() api to _lookup().
* 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.