Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Feb 2011 12:23:30 +0100] rev 6948
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 19:17:14 +0100] rev 6947
[js] using the actual registry fixes spurious warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:40 +0100] rev 6946
[pyrorql source] using 'time' option type is more convenient
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:39 +0100] rev 6945
[sources] refactor source creation and options handling
* options validation
* ease proper update of source's config on configuration change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 18:19:36 +0100] rev 6944
[sources] rewrite the way pyrorql mapping are stored in the database so it can be reused for other sources (eg datafeed+cwxml)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6943
[sources] reorganize abstract source code, drop no more used cleanup_entities_info and _cleanup_system_relations methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:05 +0100] rev 6942
[source schema] fix permission pb on cw_host_config_of relation + add composite on cw_source, so entities from a source are properly removed when the source is removed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Feb 2011 15:13:04 +0100] rev 6941
[repo, ms] optimise external source deletion by using source's eid instead of name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 06 Feb 2011 11:33:04 +0100] rev 6940
[rql2sql] should not select a neged relation as principal + simplify code for sql generation for attribute relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Feb 2011 10:02:48 +0100] rev 6939
[c-c] fix crash on delete instance + potential others when user don't specify db user's password
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Dec 2010 19:56:59 +0100] rev 6938
add a rql directive to restructuredtext
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Feb 2011 18:18:31 +0100] rev 6937
[pkg] bump dependency on logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6936
Added tag cubicweb-debian-version-3.10.8-1 for changeset 132b525de25b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 16:14:00 +0100] rev 6935
Added tag cubicweb-version-3.10.8 for changeset e581a86a68f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:12:03 +0100] rev 6934
3.10.8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Feb 2011 11:11:53 +0100] rev 6933
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 11:03:08 +0100] rev 6932
undo part of #6911
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 11:52:10 +0100] rev 6931
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:10:46 +0100] rev 6930
[test] add test for != operator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Feb 2011 10:08:44 +0100] rev 6929
[rql2sql] fix bug with NOT in "fake" having terms
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Feb 2011 10:29:56 +0100] rev 6928
[doc/book] simplify & fix the overview chapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:48:57 +0100] rev 6927
ooops :D
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:31:09 +0100] rev 6926
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:30:48 +0100] rev 6925
[ctxcomponents vreg] allow to specify 'no cache' using __cache argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:28:51 +0100] rev 6924
[js utils] backport some generic code from comments cube
to handle inline ajax form as you get to add comment to entities.
Following stuff has been generalized and backported to ease such things:
* lazy_view_holder() method on EntityCtxComponent class, to build
place holder where the form will be inserted
* ajax_composite_form() function in cw.web.views.ajaxedit, to build
the form itself
* reload() and reloadCtxComponentsSection() javascript function in
cubicweb.ajax.js for the javascript processing side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 31 Jan 2011 17:24:05 +0100] rev 6923
[doc] update photo web site tutorial: we're starting from cw 3.10/file 1.9+
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:13:47 +0100] rev 6922
[view] fix/enhance view.render
* give view init args when selecting row view
* optimize by avoiding re-selection on rset of size 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 23:11:28 +0100] rev 6921
[js lib] new string.rstrip method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 16:19:22 +0100] rev 6920
[ibreadcrumb] fix breadcrumb adapter backward compat
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 16:08:40 +0100] rev 6919
[selectors] modify workflow selectors: is_in_state, on_transition
- factorize `is_on_state` selector
- add new `on_transition` selector
Especially useful to match pending transitions to enable notifications when
your workflow allows several transition to the same states.
Note that if workflow `change_state` adapter method is used, this selector
will not be triggered.
In debug mode:
These both selectors will check against the entity current workflow if expected
values given in selector argument are valid.
ValueError exception will be raised for unmatching state/transition
names against the current workflow (generic etype workflow).
(check against custom workflow is not implemented)
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 15:23:47 +0100] rev 6918
[cw-ctl] use default `mkdtemp()` behaviour to store backup file internally
When using `mkdtemp(dir=instbkdir)`, a dedicated system user which hasn't the
permissions to write in /var/lib/cubicweb/instances/$INSTANCE/backup will not
be able to run the db-dump command.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 28 Jan 2011 11:21:45 +0100] rev 6917
[debian] fix lintian errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:24:19 +0100] rev 6916
[devtools] fix understanding of boundary constraint on db automatic population
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:15:14 +0100] rev 6915
[rset] fix entity building for some result set with UNION and subqueries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:12:13 +0100] rev 6914
[c-c] lgc 0.54 check for duplicated commands, this may occurs with cw where plugins are automaticall (re)loaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 15:11:26 +0100] rev 6913
[utils] support_args now support classes, searching if __init__ supports the arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Jan 2011 11:08:31 +0100] rev 6912
[schema sync] fix crash when bad inlinment detected, inlined is not in the locals
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 18:46:47 +0100] rev 6911
cleanup, docstring update
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 18:29:17 +0100] rev 6910
fix test broken by addition of new entity in test schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 16:28:00 +0100] rev 6909
[view] missing class on label span
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 27 Jan 2011 14:10:44 +0100] rev 6908
fix #1452413 : is_in_state selector does not match initial state of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:43:49 +0100] rev 6907
[component] refactor layout retrieval to handle case where we've an entity without rset properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:42:51 +0100] rev 6906
[forms] EntityFieldsForm now take extra mainentity argument, for usage with composite form (the main form) where one of the subform edits the main entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:41:00 +0100] rev 6905
[selectors] one_line_rset selector should also work when rset is None but an entity is specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:40:01 +0100] rev 6904
[workflow] fix warning: we want to see the adapted entity, not the adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 13:39:29 +0100] rev 6903
[js] fix deprecated call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:52 +0100] rev 6902
[uicfg] fix reledit rtag initialization for final relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:45:14 +0100] rev 6901
[uicfg] use INTERNAL_TYPES and WORKFLOW_TYPES to initialize indexview_etype_section dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:44:08 +0100] rev 6900
[rtags] fix NoTargetRelationTagsDict to ensure relation are tagged using '*' during initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jan 2011 07:42:18 +0100] rev 6899
[rtags] speepup initialization by avoiding to get file entity types relations (useless)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 17:44:38 +0100] rev 6898
[skel] try to generate warning free stub...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 12:21:47 +0100] rev 6897
[deprecation] kill remaining 3.6 warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 11:39:21 +0100] rev 6896
[migration] cwunique constraint schema fix must be done in bootstrap migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 10:50:38 +0100] rev 6895
[i18n] missing some english translation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:49:05 +0100] rev 6894
we must check constraint for all concerned entities and not stop at the first deleted one
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 26 Jan 2011 10:42:40 +0100] rev 6893
avoid creating a new instance of CleanupDeletedEidsCacheOp if nothing was deleted
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 15:16:05 +0100] rev 6892
[css] fix popup css (login box) for IE7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 Jan 2011 09:32:34 +0100] rev 6891
[user form] use InOutWidget to edit CWUser in_group relation
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 25 Jan 2011 12:50:56 +0100] rev 6890
[widgets, js] add a InOutWidget for multiple select
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 25 Jan 2011 12:09:59 +0100] rev 6889
improve massive deletion performance
change hooks.integrity._DelayedDeleteOp implementation to give it a chance of
processing the entities by chunks of reasonnable size (500 entities at a time)
adapt ssplanner.DeleteEntitiesStep to call a variant of glob_delete_entity with several entities.
That variant calls all the before_delete_entities hooks in one go, then
performs the deletion, and then calls all the after_delete_entities hooks. The
deletion is performed by grouping together entities by etype and by source.
adapt the HooksManager to call the hooks on a list of entities instead of on a single entity.
adapt the sources to be able to delete several entities of the same etype at once.
changed the source fti_(un)index_entity methods to fti_(un)index_entities taking a collection of entities.