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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:29:41 +0200] rev 5150
[doc] remove useless directories
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:27:02 +0200] rev 5149
temporary move
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:17:18 +0200] rev 5148
[web components] refactor as book recommends :$
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:11:40 +0200] rev 5147
more / cleaner / in code documentation of vreg, selectors and appobject
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:10:47 +0200] rev 5146
add note about running repository / client code
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 05 Apr 2010 09:06:16 +0200] rev 5145
added information about the naming conventions in schema.py
also:
* some typo fix
* note about ObjectRelation soon being deprecated
* clarified a few hazy points
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Apr 2010 17:27:53 +0200] rev 5144
[doc/book] a new chapter on how to use the ORM