Fri, 22 Jan 2010 14:41:08 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:41:08 +0100] rev 4335
backport stable
Fri, 22 Jan 2010 14:40:29 +0100 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:40:29 +0100] rev 4334
3.6 api update
Fri, 22 Jan 2010 14:40:14 +0100 [vreg] object_by_id should not have been deprecated. Fix facets.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:40:14 +0100] rev 4333
[vreg] object_by_id should not have been deprecated. Fix facets. it was *designed* to be able to force an object retreival when selection is potentially not possible. For instance using select instead of object_by_id in get_facet totally breaks the implementation since in get_facet we've not context result set, and we ends up with a NoSelectableObject exception.
Fri, 22 Jan 2010 12:25:54 +0100 fix stupid typo ... stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 22 Jan 2010 12:25:54 +0100] rev 4332
fix stupid typo ...
Fri, 22 Jan 2010 11:41:04 +0100 fix condition to paginate a result set stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:41:04 +0100] rev 4331
fix condition to paginate a result set
Fri, 22 Jan 2010 11:40:22 +0100 make rollback available in shell (as commit is)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:40:22 +0100] rev 4330
make rollback available in shell (as commit is)
Fri, 22 Jan 2010 11:40:09 +0100 add a reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:40:09 +0100] rev 4329
add a reminder
Fri, 22 Jan 2010 11:18:13 +0100 fix indentation / tab pbs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:18:13 +0100] rev 4328
fix indentation / tab pbs
Fri, 22 Jan 2010 10:43:12 +0100 fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:43:12 +0100] rev 4327
fix name error
Fri, 22 Jan 2010 10:32:00 +0100 add approximated version number to deprecation warning
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:32:00 +0100] rev 4326
add approximated version number to deprecation warning
Fri, 22 Jan 2010 10:30:11 +0100 oops, missing return
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:30:11 +0100] rev 4325
oops, missing return
Fri, 22 Jan 2010 10:07:29 +0100 we need extrapath when trying to import site_cubicweb files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:07:29 +0100] rev 4324
we need extrapath when trying to import site_cubicweb files
Fri, 22 Jan 2010 10:07:03 +0100 move extra path computing as a configuration class property so we can reused it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:07:03 +0100] rev 4323
move extra path computing as a configuration class property so we can reused it
Fri, 22 Jan 2010 08:49:16 +0100 first draft for a simple hooks based custom attribute storage,
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 08:49:16 +0100] rev 4322
first draft for a simple hooks based custom attribute storage, with a BytesFileSystemStorage POC implementation. Basically: * a dictionary contains maps from which attribute of which entity types are mapped to which custom storage * hooks check for one of these entity type being added/modified/deleted * read is based on the sql generator callback mecanism (used in vcsfile for instance) * all storages have the same basic interface (read, add, update, delete), and should be pluggable in a transparent way (except at migration time when one want to change from a storage to another) * the sample BytesFileSystemStorage: * may store Bytes attributes content of any entity type as file on the file system * is based on one FSPATH rql/sql function and another _fsopen only available in sql * has a dumb file name allocation algorithm
Fri, 22 Jan 2010 08:40:38 +0100 d-t-w
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 08:40:38 +0100] rev 4321
d-t-w
Thu, 21 Jan 2010 17:38:31 +0100 closes #345410: two_lines_rset, two_cols_rset, two_etypes_rset are badly named
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 17:38:31 +0100] rev 4320
closes #345410: two_lines_rset, two_cols_rset, two_etypes_rset are badly named replaced by multi_lines_rset, multi_columns_rset, multi_etypes_rset, all taking optional 'nb' argument allowing to specify and exact count. Bw compat is kept, usage of deprecated function updated in cw itself. Also drop custom at_least_two_columns selector (in views.plots) since it was the same as multi_columns_rset. Hopefuly the renaming will help in avoid such pb... We should now decide if we want to deprecate one_* selector in favor of multi_*(nb=1). See note on this at then end of selectors.py
Thu, 21 Jan 2010 17:03:30 +0100 fix #636936: read_permission relation should not be mandatory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 17:03:30 +0100] rev 4319
fix #636936: read_permission relation should not be mandatory
Thu, 21 Jan 2010 16:58:40 +0100 fix #615848: undefined 'new' variable was refering to the newly introduced subquery / remove_subquery doesn't take an undefine argument (probable copy/paste from the remove_node call) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 16:58:40 +0100] rev 4318
fix #615848: undefined 'new' variable was refering to the newly introduced subquery / remove_subquery doesn't take an undefine argument (probable copy/paste from the remove_node call)
Thu, 21 Jan 2010 16:52:35 +0100 some docstring stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 16:52:35 +0100] rev 4317
some docstring
Thu, 21 Jan 2010 14:10:23 +0100 [doc] reformulate dependencies stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 14:10:23 +0100] rev 4316
[doc] reformulate dependencies
Thu, 21 Jan 2010 11:13:39 +0100 [views] FinalView should display an empty string if value is None stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 21 Jan 2010 11:13:39 +0100] rev 4315
[views] FinalView should display an empty string if value is None
Thu, 21 Jan 2010 11:08:41 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:08:41 +0100] rev 4314
merge
Thu, 21 Jan 2010 11:07:32 +0100 move base form renderer label handling into a function to reuse it in CompositeFormRenderer and avoid seeing a tuple in column headers... stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:07:32 +0100] rev 4313
move base form renderer label handling into a function to reuse it in CompositeFormRenderer and avoid seeing a tuple in column headers...
Thu, 21 Jan 2010 11:02:36 +0100 minor schema deserialization optimizations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 11:02:36 +0100] rev 4312
minor schema deserialization optimizations
Thu, 21 Jan 2010 10:59:58 +0100 oopb, widget has been renamed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:59:58 +0100] rev 4311
oopb, widget has been renamed
Thu, 21 Jan 2010 10:57:20 +0100 specify formvid=edition to get multiple edition working w/ 3.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:57:20 +0100] rev 4310
specify formvid=edition to get multiple edition working w/ 3.6
Thu, 21 Jan 2010 10:52:47 +0100 reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:52:47 +0100] rev 4309
reminder
Thu, 21 Jan 2010 10:52:24 +0100 this clutter startup screen for little benefit, remove it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:52:24 +0100] rev 4308
this clutter startup screen for little benefit, remove it
Thu, 21 Jan 2010 10:51:07 +0100 update copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:51:07 +0100] rev 4307
update copyright
Thu, 21 Jan 2010 10:48:00 +0100 move bookmark related uicfg stuff into bookmark specific module, use the EditableURLWidget widget for Bookmark.path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:48:00 +0100] rev 4306
move bookmark related uicfg stuff into bookmark specific module, use the EditableURLWidget widget for Bookmark.path
Thu, 21 Jan 2010 10:47:01 +0100 new field's responsibility POC: EditableURLWidget allow to edit Bookmark.path in two separated fields, displaying unquoted values which are requoted on form post processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:47:01 +0100] rev 4305
new field's responsibility POC: EditableURLWidget allow to edit Bookmark.path in two separated fields, displaying unquoted values which are requoted on form post processing
Thu, 21 Jan 2010 10:42:37 +0100 refactor field's value retreiving from the widget (eg 'display value' concept):
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:42:37 +0100] rev 4304
refactor field's value retreiving from the widget (eg 'display value' concept): * kill field's display_value method, since getting value specified in a previous post or in req.form should be the widget responsibility (the widget nows what inputs to display, not the field) * new typed_value / format_value on widgets, mainly to ease overriding
Thu, 21 Jan 2010 10:39:12 +0100 dom_id now accepts a suffix argument as input_name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:39:12 +0100] rev 4303
dom_id now accepts a suffix argument as input_name
Thu, 21 Jan 2010 10:38:46 +0100 cleaner input_name implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jan 2010 10:38:46 +0100] rev 4302
cleaner input_name implementation
Thu, 21 Jan 2010 10:21:09 +0100 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: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.
Thu, 21 Jan 2010 10:19:38 +0100 new url_parse_qs method on base request to parse unicode url formatted query strings
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
Wed, 20 Jan 2010 17:07:48 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Jan 2010 17:07:48 +0100] rev 4299
merge
Wed, 20 Jan 2010 09:00:36 +0100 enable cubicweb-ctl db-dump and db-restore on Windows with SQL Server stable
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.
Wed, 20 Jan 2010 15:03:30 +0100 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 15:03:30 +0100] rev 4297
3.6 api update
Wed, 20 Jan 2010 14:41:04 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:41:04 +0100] rev 4296
merge
Wed, 20 Jan 2010 14:39:44 +0100 allow control of generic relations field display through display_fields
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
Wed, 20 Jan 2010 14:39:10 +0100 no self._cw on widget objects while '_' is defined locally
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
Wed, 20 Jan 2010 14:38:45 +0100 delete remaining stuff w/ handling of the generic relations
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
Wed, 20 Jan 2010 14:34:06 +0100 test update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 14:34:06 +0100] rev 4292
test update
Wed, 20 Jan 2010 13:03:08 +0100 clear vreg's parent_classes cache to fix etype cache / auto-reloading bug
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.
Wed, 20 Jan 2010 11:31:38 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:38 +0100] rev 4290
merge
Wed, 20 Jan 2010 11:31:28 +0100 fix bad indent stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:31:28 +0100] rev 4289
fix bad indent
Wed, 20 Jan 2010 11:29:58 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:58 +0100] rev 4288
backport stable
Wed, 20 Jan 2010 11:29:08 +0100 cleanup stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:29:08 +0100] rev 4287
cleanup
Wed, 20 Jan 2010 11:29:00 +0100 fix bug: the 'table' argument is overwritten by the loop variable, causing latter crash due to this missing information stable
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
Wed, 20 Jan 2010 11:27:41 +0100 don't record deambiguifier when it has no type restriction using 'is', so we don't miss later some available constraints stable
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
Wed, 20 Jan 2010 11:23:27 +0100 fix warning stack level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:23:27 +0100] rev 4284
fix warning stack level
Wed, 20 Jan 2010 11:23:18 +0100 cw 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 11:23:18 +0100] rev 4283
cw 3.6 api update
Wed, 20 Jan 2010 10:14:14 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:14:14 +0100] rev 4282
merge
Wed, 20 Jan 2010 10:13:45 +0100 merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:13:45 +0100] rev 4281
merge
Wed, 20 Jan 2010 10:13:02 +0100 more input/button fixes stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:13:02 +0100] rev 4280
more input/button fixes
Wed, 20 Jan 2010 10:10:17 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:10:17 +0100] rev 4279
backport stable
Wed, 20 Jan 2010 10:06:53 +0100 cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 10:06:53 +0100] rev 4278
cleanup
Wed, 20 Jan 2010 10:06:12 +0100 turn all the stuff used to handle 'generic relations' in forms into proper
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.
Wed, 20 Jan 2010 08:43:41 +0100 fix tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jan 2010 08:43:41 +0100] rev 4276
fix tests
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip