Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:28:09 +0100] rev 4343
introduced dependency to lgc > 0.47 for new stacklevel argument to deprecated + new db backup/restore api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:27:30 +0100] rev 4342
handle lgc.adbh api changes within regards of backup/restore:
* new backup_commands method instead of backup_command
* some backend still return command as string as expected by os.system, not subprocess.call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:24:09 +0100] rev 4341
match_rtype hook selector now accepts frometypes/toetypes optional arguments to match only given subject/object entity types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:18:59 +0100] rev 4340
a selector MUST NO return None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:18:33 +0100] rev 4339
some fixes so that deprecation warning are properly localized
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:16:35 +0100] rev 4338
to ease overriding of field.choices using *function* (set using autoform_field_kwargs), give the field as named argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 25 Jan 2010 19:13:17 +0100] rev 4337
refactor attributes'value generator to deal with yams special
Attribute/NOW/TODAY values that may be used on [Interval]BoundConstraint
(BoundConstraint wasn't handled btw, fix this).
Besides passing 'entity' to generate_* function (needed to get value for
another attribute when computing one for instance):
* set nicer method names and makes clearer what's private/protected/public
* properly handle choices, constraints on float/date/datetime fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:42:01 +0100] rev 4336
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jan 2010 14:41:08 +0100] rev 4335
backport stable
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