Wed, 26 Mar 2014 11:08:09 +0100 [migration] Improve update of in-memory schema during 3.18 CWAttribute.defaultval change stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Mar 2014 11:08:09 +0100] rev 9589
[migration] Improve update of in-memory schema during 3.18 CWAttribute.defaultval change We weren't updating the schema properly so a bunch of structures still had the old rdef with 'String' as object. That caused failures to add new attributes later in the migration as their default value would be a Binary object but the schema would expect a String. Closes #3683640
Thu, 27 Mar 2014 14:32:21 +0100 [migration] always rebuild infered relation stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Mar 2014 14:32:21 +0100] rev 9588
[migration] always rebuild infered relation This was skipped for some bad reason (see 12ad88615a12 which introduced the change). Fix for #231956 in Yams is necessary to allow this cset: during a migration, we want to always reinfer relations while allowing explicit redefinition of an infered relation later. Else, we may run the migration with missing parts of the schema (the one that should have been infered). Closes #3685463.
Mon, 24 Mar 2014 16:29:18 +0100 Backout "[web/navigation] use add_onload instead of inline javascript href" stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 16:29:18 +0100] rev 9587
Backout "[web/navigation] use add_onload instead of inline javascript href" This reverts changeset 170e1437948d, for at least two reasons: the PageNavigationSelect component was not updated for the new type of navigation links, and external cubes defining View.page_navigation_url exist in the wild and also got broken navigation links. This reopens #3501626 and closes #3677945.
Fri, 14 Mar 2014 10:51:05 +0100 [test] those are rql tests, not cubicweb (and they break with rql 0.31.5). Remove them. stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Mar 2014 10:51:05 +0100] rev 9586
[test] those are rql tests, not cubicweb (and they break with rql 0.31.5). Remove them.
Mon, 24 Mar 2014 18:14:22 +0100 [source/native] allow many eid creation per .create_eid call (closes #3526594)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Mar 2014 18:14:22 +0100] rev 9585
[source/native] allow many eid creation per .create_eid call (closes #3526594) [jcr: move migration code to bootstrapmigration_repository.py to make sure we stop using the old sequence ASAP]
Thu, 06 Feb 2014 19:04:03 +0100 [pkg] bump the dependency on logilab.database
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Feb 2014 19:04:03 +0100] rev 9584
[pkg] bump the dependency on logilab.database This will allow use of an extended API. Related to #3526594.
Mon, 10 Mar 2014 15:55:56 +0100 [source/native] refactor eid generation code
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 10 Mar 2014 15:55:56 +0100] rev 9583
[source/native] refactor eid generation code This set of related methods clutters the native source API. It will be better served with a dedicated eid genrator object. Related to #3526594. [jcr: allocate the eid generator in __init__]
Mon, 24 Mar 2014 11:57:23 +0100 Move entity cache from web.request.ConnectionCubicWebRequestBase to repoapi.ClientConnection
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 11:57:23 +0100] rev 9582
Move entity cache from web.request.ConnectionCubicWebRequestBase to repoapi.ClientConnection ResultSet._build_entity relies on an entity cache to avoid going round in circles (stack overflow due to infinite recursion) e.g. in a postcreate script. Clear the cache at commit/rollback time to avoid unexpected side effects; and explicitly clear the cache in a few tests where we mix ORM and RQL using the same connection.
Mon, 24 Mar 2014 16:38:57 +0100 [server] Fix AttributeError in extid2eid
Laura Médioni <laura.medioni@logilab.fr> [Mon, 24 Mar 2014 16:38:57 +0100] rev 9581
[server] Fix AttributeError in extid2eid Session._tx was renamed in cb87e831c183, use _cnx instead.
Tue, 11 Mar 2014 15:56:05 +0100 [book] Update documentation for new repoapi
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Mar 2014 15:56:05 +0100] rev 9580
[book] Update documentation for new repoapi Quite a few things change in 3.19: - repoapi instead of dbapi - ClientConnection / Connection / Session rework - web authentication process - test APIs Closes #3638793
Fri, 14 Mar 2014 11:18:15 +0100 [utils] the json module is always available
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:18:15 +0100] rev 9579
[utils] the json module is always available It's included since python 2.6, and we don't support earlier versions.
Mon, 17 Mar 2014 12:15:20 +0100 [fti] properly close the ProgressBar
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Mar 2014 12:15:20 +0100] rev 9578
[fti] properly close the ProgressBar Ensures cubicweb-ctl db-rebuild-fti ends its output with a newline.
Mon, 17 Mar 2014 12:13:14 +0100 [serverctl] use repoapi for db-check, add-source, rebuild-fti commands
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Mar 2014 12:13:14 +0100] rev 9577
[serverctl] use repoapi for db-check, add-source, rebuild-fti commands One more step towards getting rid of dbapi.
Wed, 05 Mar 2014 12:35:37 +0100 [devtools] make get_repo_and_cnx return a repoapi ClientConnection
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 12:35:37 +0100] rev 9576
[devtools] make get_repo_and_cnx return a repoapi ClientConnection And adjust callers accordingly (they need to use it as a context manager to open/close it properly).
Wed, 05 Mar 2014 11:22:20 +0100 [repoapi] Avoid deprecation warnings from session.id
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 11:22:20 +0100] rev 9575
[repoapi] Avoid deprecation warnings from session.id Apparently it's called session.sessionid now.
Tue, 18 Feb 2014 15:26:22 +0100 [server] some s/session/cnx/
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 15:26:22 +0100] rev 9574
[server] some s/session/cnx/ For merely accessing the database we need a connection, not a session.
Wed, 05 Mar 2014 16:58:14 +0100 Move setting session.mtime from dbapi to web session manager
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 16:58:14 +0100] rev 9573
Move setting session.mtime from dbapi to web session manager clean_session was broken since the switch away from dbapi on the web side, since session.mtime wasn't being set anywhere.
Thu, 13 Mar 2014 17:01:13 +0100 [web] whitespace cleanup in http_headers.py
David Douard <david.douard@logilab.fr> [Thu, 13 Mar 2014 17:01:13 +0100] rev 9572
[web] whitespace cleanup in http_headers.py
Fri, 14 Mar 2014 11:20:53 +0100 [web] implement cross origin resource sharing (CORS) (closes #2491768)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 14 Mar 2014 11:20:53 +0100] rev 9571
[web] implement cross origin resource sharing (CORS) (closes #2491768) Partial implementation that is enough to get started but leaves out some of the advanced features like caching and non-simple methods and headers.
Wed, 12 Mar 2014 16:02:44 +0100 [devtools] add a 'method' argument to RepoAccess.web_request
David Douard <david.douard@logilab.fr> [Wed, 12 Mar 2014 16:02:44 +0100] rev 9570
[devtools] add a 'method' argument to RepoAccess.web_request so that one can easily forge a request with any HTTP method. Also a bunch of clone cleanups.
Fri, 14 Mar 2014 11:38:14 +0100 [web] Fix handling of some http headers
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:38:14 +0100] rev 9569
[web] Fix handling of some http headers The generator takes as argument a list of raw string values, and is supposed to return the parsed version. Calling str on that list makes no sense.
Mon, 10 Mar 2014 17:54:02 +0100 [web/request] deprecate user_callback
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Mar 2014 17:54:02 +0100] rev 9568
[web/request] deprecate user_callback Storing closures in session data considered harmful. Closes #3567793
Fri, 07 Mar 2014 10:27:14 +0100 [doc] undocument user_callback
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Mar 2014 10:27:14 +0100] rev 9567
[doc] undocument user_callback Related to #3567793
Wed, 12 Mar 2014 14:08:51 +0100 Added tag cubicweb-centos-version-3.17.14-1, cubicweb-version-3.17.14, cubicweb-debian-version-3.17.14-1 for changeset fa00fc251d57 stable
Florent Cayré <florent.cayre@logilab.fr> [Wed, 12 Mar 2014 14:08:51 +0100] rev 9566
Added tag cubicweb-centos-version-3.17.14-1, cubicweb-version-3.17.14, cubicweb-debian-version-3.17.14-1 for changeset fa00fc251d57
Mon, 10 Mar 2014 15:17:50 +0100 [migractions] Better handle removal of RQLConstraint in sync_schema stable cubicweb-centos-version-3.17.14-1 cubicweb-debian-version-3.17.14-1 cubicweb-version-3.17.14
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 10 Mar 2014 15:17:50 +0100] rev 9565
[migractions] Better handle removal of RQLConstraint in sync_schema In rdef synchronisation, filter unmodified constraints before processing the sets of old and new constraints. Add a new `constraint_by_eid` method on RelationDefinitionSchema, which eliminates the ambiguity of `constraint_by_type` usage when several constraints of the same type are involved in the same migration. Closes #3633644.
Mon, 10 Mar 2014 16:07:41 +0100 [test] when the config change, we should cleanup sys.path and sys.modules. Closes #3634164 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Mar 2014 16:07:41 +0100] rev 9564
[test] when the config change, we should cleanup sys.path and sys.modules. Closes #3634164 Without this, modules imported within instance home will be messed up.
Thu, 06 Mar 2014 13:59:24 +0100 [wsgi] make sure request.content is available for consumption
Julien Cristau <julien.cristau@logilab.fr> [Thu, 06 Mar 2014 13:59:24 +0100] rev 9563
[wsgi] make sure request.content is available for consumption The wsgi.input stream is not seekable, so make a copy either to memory or disk so it's still available to the user even after we've parsed it (for POST form processing). Closes #3554996
Wed, 29 Jan 2014 10:57:10 +0100 [facet] create a RangeRQLPathFacet (closes #2852512)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 29 Jan 2014 10:57:10 +0100] rev 9562
[facet] create a RangeRQLPathFacet (closes #2852512) This facet is a mix between a RQLPathFacet and a RangeFacet, allowing to use the FacetRangeWidget on the RQLPathFacet target attribute
Thu, 31 Oct 2013 16:12:37 +0100 [request] Make sure set_message() actually displays its given message (closes #3003425)
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 31 Oct 2013 16:12:37 +0100] rev 9561
[request] Make sure set_message() actually displays its given message (closes #3003425) The default automatic form sets a standard submit message as session data. However in some cases, such as the cancellation of a form edition, another message is intended to be printed on-screen. This patch makes sure that set_message() really scrubs all previous messages (and ids) from the request object and from the session data.
Wed, 05 Mar 2014 15:49:23 +0100 [pkg] prepare 3.17.14 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 05 Mar 2014 15:49:23 +0100] rev 9560
[pkg] prepare 3.17.14
(0) -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 +3000 tip