Tue, 19 Mar 2013 16:54:31 +0100 Added tag cubicweb-version-3.16.1 for changeset d95cbb7349f0 cubicweb-debian-version-3.16.1-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:31 +0100] rev 8738
Added tag cubicweb-version-3.16.1 for changeset d95cbb7349f0
Tue, 19 Mar 2013 16:53:57 +0100 prepare 3.16.1 cubicweb-version-3.16.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:53:57 +0100] rev 8737
prepare 3.16.1
Tue, 19 Mar 2013 15:30:06 +0100 [views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:30:06 +0100] rev 8736
[views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110) Today, it is possible to call .related and get a huge unlimited database-dos-inducing resultset that will be nevertheless limited a bit further in pure python in the `autolimited` view. While we cannot completely avoid potential denial of services such as these we mitigate the problem with the default ui settings: if the inner vid is `autolimited`, then the relation result sets is computed using the user-defined limit. This change respects the semantics of the `autolimited` view and shouldn't break anything.
Tue, 19 Mar 2013 15:18:22 +0100 [entity] ensure the .related(entities=False) parameter is honored all the way down (closes #2755994)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:18:22 +0100] rev 8735
[entity] ensure the .related(entities=False) parameter is honored all the way down (closes #2755994) As of today, such a call will always fill the relation cache by calling .entities() on every single related rset entry. As a consequence, the `limit` parameter handling also had to be fixed. It was bogus in the following ways: * not used in the related_rql, hence potentially huge database requests, but also actually * foolishly used in the .entities()-calling cache routine we now bypass (this changeset ticket's main topic) Now: * we set a limit on the rql expression, and * forbid caching if given a non-None limit (as we don't want to make the cache handling code more complicated than it is already) With this, entity.unrelated gets a better limit implementation (so the code in related/unrelated is nice and symmetric) Risk: * _cw_relation_cache disappears completely, which is good, but this is Python, so you never know ...
Tue, 19 Mar 2013 15:17:34 +0100 [test/web] fix invisibly bogus test (prepares #2755994)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:17:34 +0100] rev 8734
[test/web] fix invisibly bogus test (prepares #2755994) The test was wrong but that was cancelled out by a cache effect and fuzzy naming. Wiping the entity caches restores sanity: the choices list are the same before and after the SET. Also field.choices uses entity.unrelated but always returns related + unrelated elements. Hence `choice` replaces `unrelated` where it makes sense. AssertIn is used in place of AssertTrue.
Fri, 08 Mar 2013 11:03:28 +0100 [cwconfig] Fix exception handling when building the cube dependency graph
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 08 Mar 2013 11:03:28 +0100] rev 8733
[cwconfig] Fix exception handling when building the cube dependency graph UnorderableGraph exceptions do not have a 'cycles' property. A simple cast to str does the job.
Tue, 19 Mar 2013 12:25:18 +0100 [merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 12:25:18 +0100] rev 8732
[merge] backport stable fixes
Mon, 18 Mar 2013 16:38:57 +0100 [test/sobject] fix test regression stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Mar 2013 16:38:57 +0100] rev 8731
[test/sobject] fix test regression Was complaining: - * updated comment #EID (#EID) ? ^^^^ + * updated comment #EID (duh?) ? ^^^^ in sobjects/test/unittest_supervising.
Wed, 13 Mar 2013 18:36:49 +0100 [web/request] Prune extraneous 'pageid' from generated ajax URL parameters (closes #2758130) stable
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 18:36:49 +0100] rev 8730
[web/request] Prune extraneous 'pageid' from generated ajax URL parameters (closes #2758130) If 'pageid' is given through extraparams, it is sent twice to the browser. On the JS side, the final URL loadxhtml() will end up using will have 'pageid' set twice which CubicWeb will readily accept as a list. Pruning this parameter makes sure it is exactly once.
Wed, 13 Mar 2013 19:23:22 +0100 [web/component] Use global variable to point to ajax controller (part of #2758254) stable
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 19:23:22 +0100] rev 8729
[web/component] Use global variable to point to ajax controller (part of #2758254)
Tue, 19 Mar 2013 12:24:40 +0100 [web] Use the new '/ajax' URL path to access the AjaxController (closes #2758254) stable
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 19 Mar 2013 12:24:40 +0100] rev 8728
[web] Use the new '/ajax' URL path to access the AjaxController (closes #2758254) 5a81fa526b30 took care of all the JS code, this patch cleans up the remaining python bits.
Tue, 19 Mar 2013 10:08:20 +0100 [devtools/httptest] fix syntax error introduced by ce5ae7b80d2c
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 10:08:20 +0100] rev 8727
[devtools/httptest] fix syntax error introduced by ce5ae7b80d2c
Tue, 12 Mar 2013 19:24:43 +0100 [component] Fix URL generation for navigation component (closes #2464832) stable
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 12 Mar 2013 19:24:43 +0100] rev 8726
[component] Fix URL generation for navigation component (closes #2464832)
Tue, 12 Mar 2013 12:08:22 +0100 merge with another default heads
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:08:22 +0100] rev 8725
merge with another default heads
Tue, 12 Mar 2013 12:04:51 +0100 Merge stable into default (NON-TRIVIAL)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:04:51 +0100] rev 8724
Merge stable into default (NON-TRIVIAL) - dropping __future__ statement added by d2472948da9c - added migration from 407acc41beb5 to migration file for 3.16.1
Fri, 08 Feb 2013 18:36:00 +0100 maintain python2.5 compatibility stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 08 Feb 2013 18:36:00 +0100] rev 8723
maintain python2.5 compatibility
Fri, 18 Jan 2013 11:36:21 +0100 [schema/workflow] one more typo fix stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Jan 2013 11:36:21 +0100] rev 8722
[schema/workflow] one more typo fix Also add proper migration.
Fri, 22 Feb 2013 11:17:02 +0100 [devtools] add http_publish to CubicWebTC (closes #2565882)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Feb 2013 11:17:02 +0100] rev 8721
[devtools] add http_publish to CubicWebTC (closes #2565882) Fakes a http request, without overriding the normal error handling. Returns the request object so the caller can check for errors.
Fri, 18 Jan 2013 12:47:40 +0100 [testlib] url_publish should give url to the request and the rset returned by the path evaluator to ctrl_publish. Closes #2557468
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jan 2013 12:47:40 +0100] rev 8720
[testlib] url_publish should give url to the request and the rset returned by the path evaluator to ctrl_publish. Closes #2557468 Also, url_publish now accepts a `data` argument to simulate POST of values.
Fri, 22 Feb 2013 19:36:40 +0100 [towards py3k] import reduce() from functools (part of #2711624)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 22 Feb 2013 19:36:40 +0100] rev 8719
[towards py3k] import reduce() from functools (part of #2711624)
Mon, 11 Mar 2013 18:37:01 +0100 merge stable fix into default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 11 Mar 2013 18:37:01 +0100] rev 8718
merge stable fix into default
Wed, 09 Jan 2013 18:37:48 +0100 [doc] document dbapi.Connection stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 18:37:48 +0100] rev 8717
[doc] document dbapi.Connection
Fri, 08 Mar 2013 09:15:09 +0100 [c-c shell] fix command description (-P option is gone long ago) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Mar 2013 09:15:09 +0100] rev 8716
[c-c shell] fix command description (-P option is gone long ago)
Mon, 11 Mar 2013 14:46:09 +0100 [hooks/syncschema] do not crash when adding a new entity type (closes #2741643) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Mar 2013 14:46:09 +0100] rev 8715
[hooks/syncschema] do not crash when adding a new entity type (closes #2741643) The previous version assumed META_RTYPES provide relation definitions for all entity types.
Tue, 29 Jan 2013 16:57:44 +0100 [views/debug] Do not show all web sessions without CNX, just count them (closes #2602161) stable
pwatteyne [Tue, 29 Jan 2013 16:57:44 +0100] rev 8714
[views/debug] Do not show all web sessions without CNX, just count them (closes #2602161)
Tue, 05 Mar 2013 15:37:37 +0100 [facets js] use $ instead of jQuery and other small cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Mar 2013 15:37:37 +0100] rev 8713
[facets js] use $ instead of jQuery and other small cleanups
Thu, 17 Jan 2013 15:42:09 +0100 [devtools/httptest] allow sending other types of requests besides GET
Julien Cristau <julien.cristau@logilab.fr> [Thu, 17 Jan 2013 15:42:09 +0100] rev 8712
[devtools/httptest] allow sending other types of requests besides GET
Fri, 08 Mar 2013 18:43:42 +0100 merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 08 Mar 2013 18:43:42 +0100] rev 8711
merge with stable
Mon, 04 Mar 2013 17:22:57 +0100 [ext/rest] fix docstring of rql_role() stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 04 Mar 2013 17:22:57 +0100] rev 8710
[ext/rest] fix docstring of rql_role()
Fri, 08 Mar 2013 18:04:40 +0100 [web application] Fix missing self. in error_handler stable
Vincent Michel <vincent.michel@logilab.fr> [Fri, 08 Mar 2013 18:04:40 +0100] rev 8709
[web application] Fix missing self. in error_handler
(0) -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 +3000 tip