Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:38:46 +0100] rev 4302
cleaner input_name implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:21:09 +0100] rev 4301
when the vregistry is initialized, no need to call vreg.set_schema (else we trigger appobjects registration twice. This allows significant startup speedup.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:19:38 +0100] rev 4300
new url_parse_qs method on base request to parse unicode url formatted query strings
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Jan 2010 17:07:48 +0100] rev 4299
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Jan 2010 09:00:36 +0100] rev 4298
enable cubicweb-ctl db-dump and db-restore on Windows with SQL Server
os.system has some issues on Windows, especially regarding whitespace handling,
which subprocess handles correctly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 15:03:30 +0100] rev 4297
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:41:04 +0100] rev 4296
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:39:44 +0100] rev 4295
allow control of generic relations field display through display_fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:39:10 +0100] rev 4294
no self._cw on widget objects while '_' is defined locally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:38:45 +0100] rev 4293
delete remaining stuff w/ handling of the generic relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:34:06 +0100] rev 4292
test update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 20 Jan 2010 13:03:08 +0100] rev 4291
clear vreg's parent_classes cache to fix etype cache / auto-reloading bug
EtypeRegistry.parent_classes()'s is cached. When the registry is
reloaded, if the cache is not cleared, we might get the old list
of parent classes and that leads to strange bugs.
Typical scenario :
1/ start application in debug mode
2/ go to add/Bookmark -> everything's fine
3/ change the source
4/ reload add/Bookmark -> 'creation' not selectable because :
a/ cw detects a change in the source and reloads vreg
b/ cw tries to select 'creation' view for 'Bookmark'
- 'creation' view uses specified_etype_implements('Any')
- cw compares Bookmark.__bases__[0] (i.e. new version of
AnyEntity) with the old version of AnyEntity cached in
the vreg. They don't match => view is not applicable.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:38 +0100] rev 4290
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:28 +0100] rev 4289
fix bad indent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:58 +0100] rev 4288
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:08 +0100] rev 4287
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:00 +0100] rev 4286
fix bug: the 'table' argument is overwritten by the loop variable, causing latter crash due to this missing information
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:27:41 +0100] rev 4285
don't record deambiguifier when it has no type restriction using 'is', so we don't miss later some available constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:23:27 +0100] rev 4284
fix warning stack level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:23:18 +0100] rev 4283
cw 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:14:14 +0100] rev 4282
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:13:45 +0100] rev 4281
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:13:02 +0100] rev 4280
more input/button fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:10:17 +0100] rev 4279
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:06:53 +0100] rev 4278
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:06:12 +0100] rev 4277
turn all the stuff used to handle 'generic relations' in forms into proper
field / widget.
-> regroup code from web.request, web.controller, web.views.autoform, web.views.formrenderers,
web.views.editcontroller (!) into GenericRelationsField, GenericRelationsWidget in the editviews
module (together with the UnrelatedDiv view).
So:
* almost everything in one place
* no more specific behaviour in the form renderer
* almost no custom behaviour in autoform (simply add the field when it think it should)
Also, the form renderer now display field's value with colspan=2 when field.label is None.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 08:43:41 +0100] rev 4276
fix tests
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 20 Jan 2010 10:05:10 +0100] rev 4275
[rql2sql] added test that shows crash during sql generation
Original query in cubicweb-drh:
Any A,E,CV,group_concat(TN) GROUPBY A,E,CV WHERE A is Application, A for_person P, P has_studied_in E?, T? tags A, T name TN, A curriculum CV?
Corresponding bug in tracker: #628798