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
Thu, 27 Feb 2014 18:10:29 +0100 [hooks/syncschema] do not crash on double removal of a constraint stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 27 Feb 2014 18:10:29 +0100] rev 9559
[hooks/syncschema] do not crash on double removal of a constraint Some complicated migrations may entail a double constraint removal. It is not yet known whether this is a genuine cw bug or the result of a complicated migration story, but we should nevertheless not crash. Rather, emit a CRITICAL warning and proceed. Closes #3595309.
Wed, 19 Feb 2014 11:01:19 +0100 [doc/book] Fix typo in import stable
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 19 Feb 2014 11:01:19 +0100] rev 9558
[doc/book] Fix typo in import
Tue, 18 Feb 2014 13:54:08 +0100 [server/session] fix a couple typos in doc strings
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 13:54:08 +0100] rev 9557
[server/session] fix a couple typos in doc strings
Tue, 18 Feb 2014 17:58:45 +0100 [server/migractions] finish migration to repoapi objects
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 17:58:45 +0100] rev 9556
[server/migractions] finish migration to repoapi objects Changeset 241b1232ed7f (Use repoapi instead of dbapi for cwctl shell, upgrade and db-init) only did half of the job. It left the migration handler with both a session (cubicweb.server.session.Session) and a cnx (cubicweb.repoapi.ClientConnection) attribute with different ideas of what Connection they were talking to. With this change, we: - make the caller responsible of disabling security on the Connection if it wants to - turn mih.session into an actual attribute, set on __init__ - same for cnx (the client connection) - drop the "lazy connection" logic, and establish the connection up-front - always go through the connection instead of the session when we need to talk to the db
Wed, 05 Mar 2014 10:44:45 +0100 [server] use the ClientConnection directly now that it has more methods available
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 10:44:45 +0100] rev 9555
[server] use the ClientConnection directly now that it has more methods available Gets rid of ugly self.cnx._cnx.
Tue, 18 Feb 2014 17:29:34 +0100 [repoapi] add security/hook control and system_sql
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 17:29:34 +0100] rev 9554
[repoapi] add security/hook control and system_sql Just redirect these methods to the repo-side Connection.
Mon, 17 Feb 2014 15:22:21 +0100 [predicates] fix thinko in doc strings
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:22:21 +0100] rev 9553
[predicates] fix thinko in doc strings Replace "e.g." with more appropriate "i.e.". These are not examples.
Mon, 17 Feb 2014 14:10:53 +0100 [web/basecomponents] remove EtypeRestrictionComponent
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 14:10:53 +0100] rev 9552
[web/basecomponents] remove EtypeRestrictionComponent Closes #3119951
Fri, 14 Feb 2014 12:03:20 +0100 [ldapparser, book] document additional error causes
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 14 Feb 2014 12:03:20 +0100] rev 9551
[ldapparser, book] document additional error causes
Fri, 14 Feb 2014 14:39:55 +0100 [js] remove leftover dead code in loadxhtml
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:39:55 +0100] rev 9550
[js] remove leftover dead code in loadxhtml form.callback support was removed in changeset 68cde7431c2c, but some signs of it remained.
Tue, 04 Mar 2014 18:28:46 +0100 [web] Avoid using an empty dict as default parameter of 'CubicWebRequestBase'.
Damien Garaud <damien.garaud@logilab.fr> [Tue, 04 Mar 2014 18:28:46 +0100] rev 9549
[web] Avoid using an empty dict as default parameter of 'CubicWebRequestBase'. Also update the related docstring of the __init__ method.
Tue, 21 Jan 2014 18:30:16 +0100 [schema] fix composite deletion handling
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 18:30:16 +0100] rev 9548
[schema] fix composite deletion handling Do not delete component entities if the composite is not deleted in the same transaction. Deletion semantics are thus: if the composite is deleted, the components are deleted. Closes #3463112.
Fri, 24 Jan 2014 13:08:53 +0100 [schema] add composite handling helpers on EntitySchema (related to #3463112)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 24 Jan 2014 13:08:53 +0100] rev 9547
[schema] add composite handling helpers on EntitySchema (related to #3463112) These will help write predicates, hooks, etc.
Mon, 17 Feb 2014 15:01:23 +0100 [server] Handle unique constraint violations under recent sqlite
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:01:23 +0100] rev 9546
[server] Handle unique constraint violations under recent sqlite The error message changed from "columns foo, bar, baz are not unique" to "UNIQUE constraint failed: table.foo, table.bar, table.baz". Closes #3564510
Tue, 04 Mar 2014 12:02:11 +0100 [i18n] update
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Mar 2014 12:02:11 +0100] rev 9545
[i18n] update de: 1065 translated messages, 1 fuzzy translation, 259 untranslated messages. en: 656 translated messages, 669 untranslated messages. es: 1325 translated messages. fr: 1314 translated messages, 11 untranslated messages.
Tue, 04 Mar 2014 12:04:04 +0100 [i18n] es.po updated
Celso FLORES <celso.flores@crealibre.com> [Tue, 04 Mar 2014 12:04:04 +0100] rev 9544
[i18n] es.po updated
Mon, 17 Feb 2014 15:32:50 +0100 merge 3.18.x in 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:32:50 +0100] rev 9543
merge 3.18.x in 3.19 branch
Mon, 17 Feb 2014 11:13:27 +0100 3.18 is stable stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 11:13:27 +0100] rev 9542
3.18 is stable
Mon, 17 Feb 2014 11:07:38 +0100 [schema] explicitly declare 'add' permissions for a couple attributes
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 11:07:38 +0100] rev 9541
[schema] explicitly declare 'add' permissions for a couple attributes
Fri, 14 Feb 2014 17:52:49 +0100 Added tag cubicweb-version-3.17.13, cubicweb-debian-version-3.17.13-1, cubicweb-centos-version-3.17.13-1 for changeset 09b4ebb9b0f1 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Feb 2014 17:52:49 +0100] rev 9540
Added tag cubicweb-version-3.17.13, cubicweb-debian-version-3.17.13-1, cubicweb-centos-version-3.17.13-1 for changeset 09b4ebb9b0f1
Fri, 14 Feb 2014 17:07:25 +0100 Added tag cubicweb-version-3.18.3, cubicweb-debian-version-3.18.3-1, cubicweb-centos-version-3.18.3-1 for changeset afd21fea201a
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 17:07:25 +0100] rev 9539
Added tag cubicweb-version-3.18.3, cubicweb-debian-version-3.18.3-1, cubicweb-centos-version-3.18.3-1 for changeset afd21fea201a
Fri, 14 Feb 2014 17:06:59 +0100 Update translations cubicweb-centos-version-3.18.3-1 cubicweb-debian-version-3.18.3-1 cubicweb-version-3.18.3
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 17:06:59 +0100] rev 9538
Update translations
Fri, 14 Feb 2014 16:23:46 +0100 [pkg] prepare 3.18.3
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 16:23:46 +0100] rev 9537
[pkg] prepare 3.18.3
Fri, 14 Feb 2014 16:10:36 +0100 merge 3.17.13
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 16:10:36 +0100] rev 9536
merge 3.17.13
Fri, 14 Feb 2014 15:42:25 +0100 [ldapfeed] fix encode error during initial user import stable cubicweb-centos-version-3.17.13-1 cubicweb-debian-version-3.17.13-1 cubicweb-version-3.17.13
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 14 Feb 2014 15:42:25 +0100] rev 9535
[ldapfeed] fix encode error during initial user import Closes #3539196.
Wed, 12 Feb 2014 17:32:49 +0100 [web/data] Ignore disabled widgets in cw.utils.formContents() (closes #3544492)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 12 Feb 2014 17:32:49 +0100] rev 9534
[web/data] Ignore disabled widgets in cw.utils.formContents() (closes #3544492) 17.12.1 Disabled controls : http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12.1 When set, the disabled attribute has the following effects on an element: * Disabled controls do not receive focus. * Disabled controls are skipped in tabbing navigation. * Disabled controls cannot be successful. The third one is the important one. 17.13.2 Successful controls : http://www.w3.org/TR/REC-html40/interact/forms.html#successful-controls A successful control is "valid" for submission. Every successful control has its control name paired with its current value as part of the submitted form data set. Bottom line, disable widgets should not be part of the names and values lists returned by formContents().
Fri, 14 Feb 2014 15:22:56 +0100 [etwist] Fix an empty request content after a Twisted processing (closes #3546795).
Damien Garaud <damien.garaud@logilab.fr> [Fri, 14 Feb 2014 15:22:56 +0100] rev 9533
[etwist] Fix an empty request content after a Twisted processing (closes #3546795). The content of a POST request could be empty when the Twisted server is used.
Thu, 13 Feb 2014 16:50:55 +0100 [web/data] remove images that aren't used anywhere
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Feb 2014 16:50:55 +0100] rev 9532
[web/data] remove images that aren't used anywhere
Thu, 13 Feb 2014 16:51:22 +0100 [web/data] Add missing images from jquery-ui 1.10.3
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Feb 2014 16:51:22 +0100] rev 9531
[web/data] Add missing images from jquery-ui 1.10.3 Closes #3175933
Fri, 14 Feb 2014 14:06:56 +0100 [web/navigation] use add_onload instead of inline javascript href
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:06:56 +0100] rev 9530
[web/navigation] use add_onload instead of inline javascript href This way our javascript code isn't thrown out by the html cleaner e.g. when using the rql rest directive and a table view. To make things simpler, we now always use ajax URLs for navigation, even when we would previously have used regular links. Closes #3501626
Fri, 14 Feb 2014 14:46:25 +0100 [web/data] fix treeview regression (closes #3526466)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:46:25 +0100] rev 9529
[web/data] fix treeview regression (closes #3526466) Changeset 68cde7431c2c "[js] remove 3.9 bw compat (where apparently unused)" removed the use of form.callback from loadxhtml, which treeview relied on. Update to add a callback on the loadxhtml return value instead.
Fri, 14 Feb 2014 10:39:16 +0100 backout 8f3e963501e2, which is not ready yet stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Feb 2014 10:39:16 +0100] rev 9528
backout 8f3e963501e2, which is not ready yet
Thu, 13 Feb 2014 19:29:20 +0100 [pkg] also bump it there stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 13 Feb 2014 19:29:20 +0100] rev 9527
[pkg] also bump it there
Mon, 10 Feb 2014 18:00:26 +0100 [pkg] prepare 3.17.13 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 10 Feb 2014 18:00:26 +0100] rev 9526
[pkg] prepare 3.17.13
Tue, 11 Feb 2014 13:50:29 +0100 [navigation] use add_onload instead of inline javascript href stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Feb 2014 13:50:29 +0100] rev 9525
[navigation] use add_onload instead of inline javascript href This way our javascript code isn't thrown out by the html cleaner e.g. when using the rql rest directive and a table view. Closes #3501626
Wed, 05 Feb 2014 15:50:36 +0100 [uilib] allow canvas tags in the html cleaner stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 15:50:36 +0100] rev 9524
[uilib] allow canvas tags in the html cleaner Used by the iprogress cube. Closes #3524254.
Wed, 05 Feb 2014 16:34:21 +0100 [ajax] use a custom tag to handle dynamically loaded js stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 16:34:21 +0100] rev 9523
[ajax] use a custom tag to handle dynamically loaded js Using <pre class="script"> makes it trivial for a malicious user to inject arbitrary javascript into a html or rest text element (because it looks innocent to the html sanitizer). Using a custom tag we can be sure that it actually comes from our code and not from untrusted user data. IE ignores custom tags, though, so we put it in its own namespace. https://extranet.logilab.fr/1530578
Mon, 03 Feb 2014 19:07:58 +0100 [dataimport] fix comment stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 03 Feb 2014 19:07:58 +0100] rev 9522
[dataimport] fix comment
Wed, 12 Feb 2014 18:15:32 +0100 [hooks/security, devtools/fill] silence yams 0.38.0 warnings stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 12 Feb 2014 18:15:32 +0100] rev 9521
[hooks/security, devtools/fill] silence yams 0.38.0 warnings
Mon, 03 Feb 2014 16:30:07 +0100 Drop 3.13 incomplete backward compat in edit controller.
Florent Cayré <florent.cayre@logilab.fr> [Mon, 03 Feb 2014 16:30:07 +0100] rev 9520
Drop 3.13 incomplete backward compat in edit controller. It is very old and broken (there is another non-backward-copmpatible usage of `_cw_entity_fields`), better to remove it instead of fixing. Closes #3515223.
Mon, 10 Feb 2014 16:06:16 +0100 [devtools] force locale to C for postgresql test clusters
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Feb 2014 16:06:16 +0100] rev 9519
[devtools] force locale to C for postgresql test clusters Avoids initdb failure with e.g. iso8859-X locale and utf-8 encoding.
Fri, 20 Dec 2013 08:39:03 +0100 [rql2sql] remove special behaviour of symmetric relation vs DISTINCT
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Dec 2013 08:39:03 +0100] rev 9518
[rql2sql] remove special behaviour of symmetric relation vs DISTINCT 0542a85fe667 replacing SQL OR by hooks for symmetric relations allows that. This involve a single test value change for a border case: when querying a symmetric relation without specifying the subject nor the object, you may get some duplicated result. IMO this is fine to let the user explicitly use DISTINCT or not and to remove the dedicated handling we had which didn't let any choice. Related to #3259713
Tue, 11 Feb 2014 11:03:01 +0100 Typo in comments and error messages
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 11 Feb 2014 11:03:01 +0100] rev 9517
Typo in comments and error messages
Thu, 13 Feb 2014 15:11:07 +0100 Fix typo in a setup.py comment
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 13 Feb 2014 15:11:07 +0100] rev 9516
Fix typo in a setup.py comment
Thu, 13 Feb 2014 15:09:30 +0100 [dataimport, migration] more fixes in the spirit of a6c32edabc8d:
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 13 Feb 2014 15:09:30 +0100] rev 9515
[dataimport, migration] more fixes in the spirit of a6c32edabc8d: [entity, metadata] huuum, use resolvable url as cwuri... And fix existing ones. Closes #3390388
Thu, 06 Feb 2014 15:04:57 +0100 [doc] Fix typo in devrepo/fti
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 06 Feb 2014 15:04:57 +0100] rev 9514
[doc] Fix typo in devrepo/fti
Tue, 04 Feb 2014 11:23:58 +0100 [doc/3.19] Clarify repoapi.get_repository usage
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 04 Feb 2014 11:23:58 +0100] rev 9513
[doc/3.19] Clarify repoapi.get_repository usage Followup for 9a62c52d167e.
Wed, 29 Jan 2014 13:43:42 +0100 [server] use a connection instead of a session for user authentication
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 13:43:42 +0100] rev 9512
[server] use a connection instead of a session for user authentication
Tue, 11 Feb 2014 17:29:58 +0100 Use repoapi instead of dbapi for cwctl shell, upgrade and db-init
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Feb 2014 17:29:58 +0100] rev 9511
Use repoapi instead of dbapi for cwctl shell, upgrade and db-init Hopefully nobody uses dbapi-specific API in their migration scripts. I guess we'll find out.
Tue, 28 Jan 2014 16:07:06 +0100 [server/repo] use internal_cnx in init_sources_from_database
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 16:07:06 +0100] rev 9510
[server/repo] use internal_cnx in init_sources_from_database
Wed, 29 Jan 2014 15:25:05 +0100 [server/session] avoid spurious warnings from Session.close
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:25:05 +0100] rev 9509
[server/session] avoid spurious warnings from Session.close Add internal non-noisy _rollback method.
Wed, 29 Jan 2014 15:29:49 +0100 [server] rename session to cnx in querier and plan
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:29:49 +0100] rev 9508
[server] rename session to cnx in querier and plan They don't actually need a session, so let's make that clear.
Wed, 29 Jan 2014 15:55:21 +0100 [repo] Use a connection instead of a session for repo.stats()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:55:21 +0100] rev 9507
[repo] Use a connection instead of a session for repo.stats()
Wed, 29 Jan 2014 15:55:48 +0100 [repo] Use a connection instead of a session for repo.gc_stats()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:55:48 +0100] rev 9506
[repo] Use a connection instead of a session for repo.gc_stats()
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip