Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 19:58:04 +0200] rev 5160
[hook] proper bad .events detection. Fix unittest_hook
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 19:08:07 +0200] rev 5159
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 18:51:17 +0200] rev 5158
[test] _gc_debug deleted from etwist.server
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 18:36:09 +0200] rev 5157
[doc/book] talk about reloadComponent, misc tweaks and notes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 18:03:52 +0200] rev 5156
[doc/book] add q/a on i18n customisation, misc tweaks
Adrien Chauve <adrien.chauve@logilab.fr> [Tue, 06 Apr 2010 16:50:53 +0200] rev 5155
Switched from TwistedWeb2 to TwistedWeb
- added HTTPResponse class in etwist/http.py (could be then abstracted in cubicweb/web)
- added twisted.web2 http_headers.py file in cubicweb/web to handle HTTP headers conversion between raw headers and python object
- deleted caching for base views (except for startup views). A better solution would be using weak entity tags (but they don't seem
to be implemented in twisted.web).
- added forbidden access message when browsing static local directories
- tested with TwistedWeb 8, 9 and 10
TODO:
=====
- Handle file uploading in forms.
twisted.web seems to keep very little information (only file content) about uploaded files in twisted_request.args['input_field_name']. But it doesn't seem to keep track of filenames.
Possible solutions :
- use web2 code to parse raw request content still stored and available in twisted_request.content
- find a magic function in twisted.web API to get the filenames
- More tests.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 16:04:37 +0200] rev 5154
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 16:04:50 +0200] rev 5153
[ldap] fix email synchronization code: bad rql query + avoid integrity error on creating the address + nicer use_email / primary_email handling
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 15:25:56 +0200] rev 5152
[doc/book] adjust a bit
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 15:11:51 +0200] rev 5151
[doc/book] expand the js chapter with an ajax story