Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:40:29 +0100] rev 4334
3.6 api update
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.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 22 Jan 2010 12:25:54 +0100] rev 4332
fix stupid typo ...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:41:04 +0100] rev 4331
fix condition to paginate a result set
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)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:40:09 +0100] rev 4329
add a reminder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 11:18:13 +0100] rev 4328
fix indentation / tab pbs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 10:43:12 +0100] rev 4327
fix name error
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:32:00 +0100] rev 4326
add approximated version number to deprecation warning
syt@www.fleurdetomate.fr [Fri, 22 Jan 2010 10:30:11 +0100] rev 4325
oops, missing return
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
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
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 08:40:38 +0100] rev 4321
d-t-w
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