Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 11:28:58 +0200] rev 7427
[ajax js/css] modconcat fix: load code exactly once (auc, fcayre)
* introduces cw.ajax namespace (currently hosts only recent modconcat functionality)
* handle load-one/load-many-at-once edge case
* properly handle already-loaded js resource
* avoid .appendTo to trigger script evaluation since from jquery 1.5 this results in uncached ajax calls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 08:51:45 +0200] rev 7426
[test] update test broken by previous commit
Florent Cayré <florent.cayre@gmail.com> [Wed, 25 May 2011 08:35:20 +0200] rev 7425
[entity fetch_attrs] remove ambiguous relations on different etypes from fetched attrs or it may produce wrong related results; closes #1700896
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 24 May 2011 10:33:43 +0200] rev 7424
typo : s/undoed/undone/
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 May 2011 11:36:43 +0200] rev 7423
[cwvreg] inline function dump_class()
Grepping the entire code base (cubicweb+all the known cubes) shows that
inlining this function is harmless: no one is using it.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 24 May 2011 08:56:55 +0200] rev 7422
[js/ajax] undeprecate (async)remoteExec. closes #1381205
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 May 2011 08:49:58 +0200] rev 7421
[rql2sql] closes #1697862: ORDERBY SUM(C) cancel GROUPBY by wrongly adding C to grouped variables
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:35:09 +0200] rev 7420
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7419
Added tag cubicweb-debian-version-3.12.5-1 for changeset 6dfe78a0797c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7418
Added tag cubicweb-version-3.12.5 for changeset ae33197db1f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:34:29 +0200] rev 7417
3.12.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:28:03 +0200] rev 7416
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:27:00 +0200] rev 7415
[views/table (facetform)] introduced in facetbox, was missing in tableview form filter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:22:30 +0200] rev 7414
[web.facet] self.w -> w
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:09:01 +0200] rev 7413
[web/facet|views/table] bump a bit some heights, split table view methods for easier subclassing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:29:50 +0200] rev 7412
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:55 +0200] rev 7411
cleanup and update some copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:33 +0200] rev 7410
[migractions] fix change_attribute_type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:15 +0200] rev 7409
[migractions] dropped_constraints should accept only droprequired without cstrtype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:20:51 +0200] rev 7408
[form rendering] some refactoring to ease FormRenderer overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:49:57 +0200] rev 7407
[deprecation] drop remaining warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:48:26 +0200] rev 7406
backport 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
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
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
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
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)
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
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.
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'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:36:26 +0200] rev 7397
backport 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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:43:23 +0200] rev 7395
[rset] close #1683703: rset.get_entity crash on rql query with subquery and aggregat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:40:44 +0200] rev 7394
[rql2sql] fix generated sql for eid comparison. closes #1638695
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:05:11 +0200] rev 7393
fix some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:04:47 +0200] rev 7392
[querier test] test groupby function call / column number
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 May 2011 07:37:13 +0200] rev 7391
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 21:41:50 +0200] rev 7390
[plot views] don't paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:25:33 +0200] rev 7389
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:24:00 +0200] rev 7388
[url rewriting] fix nasty bug in build_rset inner function: the same dictionary is used by all queries, hence triggering potentially important bugs on concurrent requests (this dictionary goes back and forth the repository)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 17:05:22 +0200] rev 7387
[hooks selection optimization] prune hooks when multiple entities are concerned by a hm.call_hooks() (closes: #1672022)
the idea is to make a first pass over all the hooks in the registry and to mark
put some of them in a disabled list. The disabled hooks are the one which:
* are disabled at the session level
* have a match_rtype or an is_instance selector which does not
match the rtype / etype of the relations / entities for
which we are calling the hooks. This works because the
repository calls the hooks grouped by rtype or by etype when
using the entities or eids_to_from keyword arguments
Only hooks with a simple selector or an AndSelector of simple
selectors (is_instance and match_rtype) are considered for disabling.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 11:36:42 +0200] rev 7386
[repo test] datafeed parser's process method should now take raise_on_error argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 10:17:48 +0200] rev 7385
[datafeed] propagate raise_on_error to parser's process method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 16 May 2011 10:19:22 +0200] rev 7384
[http] Make a better __repr__ for Status responce exception.
This help debug.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 May 2011 18:47:03 +0200] rev 7383
[schema] fix imprecise error message
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 13 May 2011 14:58:16 +0200] rev 7382
fix name error introduced in previous changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:51 +0200] rev 7381
[server test] restore logging level after test end
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:48 +0200] rev 7380
[web data] fix datadir handling to avoid web test failure introduced somewhere in default branch