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.
Wed, 02 Apr 2014 12:38:02 +0200 [repo] handle connection explicitly when calling session open/close hooks
Julien Cristau <julien.cristau@logilab.fr> [Wed, 02 Apr 2014 12:38:02 +0200] rev 9622
[repo] handle connection explicitly when calling session open/close hooks
Tue, 01 Apr 2014 16:48:34 +0200 [hooks/syncschema] work with connections not sessions
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:48:34 +0200] rev 9621
[hooks/syncschema] work with connections not sessions
Tue, 01 Apr 2014 16:48:14 +0200 [server/sources] {before,after}_entity_insertion wants a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:48:14 +0200] rev 9620
[server/sources] {before,after}_entity_insertion wants a cnx not a session
Tue, 01 Apr 2014 16:35:15 +0200 [hooks/syncsources] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:35:15 +0200] rev 9619
[hooks/syncsources] use a cnx not a session
Tue, 01 Apr 2014 16:34:38 +0200 [hooks/notification] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:34:38 +0200] rev 9618
[hooks/notification] use a cnx not a session
Tue, 01 Apr 2014 16:33:48 +0200 [hooks/metadata] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:33:48 +0200] rev 9617
[hooks/metadata] use a cnx not a session
Tue, 01 Apr 2014 16:32:49 +0200 [hooks/bookmark] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:32:49 +0200] rev 9616
[hooks/bookmark] use a cnx not a session
Tue, 01 Apr 2014 16:32:28 +0200 [hooks/workflow] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:32:28 +0200] rev 9615
[hooks/workflow] use a cnx not a session
Tue, 01 Apr 2014 16:30:35 +0200 [hooks/email] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:30:35 +0200] rev 9614
[hooks/email] use a cnx not a session
Tue, 01 Apr 2014 16:29:54 +0200 [hooks/integrity] use a cnx not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:29:54 +0200] rev 9613
[hooks/integrity] use a cnx not a session
Tue, 01 Apr 2014 16:28:12 +0200 [hooks/security] let's use a connection, not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:28:12 +0200] rev 9612
[hooks/security] let's use a connection, not a session
Tue, 01 Apr 2014 16:17:03 +0200 [server/sources/native] deal with connections, not sessions
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:17:03 +0200] rev 9611
[server/sources/native] deal with connections, not sessions
Tue, 01 Apr 2014 16:12:50 +0200 [server] eschema_eid needs a connection, not a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 16:12:50 +0200] rev 9610
[server] eschema_eid needs a connection, not a session
Tue, 01 Apr 2014 15:53:21 +0200 [repository] operations get a connection instead of a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 15:53:21 +0200] rev 9609
[repository] operations get a connection instead of a session Left extid2eid unchanged because that function scares the shit out of me.
Tue, 01 Apr 2014 15:52:44 +0200 [server/hook] operations get a connection instead of a session
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 15:52:44 +0200] rev 9608
[server/hook] operations get a connection instead of a session
Tue, 01 Apr 2014 15:46:17 +0200 [repository] Use an internal connection in register_user
Julien Cristau <julien.cristau@logilab.fr> [Tue, 01 Apr 2014 15:46:17 +0200] rev 9607
[repository] Use an internal connection in register_user
Tue, 01 Apr 2014 10:28:16 +0200 avoid to internally raise 3.19 warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 01 Apr 2014 10:28:16 +0200] rev 9606
avoid to internally raise 3.19 warnings
Mon, 07 Apr 2014 12:28:25 +0200 [sources] ensure we have a cnxset in undoable_transactions
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Apr 2014 12:28:25 +0200] rev 9605
[sources] ensure we have a cnxset in undoable_transactions
Fri, 04 Apr 2014 10:46:53 +0200 [server] move security/integrity hook management away from InternalSession.__init__
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 10:46:53 +0200] rev 9604
[server] move security/integrity hook management away from InternalSession.__init__ and to Repository.internal_{session,cnx} instead. Lets internal_cnx avoid deprecation warnings.
Thu, 03 Apr 2014 17:25:53 +0200 [migration] make 'session' object be a server-side Connection, not ClientConnection
Julien Cristau <julien.cristau@logilab.fr> [Thu, 03 Apr 2014 17:25:53 +0200] rev 9603
[migration] make 'session' object be a server-side Connection, not ClientConnection I think this better corresponds to the previous behaviour. However, that Connection does not have a cnxset, which should probably be changed (for both interactive_shell and cmd_process_script).
Thu, 20 Mar 2014 08:45:52 +0100 [sources] Skip problematic sources when starting shell instead of crashing. Closes #3670208
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Mar 2014 08:45:52 +0100] rev 9602
[sources] Skip problematic sources when starting shell instead of crashing. Closes #3670208 At least this gives an opportunity to fix the problem in using c-c shell, which is currently not possible because it crashes during initialization. Notice that since sources are copy based, it should not be a problem at all to have some disabled, beside for services such as authentication sources as ldapfeed.
Fri, 04 Apr 2014 17:32:12 +0200 [web] fix language negotiation
Julien Cristau <julien.cristau@logilab.fr> [Fri, 04 Apr 2014 17:32:12 +0200] rev 9601
[web] fix language negotiation Regression caused by commit 6fd0ac6506cb "[web-request] handle default language earlier". We would handle language negotiation at request init time, but overwrite the selected language with the site default when calling set_cnx.
Tue, 01 Apr 2014 18:09:46 +0200 [merge] bring the 3.17.14 fixes to 3.18 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Apr 2014 18:09:46 +0200] rev 9600
[merge] bring the 3.17.14 fixes to 3.18
Tue, 01 Apr 2014 14:46:55 +0200 [test/utils] repair concat-resources test stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 01 Apr 2014 14:46:55 +0200] rev 9599
[test/utils] repair concat-resources test That was forgotten in 240a620b9cd3. Related to #3670503.
(0) -3000 -1000 -120 +120 +1000 +3000 tip