Thu, 19 May 2011 17:53:46 +0200 [session] new methods on session to ease access to security/hooks control context managers stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:46 +0200] rev 7405
[session] new methods on session to ease access to security/hooks control context managers
Thu, 19 May 2011 17:53:01 +0200 [workflow] new 'fire_transition_if_possible' method on IWorkflowable to fire a transition if it's possible stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:01 +0200] rev 7404
[workflow] new 'fire_transition_if_possible' method on IWorkflowable to fire a transition if it's possible
Thu, 19 May 2011 17:53:00 +0200 [workflow] new 'incontext-state' view for IWorkflowable entities stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:00 +0200] rev 7403
[workflow] new 'incontext-state' view for IWorkflowable entities
Thu, 19 May 2011 16:39:24 +0200 [facets/table] vertically group facets by two when possible in order to have a more compact horizontal layout in table filter form
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 May 2011 16:39:24 +0200] rev 7402
[facets/table] vertically group facets by two when possible in order to have a more compact horizontal layout in table filter form
Thu, 19 May 2011 15:56:49 +0200 [workflow] add method on IWorkflowable to set initial state of an entity (closes #1686357) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 15:56:49 +0200] rev 7401
[workflow] add method on IWorkflowable to set initial state of an entity (closes #1686357)
Thu, 19 May 2011 11:50:54 +0200 [web test] fix test broken by making cw_source editable by managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 11:50:54 +0200] rev 7400
[web test] fix test broken by making cw_source editable by managers
Thu, 19 May 2011 10:53:17 +0200 [multi-sources] support for moving an entity from an external source (closes #343818)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:17 +0200] rev 7399
[multi-sources] support for moving an entity from an external source (closes #343818) Original need is to move a user from a ldap source to the system source so we can delete it from ldap without loosing information into the cubicweb instance. We can't wait for the user to be deleted from the ldap since it will be too late then to get back user attributes, so it has to be a manual operation to operate before actual deletion. This makes sense for other sources as well. So the idea is to make the "Any cw_source CWSource" relation editable by managers, and to watch changes of it. We then check the move is possible (ie from an external source to the system source) and do necessary stuff (essentially changing source information and copying data into the system source). Remaining pb is that we don't want the moved entity to be reimported later. To distinguish this state, the trick is to change the associated record in the 'entities' system table with eid=-eid while leaving other fields unchanged, and to add a new record with eid=eid, source='system'. External source will then have consider case where `extid2eid` return a negative eid as 'this entity was known but has been moved, ignore it'. Notice no ui is provided yet, it has currently to be done in a c-c shell.
Thu, 19 May 2011 10:53:11 +0200 [repository api] definitly kill usage of word 'pool' to refer to connections set used by a session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:11 +0200] rev 7398
[repository api] definitly kill usage of word 'pool' to refer to connections set used by a session Also document session's data storage and some other internals. Hopefuly things will get clearer. Closes #1684860: vocabulary confusion in repository code: notion of 'pool'
Thu, 19 May 2011 10:36:26 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:36:26 +0200] rev 7397
backport stable
Thu, 19 May 2011 10:35:20 +0200 [rql2sql] fix in 7394:d11d88bd08e8 was actually not needed stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:35:20 +0200] rev 7396
[rql2sql] fix in 7394:d11d88bd08e8 was actually not needed
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip