| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
multiversioned web services. In concept, that's a great idea, but in (current
as of 0.9.18) practice it sucks because it /forces/ us to adopt multiversions
when really I could care less. After gobs of painful experimentation, this
passes all the tests. I guess that means it's right <wink>.
Another, more reasonable fix is to re-order when logging is initialized. This
is moved to the start of initialize_2() because in the test environment, we
don't want to initialize the loggers until after the test configuration has
been pushed. Otherwise, because of the changes to support the FHS, logging
will go to the wrong place. This really only affects tests, since in
operational mode, initialize always happens immediately one after another.
|
| | |
|
| |
|
|
| |
* Add some additional doctests.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Also, extend the ListManager so that it implements IResolvePathNames, so that
it can get() sub-mailing lists.
|
| | |
|
| |
|
|
|
|
| |
* Better titles in the IMailingList interface.
* Expose the real_name attribute.
* Refactor URL mappers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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().
|
| | |
|
| | |
|
|
|
* 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.
|