| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Update the lazr.restful IWebServiceConfiguration implementation to include the
new hop_by_hop_headers attribute, by way of BaseWSGIWebServiceConfiguration.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
instead of a 500 for NotFound errors.
|
| | |
|
| | |
|
| |
|
|
|
| |
Also, extend the ListManager so that it implements IResolvePathNames, so that
it can get() sub-mailing lists.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
the improvement of the publication's handleException() method.
Pick some lint in traverse.py.
|
| |
|
|
|
|
| |
return an HTTP 400 error, though it does not seem to work.
Expose list creation through the API.
|
| |
|
|
|
|
| |
* Better titles in the IMailingList interface.
* Expose the real_name attribute.
* Refactor URL mappers.
|
| |
|
|
|
|
|
|
| |
means commit() is now transaction.commit() in doctests.
Add tests of extended domain creation, which exposes the need to unlock the
database (via transaction.abort()) so that the foreground test process doesn't
lock the background REST server process.
|
| |
|
|
|
|
|
|
|
| |
webserver.
Fix the https/http urls.
Add the adapter for HTTPCharsets so POSTs work properly. Nice little cargo
cult from lazr.restful.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add get_mailing_lists() which is used just for the web interface. Because of
a bug in lazr.restful, this cannot be a generator.
Similar change in IDomainSet.
Instrument IListManager to be vended through the api.
The REST server must be run in a separate process since SQLite does not like
objects created in one thread to be used in another thread. Note that this
breaks the domain.txt test, but domains really need to be in the database
anyway.
|
| | |
|
| |
|
|
| |
404 if the named domain is missing.
|
| |
|
|
| |
to the varnish.
|
| |
|
|
| |
Fix system absolute url.
|
| |
|
|
|
|
|
| |
* 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.
|
| | |
|
| |
|
|
| |
given, then SMTPLayer is used by default.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
| |
* Fix a typo in the runner
* Add support for 404 Not Found exceptions
* Suppress sha module deprecation warnings from lazr.restful
|
| | |
|
| |
|
|
| |
useful information. It's GET only atm.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
| | |
|
| | |
|
| |
|
|
| |
understand. Cargo culting FTW.
|
| |
|