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()
Wed, 29 Jan 2014 15:56:44 +0100 [repo] Use a connection instead of a session for repo.get_versions()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:56:44 +0100] rev 9505
[repo] Use a connection instead of a session for repo.get_versions()
Thu, 30 Jan 2014 15:52:22 +0100 [webconfig] get_repository moved to repoapi
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 15:52:22 +0100] rev 9504
[webconfig] get_repository moved to repoapi
Thu, 30 Jan 2014 16:48:39 +0100 [schemaserial] Replace 'cursor' with 'cnx'
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:48:39 +0100] rev 9503
[schemaserial] Replace 'cursor' with 'cnx' We don't have cursors in rql, since execute is synchronous.
Mon, 03 Feb 2014 09:38:39 +0100 [book] basic documentation for LDAPfeed
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 03 Feb 2014 09:38:39 +0100] rev 9502
[book] basic documentation for LDAPfeed
Wed, 29 Jan 2014 16:03:42 +0100 [testlib] Use session.sessionid instead of deprecated session.id
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 16:03:42 +0100] rev 9501
[testlib] Use session.sessionid instead of deprecated session.id
Fri, 07 Feb 2014 17:03:11 +0100 Add data/pgdb to hgignore patterns
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Feb 2014 17:03:11 +0100] rev 9500
Add data/pgdb to hgignore patterns PostgresTestDataBaseHandler uses it as datadir.
Mon, 27 Jan 2014 14:01:03 +0100 [test] make unittest_postgres pass
Julien Cristau <julien.cristau@logilab.fr> [Mon, 27 Jan 2014 14:01:03 +0100] rev 9499
[test] make unittest_postgres pass Use PostgresApptestConfiguration which starts a postgresql cluster locally for the duration of the test.
Tue, 28 Jan 2014 15:03:53 +0100 [devtools] make PostgresTestDataBaseHandler start its own postgresql
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 15:03:53 +0100] rev 9498
[devtools] make PostgresTestDataBaseHandler start its own postgresql Don't depend on postgresql already running on the system, or on a static config. To use this, set the configcls attribute of your CubicWebTC-derived test class to PostgresApptestConfiguration. Caveats: - this won't work with several tests running concurrently from the same directory, since each would start its own cluster with a shared data directory and stomp on each other's toes - you need initdb/pg_ctl in $PATH, e.g /usr/lib/postgresql/$version/bin on Debian/Ubuntu systems. Closes #3489631
Wed, 05 Feb 2014 09:23:36 +0100 [web/staticcontrollers] create a unique temporary file for concat handling
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 09:23:36 +0100] rev 9497
[web/staticcontrollers] create a unique temporary file for concat handling Predictable names means different processes can race against each other. Let's avoid that and use mkstemp to get a real unique temporary file, and atomically rename it when we're done. Closes #3524182
Wed, 29 Jan 2014 15:50:19 +0100 [server/repo] Use session.sessionid instead of session.id
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:50:19 +0100] rev 9496
[server/repo] Use session.sessionid instead of session.id Silences deprecation warning.
Wed, 29 Jan 2014 16:19:13 +0100 [server/session] use _free_cnxset instead of free_cnxset to avoid warnings
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 16:19:13 +0100] rev 9495
[server/session] use _free_cnxset instead of free_cnxset to avoid warnings No need to make DeprecationWarning noise for something the user doesn't have any control over.
Tue, 28 Jan 2014 15:29:23 +0100 [server] Use internal_cnx instead of internal_session in init_repository
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 15:29:23 +0100] rev 9494
[server] Use internal_cnx instead of internal_session in init_repository
Thu, 30 Jan 2014 16:33:32 +0100 [server/session] session.id → session.sessionid
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:33:32 +0100] rev 9493
[server/session] session.id → session.sessionid The former causes deprecation warnings.
Tue, 04 Feb 2014 15:29:29 +0100 English typography
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 04 Feb 2014 15:29:29 +0100] rev 9492
English typography Get rid of extra space before `!' and `?'
Mon, 03 Feb 2014 19:00:52 +0100 [repo] restore python 2.6 compatibility
Julien Cristau <julien.cristau@logilab.fr> [Mon, 03 Feb 2014 19:00:52 +0100] rev 9491
[repo] restore python 2.6 compatibility Broken in 12dfce15c8ea.
Tue, 28 Jan 2014 18:24:29 +0100 [server] use internal_cnx instead of internal_session in deserialize_schema
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 18:24:29 +0100] rev 9490
[server] use internal_cnx instead of internal_session in deserialize_schema
Tue, 28 Jan 2014 18:40:19 +0100 [server/schemaserial] rename cursor argument to cnx
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 18:40:19 +0100] rev 9489
[server/schemaserial] rename cursor argument to cnx cursor is a sql concept it has no meaning for rql.
Wed, 29 Jan 2014 15:57:48 +0100 [repo] Use a connection instead of a session in Repository.properties()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:57:48 +0100] rev 9488
[repo] Use a connection instead of a session in Repository.properties()
Thu, 30 Jan 2014 16:00:29 +0100 [server/sources] replace references to dbapi with repoapi
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:00:29 +0100] rev 9487
[server/sources] replace references to dbapi with repoapi
Thu, 30 Jan 2014 16:45:05 +0100 [doc/3.19] Make repoapi description match code
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:45:05 +0100] rev 9486
[doc/3.19] Make repoapi description match code
Mon, 03 Feb 2014 18:19:26 +0100 [serverctl] remove broken schema-sync command
Julien Cristau <julien.cristau@logilab.fr> [Mon, 03 Feb 2014 18:19:26 +0100] rev 9485
[serverctl] remove broken schema-sync command As far as I can tell the migration handler hasn't had a cmd_synchronize_schema method since cubicweb 3.2.0.
Thu, 30 Jan 2014 18:04:59 +0100 [server/session] Fix docstring typo for InternalSession
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 18:04:59 +0100] rev 9484
[server/session] Fix docstring typo for InternalSession
Fri, 24 Jan 2014 15:32:53 +0100 [book] typo
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 24 Jan 2014 15:32:53 +0100] rev 9483
[book] typo
Wed, 29 Jan 2014 13:45:03 +0100 [server] fix TypeErrors
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 13:45:03 +0100] rev 9482
[server] fix TypeErrors With multisource gone, cnxset.reconnect() doesn't take a source argument. Broken since d62e13eba033.
Tue, 17 Dec 2013 11:50:46 +0100 [notification] use an InternalManager object for notifications if we have an (email, lang) tuple
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:46 +0100] rev 9481
[notification] use an InternalManager object for notifications if we have an (email, lang) tuple The non-uniform handling of CWUser vs (email, lang) tuple has caused too many bugs; this change mostly unifies the two code paths. Closes #3381521
Tue, 17 Dec 2013 11:50:31 +0100 [req] if a user has a None property, fall back to the default
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:31 +0100] rev 9480
[req] if a user has a None property, fall back to the default This can happen for InternalManager; the normal CWUser implementation of property_value already has a similar fallback. Related to #3381521
Tue, 17 Dec 2013 11:50:12 +0100 [server] Allow setting an InternalManager's preferred language
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:12 +0100] rev 9479
[server] Allow setting an InternalManager's preferred language Related to #3381521
Mon, 27 Jan 2014 16:19:49 +0100 merge 3.18.2 into 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Mon, 27 Jan 2014 16:19:49 +0100] rev 9478
merge 3.18.2 into 3.19 branch
Thu, 23 Jan 2014 10:53:24 +0100 [migration/3.18] protect against attributes in db missing from fsschema
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Jan 2014 10:53:24 +0100] rev 9477
[migration/3.18] protect against attributes in db missing from fsschema Happens if a previous migration forgot a drop_attribute. Closes #3471609
Tue, 21 Jan 2014 18:39:32 +0100 [doc] Update copyright date to 2014 (closes #3463136)
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 21 Jan 2014 18:39:32 +0100] rev 9476
[doc] Update copyright date to 2014 (closes #3463136)
Fri, 24 Jan 2014 10:04:56 +0100 [repoapi] Fix typos in doc strings and comments
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 Jan 2014 10:04:56 +0100] rev 9475
[repoapi] Fix typos in doc strings and comments
Tue, 17 Dec 2013 13:43:56 +0100 [cwxml parser] minor pylint fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Dec 2013 13:43:56 +0100] rev 9474
[cwxml parser] minor pylint fixes
Tue, 14 Jan 2014 17:30:02 +0100 [devtools] make CubicWebTC.login as admin undo previous logins
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 Jan 2014 17:30:02 +0100] rev 9473
[devtools] make CubicWebTC.login as admin undo previous logins Fixes things when login is not used as a context manager.
Tue, 14 Jan 2014 17:30:13 +0100 [devtools] fix self.session._cnx vs self.cnx._cnx confusion after self.login
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 Jan 2014 17:30:13 +0100] rev 9472
[devtools] fix self.session._cnx vs self.cnx._cnx confusion after self.login Make sure the client connection and the session refer to the same server connection.
Thu, 23 Jan 2014 18:26:16 +0100 [devtools] _orig_cnx does not exist any more (missing change)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Jan 2014 18:26:16 +0100] rev 9471
[devtools] _orig_cnx does not exist any more (missing change)
Mon, 06 Jan 2014 17:25:55 +0100 [c-c schema] option to show single etype (closes #3404831)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 06 Jan 2014 17:25:55 +0100] rev 9470
[c-c schema] option to show single etype (closes #3404831)
Thu, 23 Jan 2014 13:47:28 +0100 [multi-sources-removal] Drop entities.source column
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Jan 2014 13:47:28 +0100] rev 9469
[multi-sources-removal] Drop entities.source column Since we remove federated multi-sources support, the same value ('system') is always stored in this column and so could be removed. Also, cleanup repository caches and a few api where the very same useless information could be removed. Closes #2919300, at last [jcr: restore sanity check of etype against schema in checkintegrity.has_eid]
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip