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
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
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip