summaryrefslogtreecommitdiff
path: root/src/mailman/rest/publication.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove some files that are not needed for restish implementation.Barry Warsaw2010-02-251-65/+0
|
* Oh FFS. lazr.restful 0.9.18 totally broke our shit by introducingBarry Warsaw2010-02-161-0/+4
| | | | | | | | | | | | | | 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.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* Clean ups.Barry Warsaw2009-08-171-5/+1
|
* Use an adapter instead of custom handleException() code to return a 404Barry Warsaw2009-08-171-10/+2
| | | | instead of a 500 for NotFound errors.
* Use the new lazr.restful.simple.Publication as a base class.Barry Warsaw2009-08-171-50/+7
|
* Pick some lint.Barry Warsaw2009-08-061-1/+0
|
* Minor fixes.Barry Warsaw2009-08-061-1/+1
|
* Get rid of the Traverse class by checking for None returned from ob.get().Barry Warsaw2009-08-061-1/+4
|
* Fix the turning of application level exceptions into HTTP 400 errors, throughBarry Warsaw2009-08-061-0/+10
| | | | | | the improvement of the publication's handleException() method. Pick some lint in traverse.py.
* Clean a few more lints.Barry Warsaw2009-07-101-0/+2
| | | | | | | | | | | | | | 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.
* Add an adapter for IDomain to IAbsoluteURL and add some zope.security onionsBarry Warsaw2009-06-291-1/+2
| | | | to the varnish.
* Get rid of some useless stuff.Barry Warsaw2009-05-251-4/+1
|
* Several RESTful updates.Barry Warsaw2009-05-061-9/+12
| | | | | | * Fix a typo in the runner * Add support for 404 Not Found exceptions * Suppress sha module deprecation warnings from lazr.restful
* Moving closer now.Barry Warsaw2009-05-021-46/+21
| | | | | | | | | * 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-021-2/+96
|
* More checkpointing.Barry Warsaw2009-04-021-1/+4
|
* Checking pointing all the ZCA and restful wiring that I really don'tBarry Warsaw2009-04-021-0/+29
understand. Cargo culting FTW.