Tue, 01 Jul 2014 12:44:04 +0200 [webtests/application] remove unused imports
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Jul 2014 12:44:04 +0200] rev 9862
[webtests/application] remove unused imports
Thu, 05 Jun 2014 11:56:33 +0200 [webtests/application] .user(...) really wants a request object
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 11:56:33 +0200] rev 9861
[webtests/application] .user(...) really wants a request object
Wed, 04 Jun 2014 15:46:16 +0200 [tests/datafeed] use the new connection api (a small leftover)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 15:46:16 +0200] rev 9860
[tests/datafeed] use the new connection api (a small leftover) Test assertions get indented because of self.session -> scoped cnx.
Wed, 02 Jul 2014 18:19:47 +0200 [entitiestests/base] don't store an entity on the test case
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 18:19:47 +0200] rev 9859
[entitiestests/base] don't store an entity on the test case Make do with an eid.
Thu, 05 Jun 2014 17:06:03 +0200 [entitiestests/base] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 17:06:03 +0200] rev 9858
[entitiestests/base] use the new connection api
Wed, 04 Jun 2014 15:21:18 +0200 [testlib] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 15:21:18 +0200] rev 9857
[testlib] use the new connection api
Thu, 05 Jun 2014 11:56:19 +0200 [exttests/rest] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 11:56:19 +0200] rev 9856
[exttests/rest] use the new connection api
Wed, 04 Jun 2014 14:04:40 +0200 [webtests/bookmarks] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:04:40 +0200] rev 9855
[webtests/bookmarks] use the new connection api
Wed, 04 Jun 2014 14:19:56 +0200 [hookstests/integrity] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:19:56 +0200] rev 9854
[hookstests/integrity] use the new connection api
Wed, 02 Jul 2014 18:01:16 +0200 [hookstests/base] use connections instead of web requests
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 18:01:16 +0200] rev 9853
[hookstests/base] use connections instead of web requests
Wed, 04 Jun 2014 14:55:07 +0200 [hookstests/base] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:55:07 +0200] rev 9852
[hookstests/base] use the new connection api
Wed, 04 Jun 2014 14:54:53 +0200 [hookstests/syncschema] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 14:54:53 +0200] rev 9851
[hookstests/syncschema] use the new connection api
Wed, 04 Jun 2014 13:28:24 +0200 [tests/rqlannotation,querier] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 13:28:24 +0200] rev 9850
[tests/rqlannotation,querier] use the new connection api
Wed, 02 Jul 2014 17:31:54 +0200 [webtests/web] use the new connection api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 17:31:54 +0200] rev 9849
[webtests/web] use the new connection api
Tue, 03 Jun 2014 14:55:02 +0200 [webtests/navigation] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 14:55:02 +0200] rev 9848
[webtests/navigation] use the new connection api
Tue, 03 Jun 2014 14:45:32 +0200 [webtests/basetemplates] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 14:45:32 +0200] rev 9847
[webtests/basetemplates] use the new connection api
Thu, 05 Jun 2014 15:14:13 +0200 [webtests/basecontrollers] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 15:14:13 +0200] rev 9846
[webtests/basecontrollers] use the new connection api
Tue, 03 Jun 2014 14:43:07 +0200 [testlib] deprecate .remote_call and provide new connection api friendly .remote_calling
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 14:43:07 +0200] rev 9845
[testlib] deprecate .remote_call and provide new connection api friendly .remote_calling
Tue, 03 Jun 2014 12:35:25 +0200 [webtests/propertysheet] kill an "import *"
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 12:35:25 +0200] rev 9844
[webtests/propertysheet] kill an "import *"
Tue, 03 Jun 2014 12:27:26 +0200 [webtests/breadcrumbs] break long lines
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 12:27:26 +0200] rev 9843
[webtests/breadcrumbs] break long lines
Thu, 05 Jun 2014 17:20:00 +0200 [webtests/views_editforms] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 17:20:00 +0200] rev 9842
[webtests/views_editforms] use the new connection api
Tue, 01 Jul 2014 17:44:06 +0200 [webtests/urlrewrite] do not store a plain entity on the test, only an eid
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Jul 2014 17:44:06 +0200] rev 9841
[webtests/urlrewrite] do not store a plain entity on the test, only an eid
Tue, 03 Jun 2014 11:17:09 +0200 [webtests/urlrewrite] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 11:17:09 +0200] rev 9840
[webtests/urlrewrite] use the new connection api
Thu, 05 Jun 2014 17:16:38 +0200 [webtests/urlpublisher] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 17:16:38 +0200] rev 9839
[webtests/urlpublisher] use the new connection api
Tue, 03 Jun 2014 11:00:50 +0200 [webtests/baseviews] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 11:00:50 +0200] rev 9838
[webtests/baseviews] use the new connection api
Wed, 02 Jul 2014 15:11:00 +0200 [devtools/testlib,fill] use the new connection api (for auto_populate)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 15:11:00 +0200] rev 9837
[devtools/testlib,fill] use the new connection api (for auto_populate) Note that this changes API of CubicWebTC's custom_populate and post_populate methods to take a connection instead of a cursor, which may affect some cubes.
Wed, 02 Jul 2014 14:42:24 +0200 [webtests/automatic views tests] use the new connection api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Jul 2014 14:42:24 +0200] rev 9836
[webtests/automatic views tests] use the new connection api
Wed, 04 Jun 2014 12:41:21 +0200 [devtools/repotest] simplify a very small helper
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 12:41:21 +0200] rev 9835
[devtools/repotest] simplify a very small helper
Wed, 04 Jun 2014 11:34:19 +0200 [tests/repotest] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 Jun 2014 11:34:19 +0200] rev 9834
[tests/repotest] use the new connection api
Mon, 02 Jun 2014 16:10:16 +0200 [tests/querier] use the new connection api (part 3/3)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:10:16 +0200] rev 9833
[tests/querier] use the new connection api (part 3/3) Some adaptations to devtools/repotest: * dead code removal * remove session related code In the tests: * many tests actually don't check the querier but some generic rql property -- when such a test needs several statements to complete a commit, switch to session.new_cnx * provide an assertRQLEqual helper
Tue, 10 Jun 2014 14:25:20 +0200 [test/querier] use the new connection api (part 2/3)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 14:25:20 +0200] rev 9832
[test/querier] use the new connection api (part 2/3) A couple of tests need a schema constraint to be dropped to pass with `.qexecute`.
Tue, 10 Jun 2014 13:56:24 +0200 [test/querier] use the new connection api (part 1/3)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 10 Jun 2014 13:56:24 +0200] rev 9831
[test/querier] use the new connection api (part 1/3) In devtools/repotest, we provide a simple `.qexecute` with autocommit, and we use it (where possible) in unittest_querier. Note that the .session object is a real session, not the magic property found in CubicWebTC test classes.
Tue, 01 Jul 2014 17:25:25 +0200 [dbapi] allow talking to a pre-3.19 remote repository
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Jul 2014 17:25:25 +0200] rev 9830
[dbapi] allow talking to a pre-3.19 remote repository Closes #4071285
Tue, 17 Jun 2014 11:56:38 +0200 [migration] don't add new elements to config._cubes in remove_cube
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jun 2014 11:56:38 +0200] rev 9829
[migration] don't add new elements to config._cubes in remove_cube We're expanding dependencies based on the current versions of the cubes, which may well not be the same as the ones known by the db (we're in the middle of an upgrade, after all). Listing them in config._cubes prevents us from calling add_cube() later to actually add them. Closes #4002156
Wed, 02 Jul 2014 11:43:45 +0200 [web test] repair test broken by 0872ac2a1db0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Jul 2014 11:43:45 +0200] rev 9828
[web test] repair test broken by 0872ac2a1db0 after the above cset, during test instance's url is set before the creation of core entities (ie created at database initialization), hence they have now a valid cwuri.
Tue, 06 May 2014 18:32:03 +0200 [dataimport] Drop reference to the 'source' column (closes #4067694).
Damien Garaud <damien.garaud@logilab.fr> [Tue, 06 May 2014 18:32:03 +0200] rev 9827
[dataimport] Drop reference to the 'source' column (closes #4067694). CW 3.19 drops the multi-source support. This column does not exist in 3.19.
Wed, 21 May 2014 22:54:46 +0200 [notification] drop on commit sending of message feature of NotificationView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 21 May 2014 22:54:46 +0200] rev 9826
[notification] drop on commit sending of message feature of NotificationView It duplicates feature already provided by cw.hooks.notification.notify_on_commit function. Simplify the API on the way.
Fri, 21 Mar 2014 08:28:32 +0100 [datafeed parser] enhance retrieve_url to support POSTing data and custom HTTP headers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Mar 2014 08:28:32 +0100] rev 9825
[datafeed parser] enhance retrieve_url to support POSTing data and custom HTTP headers Closes #3682069
Tue, 25 Mar 2014 09:20:37 +0100 [datafeed parser] fix retrieve_url to always return urllib2.urlopen compatible output
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Mar 2014 09:20:37 +0100] rev 9824
[datafeed parser] fix retrieve_url to always return urllib2.urlopen compatible output as one should expect to be able to call geturl/getcode/info on the returned object whatever the url he gave. Related to #3682069
Thu, 20 Mar 2014 08:55:44 +0100 [datafeed parser] factor out retrieve_url method from DataFeedXMLParser.parse
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Mar 2014 08:55:44 +0100] rev 9823
[datafeed parser] factor out retrieve_url method from DataFeedXMLParser.parse Related to #3682069
Thu, 20 Mar 2014 08:49:10 +0100 [datafeed] Allow to override use_cwuri_as_url in configuration of a datafeed source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Mar 2014 08:49:10 +0100] rev 9822
[datafeed] Allow to override use_cwuri_as_url in configuration of a datafeed source This is necessary because in some case one will want to write parser which create entities not one-to-one related to entities from the distant source (for instance see the `vcrs` cube which create entities holding statistics for code review, while not importing review entities themselves). Ideally we should provide a way to the parser to indicate the source that cwuri should not be used, but that's a start... Closes #3670210
Fri, 27 Jun 2014 11:48:26 +0200 merge from 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Fri, 27 Jun 2014 11:48:26 +0200] rev 9821
merge from 3.19 branch
Thu, 03 Apr 2014 19:56:05 +0200 [entity/rset] replace scary warnings about ambiguous rdefs by XXX in the code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:56:05 +0200] rev 9820
[entity/rset] replace scary warnings about ambiguous rdefs by XXX in the code users can't do anything about that and shouldn't see those warnings.
Fri, 23 May 2014 18:35:13 +0200 [web/js] Deprecate baseuri() and replace with BASE_URL (closes #3955372)
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 18:35:13 +0200] rev 9819
[web/js] Deprecate baseuri() and replace with BASE_URL (closes #3955372) Added by commit 8bf2337a6f3b and publicly available since 3.11.2 released more than 3 years ago.
Fri, 23 May 2014 18:17:44 +0200 [request] Ensure base_url() always has a trailing '/' (closes #3955093)
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 18:17:44 +0200] rev 9818
[request] Ensure base_url() always has a trailing '/' (closes #3955093) Just as an example, cubicweb.ajax.js is clearly written under the assumption that BASE_URL/baseuri() - which simply contains req.base_url() - has a trailing /.
Wed, 11 Jun 2014 10:16:13 +0200 [schema] spelling fixes in doc strings
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 10:16:13 +0200] rev 9817
[schema] spelling fixes in doc strings
Mon, 02 Jun 2014 12:23:18 +0200 [views] a 'div' with 'display: inline' screams 'span'
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 02 Jun 2014 12:23:18 +0200] rev 9816
[views] a 'div' with 'display: inline' screams 'span'
Mon, 17 Feb 2014 11:27:25 +0100 [views] Rewrite cw.utils.formContents() with jQuery (closes #3747244)
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 17 Feb 2014 11:27:25 +0100] rev 9815
[views] Rewrite cw.utils.formContents() with jQuery (closes #3747244) Use jQuery's serializeArray() method instead. Just keep a bit of compatibility with FCKEditor...
Mon, 26 May 2014 12:10:22 +0200 [web/data] Remove broken backward compatibility function
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 26 May 2014 12:10:22 +0200] rev 9814
[web/data] Remove broken backward compatibility function popupLoginBox() was deprecated in favor of cw.htmlhelpers.popupLoginBox() However, the use of cw.utils.deprecatedFunction() is broken. In firebug: >>> popupLoginBox() TypeError: newfunc is undefined cubicweb.js:113 (ligne 13) This function was modified back in 2010, so it's been broken for 4 years. Let's just get rid of it. Closes #4042978
Thu, 19 Jun 2014 17:39:12 +0200 [repoapi] make ClientConnection call RequestSessionBase's init
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Jun 2014 17:39:12 +0200] rev 9813
[repoapi] make ClientConnection call RequestSessionBase's init Not calling up means we're missing some attributes, like encoding.
Mon, 02 Jun 2014 18:31:09 +0200 [webtests/views_staticcontrollers] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 18:31:09 +0200] rev 9812
[webtests/views_staticcontrollers] use the new connection api
Mon, 02 Jun 2014 18:04:35 +0200 [webtests/views_selectors] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 18:04:35 +0200] rev 9811
[webtests/views_selectors] use the new connection api
Mon, 02 Jun 2014 17:21:52 +0200 [webtests/views_json] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 17:21:52 +0200] rev 9810
[webtests/views_json] use the new connection api
Mon, 02 Jun 2014 17:01:38 +0200 [webtests/views_errorform] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 17:01:38 +0200] rev 9809
[webtests/views_errorform] use the new connection api
Mon, 02 Jun 2014 16:52:34 +0200 [webtests/views_actions] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:52:34 +0200] rev 9808
[webtests/views_actions] use the new connection api
Mon, 02 Jun 2014 16:48:37 +0200 [webtests/views_xmlrss] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:48:37 +0200] rev 9807
[webtests/views_xmlrss] use the new connection api
Mon, 02 Jun 2014 16:18:06 +0200 [webtest/pyviews] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:18:06 +0200] rev 9806
[webtest/pyviews] use the new connection api
Mon, 02 Jun 2014 16:13:33 +0200 [tests/sqlutils] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 16:13:33 +0200] rev 9805
[tests/sqlutils] use the new connection api
Mon, 02 Jun 2014 13:09:14 +0200 [tests/postgres] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 13:09:14 +0200] rev 9804
[tests/postgres] use the new connection api
Mon, 02 Jun 2014 12:36:43 +0200 [tests/repository] use the new connection api (part 2/2)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 12:36:43 +0200] rev 9803
[tests/repository] use the new connection api (part 2/2) Some notes: * module imports cleanup * the unimplemented `test_transaction_interleaved` is wiped
Mon, 02 Jun 2014 12:28:50 +0200 [repository,tests] use the new connection api (part 1/2)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 12:28:50 +0200] rev 9802
[repository,tests] use the new connection api (part 1/2) `add_info` should not play with the cnxset nor the mode. Static analysis showed that: * add_info is an internal api called with a non-none cnx.cnxset and also in write mode * only the altered test violated this assumption, which is now somewhat documented
Tue, 17 Jun 2014 14:43:28 +0200 [book] fix various parts of the rql section stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jun 2014 14:43:28 +0200] rev 9801
[book] fix various parts of the rql section * syntax error * erroneous query * bad sphinx :func: usage
Mon, 02 Jun 2014 11:47:30 +0200 [repository] session -> cnx renaming (already done in the source object)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Jun 2014 11:47:30 +0200] rev 9800
[repository] session -> cnx renaming (already done in the source object)
Fri, 30 May 2014 17:57:55 +0200 [tests/session] remove unused import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:57:55 +0200] rev 9799
[tests/session] remove unused import
Fri, 30 May 2014 17:52:15 +0200 [tests/datafeed] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:52:15 +0200] rev 9798
[tests/datafeed] use the new connection api
Fri, 30 May 2014 17:46:40 +0200 [tests/checkintegrity] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:46:40 +0200] rev 9797
[tests/checkintegrity] use the new connection api * serverctl: the db-check command also uses an internal connection object, which makes more sense in the context of `checkintegrity`. * checkintegrity: rename srvcnx to just cnx (a bit because in the near future, there will be one cnx to rule them all)
Fri, 30 May 2014 17:40:22 +0200 [tests/schemaserial] kill star import
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:40:22 +0200] rev 9796
[tests/schemaserial] kill star import
Fri, 30 May 2014 17:38:14 +0200 [tests/schemaserial] break long lines
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:38:14 +0200] rev 9795
[tests/schemaserial] break long lines
Mon, 16 Jun 2014 17:22:22 +0200 [tests/ldap] don't leak sessions
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Jun 2014 17:22:22 +0200] rev 9794
[tests/ldap] don't leak sessions
Fri, 30 May 2014 17:24:44 +0200 [tests/ldap] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:24:44 +0200] rev 9793
[tests/ldap] use the new connection api
Fri, 13 Jun 2014 12:56:45 +0200 [test/migration] fix crash on execution
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 Jun 2014 12:56:45 +0200] rev 9792
[test/migration] fix crash on execution This assertion is there for unclear reasons. ===================== unittest_migration.py ======================= -> creating tables [====================] -> inserting default user and default groups. -> storing the schema in the database [====================] -> database for instance data initialized. F ====================================================================== FAIL: test_db_creation (unittest_migration.BaseCreationTC) make sure database can be created ---------------------------------------------------------------------- Traceback (most recent call last) File "/home/auc/confs/forges/logilab/common/testlib.py", line 661, in _proceed testfunc(*args, **kwargs) File "/home/auc/confs/forges/cubicweb/test/unittest_migration.py", line 106, in test_db_creation handler.build_db_cache() File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 469, in build_db_cache self.init_test_database() File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 729, in init_test_database init_repository(self.config, interactive=False) File "/home/auc/confs/forges/cubicweb/server/__init__.py", line 217, in init_repository repo = Repository(config, vreg=vreg) File "/home/auc/confs/forges/cubicweb/server/repository.py", line 197, in __init__ self.init_cnxset_pool() File "/home/auc/confs/forges/cubicweb/server/repository.py", line 220, in init_cnxset_pool config.bootstrap_cubes() File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 176, in bootstrap_cubes super(TestServerConfiguration, self).bootstrap_cubes() File "/home/auc/confs/forges/cubicweb/server/serverconfig.py", line 279, in bootstrap_cubes self.init_cubes(self.expand_cubes(splitstrip(line))) File "/home/auc/confs/forges/cubicweb/cwconfig.py", line 1022, in init_cubes super(CubicWebConfiguration, self).init_cubes(cubes) File "/home/auc/confs/forges/cubicweb/cwconfig.py", line 798, in init_cubes assert self._cubes is None, repr(self._cubes) AssertionError: ('card', 'file', 'localperms', 'tag')
Thu, 05 Jun 2014 17:53:27 +0200 [web] Remove unreachable and broken code
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 05 Jun 2014 17:53:27 +0200] rev 9791
[web] Remove unreachable and broken code
Tue, 15 Apr 2014 11:55:37 +0200 [testlib] call init_config once the config has been properly bootstraped
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Apr 2014 11:55:37 +0200] rev 9790
[testlib] call init_config once the config has been properly bootstraped This should be done right after repository instantiation and as such involves giving CWTC.init_config as a callback to the test database handler (which will itself gives it to the repository initialization function). This unfortunatly requires to pass the init_config method to the server.init_repository function because it has to be called after the config has been initialized (which is done in Repository.__init__) but before the migration handler is instantiated (which will call 'server_maintainance' hook, hence may require the proper config). Another way to fix this would be to change the initialization sequence, but this is another story. Closes #3749378
Thu, 12 Jun 2014 17:50:50 +0200 [devtools] even better: use a plain Connection (server-side) object for pre_setup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 17:50:50 +0200] rev 9789
[devtools] even better: use a plain Connection (server-side) object for pre_setup The previous commit switched from passing a Session to a ClientConnection. This fixes unittest_ldapsource's pre_setup_database, which relied on a server-side object to get at the repo.
Fri, 30 May 2014 17:25:31 +0200 [devtools] pre_setup_database should take a connection object
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 17:25:31 +0200] rev 9788
[devtools] pre_setup_database should take a connection object
Fri, 30 May 2014 11:10:54 +0200 [tests/migration] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 11:10:54 +0200] rev 9787
[tests/migration] use the new connection api
Wed, 28 May 2014 17:33:16 +0200 [tests/undo] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 28 May 2014 17:33:16 +0200] rev 9786
[tests/undo] use the new connection api
Thu, 12 Jun 2014 14:10:02 +0200 [js/ajax] deprecate user-callback support
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 12 Jun 2014 14:10:02 +0200] rev 9785
[js/ajax] deprecate user-callback support Related to #3567793.
Fri, 07 Mar 2014 14:03:44 +0100 EditRelationMixIn: stop using user_rql_callback
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Mar 2014 14:03:44 +0100] rev 9784
EditRelationMixIn: stop using user_rql_callback Add generic add_relation/delete_relation ajax functions and use those. Related to #3567793
Wed, 28 May 2014 17:57:40 +0200 [tests/storage] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 28 May 2014 17:57:40 +0200] rev 9783
[tests/storage] use the new connection api
Thu, 05 Jun 2014 15:10:04 +0200 [tests/security] use the new connection api
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 15:10:04 +0200] rev 9782
[tests/security] use the new connection api
Mon, 02 Jun 2014 10:52:45 +0200 [htmlwidgets] Remove unreachable code
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 02 Jun 2014 10:52:45 +0200] rev 9781
[htmlwidgets] Remove unreachable code
Thu, 24 Apr 2014 12:28:46 +0200 Remove redundant __nonzero__ methods
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 24 Apr 2014 12:28:46 +0200] rev 9780
Remove redundant __nonzero__ methods From https://docs.python.org/2/reference/datamodel.html#specialnames : When this method is not defined, __len__() is called, if it is defined, and the object is considered true if its result is nonzero. Also helpful for an eventual migration to py3k, as __nonzero__ has been replaced with __bool__, which also defaults to looking at __len__ if undefined.
Fri, 23 May 2014 18:12:47 +0200 [etwist] Remove unused host_prefixed_baseurl()
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 18:12:47 +0200] rev 9779
[etwist] Remove unused host_prefixed_baseurl()
Fri, 23 May 2014 12:26:52 +0200 [basetemplate] Remove misleading comment
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 23 May 2014 12:26:52 +0200] rev 9778
[basetemplate] Remove misleading comment The <base> tag was removed in commit 8bf2337a6f3b back in 2011.
Wed, 28 May 2014 14:48:09 +0200 [tests/security] break lines > 100 chars
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 28 May 2014 14:48:09 +0200] rev 9777
[tests/security] break lines > 100 chars
Wed, 11 Jun 2014 14:54:18 +0200 [doc/3.19] Mention [gs]et_shared_data deprecation
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 14:54:18 +0200] rev 9776
[doc/3.19] Mention [gs]et_shared_data deprecation
Tue, 03 Jun 2014 17:01:11 +0200 [hooks] internal_session -> internal_cnx (including a typo)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 17:01:11 +0200] rev 9775
[hooks] internal_session -> internal_cnx (including a typo)
Fri, 02 May 2014 14:26:14 +0200 deprecate get/set_shared_data API
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 May 2014 14:26:14 +0200] rev 9774
deprecate get/set_shared_data API Session or transaction data must be used instead. We must forward .transaction_data to web/request from which it was missing (this is indeed a _cw object API). Closes #3799036.
Wed, 11 Jun 2014 14:46:48 +0200 [migration] Stop setting session.data['rebuild-infered']
Julien Cristau <julien.cristau@logilab.fr> [Wed, 11 Jun 2014 14:46:48 +0200] rev 9773
[migration] Stop setting session.data['rebuild-infered'] It's no longer read anywhere since fe267b7336f3 "[migration] always rebuild infered relation"
Wed, 04 Jun 2014 23:02:06 +0200 Import PIL modules from the PIL namespace to be Pillow-compatible
Christophe de Vienne <christophe@unlish.com> [Wed, 04 Jun 2014 23:02:06 +0200] rev 9772
Import PIL modules from the PIL namespace to be Pillow-compatible Closes #3924726
Tue, 10 Jun 2014 14:11:59 +0200 merge two stable heads stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Jun 2014 14:11:59 +0200] rev 9771
merge two stable heads
Tue, 10 Jun 2014 09:49:45 +0200 merge 3.18.5 into 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Jun 2014 09:49:45 +0200] rev 9770
merge 3.18.5 into 3.19 branch
Tue, 10 Jun 2014 09:35:26 +0200 merge 3.17.15 into 3.18 branch stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 10 Jun 2014 09:35:26 +0200] rev 9769
merge 3.17.15 into 3.18 branch
Fri, 16 May 2014 17:01:34 +0200 [vreg] fix bad super call to lgc.registry.Registry() stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 16 May 2014 17:01:34 +0200] rev 9768
[vreg] fix bad super call to lgc.registry.Registry() Registry() expects a debugmode parameter, ovbiously not a cubicweb config object.
Thu, 05 Jun 2014 16:15:29 +0200 Added tag cubicweb-version-3.18.5, cubicweb-debian-version-3.18.5-1, cubicweb-centos-version-3.18.5-1 for changeset 5071b69b6b0b stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 16:15:29 +0200] rev 9767
Added tag cubicweb-version-3.18.5, cubicweb-debian-version-3.18.5-1, cubicweb-centos-version-3.18.5-1 for changeset 5071b69b6b0b
Thu, 05 Jun 2014 16:13:48 +0200 [pkg] prepare 3.18.5 stable cubicweb-centos-version-3.18.5-1 cubicweb-debian-version-3.18.5-1 cubicweb-version-3.18.5
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 05 Jun 2014 16:13:48 +0200] rev 9766
[pkg] prepare 3.18.5
Wed, 09 Apr 2014 17:29:25 +0200 [sobjects] update notifications system to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:29:25 +0200] rev 9765
[sobjects] update notifications system to 3.19 api
Wed, 04 Jun 2014 17:56:54 +0200 [connection] set language on new Connection for the internal manager
Julien Cristau <julien.cristau@logilab.fr> [Wed, 04 Jun 2014 17:56:54 +0200] rev 9764
[connection] set language on new Connection for the internal manager For regular users this is handled by _set_user, but for internal connections (e.g. used for notifications) we need something else.
Tue, 03 Jun 2014 15:07:41 +0200 Added tag cubicweb-version-3.19.1, cubicweb-debian-version-3.19.1-1, cubicweb-centos-version-3.19.1-1 for changeset 1fe4bc4a8ac8
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Jun 2014 15:07:41 +0200] rev 9763
Added tag cubicweb-version-3.19.1, cubicweb-debian-version-3.19.1-1, cubicweb-centos-version-3.19.1-1 for changeset 1fe4bc4a8ac8
Tue, 03 Jun 2014 12:52:52 +0200 [pkg] Add missing data files to MANIFEST 3.19.1 centos/3.19.1-1 cubicweb-centos-version-3.19.1-1 cubicweb-debian-version-3.19.1-1 cubicweb-version-3.19.1 debian/3.19.1-1
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Jun 2014 12:52:52 +0200] rev 9762
[pkg] Add missing data files to MANIFEST Fonts and svg were missing from web/data.
Tue, 03 Jun 2014 12:16:20 +0200 [pkg] prepare 3.19.1
Julien Cristau <julien.cristau@logilab.fr> [Tue, 03 Jun 2014 12:16:20 +0200] rev 9761
[pkg] prepare 3.19.1
Mon, 05 May 2014 11:26:18 +0200 [views] new cubicweb logo (closes #3803681)
David Douard <david.douard@logilab.fr> [Mon, 05 May 2014 11:26:18 +0200] rev 9760
[views] new cubicweb logo (closes #3803681) - add the new CubicWeb logo - use it as a css (background-image) - change the color of the header bar (gradient made with css)
Wed, 09 Apr 2014 15:42:27 +0200 [serverctl] rename 'add-source' to 'source-add' for consistency's sake (closes #3732169)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 09 Apr 2014 15:42:27 +0200] rev 9759
[serverctl] rename 'add-source' to 'source-add' for consistency's sake (closes #3732169)
Tue, 03 Jun 2014 12:02:51 +0200 [test/hook] use the new connection API
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 03 Jun 2014 12:02:51 +0200] rev 9758
[test/hook] use the new connection API
Fri, 30 May 2014 16:36:56 +0200 [testlib] complete the RepoAccess object (closes #3843614)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 30 May 2014 16:36:56 +0200] rev 9757
[testlib] complete the RepoAccess object (closes #3843614) It was missing the open_session call.
Thu, 22 May 2014 18:29:50 +0200 [debian] version cubicweb-bootstrap Breaks
Julien Cristau <julien.cristau@logilab.fr> [Thu, 22 May 2014 18:29:50 +0200] rev 9756
[debian] version cubicweb-bootstrap Breaks Apparently 0.6.x is OK with cw 3.19.
Tue, 06 May 2014 15:58:20 +0200 [wsgi] Delete unused instance_uri and get_full_path methods on CubicWebWsgiRequest
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 May 2014 15:58:20 +0200] rev 9755
[wsgi] Delete unused instance_uri and get_full_path methods on CubicWebWsgiRequest
Tue, 15 Apr 2014 11:59:24 +0200 [test] drop unused import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Apr 2014 11:59:24 +0200] rev 9754
[test] drop unused import
Wed, 09 Apr 2014 18:05:03 +0200 [sobjects] silent 3.19 warnings in sobjects/supervising.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 18:05:03 +0200] rev 9753
[sobjects] silent 3.19 warnings in sobjects/supervising.py
Fri, 04 Apr 2014 18:30:45 +0200 [test] update entities/test/unittest_wfobjs to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 18:30:45 +0200] rev 9752
[test] update entities/test/unittest_wfobjs to cw 3.19 api
Thu, 10 Apr 2014 10:05:20 +0200 [test] Add missing import to fix old yams warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Apr 2014 10:05:20 +0200] rev 9751
[test] Add missing import to fix old yams warning
Wed, 09 Apr 2014 17:26:57 +0200 [dataimport, migration] silence find_entities / find_one_entity warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:26:57 +0200] rev 9750
[dataimport, migration] silence find_entities / find_one_entity warning Deprecate associated methods to unify the API
Wed, 09 Apr 2014 17:14:25 +0200 [repo] fix extid2entity to ensure connection's has a cnxset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:14:25 +0200] rev 9749
[repo] fix extid2entity to ensure connection's has a cnxset else we'll call source.doexec, which attempt to access to cnxset.cu, and crash in some case (eg unittest_cwxmlparser in sobjects/test). Also, manually switch to 'write' mode to ensure cnxset is not released until commit/rollback when some entity is inserted.
Wed, 09 Apr 2014 17:28:58 +0200 [test] update sobjects/test/unittest_cwxmlparser to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:28:58 +0200] rev 9748
[test] update sobjects/test/unittest_cwxmlparser to cw 3.19 api
Wed, 09 Apr 2014 17:15:25 +0200 [repo] make it clear in internal_cnx that security is disabled
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Apr 2014 17:15:25 +0200] rev 9747
[repo] make it clear in internal_cnx that security is disabled as explained in its docstring. It was previously relying on internal connection's fake user (InternalManager) for read security and on disabling security hooks for write security. Using the security_enabled context manager is more readable and more reliable: while the older implementation works thanks to the InternalManager associated to the session, custom hooks should rely on session.[read|write]_security being correctly set. This change also allows selecting Password attributes in internal connections without explicitly disabling read security.
Fri, 04 Apr 2014 18:23:02 +0200 [datafeed] update datafeed internals to use connection instead of session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 18:23:02 +0200] rev 9746
[datafeed] update datafeed internals to use connection instead of session
Fri, 04 Apr 2014 17:57:58 +0200 [test] update sobjects/test/unittest_notification to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:57:58 +0200] rev 9745
[test] update sobjects/test/unittest_notification to cw 3.19 api
Fri, 04 Apr 2014 17:56:00 +0200 [test] simplify setup of sobjects/test/unittest_supervising.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:56:00 +0200] rev 9744
[test] simplify setup of sobjects/test/unittest_supervising.py
Fri, 04 Apr 2014 17:54:29 +0200 [test] update sobjects/test/unittest_supervising to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:54:29 +0200] rev 9743
[test] update sobjects/test/unittest_supervising to cw 3.19 api
Fri, 04 Apr 2014 17:53:58 +0200 [test] update sobjects/test/unittest_email to cw 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 17:53:58 +0200] rev 9742
[test] update sobjects/test/unittest_email to cw 3.19 api
Tue, 06 May 2014 16:00:36 +0200 [wsgi] the spec says wsgi.url_scheme *must* be provided
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 May 2014 16:00:36 +0200] rev 9741
[wsgi] the spec says wsgi.url_scheme *must* be provided No need to be defensive, anything else is a bug in the gateway.
Mon, 12 May 2014 12:37:19 +0200 [shell] provide autocompletion for rql queries in cubicweb-ctl shell (closes #3560541)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 12 May 2014 12:37:19 +0200] rev 9740
[shell] provide autocompletion for rql queries in cubicweb-ctl shell (closes #3560541) Use the ``rql.suggestions`` component to complete user's input - readline calls the ``complete`` method with user's input, - the ``complete`` method asks for each known completers if it can suggest completions for user's input.
Fri, 18 Apr 2014 14:33:40 +0200 [book] avoid '~' in all-in-one.conf, it is not expanded
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Apr 2014 14:33:40 +0200] rev 9739
[book] avoid '~' in all-in-one.conf, it is not expanded Closes #3753213
Wed, 07 May 2014 09:59:10 +0200 [book] uicfg moved from web to web.views a while ago
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 May 2014 09:59:10 +0200] rev 9738
[book] uicfg moved from web to web.views a while ago
Tue, 06 May 2014 15:59:39 +0200 [wsgi] look at wsgi.url_scheme to decide if we're on https
Julien Cristau <julien.cristau@logilab.fr> [Tue, 06 May 2014 15:59:39 +0200] rev 9737
[wsgi] look at wsgi.url_scheme to decide if we're on https The server/gateway is supposed to fill it in for us.
Mon, 24 Mar 2014 10:34:58 +0100 [web] Fix HEAD request handling (closes #3677949)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 10:34:58 +0100] rev 9736
[web] Fix HEAD request handling (closes #3677949) Don't special-case HEAD in CubicWebRequestBase.is_client_cache_valid so we don't return garbage. HEAD is supposed to return the actual headers that a GET would return, which we can't do if we bypass all the normal cubicweb logic. In particular, we no longer always return 200, and return the right Content-Length/Content-Type/...
Fri, 16 May 2014 16:49:29 +0200 [wsgi] avoid reading the entire request body in memory
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 May 2014 16:49:29 +0200] rev 9735
[wsgi] avoid reading the entire request body in memory Import POST form handling code from https://raw.github.com/defnull/multipart/master/multipart.py to avoid reading arbitrary amounts of data from the network in memory. NOTES: - In the twisted case we limit the max request content-length to 100MB (by default), which seems kind of arbitrary, but avoids this issue - werkzeug.formparser has suitable code as well, but I don't know if we want to add it as a dependency
Tue, 13 May 2014 18:47:52 +0200 Added tag cubicweb-version-3.17.15, cubicweb-debian-version-3.17.15-1, cubicweb-centos-version-3.17.15-1 for changeset ee413076752b stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 18:47:52 +0200] rev 9734
Added tag cubicweb-version-3.17.15, cubicweb-debian-version-3.17.15-1, cubicweb-centos-version-3.17.15-1 for changeset ee413076752b
Tue, 13 May 2014 18:16:18 +0200 [pkg] also bump __pkginfo__ stable cubicweb-centos-version-3.17.15-1 cubicweb-debian-version-3.17.15-1 cubicweb-version-3.17.15
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 18:16:18 +0200] rev 9733
[pkg] also bump __pkginfo__
Tue, 13 May 2014 17:48:58 +0200 [pkg] prepare 3.17.15 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 17:48:58 +0200] rev 9732
[pkg] prepare 3.17.15
Tue, 13 May 2014 13:12:16 +0200 [cache] fix a cache issue with an entity created without relation cache prefill stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 May 2014 13:12:16 +0200] rev 9731
[cache] fix a cache issue with an entity created without relation cache prefill Prefilling the relation cache has its benefits sometimes, but for massive imports it may be a memory hog. The caches should be kept coherent even if there was no prefill. Closes #3828155.
Tue, 08 Apr 2014 16:12:39 +0200 [web/test] add a test for some http response codes
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Apr 2014 16:12:39 +0200] rev 9730
[web/test] add a test for some http response codes Related to #3648809
Tue, 06 May 2014 14:11:17 +0200 [views] remove reference to the MAPPING_CHECKERS dict (closes #3810219)
David Douard <david.douard@logilab.fr> [Tue, 06 May 2014 14:11:17 +0200] rev 9729
[views] remove reference to the MAPPING_CHECKERS dict (closes #3810219) Was removed by by the changeset 65d93a4fd11c ([multi-sources-removal] Drop pyrorql and zmqrql sources)
Thu, 13 Mar 2014 17:03:15 +0100 [web/ajax] Always return a json dict with a 'reason' key in case of ajax errors
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Mar 2014 17:03:15 +0100] rev 9728
[web/ajax] Always return a json dict with a 'reason' key in case of ajax errors Sending sometimes a bare unicode string and sometimes a json-encoded dict seems like a bad idea.
Thu, 13 Mar 2014 17:01:58 +0100 [web/ajax] don't override any status code with 500 in ajax_error_handler
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Mar 2014 17:01:58 +0100] rev 9727
[web/ajax] don't override any status code with 500 in ajax_error_handler If the request produced an error such as Unauthorized or NotFound, core_handle sets an appropriate status_out. Which is then overridden by the ajax error handler.
Fri, 14 Mar 2014 11:11:28 +0100 [web] Add asserts to the raw header conversion functions
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:11:28 +0100] rev 9726
[web] Add asserts to the raw header conversion functions This API is terrible, but at least this might help us catch some errors in our conversion definitions.
Fri, 07 Mar 2014 11:19:24 +0100 [view] Delete dead(?) code from ReloadableMixIn
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Mar 2014 11:19:24 +0100] rev 9725
[view] Delete dead(?) code from ReloadableMixIn Nothing seems to ever call user_callback on the Component, only on the request. Related to #3567793
Tue, 04 Feb 2014 15:06:25 +0100 Add a db-statement-timeout option for postgresql sources
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Feb 2014 15:06:25 +0100] rev 9724
Add a db-statement-timeout option for postgresql sources Use that new option to set the statement_timeout option when creating connections, except for maintenance operations (shell and upgrade). Closes #2547026
Fri, 18 Apr 2014 14:24:52 +0200 [test] use assertNotIsInstance instead of assert_(not isinstance(...))
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Apr 2014 14:24:52 +0200] rev 9723
[test] use assertNotIsInstance instead of assert_(not isinstance(...))
Wed, 23 Apr 2014 18:19:37 +0200 [services] register_user now returns the new CWUser
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:19:37 +0200] rev 9722
[services] register_user now returns the new CWUser Closes #3804444
Wed, 23 Apr 2014 18:41:34 +0200 [server/session] remove json dumps around call_service
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:41:34 +0200] rev 9721
[server/session] remove json dumps around call_service This backouts changeset b151beea9cb6. With call_service being in-process and synchronous, there's no RPC use case.
Wed, 30 Apr 2014 08:07:59 +0200 [req.find] Use vreg.schema.eschema for eschema lookup
Christophe de Vienne <cdevienne@gmail.com> [Wed, 30 Apr 2014 08:07:59 +0200] rev 9720
[req.find] Use vreg.schema.eschema for eschema lookup If an etype is non-existant, using vreg.schema[etype] raises a confusing error complaining about a non-existing relation. This is because of the implementation of vreg.schema.__getitem__ that look first in entities and then in relations. Using directly vreg.schema.eschema restrict the lookup to etypes only, hence raises a meaningful error when the etype does not exist.
Wed, 30 Apr 2014 10:13:10 +0200 [doc] Typo
Christophe de Vienne <cdevienne@gmail.com> [Wed, 30 Apr 2014 10:13:10 +0200] rev 9719
[doc] Typo
Tue, 07 Jan 2014 15:10:57 +0100 [formfields] Handle 'placeholder' attribute for text and textarea
Christophe de Vienne <christophe@unlish.com> [Tue, 07 Jan 2014 15:10:57 +0100] rev 9718
[formfields] Handle 'placeholder' attribute for text and textarea See #636930. Closes #3406713.
Mon, 14 Apr 2014 23:00:19 +0200 [forms] Add autocomplete attribute for formrenderers
Alain Begey <alain@unlish.com> [Mon, 14 Apr 2014 23:00:19 +0200] rev 9717
[forms] Add autocomplete attribute for formrenderers If you set form.autocomplete = False, the form renderer in the open form tag will add the html option 'autocomplete=off'. It allows to disable the functionality of some browsers to fill in some forms automatically (for instance a profile with login/password) Closes #3747294
Fri, 11 Apr 2014 17:43:26 +0200 [widget] Addition of EmailInput
Alain Begey <alain@unlish.com> [Fri, 11 Apr 2014 17:43:26 +0200] rev 9716
[widget] Addition of EmailInput Simple input widget with type = 'email' Closes #3741921
Mon, 13 Jan 2014 14:21:28 +0100 close branch reldefsecurity
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 13 Jan 2014 14:21:28 +0100] rev 9715
close branch
Mon, 28 Apr 2014 18:38:24 +0200 Added tag cubicweb-version-3.19.0, cubicweb-debian-version-3.19.0-1, cubicweb-centos-version-3.19.0-1 for changeset 1141927b8494
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 18:38:24 +0200] rev 9714
Added tag cubicweb-version-3.19.0, cubicweb-debian-version-3.19.0-1, cubicweb-centos-version-3.19.0-1 for changeset 1141927b8494
Mon, 28 Apr 2014 18:35:35 +0200 [debian] set release date 3.19.0 centos/3.19.0-1 cubicweb-centos-version-3.19.0-1 cubicweb-debian-version-3.19.0-1 cubicweb-version-3.19.0 debian/3.19.0-1
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 18:35:35 +0200] rev 9713
[debian] set release date
Mon, 28 Apr 2014 18:11:21 +0200 [entity] add a new `cw_linkable_rql` method
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 28 Apr 2014 18:11:21 +0200] rev 9712
[entity] add a new `cw_linkable_rql` method * the new method returns the entities that are or may be related to the current one by the relation passed as an argument. Closes #3738011.
Mon, 07 Apr 2014 12:03:31 +0200 [schema] fix buggy composite_rdef_roles and associated test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Apr 2014 12:03:31 +0200] rev 9711
[schema] fix buggy composite_rdef_roles and associated test it should only look at rdefs involving the considered entity type. Closes #3712982
Mon, 28 Apr 2014 17:43:35 +0200 [doc] update 3.19 release notes
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 17:43:35 +0200] rev 9710
[doc] update 3.19 release notes
Mon, 28 Apr 2014 12:41:41 +0200 [login form] Fix BaseLogForm.form_action()
Christophe de Vienne <cdevienne@gmail.com> [Mon, 28 Apr 2014 12:41:41 +0200] rev 9709
[login form] Fix BaseLogForm.form_action() The method implementation was calling super() with the wrong class
Mon, 28 Apr 2014 11:20:26 +0200 [migration] move 'entities' table changes from 3.19.0 to bootstrap script
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 11:20:26 +0200] rev 9708
[migration] move 'entities' table changes from 3.19.0 to bootstrap script The 'mtime' and 'source' columns need to go away before we attempt to do anything else with the repo, otherwise any addition of an entity is going to explode.
Mon, 28 Apr 2014 12:54:14 +0200 [server/session] add missing rollback when freeing a db connection
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Apr 2014 12:54:14 +0200] rev 9707
[server/session] add missing rollback when freeing a db connection When we let go of a cnxset and give it back to the pool, we need to make sure it's not in the middle of a transaction. We got bitten by a migration where the connection used by admin's repo.connect was not rolled back before attempting the migration, causing a deadlock because it had a lock on a table. This could potentially also be an issue for e.g. hooks or looping tasks that didn't explicitly rollback before calling free_cnxset or moving out of a ensure_cnx_set block.
Thu, 24 Apr 2014 17:52:20 +0200 [debian] add Breaks on cubicweb-bootstrap
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Apr 2014 17:52:20 +0200] rev 9706
[debian] add Breaks on cubicweb-bootstrap Need to be versioned once we know which version fixes https://www.cubicweb.org/ticket/3728939
Tue, 08 Apr 2014 16:08:31 +0200 Drop duplicated content in ITreeAdapter docstring stable
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 08 Apr 2014 16:08:31 +0200] rev 9705
Drop duplicated content in ITreeAdapter docstring
Mon, 14 Apr 2014 13:31:19 +0200 an -> a (misc) stable
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 13:31:19 +0200] rev 9704
an -> a (misc)
Mon, 14 Apr 2014 12:29:01 +0200 an utf-8 -> a utf-8 stable
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 12:29:01 +0200] rev 9703
an utf-8 -> a utf-8
Mon, 14 Apr 2014 12:27:37 +0200 an URI -> a URI stable
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 12:27:37 +0200] rev 9702
an URI -> a URI
Mon, 14 Apr 2014 12:07:00 +0200 an unicode string -> a unicode string stable
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 12:07:00 +0200] rev 9701
an unicode string -> a unicode string
Mon, 14 Apr 2014 11:54:33 +0200 an URL -> a URL stable
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 14 Apr 2014 11:54:33 +0200] rev 9700
an URL -> a URL
Tue, 01 Apr 2014 13:57:25 +0200 Remove a misleading comment about self.render() behavior. stable
Christophe de Vienne <christophe@unlish.com> [Tue, 01 Apr 2014 13:57:25 +0200] rev 9699
Remove a misleading comment about self.render() behavior. The former comment suggested that View.render called with 'row' or 'col' would set cw_row or cw_col, which is not (anymore ?) accurate. Related to #3696871.
Thu, 06 Mar 2014 18:41:23 +0100 [migractions] add sanity check in rename_relation_type stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 06 Mar 2014 18:41:23 +0100] rev 9698
[migractions] add sanity check in rename_relation_type If the relation is still present in the fs schema, we probably shouldn't be renaming it (because it's still in use somewhere, possibly in a different cube). Closes #3608172
Mon, 07 Apr 2014 08:46:41 +0000 [dataimport] Add safety belt on "gen_rtype" in MetaGenerator, closes #3712892 stable
Vincent Michel <vincent.michel@logilab.fr> [Mon, 07 Apr 2014 08:46:41 +0000] rev 9697
[dataimport] Add safety belt on "gen_rtype" in MetaGenerator, closes #3712892 Some cubes may well add to the META_RTYPES set, hence crashing the gen_<somecubemeta> call.
Mon, 07 Apr 2014 08:44:56 +0000 [dataimport] Correctly serialize datetime objects in _create_copyfrom_buffer, closes #3712885 stable
Vincent Michel <vincent.michel@logilab.fr> [Mon, 07 Apr 2014 08:44:56 +0000] rev 9696
[dataimport] Correctly serialize datetime objects in _create_copyfrom_buffer, closes #3712885
Thu, 03 Apr 2014 15:36:33 +0200 [dataimport] Prevent ucsvreader from skipping the first line when ignore_errors is True (closes #3705791) stable
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 03 Apr 2014 15:36:33 +0200] rev 9695
[dataimport] Prevent ucsvreader from skipping the first line when ignore_errors is True (closes #3705791)
Thu, 03 Apr 2014 15:30:37 +0200 [dataimport] Avoid double unicode decoding in ucsvreader (closes #3705752) stable
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 03 Apr 2014 15:30:37 +0200] rev 9694
[dataimport] Avoid double unicode decoding in ucsvreader (closes #3705752)
Fri, 25 Apr 2014 12:22:07 +0200 [doc] Document the user_data dictionnary content stable
Christophe de Vienne <christophe@unlish.com> [Fri, 25 Apr 2014 12:22:07 +0200] rev 9693
[doc] Document the user_data dictionnary content
Thu, 24 Apr 2014 14:44:58 +0200 [debian] break old cubicweb-vcsfile
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Apr 2014 14:44:58 +0200] rev 9692
[debian] break old cubicweb-vcsfile We removed call_service's async argument, which it used.
Wed, 23 Apr 2014 18:17:42 +0200 [services] catch missing group early in register_user
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:17:42 +0200] rev 9691
[services] catch missing group early in register_user Better an assertion than a rql syntax error for such a programming error.
Wed, 23 Apr 2014 18:16:46 +0200 [services] rename register_user kwargs to cwuserkwargs
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 18:16:46 +0200] rev 9690
[services] rename register_user kwargs to cwuserkwargs They're attributes/relations for the created CWUser, this makes it clearer.
Tue, 22 Apr 2014 15:18:04 +0200 [services] don't hardcode 'users' group for register_user
Julien Cristau <julien.cristau@logilab.fr> [Tue, 22 Apr 2014 15:18:04 +0200] rev 9689
[services] don't hardcode 'users' group for register_user Let the caller choose which group the user should be in. Related to #3020639 Caveat: this is a possible security hole if untrusted values are allowed.
Tue, 22 Apr 2014 15:03:24 +0200 [sobjects/test] check that register_user properly sets user name and email address
Julien Cristau <julien.cristau@logilab.fr> [Tue, 22 Apr 2014 15:03:24 +0200] rev 9688
[sobjects/test] check that register_user properly sets user name and email address Related to #3020639
Fri, 19 Jul 2013 17:38:15 +0200 [server] Refactor Repository.register_user into a CubicWeb service (closes #3020639)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 19 Jul 2013 17:38:15 +0200] rev 9687
[server] Refactor Repository.register_user into a CubicWeb service (closes #3020639) [jcr: move commit to the caller; add item in release notes; fix NameErrors]
Fri, 18 Apr 2014 14:25:36 +0200 [migration] set a cnxset before process_script()
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Apr 2014 14:25:36 +0200] rev 9686
[migration] set a cnxset before process_script() Not pretty, but I don't have a better idea right now and this at least ensures migration scripts get run in the expected environment and can access sql stuff as before.
Thu, 10 Apr 2014 11:04:13 +0200 [server] make internal_cnx get and keep a connection to the db
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 11:04:13 +0200] rev 9685
[server] make internal_cnx get and keep a connection to the db - internal_session worked that way - it's less surprising for users if their internal connections "just work", rather than having to deal with the cnxset when using low-level APIs Includes a backout of 3f62606c01a2 "[repo] Fix register_user" which is no longer needed. Depend on logilab-database 1.12.1 to avoid errors due to pointless check in python's sqlite3 binding.
Tue, 22 Apr 2014 14:43:11 +0200 [server/session] make commit/rollback obey ensure_cnx_set
Julien Cristau <julien.cristau@logilab.fr> [Tue, 22 Apr 2014 14:43:11 +0200] rev 9684
[server/session] make commit/rollback obey ensure_cnx_set Inside the ensure_cnx_set context manager, commit and rollback aren't allowed to dispose of the cnxset.
Wed, 09 Apr 2014 14:05:54 +0200 [repo] fix deprecation messages for stats and gc_stats
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 14:05:54 +0200] rev 9683
[repo] fix deprecation messages for stats and gc_stats
Thu, 10 Apr 2014 17:31:50 +0200 [cwconfig] use "foo not in bar" instead of "not foo in bar"
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 17:31:50 +0200] rev 9682
[cwconfig] use "foo not in bar" instead of "not foo in bar"
Thu, 10 Apr 2014 15:28:21 +0200 [debian] Add Breaks on a few cubes that need changes for 3.19
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 15:28:21 +0200] rev 9681
[debian] Add Breaks on a few cubes that need changes for 3.19 - mercurial_server is affected by composite deletion changes - forgotpwd relied on session data to be forwarded to notification view - registration hooks into the authentication stack
Thu, 10 Apr 2014 15:03:01 +0200 [hooks] run cascading delete hook later
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 15:03:01 +0200] rev 9680
[hooks] run cascading delete hook later Applications may have their own before_delete_entity hooks that rely on the composite relations still existing.
Thu, 10 Apr 2014 13:54:31 +0200 [devtools] set PGPORT/PGHOST when calling pg_ctl start
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 13:54:31 +0200] rev 9679
[devtools] set PGPORT/PGHOST when calling pg_ctl start Helps pg_ctl find the socket on squeeze, otherwise it looks in /var/run/postgresql.
Wed, 23 Apr 2014 17:21:07 +0200 [server/test] update to deal with lgdb sqlserver fix stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 23 Apr 2014 17:21:07 +0200] rev 9678
[server/test] update to deal with lgdb sqlserver fix See https://www.logilab.org/ticket/235748
Thu, 10 Apr 2014 10:59:08 +0200 [test] Fix regressions from 96549de9dd70 "[test] use assertIn where appropriate"
Julien Cristau <julien.cristau@logilab.fr> [Thu, 10 Apr 2014 10:59:08 +0200] rev 9677
[test] Fix regressions from 96549de9dd70 "[test] use assertIn where appropriate"
Wed, 09 Apr 2014 18:14:45 +0200 [repo] Fix register_user
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 18:14:45 +0200] rev 9676
[repo] Fix register_user Make sure we have a connection to the db around user creation.
Tue, 08 Apr 2014 18:00:14 +0200 [test] use assertNotIn where appropriate
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Apr 2014 18:00:14 +0200] rev 9675
[test] use assertNotIn where appropriate Automatically generated with: find -name unittest_*.py -o -name test_*.py | xargs sed -i -e 's/assertFalse(\([^,]*\) in \([^,]*\))/assertNotIn(\1, \2)/' plus revert of a couple false matches.
Tue, 08 Apr 2014 17:39:39 +0200 [test] use assertIn where appropriate
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Apr 2014 17:39:39 +0200] rev 9674
[test] use assertIn where appropriate Automatically generated with: find -name unittest_*.py -o -name test_*.py | xargs sed -i -e 's/assertTrue(\([^,]*\) in \([^,]*\))/assertIn(\1, \2)/'
Wed, 09 Apr 2014 11:25:45 +0200 [doc] Add removal of old multi-sources to 3.19 release notes
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 11:25:45 +0200] rev 9673
[doc] Add removal of old multi-sources to 3.19 release notes
Wed, 09 Apr 2014 11:19:59 +0200 [pkg] Bump to 3.19.0
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 11:19:59 +0200] rev 9672
[pkg] Bump to 3.19.0
Wed, 09 Apr 2014 10:51:15 +0200 [web/debug] remove code broken by session refactoring
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 10:51:15 +0200] rev 9671
[web/debug] remove code broken by session refactoring session.cnx and cnx.check() no longer exist.
Wed, 09 Apr 2014 10:49:18 +0200 [web/debug] Fix check for open sessions
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Apr 2014 10:49:18 +0200] rev 9670
[web/debug] Fix check for open sessions itervalues returns an iterator, which never evaluates to False. Regression from 0bb18407c053 "[toward py3k] rewrite dict.keys() and dict.values() (part of #2711624)".
Thu, 20 Mar 2014 15:42:23 +0100 [cwconfig] Remove useless 'ui-cube' configuration option (closes #3728904)
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 20 Mar 2014 15:42:23 +0100] rev 9669
[cwconfig] Remove useless 'ui-cube' configuration option (closes #3728904) The mechanism introduced could never actually be used as it brings dependency loops to the cube graph. Just get rid of it. This reverts commit 4032499c701e.
Mon, 07 Apr 2014 14:28:47 +0200 [test] Use RepoAccess.shell() in unittest_predicates
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 14:28:47 +0200] rev 9668
[test] Use RepoAccess.shell() in unittest_predicates
Mon, 07 Apr 2014 12:03:06 +0200 [devtools] add 'shell' method to RepoAccess, deprecate CubicWebTC's
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 12:03:06 +0200] rev 9667
[devtools] add 'shell' method to RepoAccess, deprecate CubicWebTC's Lets us control the connection's lifetime.
Mon, 07 Apr 2014 14:44:49 +0200 [repo] make extid2eid work with either a session or a connection
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 14:44:49 +0200] rev 9666
[repo] make extid2eid work with either a session or a connection The only place it should matter is for restoring pending_operations in case of failure. Which is not exercised by the test suite. Here be dragons.
Fri, 04 Apr 2014 14:23:01 +0200 [repository] extid2eid's 'commit' argument no more necessary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 14:23:01 +0200] rev 9665
[repository] extid2eid's 'commit' argument no more necessary This removes the need for creating an internal session.
Fri, 04 Apr 2014 12:46:35 +0200 [repository] complete argument is no more needed since we have no more 'true' multisource.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:46:35 +0200] rev 9664
[repository] complete argument is no more needed since we have no more 'true' multisource. It is always false.
Fri, 04 Apr 2014 12:39:59 +0200 [repository] 'session' argument is always given to type[_and_source]_from_eid, make it mandatory and simplify code accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:39:59 +0200] rev 9663
[repository] 'session' argument is always given to type[_and_source]_from_eid, make it mandatory and simplify code accordingly
Fri, 04 Apr 2014 14:48:51 +0200 [repository] 'session' argument is always given to extid2eid, make it mandatory and simplify code accordingly
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 14:48:51 +0200] rev 9662
[repository] 'session' argument is always given to extid2eid, make it mandatory and simplify code accordingly
Fri, 28 Mar 2014 14:59:33 +0100 [web/data] Remove broken jquery-json plugin (closes #3590335)
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 28 Mar 2014 14:59:33 +0100] rev 9661
[web/data] Remove broken jquery-json plugin (closes #3590335) Conversion of Date() objects is somehow broken (don't know why beyond that it's due to jquery-json's monkeypatched Date.toJSON() method). Use the now-standard JSON.stringify() instead. http://caniuse.com/#feat=json says it's supported by all browsers, and even IE going back to version 8.
Mon, 27 Jan 2014 14:02:21 +0100 Add missing relation types items in schema global variables
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 27 Jan 2014 14:02:21 +0100] rev 9660
Add missing relation types items in schema global variables Some of these global variables are used, in particular, to control schema views (web/views/schema.py). While they are currently not properly documented (see #3360868), their definition are currently incomplete (e.g. one could reasonably expect to find ``cw_schema`` in ``SYSTEM_RTYPES``). Closes #3486114.
Thu, 13 Mar 2014 16:57:22 +0100 [web] return 403 for Unauthorized, not 401
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Mar 2014 16:57:22 +0100] rev 9659
[web] return 403 for Unauthorized, not 401 401 is reserved to HTTP authentication. Just because it's also called "unauthorized" doesn't mean it's the same as cubicweb's Unauthorized exception. Closes #3648809.
Thu, 03 Apr 2014 19:55:30 +0200 [test] update unittest_repoapi to 3.19 api (sic)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:30 +0200] rev 9658
[test] update unittest_repoapi to 3.19 api (sic) [jcr: while at it, fix typos and add missing __main__ section]
Thu, 03 Apr 2014 19:55:19 +0200 [test] update unittest_utils to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:19 +0200] rev 9657
[test] update unittest_utils to 3.19 api
Thu, 03 Apr 2014 19:55:11 +0200 [test] update unittest_rset to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:11 +0200] rev 9656
[test] update unittest_rset to 3.19 api [jcr: use self.admin_access instead of creating a new one each time]
Thu, 03 Apr 2014 19:55:03 +0200 [test] update unittest_rqlrewrite to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:55:03 +0200] rev 9655
[test] update unittest_rqlrewrite to 3.19 api
Thu, 03 Apr 2014 19:54:54 +0200 [test] update unittest_req to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:54:54 +0200] rev 9654
[test] update unittest_req to 3.19 api [jcr: use self.admin_access instead of creating a new one each time]
Thu, 03 Apr 2014 19:54:45 +0200 [test] update unittest_predicates to 3.19 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:54:45 +0200] rev 9653
[test] update unittest_predicates to 3.19 api [jcr: use self.admin_access instead of creating a new one each time]
Thu, 03 Apr 2014 18:35:18 +0200 [web/test] port unittest_reledit to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 18:35:18 +0200] rev 9652
[web/test] port unittest_reledit to RepoAccess API
Fri, 04 Apr 2014 11:31:39 +0200 [web/test] port unittest_magicsearch to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 11:31:39 +0200] rev 9651
[web/test] port unittest_magicsearch to RepoAccess API request created in setUp makes context manager usage painful, so create a context manager to do the setup for each test class.
Thu, 03 Apr 2014 16:05:54 +0200 [web/test] use real_error_handling context manager instead of open-coding it
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 16:05:54 +0200] rev 9650
[web/test] use real_error_handling context manager instead of open-coding it
Thu, 03 Apr 2014 16:03:19 +0200 [web/test] port unittest_idownloadable to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 16:03:19 +0200] rev 9649
[web/test] port unittest_idownloadable to RepoAccess API
Thu, 03 Apr 2014 15:51:29 +0200 [web/test] remove useless calls to self.request() from CORS tests
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 15:51:29 +0200] rev 9648
[web/test] remove useless calls to self.request() from CORS tests
Thu, 03 Apr 2014 15:47:04 +0200 [web/test] port unittest_formfields to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 15:47:04 +0200] rev 9647
[web/test] port unittest_formfields to RepoAccess API
Wed, 02 Apr 2014 18:20:23 +0200 [web/test] port unittest_form to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 18:20:23 +0200] rev 9646
[web/test] port unittest_form to RepoAccess API
Wed, 02 Apr 2014 17:44:32 +0200 [web/test] port unittest_facet to RepoAccess API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 17:44:32 +0200] rev 9645
[web/test] port unittest_facet to RepoAccess API
Wed, 02 Apr 2014 17:03:46 +0200 [web/test] move unittest_controller to RepoAccess test API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 17:03:46 +0200] rev 9644
[web/test] move unittest_controller to RepoAccess test API
Wed, 02 Apr 2014 16:56:26 +0200 [web/test] port unittest_breadcrumbs to 3.19 test api
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 16:56:26 +0200] rev 9643
[web/test] port unittest_breadcrumbs to 3.19 test api
Wed, 02 Apr 2014 12:44:57 +0200 [web/test] avoid deprecation warnings from find_entities()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 12:44:57 +0200] rev 9642
[web/test] avoid deprecation warnings from find_entities()
Wed, 02 Apr 2014 15:51:01 +0200 [web/test] port unittest_application to new 3.19 API
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 15:51:01 +0200] rev 9641
[web/test] port unittest_application to new 3.19 API
Fri, 04 Apr 2014 12:46:06 +0200 [test] silence warnings for unittest_schema by upgrading to new 3.19 API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:46:06 +0200] rev 9640
[test] silence warnings for unittest_schema by upgrading to new 3.19 API
Fri, 04 Apr 2014 12:45:12 +0200 [test] silence warnings for unittest_cwctl by upgrading to new 3.19 API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:45:12 +0200] rev 9639
[test] silence warnings for unittest_cwctl by upgrading to new 3.19 API
Fri, 04 Apr 2014 13:49:03 +0200 [test] replace some assert{True,False} with more specific method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 13:49:03 +0200] rev 9638
[test] replace some assert{True,False} with more specific method
Tue, 01 Apr 2014 10:26:37 +0200 [test] silence warnings for unittest_entity by upgrading to new 3.19 API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Apr 2014 10:26:37 +0200] rev 9637
[test] silence warnings for unittest_entity by upgrading to new 3.19 API
Mon, 07 Apr 2014 18:04:56 +0200 Fix constraint sync during migration
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 18:04:56 +0200] rev 9636
Fix constraint sync during migration - restore constraints lost during merge in test schema. - use constraint_by_eid in BeforeDeleteCWConstraintHook as done in 3.17.14 for BeforeDeleteConstrainedByHook. Fixes handling of multiple constraints of the same type. - make sync_schema_props_perms() delete the CWConstraint entity instead of the constrained_by relation. In 3.19, the latter doesn't automatically result in the former just because the relation is composite. Simplify the constraint migration to delete all removed constraints and recreate new ones even if they share the same type; that optimization made the code more complicated for (AFAICT) no significant reason.
Mon, 07 Apr 2014 17:02:04 +0200 merge 3.18.4 into default
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 17:02:04 +0200] rev 9635
merge 3.18.4 into default server/test/unittest_migractions fails due to interaction between new constraint test (from 3.18) and composite deletion change (in 3.19).
Mon, 07 Apr 2014 15:57:47 +0200 Added tag cubicweb-version-3.18.4, cubicweb-debian-version-3.18.4-1, cubicweb-centos-version-3.18.4-1 for changeset 0176da9bc752 stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 15:57:47 +0200] rev 9634
Added tag cubicweb-version-3.18.4, cubicweb-debian-version-3.18.4-1, cubicweb-centos-version-3.18.4-1 for changeset 0176da9bc752
Fri, 04 Apr 2014 12:37:39 +0200 [test/data] Add missing 'add' permission on attribute stable cubicweb-centos-version-3.18.4-1 cubicweb-debian-version-3.18.4-1 cubicweb-version-3.18.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Apr 2014 12:37:39 +0200] rev 9633
[test/data] Add missing 'add' permission on attribute Silences a warning introduced in 3.18.
Mon, 07 Apr 2014 14:15:35 +0200 [hooks/notification] Fix indentation
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 14:15:35 +0200] rev 9632
[hooks/notification] Fix indentation Follow-up for changeset 1b8552265f3b "[hooks/notification] use a cnx not a session"
Thu, 03 Apr 2014 18:16:10 +0200 [devtools] deprecate CWTC.user()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:16:10 +0200] rev 9631
[devtools] deprecate CWTC.user()
Thu, 03 Apr 2014 18:18:11 +0200 minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:18:11 +0200] rev 9630
minor cleanups
Thu, 03 Apr 2014 18:16:28 +0200 some copyright updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:16:28 +0200] rev 9629
some copyright updates
Thu, 03 Apr 2014 18:12:48 +0200 [devtools] properly close open access on tearDown
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:12:48 +0200] rev 9628
[devtools] properly close open access on tearDown avoiding further warning about living sessions while the repo is turned off. The doc string says: The RepoAccess need to be closed to destroy the associated Session. TestCase usually take care of this aspect for the user. but that wasn't true until now.
Thu, 03 Apr 2014 19:10:40 +0200 [devtools] make comment (a bit) more readable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 19:10:40 +0200] rev 9627
[devtools] make comment (a bit) more readable
Wed, 02 Apr 2014 16:09:09 +0200 [devtools] avoid an internal deprecation warning
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 16:09:09 +0200] rev 9626
[devtools] avoid an internal deprecation warning websession and session are now one and the same.
Wed, 02 Apr 2014 12:38:29 +0200 [server/session] undeprecate session.anonymous_session
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 12:38:29 +0200] rev 9625
[server/session] undeprecate session.anonymous_session It's not connection-specific.
Wed, 02 Apr 2014 15:42:25 +0200 [web/sessions] use session.sessionid instead of deprecated session.id
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 15:42:25 +0200] rev 9624
[web/sessions] use session.sessionid instead of deprecated session.id
Thu, 03 Apr 2014 18:09:57 +0200 [repo] don't set cnxset when getting the session to close it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Apr 2014 18:09:57 +0200] rev 9623
[repo] don't set cnxset when getting the session to close it and avoid warning about that. session._cnx.rollback won't do anything if it's not set and a newer connection is now created to run the session_close hook, so there is not need to set cnxset. Notice we have to take care about not trying to rollback the underlying cnx when the session is not 'session_handled' (i.e. bw compat mode). This case only occurs due to hackish things to keep bw compat in testlib.
(0) -3000 -1000 -240 +240 +1000 +3000 tip