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.
Mon, 31 Mar 2014 19:00:49 +0200 [pkg] bump cubicweb.spec stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 31 Mar 2014 19:00:49 +0200] rev 9598
[pkg] bump cubicweb.spec
Mon, 31 Mar 2014 11:18:44 +0000 [dataimport] Correctly call rschema(rtype) in SqlGenObjectStore, closes #3694139 stable
Vincent Michel <vincent.michel@logilab.fr> [Mon, 31 Mar 2014 11:18:44 +0000] rev 9597
[dataimport] Correctly call rschema(rtype) in SqlGenObjectStore, closes #3694139
Fri, 28 Mar 2014 17:13:38 +0100 [pkg] prepare 3.18.4 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 28 Mar 2014 17:13:38 +0100] rev 9596
[pkg] prepare 3.18.4
Thu, 20 Mar 2014 15:44:59 +0100 [web] Disable 'concat-resources' by default (closes #3670503) stable
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 20 Mar 2014 15:44:59 +0100] rev 9595
[web] Disable 'concat-resources' by default (closes #3670503) It makes debugging harder and it can actually *break* working JS or CSS files. This is the first step towards complete removal.
Wed, 12 Mar 2014 08:56:31 +0100 [testlib] Drop override of assertItemsEqual method stable
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 12 Mar 2014 08:56:31 +0100] rev 9594
[testlib] Drop override of assertItemsEqual method The override is not compatible with underlying (standard) method because it builds sets and rely on eid. Closes #3641111.
Thu, 13 Mar 2014 17:32:40 +0100 [rewrite] Fix crash when the main variable doesn't appear in the snippet's vargraph stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Mar 2014 17:32:40 +0100] rev 9593
[rewrite] Fix crash when the main variable doesn't appear in the snippet's vargraph Also, the added test discover another bug once the first has been fixed (erroneous argument given to .rewrite recursive call). Closes #3661918
Thu, 13 Mar 2014 15:33:22 +0100 [ext/rest] Catch SystemExit raised by docutils stable
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 13 Mar 2014 15:33:22 +0100] rev 9592
[ext/rest] Catch SystemExit raised by docutils docutils publisher may raise SystemExit which is not caught by Exception. Closes #3648763.
Fri, 14 Mar 2014 15:19:31 +0100 [entity] User-defined relation to skip for copy has precedence stable
Jérôme Roy <jerome.roy@logilab.fr> [Fri, 14 Mar 2014 15:19:31 +0100] rev 9591
[entity] User-defined relation to skip for copy has precedence Otherwise permission problems can occur on rtypes not yet skipped Closes #3653459
Wed, 26 Feb 2014 14:50:13 +0100 Make EditController edit_entity method always return an eid stable
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 26 Feb 2014 14:50:13 +0100] rev 9590
Make EditController edit_entity method always return an eid In cases the entity was to be created or copied, eid was None hence the method returned None despite the dosctring says the method should always return an eid. Now if the eid variable is None, it is assigned to the newly created entity eid. Closes #3593029.
Wed, 26 Mar 2014 11:08:09 +0100 [migration] Improve update of in-memory schema during 3.18 CWAttribute.defaultval change stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Mar 2014 11:08:09 +0100] rev 9589
[migration] Improve update of in-memory schema during 3.18 CWAttribute.defaultval change We weren't updating the schema properly so a bunch of structures still had the old rdef with 'String' as object. That caused failures to add new attributes later in the migration as their default value would be a Binary object but the schema would expect a String. Closes #3683640
Thu, 27 Mar 2014 14:32:21 +0100 [migration] always rebuild infered relation stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Mar 2014 14:32:21 +0100] rev 9588
[migration] always rebuild infered relation This was skipped for some bad reason (see 12ad88615a12 which introduced the change). Fix for #231956 in Yams is necessary to allow this cset: during a migration, we want to always reinfer relations while allowing explicit redefinition of an infered relation later. Else, we may run the migration with missing parts of the schema (the one that should have been infered). Closes #3685463.
Mon, 24 Mar 2014 16:29:18 +0100 Backout "[web/navigation] use add_onload instead of inline javascript href" stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 16:29:18 +0100] rev 9587
Backout "[web/navigation] use add_onload instead of inline javascript href" This reverts changeset 170e1437948d, for at least two reasons: the PageNavigationSelect component was not updated for the new type of navigation links, and external cubes defining View.page_navigation_url exist in the wild and also got broken navigation links. This reopens #3501626 and closes #3677945.
Fri, 14 Mar 2014 10:51:05 +0100 [test] those are rql tests, not cubicweb (and they break with rql 0.31.5). Remove them. stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Mar 2014 10:51:05 +0100] rev 9586
[test] those are rql tests, not cubicweb (and they break with rql 0.31.5). Remove them.
Mon, 24 Mar 2014 18:14:22 +0100 [source/native] allow many eid creation per .create_eid call (closes #3526594)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Mar 2014 18:14:22 +0100] rev 9585
[source/native] allow many eid creation per .create_eid call (closes #3526594) [jcr: move migration code to bootstrapmigration_repository.py to make sure we stop using the old sequence ASAP]
Thu, 06 Feb 2014 19:04:03 +0100 [pkg] bump the dependency on logilab.database
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Feb 2014 19:04:03 +0100] rev 9584
[pkg] bump the dependency on logilab.database This will allow use of an extended API. Related to #3526594.
Mon, 10 Mar 2014 15:55:56 +0100 [source/native] refactor eid generation code
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 10 Mar 2014 15:55:56 +0100] rev 9583
[source/native] refactor eid generation code This set of related methods clutters the native source API. It will be better served with a dedicated eid genrator object. Related to #3526594. [jcr: allocate the eid generator in __init__]
Mon, 24 Mar 2014 11:57:23 +0100 Move entity cache from web.request.ConnectionCubicWebRequestBase to repoapi.ClientConnection
Julien Cristau <julien.cristau@logilab.fr> [Mon, 24 Mar 2014 11:57:23 +0100] rev 9582
Move entity cache from web.request.ConnectionCubicWebRequestBase to repoapi.ClientConnection ResultSet._build_entity relies on an entity cache to avoid going round in circles (stack overflow due to infinite recursion) e.g. in a postcreate script. Clear the cache at commit/rollback time to avoid unexpected side effects; and explicitly clear the cache in a few tests where we mix ORM and RQL using the same connection.
Mon, 24 Mar 2014 16:38:57 +0100 [server] Fix AttributeError in extid2eid
Laura Médioni <laura.medioni@logilab.fr> [Mon, 24 Mar 2014 16:38:57 +0100] rev 9581
[server] Fix AttributeError in extid2eid Session._tx was renamed in cb87e831c183, use _cnx instead.
Tue, 11 Mar 2014 15:56:05 +0100 [book] Update documentation for new repoapi
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Mar 2014 15:56:05 +0100] rev 9580
[book] Update documentation for new repoapi Quite a few things change in 3.19: - repoapi instead of dbapi - ClientConnection / Connection / Session rework - web authentication process - test APIs Closes #3638793
Fri, 14 Mar 2014 11:18:15 +0100 [utils] the json module is always available
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:18:15 +0100] rev 9579
[utils] the json module is always available It's included since python 2.6, and we don't support earlier versions.
Mon, 17 Mar 2014 12:15:20 +0100 [fti] properly close the ProgressBar
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Mar 2014 12:15:20 +0100] rev 9578
[fti] properly close the ProgressBar Ensures cubicweb-ctl db-rebuild-fti ends its output with a newline.
Mon, 17 Mar 2014 12:13:14 +0100 [serverctl] use repoapi for db-check, add-source, rebuild-fti commands
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Mar 2014 12:13:14 +0100] rev 9577
[serverctl] use repoapi for db-check, add-source, rebuild-fti commands One more step towards getting rid of dbapi.
Wed, 05 Mar 2014 12:35:37 +0100 [devtools] make get_repo_and_cnx return a repoapi ClientConnection
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 12:35:37 +0100] rev 9576
[devtools] make get_repo_and_cnx return a repoapi ClientConnection And adjust callers accordingly (they need to use it as a context manager to open/close it properly).
Wed, 05 Mar 2014 11:22:20 +0100 [repoapi] Avoid deprecation warnings from session.id
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 11:22:20 +0100] rev 9575
[repoapi] Avoid deprecation warnings from session.id Apparently it's called session.sessionid now.
Tue, 18 Feb 2014 15:26:22 +0100 [server] some s/session/cnx/
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 15:26:22 +0100] rev 9574
[server] some s/session/cnx/ For merely accessing the database we need a connection, not a session.
Wed, 05 Mar 2014 16:58:14 +0100 Move setting session.mtime from dbapi to web session manager
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 16:58:14 +0100] rev 9573
Move setting session.mtime from dbapi to web session manager clean_session was broken since the switch away from dbapi on the web side, since session.mtime wasn't being set anywhere.
Thu, 13 Mar 2014 17:01:13 +0100 [web] whitespace cleanup in http_headers.py
David Douard <david.douard@logilab.fr> [Thu, 13 Mar 2014 17:01:13 +0100] rev 9572
[web] whitespace cleanup in http_headers.py
Fri, 14 Mar 2014 11:20:53 +0100 [web] implement cross origin resource sharing (CORS) (closes #2491768)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 14 Mar 2014 11:20:53 +0100] rev 9571
[web] implement cross origin resource sharing (CORS) (closes #2491768) Partial implementation that is enough to get started but leaves out some of the advanced features like caching and non-simple methods and headers.
Wed, 12 Mar 2014 16:02:44 +0100 [devtools] add a 'method' argument to RepoAccess.web_request
David Douard <david.douard@logilab.fr> [Wed, 12 Mar 2014 16:02:44 +0100] rev 9570
[devtools] add a 'method' argument to RepoAccess.web_request so that one can easily forge a request with any HTTP method. Also a bunch of clone cleanups.
Fri, 14 Mar 2014 11:38:14 +0100 [web] Fix handling of some http headers
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Mar 2014 11:38:14 +0100] rev 9569
[web] Fix handling of some http headers The generator takes as argument a list of raw string values, and is supposed to return the parsed version. Calling str on that list makes no sense.
Mon, 10 Mar 2014 17:54:02 +0100 [web/request] deprecate user_callback
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Mar 2014 17:54:02 +0100] rev 9568
[web/request] deprecate user_callback Storing closures in session data considered harmful. Closes #3567793
Fri, 07 Mar 2014 10:27:14 +0100 [doc] undocument user_callback
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Mar 2014 10:27:14 +0100] rev 9567
[doc] undocument user_callback Related to #3567793
Wed, 12 Mar 2014 14:08:51 +0100 Added tag cubicweb-centos-version-3.17.14-1, cubicweb-version-3.17.14, cubicweb-debian-version-3.17.14-1 for changeset fa00fc251d57 stable
Florent Cayré <florent.cayre@logilab.fr> [Wed, 12 Mar 2014 14:08:51 +0100] rev 9566
Added tag cubicweb-centos-version-3.17.14-1, cubicweb-version-3.17.14, cubicweb-debian-version-3.17.14-1 for changeset fa00fc251d57
Mon, 10 Mar 2014 15:17:50 +0100 [migractions] Better handle removal of RQLConstraint in sync_schema stable cubicweb-centos-version-3.17.14-1 cubicweb-debian-version-3.17.14-1 cubicweb-version-3.17.14
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 10 Mar 2014 15:17:50 +0100] rev 9565
[migractions] Better handle removal of RQLConstraint in sync_schema In rdef synchronisation, filter unmodified constraints before processing the sets of old and new constraints. Add a new `constraint_by_eid` method on RelationDefinitionSchema, which eliminates the ambiguity of `constraint_by_type` usage when several constraints of the same type are involved in the same migration. Closes #3633644.
Mon, 10 Mar 2014 16:07:41 +0100 [test] when the config change, we should cleanup sys.path and sys.modules. Closes #3634164 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Mar 2014 16:07:41 +0100] rev 9564
[test] when the config change, we should cleanup sys.path and sys.modules. Closes #3634164 Without this, modules imported within instance home will be messed up.
Thu, 06 Mar 2014 13:59:24 +0100 [wsgi] make sure request.content is available for consumption
Julien Cristau <julien.cristau@logilab.fr> [Thu, 06 Mar 2014 13:59:24 +0100] rev 9563
[wsgi] make sure request.content is available for consumption The wsgi.input stream is not seekable, so make a copy either to memory or disk so it's still available to the user even after we've parsed it (for POST form processing). Closes #3554996
Wed, 29 Jan 2014 10:57:10 +0100 [facet] create a RangeRQLPathFacet (closes #2852512)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 29 Jan 2014 10:57:10 +0100] rev 9562
[facet] create a RangeRQLPathFacet (closes #2852512) This facet is a mix between a RQLPathFacet and a RangeFacet, allowing to use the FacetRangeWidget on the RQLPathFacet target attribute
Thu, 31 Oct 2013 16:12:37 +0100 [request] Make sure set_message() actually displays its given message (closes #3003425)
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 31 Oct 2013 16:12:37 +0100] rev 9561
[request] Make sure set_message() actually displays its given message (closes #3003425) The default automatic form sets a standard submit message as session data. However in some cases, such as the cancellation of a form edition, another message is intended to be printed on-screen. This patch makes sure that set_message() really scrubs all previous messages (and ids) from the request object and from the session data.
Wed, 05 Mar 2014 15:49:23 +0100 [pkg] prepare 3.17.14 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 05 Mar 2014 15:49:23 +0100] rev 9560
[pkg] prepare 3.17.14
Thu, 27 Feb 2014 18:10:29 +0100 [hooks/syncschema] do not crash on double removal of a constraint stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 27 Feb 2014 18:10:29 +0100] rev 9559
[hooks/syncschema] do not crash on double removal of a constraint Some complicated migrations may entail a double constraint removal. It is not yet known whether this is a genuine cw bug or the result of a complicated migration story, but we should nevertheless not crash. Rather, emit a CRITICAL warning and proceed. Closes #3595309.
Wed, 19 Feb 2014 11:01:19 +0100 [doc/book] Fix typo in import stable
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 19 Feb 2014 11:01:19 +0100] rev 9558
[doc/book] Fix typo in import
Tue, 18 Feb 2014 13:54:08 +0100 [server/session] fix a couple typos in doc strings
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 13:54:08 +0100] rev 9557
[server/session] fix a couple typos in doc strings
Tue, 18 Feb 2014 17:58:45 +0100 [server/migractions] finish migration to repoapi objects
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 17:58:45 +0100] rev 9556
[server/migractions] finish migration to repoapi objects Changeset 241b1232ed7f (Use repoapi instead of dbapi for cwctl shell, upgrade and db-init) only did half of the job. It left the migration handler with both a session (cubicweb.server.session.Session) and a cnx (cubicweb.repoapi.ClientConnection) attribute with different ideas of what Connection they were talking to. With this change, we: - make the caller responsible of disabling security on the Connection if it wants to - turn mih.session into an actual attribute, set on __init__ - same for cnx (the client connection) - drop the "lazy connection" logic, and establish the connection up-front - always go through the connection instead of the session when we need to talk to the db
Wed, 05 Mar 2014 10:44:45 +0100 [server] use the ClientConnection directly now that it has more methods available
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Mar 2014 10:44:45 +0100] rev 9555
[server] use the ClientConnection directly now that it has more methods available Gets rid of ugly self.cnx._cnx.
Tue, 18 Feb 2014 17:29:34 +0100 [repoapi] add security/hook control and system_sql
Julien Cristau <julien.cristau@logilab.fr> [Tue, 18 Feb 2014 17:29:34 +0100] rev 9554
[repoapi] add security/hook control and system_sql Just redirect these methods to the repo-side Connection.
Mon, 17 Feb 2014 15:22:21 +0100 [predicates] fix thinko in doc strings
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:22:21 +0100] rev 9553
[predicates] fix thinko in doc strings Replace "e.g." with more appropriate "i.e.". These are not examples.
Mon, 17 Feb 2014 14:10:53 +0100 [web/basecomponents] remove EtypeRestrictionComponent
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 14:10:53 +0100] rev 9552
[web/basecomponents] remove EtypeRestrictionComponent Closes #3119951
Fri, 14 Feb 2014 12:03:20 +0100 [ldapparser, book] document additional error causes
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 14 Feb 2014 12:03:20 +0100] rev 9551
[ldapparser, book] document additional error causes
Fri, 14 Feb 2014 14:39:55 +0100 [js] remove leftover dead code in loadxhtml
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:39:55 +0100] rev 9550
[js] remove leftover dead code in loadxhtml form.callback support was removed in changeset 68cde7431c2c, but some signs of it remained.
Tue, 04 Mar 2014 18:28:46 +0100 [web] Avoid using an empty dict as default parameter of 'CubicWebRequestBase'.
Damien Garaud <damien.garaud@logilab.fr> [Tue, 04 Mar 2014 18:28:46 +0100] rev 9549
[web] Avoid using an empty dict as default parameter of 'CubicWebRequestBase'. Also update the related docstring of the __init__ method.
Tue, 21 Jan 2014 18:30:16 +0100 [schema] fix composite deletion handling
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 18:30:16 +0100] rev 9548
[schema] fix composite deletion handling Do not delete component entities if the composite is not deleted in the same transaction. Deletion semantics are thus: if the composite is deleted, the components are deleted. Closes #3463112.
Fri, 24 Jan 2014 13:08:53 +0100 [schema] add composite handling helpers on EntitySchema (related to #3463112)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 24 Jan 2014 13:08:53 +0100] rev 9547
[schema] add composite handling helpers on EntitySchema (related to #3463112) These will help write predicates, hooks, etc.
Mon, 17 Feb 2014 15:01:23 +0100 [server] Handle unique constraint violations under recent sqlite
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:01:23 +0100] rev 9546
[server] Handle unique constraint violations under recent sqlite The error message changed from "columns foo, bar, baz are not unique" to "UNIQUE constraint failed: table.foo, table.bar, table.baz". Closes #3564510
Tue, 04 Mar 2014 12:02:11 +0100 [i18n] update
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Mar 2014 12:02:11 +0100] rev 9545
[i18n] update de: 1065 translated messages, 1 fuzzy translation, 259 untranslated messages. en: 656 translated messages, 669 untranslated messages. es: 1325 translated messages. fr: 1314 translated messages, 11 untranslated messages.
Tue, 04 Mar 2014 12:04:04 +0100 [i18n] es.po updated
Celso FLORES <celso.flores@crealibre.com> [Tue, 04 Mar 2014 12:04:04 +0100] rev 9544
[i18n] es.po updated
Mon, 17 Feb 2014 15:32:50 +0100 merge 3.18.x in 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 15:32:50 +0100] rev 9543
merge 3.18.x in 3.19 branch
Mon, 17 Feb 2014 11:13:27 +0100 3.18 is stable stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 11:13:27 +0100] rev 9542
3.18 is stable
Mon, 17 Feb 2014 11:07:38 +0100 [schema] explicitly declare 'add' permissions for a couple attributes
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Feb 2014 11:07:38 +0100] rev 9541
[schema] explicitly declare 'add' permissions for a couple attributes
Fri, 14 Feb 2014 17:52:49 +0100 Added tag cubicweb-version-3.17.13, cubicweb-debian-version-3.17.13-1, cubicweb-centos-version-3.17.13-1 for changeset 09b4ebb9b0f1 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Feb 2014 17:52:49 +0100] rev 9540
Added tag cubicweb-version-3.17.13, cubicweb-debian-version-3.17.13-1, cubicweb-centos-version-3.17.13-1 for changeset 09b4ebb9b0f1
Fri, 14 Feb 2014 17:07:25 +0100 Added tag cubicweb-version-3.18.3, cubicweb-debian-version-3.18.3-1, cubicweb-centos-version-3.18.3-1 for changeset afd21fea201a
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 17:07:25 +0100] rev 9539
Added tag cubicweb-version-3.18.3, cubicweb-debian-version-3.18.3-1, cubicweb-centos-version-3.18.3-1 for changeset afd21fea201a
Fri, 14 Feb 2014 17:06:59 +0100 Update translations cubicweb-centos-version-3.18.3-1 cubicweb-debian-version-3.18.3-1 cubicweb-version-3.18.3
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 17:06:59 +0100] rev 9538
Update translations
Fri, 14 Feb 2014 16:23:46 +0100 [pkg] prepare 3.18.3
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 16:23:46 +0100] rev 9537
[pkg] prepare 3.18.3
Fri, 14 Feb 2014 16:10:36 +0100 merge 3.17.13
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 16:10:36 +0100] rev 9536
merge 3.17.13
Fri, 14 Feb 2014 15:42:25 +0100 [ldapfeed] fix encode error during initial user import stable cubicweb-centos-version-3.17.13-1 cubicweb-debian-version-3.17.13-1 cubicweb-version-3.17.13
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 14 Feb 2014 15:42:25 +0100] rev 9535
[ldapfeed] fix encode error during initial user import Closes #3539196.
Wed, 12 Feb 2014 17:32:49 +0100 [web/data] Ignore disabled widgets in cw.utils.formContents() (closes #3544492)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 12 Feb 2014 17:32:49 +0100] rev 9534
[web/data] Ignore disabled widgets in cw.utils.formContents() (closes #3544492) 17.12.1 Disabled controls : http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12.1 When set, the disabled attribute has the following effects on an element: * Disabled controls do not receive focus. * Disabled controls are skipped in tabbing navigation. * Disabled controls cannot be successful. The third one is the important one. 17.13.2 Successful controls : http://www.w3.org/TR/REC-html40/interact/forms.html#successful-controls A successful control is "valid" for submission. Every successful control has its control name paired with its current value as part of the submitted form data set. Bottom line, disable widgets should not be part of the names and values lists returned by formContents().
Fri, 14 Feb 2014 15:22:56 +0100 [etwist] Fix an empty request content after a Twisted processing (closes #3546795).
Damien Garaud <damien.garaud@logilab.fr> [Fri, 14 Feb 2014 15:22:56 +0100] rev 9533
[etwist] Fix an empty request content after a Twisted processing (closes #3546795). The content of a POST request could be empty when the Twisted server is used.
Thu, 13 Feb 2014 16:50:55 +0100 [web/data] remove images that aren't used anywhere
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Feb 2014 16:50:55 +0100] rev 9532
[web/data] remove images that aren't used anywhere
Thu, 13 Feb 2014 16:51:22 +0100 [web/data] Add missing images from jquery-ui 1.10.3
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Feb 2014 16:51:22 +0100] rev 9531
[web/data] Add missing images from jquery-ui 1.10.3 Closes #3175933
Fri, 14 Feb 2014 14:06:56 +0100 [web/navigation] use add_onload instead of inline javascript href
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:06:56 +0100] rev 9530
[web/navigation] use add_onload instead of inline javascript href This way our javascript code isn't thrown out by the html cleaner e.g. when using the rql rest directive and a table view. To make things simpler, we now always use ajax URLs for navigation, even when we would previously have used regular links. Closes #3501626
Fri, 14 Feb 2014 14:46:25 +0100 [web/data] fix treeview regression (closes #3526466)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Feb 2014 14:46:25 +0100] rev 9529
[web/data] fix treeview regression (closes #3526466) Changeset 68cde7431c2c "[js] remove 3.9 bw compat (where apparently unused)" removed the use of form.callback from loadxhtml, which treeview relied on. Update to add a callback on the loadxhtml return value instead.
Fri, 14 Feb 2014 10:39:16 +0100 backout 8f3e963501e2, which is not ready yet stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 14 Feb 2014 10:39:16 +0100] rev 9528
backout 8f3e963501e2, which is not ready yet
Thu, 13 Feb 2014 19:29:20 +0100 [pkg] also bump it there stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 13 Feb 2014 19:29:20 +0100] rev 9527
[pkg] also bump it there
Mon, 10 Feb 2014 18:00:26 +0100 [pkg] prepare 3.17.13 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 10 Feb 2014 18:00:26 +0100] rev 9526
[pkg] prepare 3.17.13
Tue, 11 Feb 2014 13:50:29 +0100 [navigation] use add_onload instead of inline javascript href stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Feb 2014 13:50:29 +0100] rev 9525
[navigation] use add_onload instead of inline javascript href This way our javascript code isn't thrown out by the html cleaner e.g. when using the rql rest directive and a table view. Closes #3501626
Wed, 05 Feb 2014 15:50:36 +0100 [uilib] allow canvas tags in the html cleaner stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 15:50:36 +0100] rev 9524
[uilib] allow canvas tags in the html cleaner Used by the iprogress cube. Closes #3524254.
Wed, 05 Feb 2014 16:34:21 +0100 [ajax] use a custom tag to handle dynamically loaded js stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 16:34:21 +0100] rev 9523
[ajax] use a custom tag to handle dynamically loaded js Using <pre class="script"> makes it trivial for a malicious user to inject arbitrary javascript into a html or rest text element (because it looks innocent to the html sanitizer). Using a custom tag we can be sure that it actually comes from our code and not from untrusted user data. IE ignores custom tags, though, so we put it in its own namespace. https://extranet.logilab.fr/1530578
Mon, 03 Feb 2014 19:07:58 +0100 [dataimport] fix comment stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 03 Feb 2014 19:07:58 +0100] rev 9522
[dataimport] fix comment
Wed, 12 Feb 2014 18:15:32 +0100 [hooks/security, devtools/fill] silence yams 0.38.0 warnings stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 12 Feb 2014 18:15:32 +0100] rev 9521
[hooks/security, devtools/fill] silence yams 0.38.0 warnings
Mon, 03 Feb 2014 16:30:07 +0100 Drop 3.13 incomplete backward compat in edit controller.
Florent Cayré <florent.cayre@logilab.fr> [Mon, 03 Feb 2014 16:30:07 +0100] rev 9520
Drop 3.13 incomplete backward compat in edit controller. It is very old and broken (there is another non-backward-copmpatible usage of `_cw_entity_fields`), better to remove it instead of fixing. Closes #3515223.
Mon, 10 Feb 2014 16:06:16 +0100 [devtools] force locale to C for postgresql test clusters
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Feb 2014 16:06:16 +0100] rev 9519
[devtools] force locale to C for postgresql test clusters Avoids initdb failure with e.g. iso8859-X locale and utf-8 encoding.
Fri, 20 Dec 2013 08:39:03 +0100 [rql2sql] remove special behaviour of symmetric relation vs DISTINCT
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Dec 2013 08:39:03 +0100] rev 9518
[rql2sql] remove special behaviour of symmetric relation vs DISTINCT 0542a85fe667 replacing SQL OR by hooks for symmetric relations allows that. This involve a single test value change for a border case: when querying a symmetric relation without specifying the subject nor the object, you may get some duplicated result. IMO this is fine to let the user explicitly use DISTINCT or not and to remove the dedicated handling we had which didn't let any choice. Related to #3259713
Tue, 11 Feb 2014 11:03:01 +0100 Typo in comments and error messages
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 11 Feb 2014 11:03:01 +0100] rev 9517
Typo in comments and error messages
Thu, 13 Feb 2014 15:11:07 +0100 Fix typo in a setup.py comment
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 13 Feb 2014 15:11:07 +0100] rev 9516
Fix typo in a setup.py comment
Thu, 13 Feb 2014 15:09:30 +0100 [dataimport, migration] more fixes in the spirit of a6c32edabc8d:
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 13 Feb 2014 15:09:30 +0100] rev 9515
[dataimport, migration] more fixes in the spirit of a6c32edabc8d: [entity, metadata] huuum, use resolvable url as cwuri... And fix existing ones. Closes #3390388
Thu, 06 Feb 2014 15:04:57 +0100 [doc] Fix typo in devrepo/fti
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 06 Feb 2014 15:04:57 +0100] rev 9514
[doc] Fix typo in devrepo/fti
Tue, 04 Feb 2014 11:23:58 +0100 [doc/3.19] Clarify repoapi.get_repository usage
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 04 Feb 2014 11:23:58 +0100] rev 9513
[doc/3.19] Clarify repoapi.get_repository usage Followup for 9a62c52d167e.
Wed, 29 Jan 2014 13:43:42 +0100 [server] use a connection instead of a session for user authentication
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 13:43:42 +0100] rev 9512
[server] use a connection instead of a session for user authentication
Tue, 11 Feb 2014 17:29:58 +0100 Use repoapi instead of dbapi for cwctl shell, upgrade and db-init
Julien Cristau <julien.cristau@logilab.fr> [Tue, 11 Feb 2014 17:29:58 +0100] rev 9511
Use repoapi instead of dbapi for cwctl shell, upgrade and db-init Hopefully nobody uses dbapi-specific API in their migration scripts. I guess we'll find out.
Tue, 28 Jan 2014 16:07:06 +0100 [server/repo] use internal_cnx in init_sources_from_database
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 16:07:06 +0100] rev 9510
[server/repo] use internal_cnx in init_sources_from_database
Wed, 29 Jan 2014 15:25:05 +0100 [server/session] avoid spurious warnings from Session.close
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:25:05 +0100] rev 9509
[server/session] avoid spurious warnings from Session.close Add internal non-noisy _rollback method.
Wed, 29 Jan 2014 15:29:49 +0100 [server] rename session to cnx in querier and plan
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:29:49 +0100] rev 9508
[server] rename session to cnx in querier and plan They don't actually need a session, so let's make that clear.
Wed, 29 Jan 2014 15:55:21 +0100 [repo] Use a connection instead of a session for repo.stats()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:55:21 +0100] rev 9507
[repo] Use a connection instead of a session for repo.stats()
Wed, 29 Jan 2014 15:55:48 +0100 [repo] Use a connection instead of a session for repo.gc_stats()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:55:48 +0100] rev 9506
[repo] Use a connection instead of a session for repo.gc_stats()
Wed, 29 Jan 2014 15:56:44 +0100 [repo] Use a connection instead of a session for repo.get_versions()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:56:44 +0100] rev 9505
[repo] Use a connection instead of a session for repo.get_versions()
Thu, 30 Jan 2014 15:52:22 +0100 [webconfig] get_repository moved to repoapi
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 15:52:22 +0100] rev 9504
[webconfig] get_repository moved to repoapi
Thu, 30 Jan 2014 16:48:39 +0100 [schemaserial] Replace 'cursor' with 'cnx'
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:48:39 +0100] rev 9503
[schemaserial] Replace 'cursor' with 'cnx' We don't have cursors in rql, since execute is synchronous.
Mon, 03 Feb 2014 09:38:39 +0100 [book] basic documentation for LDAPfeed
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 03 Feb 2014 09:38:39 +0100] rev 9502
[book] basic documentation for LDAPfeed
Wed, 29 Jan 2014 16:03:42 +0100 [testlib] Use session.sessionid instead of deprecated session.id
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 16:03:42 +0100] rev 9501
[testlib] Use session.sessionid instead of deprecated session.id
Fri, 07 Feb 2014 17:03:11 +0100 Add data/pgdb to hgignore patterns
Julien Cristau <julien.cristau@logilab.fr> [Fri, 07 Feb 2014 17:03:11 +0100] rev 9500
Add data/pgdb to hgignore patterns PostgresTestDataBaseHandler uses it as datadir.
Mon, 27 Jan 2014 14:01:03 +0100 [test] make unittest_postgres pass
Julien Cristau <julien.cristau@logilab.fr> [Mon, 27 Jan 2014 14:01:03 +0100] rev 9499
[test] make unittest_postgres pass Use PostgresApptestConfiguration which starts a postgresql cluster locally for the duration of the test.
Tue, 28 Jan 2014 15:03:53 +0100 [devtools] make PostgresTestDataBaseHandler start its own postgresql
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 15:03:53 +0100] rev 9498
[devtools] make PostgresTestDataBaseHandler start its own postgresql Don't depend on postgresql already running on the system, or on a static config. To use this, set the configcls attribute of your CubicWebTC-derived test class to PostgresApptestConfiguration. Caveats: - this won't work with several tests running concurrently from the same directory, since each would start its own cluster with a shared data directory and stomp on each other's toes - you need initdb/pg_ctl in $PATH, e.g /usr/lib/postgresql/$version/bin on Debian/Ubuntu systems. Closes #3489631
Wed, 05 Feb 2014 09:23:36 +0100 [web/staticcontrollers] create a unique temporary file for concat handling
Julien Cristau <julien.cristau@logilab.fr> [Wed, 05 Feb 2014 09:23:36 +0100] rev 9497
[web/staticcontrollers] create a unique temporary file for concat handling Predictable names means different processes can race against each other. Let's avoid that and use mkstemp to get a real unique temporary file, and atomically rename it when we're done. Closes #3524182
Wed, 29 Jan 2014 15:50:19 +0100 [server/repo] Use session.sessionid instead of session.id
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:50:19 +0100] rev 9496
[server/repo] Use session.sessionid instead of session.id Silences deprecation warning.
Wed, 29 Jan 2014 16:19:13 +0100 [server/session] use _free_cnxset instead of free_cnxset to avoid warnings
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 16:19:13 +0100] rev 9495
[server/session] use _free_cnxset instead of free_cnxset to avoid warnings No need to make DeprecationWarning noise for something the user doesn't have any control over.
Tue, 28 Jan 2014 15:29:23 +0100 [server] Use internal_cnx instead of internal_session in init_repository
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 15:29:23 +0100] rev 9494
[server] Use internal_cnx instead of internal_session in init_repository
Thu, 30 Jan 2014 16:33:32 +0100 [server/session] session.id → session.sessionid
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:33:32 +0100] rev 9493
[server/session] session.id → session.sessionid The former causes deprecation warnings.
Tue, 04 Feb 2014 15:29:29 +0100 English typography
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 04 Feb 2014 15:29:29 +0100] rev 9492
English typography Get rid of extra space before `!' and `?'
Mon, 03 Feb 2014 19:00:52 +0100 [repo] restore python 2.6 compatibility
Julien Cristau <julien.cristau@logilab.fr> [Mon, 03 Feb 2014 19:00:52 +0100] rev 9491
[repo] restore python 2.6 compatibility Broken in 12dfce15c8ea.
Tue, 28 Jan 2014 18:24:29 +0100 [server] use internal_cnx instead of internal_session in deserialize_schema
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 18:24:29 +0100] rev 9490
[server] use internal_cnx instead of internal_session in deserialize_schema
Tue, 28 Jan 2014 18:40:19 +0100 [server/schemaserial] rename cursor argument to cnx
Julien Cristau <julien.cristau@logilab.fr> [Tue, 28 Jan 2014 18:40:19 +0100] rev 9489
[server/schemaserial] rename cursor argument to cnx cursor is a sql concept it has no meaning for rql.
Wed, 29 Jan 2014 15:57:48 +0100 [repo] Use a connection instead of a session in Repository.properties()
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 15:57:48 +0100] rev 9488
[repo] Use a connection instead of a session in Repository.properties()
Thu, 30 Jan 2014 16:00:29 +0100 [server/sources] replace references to dbapi with repoapi
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:00:29 +0100] rev 9487
[server/sources] replace references to dbapi with repoapi
Thu, 30 Jan 2014 16:45:05 +0100 [doc/3.19] Make repoapi description match code
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 16:45:05 +0100] rev 9486
[doc/3.19] Make repoapi description match code
Mon, 03 Feb 2014 18:19:26 +0100 [serverctl] remove broken schema-sync command
Julien Cristau <julien.cristau@logilab.fr> [Mon, 03 Feb 2014 18:19:26 +0100] rev 9485
[serverctl] remove broken schema-sync command As far as I can tell the migration handler hasn't had a cmd_synchronize_schema method since cubicweb 3.2.0.
Thu, 30 Jan 2014 18:04:59 +0100 [server/session] Fix docstring typo for InternalSession
Julien Cristau <julien.cristau@logilab.fr> [Thu, 30 Jan 2014 18:04:59 +0100] rev 9484
[server/session] Fix docstring typo for InternalSession
Fri, 24 Jan 2014 15:32:53 +0100 [book] typo
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Fri, 24 Jan 2014 15:32:53 +0100] rev 9483
[book] typo
Wed, 29 Jan 2014 13:45:03 +0100 [server] fix TypeErrors
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 Jan 2014 13:45:03 +0100] rev 9482
[server] fix TypeErrors With multisource gone, cnxset.reconnect() doesn't take a source argument. Broken since d62e13eba033.
Tue, 17 Dec 2013 11:50:46 +0100 [notification] use an InternalManager object for notifications if we have an (email, lang) tuple
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:46 +0100] rev 9481
[notification] use an InternalManager object for notifications if we have an (email, lang) tuple The non-uniform handling of CWUser vs (email, lang) tuple has caused too many bugs; this change mostly unifies the two code paths. Closes #3381521
Tue, 17 Dec 2013 11:50:31 +0100 [req] if a user has a None property, fall back to the default
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:31 +0100] rev 9480
[req] if a user has a None property, fall back to the default This can happen for InternalManager; the normal CWUser implementation of property_value already has a similar fallback. Related to #3381521
Tue, 17 Dec 2013 11:50:12 +0100 [server] Allow setting an InternalManager's preferred language
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:50:12 +0100] rev 9479
[server] Allow setting an InternalManager's preferred language Related to #3381521
Mon, 27 Jan 2014 16:19:49 +0100 merge 3.18.2 into 3.19 branch
Julien Cristau <julien.cristau@logilab.fr> [Mon, 27 Jan 2014 16:19:49 +0100] rev 9478
merge 3.18.2 into 3.19 branch
Thu, 23 Jan 2014 10:53:24 +0100 [migration/3.18] protect against attributes in db missing from fsschema
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Jan 2014 10:53:24 +0100] rev 9477
[migration/3.18] protect against attributes in db missing from fsschema Happens if a previous migration forgot a drop_attribute. Closes #3471609
Tue, 21 Jan 2014 18:39:32 +0100 [doc] Update copyright date to 2014 (closes #3463136)
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 21 Jan 2014 18:39:32 +0100] rev 9476
[doc] Update copyright date to 2014 (closes #3463136)
Fri, 24 Jan 2014 10:04:56 +0100 [repoapi] Fix typos in doc strings and comments
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 Jan 2014 10:04:56 +0100] rev 9475
[repoapi] Fix typos in doc strings and comments
Tue, 17 Dec 2013 13:43:56 +0100 [cwxml parser] minor pylint fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Dec 2013 13:43:56 +0100] rev 9474
[cwxml parser] minor pylint fixes
Tue, 14 Jan 2014 17:30:02 +0100 [devtools] make CubicWebTC.login as admin undo previous logins
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 Jan 2014 17:30:02 +0100] rev 9473
[devtools] make CubicWebTC.login as admin undo previous logins Fixes things when login is not used as a context manager.
Tue, 14 Jan 2014 17:30:13 +0100 [devtools] fix self.session._cnx vs self.cnx._cnx confusion after self.login
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 Jan 2014 17:30:13 +0100] rev 9472
[devtools] fix self.session._cnx vs self.cnx._cnx confusion after self.login Make sure the client connection and the session refer to the same server connection.
Thu, 23 Jan 2014 18:26:16 +0100 [devtools] _orig_cnx does not exist any more (missing change)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Jan 2014 18:26:16 +0100] rev 9471
[devtools] _orig_cnx does not exist any more (missing change)
Mon, 06 Jan 2014 17:25:55 +0100 [c-c schema] option to show single etype (closes #3404831)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 06 Jan 2014 17:25:55 +0100] rev 9470
[c-c schema] option to show single etype (closes #3404831)
Thu, 23 Jan 2014 13:47:28 +0100 [multi-sources-removal] Drop entities.source column
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Jan 2014 13:47:28 +0100] rev 9469
[multi-sources-removal] Drop entities.source column Since we remove federated multi-sources support, the same value ('system') is always stored in this column and so could be removed. Also, cleanup repository caches and a few api where the very same useless information could be removed. Closes #2919300, at last [jcr: restore sanity check of etype against schema in checkintegrity.has_eid]
Thu, 23 Jan 2014 12:32:16 +0100 [repo] pylint cleanup, mainly of imports, with a bit of style
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Jan 2014 12:32:16 +0100] rev 9468
[repo] pylint cleanup, mainly of imports, with a bit of style
Mon, 01 Jul 2013 16:13:17 +0200 [multi-sources-removal] Drop no more used federated ('true') multi-sources related code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Jul 2013 16:13:17 +0200] rev 9467
[multi-sources-removal] Drop no more used federated ('true') multi-sources related code Related to #2919300 (almost done!)
Wed, 22 Jan 2014 15:50:03 +0100 [multi-sources-removal] Turn ConnectionsSet into simpler ConnectionWrapper
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 15:50:03 +0100] rev 9466
[multi-sources-removal] Turn ConnectionsSet into simpler ConnectionWrapper also, SqliteConnectionWrapper becomes a subclass. This is allowed since now ConnectionsSet responsability has been reduced to handling the system source only. This changeset also: * drops useless cnxset_set / check_connection api * deprecates former .source / .connection / container api but it renames neither the session's cnxset attribute, nor the related repository method. Related to #2919300
Thu, 27 Jun 2013 09:18:39 +0200 [multi-sources-removal] Drop cnxset_freed from source interface
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 09:18:39 +0200] rev 9465
[multi-sources-removal] Drop cnxset_freed from source interface Though a hack is still needed when using sqlite Related to #2919300
Wed, 22 Jan 2014 15:35:13 +0100 [cnxset] add backwards compat for cnxset.source_cnxs
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Jan 2014 15:35:13 +0100] rev 9464
[cnxset] add backwards compat for cnxset.source_cnxs It's used at least in a vcsfile migration script.
Wed, 22 Jan 2014 15:49:32 +0100 [multi-sources-removal] Simplify ConnectionsSet internal structures and public methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 15:49:32 +0100] rev 9463
[multi-sources-removal] Simplify ConnectionsSet internal structures and public methods since it now handles a connection to the system source only Related to #2919300 [jcr: adjust 3.17.11 migration, fix a number of bugs in new ConnectionsSet implementation, fix source.{open,close}_source_connections]
Thu, 27 Jun 2013 08:52:15 +0200 [ldap] simplify connection handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:52:15 +0200] rev 9462
[ldap] simplify connection handling since we deleted ldapuser source, we don't need anymore the get_connection and ConnectionWrapper stuff (that was used to put the ldap connection into the cnxset). Also, we should simply let connection errors propagate so this is properly reported to import logs.
Thu, 27 Jun 2013 08:46:16 +0200 [ldap] merge cw.server.ldaputils back into ldapfeed source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:46:16 +0200] rev 9461
[ldap] merge cw.server.ldaputils back into ldapfeed source we don't need separated modules since ldapuser source has been removed
Tue, 02 Jul 2013 17:07:34 +0200 [config] cleanup/refactor server sources file values handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 17:07:34 +0200] rev 9460
[config] cleanup/refactor server sources file values handling * kill former `sources` method, misnamed since we've only the system source configuration in the sources file (and some default admin account information) * introduce new system_source_config and default_admin_config properties to access to the two information in this file Then use one or the other when appropriate
Wed, 22 Jan 2014 12:14:56 +0100 [repoapi] drop get_option_value's foreid argument
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Jan 2014 12:14:56 +0100] rev 9459
[repoapi] drop get_option_value's foreid argument repoapi was introduced in 3.19, so no need to introduce legacy deprecated stuff at the same time.
Fri, 21 Jun 2013 17:53:44 +0200 [multi-sources-removal] Drop foreid argument of repo.get_option_value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 17:53:44 +0200] rev 9458
[multi-sources-removal] Drop foreid argument of repo.get_option_value It doesn't need it anymore. Related to #2919300
Fri, 21 Jun 2013 16:17:17 +0200 [c-c restore] drop useless restore-all option, and related systemonly argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:17:17 +0200] rev 9457
[c-c restore] drop useless restore-all option, and related systemonly argument
Fri, 21 Jun 2013 16:01:59 +0200 [multi-sources-removal] Kill repo.sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:01:59 +0200] rev 9456
[multi-sources-removal] Kill repo.sources there is only the system source in there now! Related to #2919300
Fri, 21 Jun 2013 16:18:20 +0200 [multi-sources-removal] Drop no more necessary scleanup (source cleanup) argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:18:20 +0200] rev 9455
[multi-sources-removal] Drop no more necessary scleanup (source cleanup) argument Related to #2919300
Wed, 22 Jan 2014 10:39:57 +0100 [multi-sources-removal] drop source location search on glob_*[entity|relation] methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 10:39:57 +0100] rev 9454
[multi-sources-removal] drop source location search on glob_*[entity|relation] methods source is now always the system source Related to #2919300 [jcr: fix wrong rebase in symmetric relation removal]
Fri, 21 Jun 2013 16:19:47 +0200 [server test] simplify data-schemaserial test instance's schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Jun 2013 16:19:47 +0200] rev 9453
[server test] simplify data-schemaserial test instance's schema
Wed, 22 Jan 2014 10:19:30 +0100 [multi-sources-removal] Drop (dont_)cross relation related code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jan 2014 10:19:30 +0100] rev 9452
[multi-sources-removal] Drop (dont_)cross relation related code That was only needed for now deleted 'true' multisources. Related to #2919300 [jcr: also remove it from server/test/data-schemaserial/schema.py]
Mon, 17 Jun 2013 00:15:51 +0200 [multi-sources-removal] Simplify repo.delete_info_multi arguments, uri is no more used
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jun 2013 00:15:51 +0200] rev 9451
[multi-sources-removal] Simplify repo.delete_info_multi arguments, uri is no more used Related to #2919300
Tue, 21 Jan 2014 18:20:28 +0100 [multi-sources-removal] Drop deleted_entities system table and entities.mtime column
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jan 2014 18:20:28 +0100] rev 9450
[multi-sources-removal] Drop deleted_entities system table and entities.mtime column since they were only used by the entities_modified_since api of the repository which has been dropped. Along with them, the multi-sources-etypes configuration variable and some sql queries at modification/deletion time of entities. Bon vent ! Related to #2919300
Mon, 17 Jun 2013 00:07:35 +0200 [multi-sources-removal] drop repository entities_modified_since public api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Jun 2013 00:07:35 +0200] rev 9449
[multi-sources-removal] drop repository entities_modified_since public api actually only used by pyrorql/zmqrql sources which have been dropped. This will allow to drop a bunch of system meta-data (eg deleted_entities) Related to #2919300
Tue, 21 Jan 2014 18:11:30 +0100 [multi-sources-removal] Drop the "true" multi-sources planner
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jan 2014 18:11:30 +0100] rev 9448
[multi-sources-removal] Drop the "true" multi-sources planner Only keep copy-based sources. This will soon allow for greater code simplification. Related to #2919300
Thu, 27 Jun 2013 08:30:46 +0200 [multi-sources-removal] Drop cw.server.sources.extlite
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Jun 2013 08:30:46 +0200] rev 9447
[multi-sources-removal] Drop cw.server.sources.extlite no more used for a while, beside an utility class Related to #2919300
Sun, 16 Jun 2013 23:36:06 +0200 [multi-sources-removal] Move cw.server.sources.ConnectionWrapper where it belongs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sun, 16 Jun 2013 23:36:06 +0200] rev 9446
[multi-sources-removal] Move cw.server.sources.ConnectionWrapper where it belongs It's only used by the ldap utilities. Related to #2919300
Tue, 21 Jan 2014 17:34:31 +0100 [multi-sources-removal] Drop pyrorql and zmqrql sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jan 2014 17:34:31 +0100] rev 9445
[multi-sources-removal] Drop pyrorql and zmqrql sources After a few years experementing "true" multi-sources, we're now moving to "copy-based" source à la datafeed. As pyro and zmq sources have no more known customers and the related code is in the way of future refactoring of cubicweb's core, we decided to drop support for those sources without backward compatibility. If you're still using a zmqrql or pyrorql source and you want to upgrade, ask support to move it to datafeed using a pre-3.19 version first. Related to #2919300 (first step)
Tue, 21 Jan 2014 17:14:05 +0100 [web/formfields] Make CompoundField inherit needs_multipart from its subfields
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 21 Jan 2014 17:14:05 +0100] rev 9444
[web/formfields] Make CompoundField inherit needs_multipart from its subfields If there's a FileField within a CompoundField, the latter will not have the enctype multipart set, even though the FileField needs it. CompoundField should inspect its children fields to determine whether it needs multipart. Closes #3406930.
Wed, 15 Jan 2014 12:34:41 +0100 [wsgi/handler] fix api change from 3.18
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 15 Jan 2014 12:34:41 +0100] rev 9443
[wsgi/handler] fix api change from 3.18
Tue, 21 Jan 2014 17:01:33 +0100 [req] deprecate get_cache (closes #3181499)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 17:01:33 +0100] rev 9442
[req] deprecate get_cache (closes #3181499)
Tue, 21 Jan 2014 16:42:34 +0100 Added tag cubicweb-version-3.18.2, cubicweb-debian-version-3.18.2-1, cubicweb-centos-version-3.18.2-1 for changeset 6880674c1a26
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 16:42:34 +0100] rev 9441
Added tag cubicweb-version-3.18.2, cubicweb-debian-version-3.18.2-1, cubicweb-centos-version-3.18.2-1 for changeset 6880674c1a26
Tue, 21 Jan 2014 15:11:16 +0100 merge 3.17.12 into 3.18 branch cubicweb-centos-version-3.18.2-1 cubicweb-debian-version-3.18.2-1 cubicweb-version-3.18.2
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 15:11:16 +0100] rev 9440
merge 3.17.12 into 3.18 branch
Wed, 11 Sep 2013 18:04:05 +0200 [editcontroller] fix cardinality computation (closes #3120495)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 11 Sep 2013 18:04:05 +0200] rev 9439
[editcontroller] fix cardinality computation (closes #3120495)
Tue, 21 Jan 2014 14:56:06 +0100 Added tag cubicweb-version-3.17.12, cubicweb-debian-version-3.17.12-1, cubicweb-centos-version-3.17.12-1 for changeset 838d58a30f7e stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 21 Jan 2014 14:56:06 +0100] rev 9438
Added tag cubicweb-version-3.17.12, cubicweb-debian-version-3.17.12-1, cubicweb-centos-version-3.17.12-1 for changeset 838d58a30f7e
Tue, 21 Jan 2014 14:00:26 +0100 [debian] move yams max version to Depends stable cubicweb-centos-version-3.17.12-1 cubicweb-debian-version-3.17.12-1 cubicweb-version-3.17.12
Julien Cristau <julien.cristau@logilab.fr> [Tue, 21 Jan 2014 14:00:26 +0100] rev 9437
[debian] move yams max version to Depends And fix a syntax error and wrong package name in the process.
(0) -3000 -1000 -240 +240 +1000 +3000 tip