Mon, 23 Sep 2013 15:12:52 +0200 i18n update stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Sep 2013 15:12:52 +0200] rev 9243
i18n update
Thu, 26 Sep 2013 15:18:59 +0200 fix typos in workflow constraint error messages stable
David Douard <david.douard@logilab.fr> [Thu, 26 Sep 2013 15:18:59 +0200] rev 9242
fix typos in workflow constraint error messages
Tue, 17 Sep 2013 17:44:15 +0200 [migractions] rschema.final.inlined -> rschema.inlined stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 17 Sep 2013 17:44:15 +0200] rev 9241
[migractions] rschema.final.inlined -> rschema.inlined Closes #3153086.
Thu, 26 Sep 2013 11:53:13 +0200 [server] Make internal sessions not reset 'safe'-ness on first commit stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 26 Sep 2013 11:53:13 +0200] rev 9240
[server] Make internal sessions not reset 'safe'-ness on first commit Increment the ctx_count when disabling integrity hooks so the next commit/rollback doesn't reset our transaction and magically turn us into a safe session. Closes #3168027
Mon, 23 Sep 2013 11:13:28 +0200 [facets] Correctly replace old 'edit box' HTML on facet-induced page refresh (closes #3161100) stable
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 23 Sep 2013 11:13:28 +0200] rev 9239
[facets] Correctly replace old 'edit box' HTML on facet-induced page refresh (closes #3161100)
Mon, 23 Sep 2013 15:03:03 +0200 [debian] replace find | xargs rm with find -delete in cube skeleton. Closes #3161797 stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:03:03 +0200] rev 9238
[debian] replace find | xargs rm with find -delete in cube skeleton. Closes #3161797
Mon, 23 Sep 2013 15:02:45 +0200 [debian] don't require (fake)root to run the clean target. Closes #3161797 stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:02:45 +0200] rev 9237
[debian] don't require (fake)root to run the clean target. Closes #3161797 It works just fine as a normal user.
Mon, 23 Sep 2013 15:01:59 +0200 [debian] Add ${misc:Depends} to cube packaging skeleton. Closes #3161797 stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 23 Sep 2013 15:01:59 +0200] rev 9236
[debian] Add ${misc:Depends} to cube packaging skeleton. Closes #3161797 Best current practice is to have that in Depends in all packages using debhelper.
Fri, 06 Sep 2013 11:01:20 +0200 [devtools] fix race when creating backupdir stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Sep 2013 11:01:20 +0200] rev 9235
[devtools] fix race when creating backupdir If somebody else creates backupdir between our stat() and mkdir() (like, say, another test running in parallel), we shouldn't crash.
Thu, 19 Sep 2013 18:11:12 +0200 [staticcontrollers] Raise Forbidden, not Unauthorized stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Sep 2013 18:11:12 +0200] rev 9234
[staticcontrollers] Raise Forbidden, not Unauthorized Unauthorized means "log in to get access", as it results in a HTTP 401. Here, the error is pretty much permanent, and returning 401 instead of 403 confuses things terribly. (This seems to be a pretty widespread confusion :/)
Thu, 19 Sep 2013 18:03:09 +0200 [web] allow /data/ url again (closes #2464798) stable
David Douard <david.douard@logilab.fr> [Thu, 19 Sep 2013 18:03:09 +0200] rev 9233
[web] allow /data/ url again (closes #2464798) This feature was broken by 65fecbeb9c3a (which fixed another one itself).
Mon, 16 Sep 2013 10:59:59 +0200 [utils] fix typos in make_uid docstring stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 16 Sep 2013 10:59:59 +0200] rev 9232
[utils] fix typos in make_uid docstring
Wed, 28 Aug 2013 17:15:12 +0200 [c-c i18ncubicweb] fix crash, closes #3096647 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 17:15:12 +0200] rev 9231
[c-c i18ncubicweb] fix crash, closes #3096647
Fri, 30 Aug 2013 09:57:38 +0200 [rql2sql] fix bad sql generated when outer joining 'identity' relation and lhs var comes from a subquery. Closes #3099418 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Aug 2013 09:57:38 +0200] rev 9230
[rql2sql] fix bad sql generated when outer joining 'identity' relation and lhs var comes from a subquery. Closes #3099418 The generated SQL was attempting to access table.cw_eid which doesn't exist.
Thu, 29 Aug 2013 16:21:52 +0200 [web] stop using deprecated StatusResponse. Closes #3098215 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 16:21:52 +0200] rev 9229
[web] stop using deprecated StatusResponse. Closes #3098215
Thu, 29 Aug 2013 16:20:33 +0200 [deprecation] add (approximate) version number to deprecation message and set proper stacklevel stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 16:20:33 +0200] rev 9228
[deprecation] add (approximate) version number to deprecation message and set proper stacklevel
Thu, 29 Aug 2013 12:55:27 +0200 [schema] fix spurious warning when rqlexpr/constraint mainvars specify a non predefined variable. Closes #3098165 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Aug 2013 12:55:27 +0200] rev 9227
[schema] fix spurious warning when rqlexpr/constraint mainvars specify a non predefined variable. Closes #3098165
Mon, 23 Sep 2013 12:47:12 +0200 [repository] properly use IUserFriendlyError when UniqueTogetherError is raised during entity update. Closes #3096638 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Sep 2013 12:47:12 +0200] rev 9226
[repository] properly use IUserFriendlyError when UniqueTogetherError is raised during entity update. Closes #3096638
Wed, 28 Aug 2013 12:08:31 +0200 [deprecation] add cw version number to the deprecation message and help user to understand the change stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 12:08:31 +0200] rev 9225
[deprecation] add cw version number to the deprecation message and help user to understand the change
Wed, 28 Aug 2013 11:56:07 +0200 [datafeed] fix crash due to bad http_timeout handling. Closes #3096585 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:56:07 +0200] rev 9224
[datafeed] fix crash due to bad http_timeout handling. Closes #3096585
Wed, 28 Aug 2013 11:36:44 +0200 [date picker widgets] properly distinguish DOM id and input name. Closes #3096575 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:36:44 +0200] rev 9223
[date picker widgets] properly distinguish DOM id and input name. Closes #3096575
Wed, 28 Aug 2013 11:29:58 +0200 [date picker widgets] use bare jquery expression rather than jqNode stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Aug 2013 11:29:58 +0200] rev 9222
[date picker widgets] use bare jquery expression rather than jqNode
Wed, 12 Jun 2013 12:28:01 +0200 Use return in CnxSetTracker context manager methods stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:28:01 +0200] rev 9221
Use return in CnxSetTracker context manager methods Just in case.
Mon, 15 Jul 2013 11:45:37 +0200 [web/views] make PrimaryView.entity_call accept kwargs stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 15 Jul 2013 11:45:37 +0200] rev 9220
[web/views] make PrimaryView.entity_call accept kwargs It's useful when using this view in a different context to have it not crash on random arguments.
Mon, 02 Sep 2013 12:47:12 +0200 [ldapparser] demote some logs from warning to debug (closes #2713671) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 02 Sep 2013 12:47:12 +0200] rev 9219
[ldapparser] demote some logs from warning to debug (closes #2713671)
Fri, 09 Aug 2013 10:00:40 +0200 [doc] add a what's new file for 3.18
David Douard <david.douard@logilab.fr> [Fri, 09 Aug 2013 10:00:40 +0200] rev 9218
[doc] add a what's new file for 3.18
Wed, 07 Aug 2013 09:02:47 +0200 merge stable in default (3.18) branch
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 09:02:47 +0200] rev 9217
merge stable in default (3.18) branch
Tue, 06 Aug 2013 16:53:53 +0200 Added tag cubicweb-centos-version-3.17.6-1, cubicweb-version-3.17.6, cubicweb-debian-version-3.17.6-1 for changeset 5b9fedf67a29 stable
David Douard <david.douard@logilab.fr> [Tue, 06 Aug 2013 16:53:53 +0200] rev 9216
Added tag cubicweb-centos-version-3.17.6-1, cubicweb-version-3.17.6, cubicweb-debian-version-3.17.6-1 for changeset 5b9fedf67a29
Tue, 06 Aug 2013 11:49:33 +0200 [pkg] prepare 3.17.6 stable cubicweb-centos-version-3.17.6-1 cubicweb-debian-version-3.17.6-1 cubicweb-version-3.17.6
David Douard <david.douard@logilab.fr> [Tue, 06 Aug 2013 11:49:33 +0200] rev 9215
[pkg] prepare 3.17.6
Tue, 06 Aug 2013 11:20:07 +0200 Do not use cubicweb-card in rest_path tests stable
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 06 Aug 2013 11:20:07 +0200] rev 9214
Do not use cubicweb-card in rest_path tests Card overrides the rest_path method, so it does not make sense to use it in cw tests.
Thu, 01 Aug 2013 13:55:11 +0200 [inlined form field] fix regression introduced in 3.16.4/570208f74a84. Closes #3064653 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 13:55:11 +0200] rev 9213
[inlined form field] fix regression introduced in 3.16.4/570208f74a84. Closes #3064653 In the above changeset, we changed ordered entities to be edited according to mandatory inlined constraints, though this leads to unpredictable order in cases where there are no constraint. This leads to case where inlined relation field may think there is no value related to a mandatory relation, while this is simply because there is a value specified but to an entity that will be created later (together with the relation). To fix this, we've to use the fact that the RelationField.process_form_value return None in cases where there is some entity to be created, while an empty set when there are no linked entity. The new no_value() method allows to differentiate between those different notion of 'no-value'.
Thu, 01 Aug 2013 10:59:52 +0200 [testlib] temporary_appobjects should call __registered__ if it exists. Closes #3064075 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 10:59:52 +0200] rev 9212
[testlib] temporary_appobjects should call __registered__ if it exists. Closes #3064075
Thu, 01 Aug 2013 15:51:22 +0200 [entities] properly escape in EmailAddress.printable_value when format is html. Closes #3064025 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Aug 2013 15:51:22 +0200] rev 9211
[entities] properly escape in EmailAddress.printable_value when format is html. Closes #3064025
Wed, 31 Jul 2013 21:59:13 +0200 Added tag cubicweb-version-3.17.5, cubicweb-debian-version-3.17.5-1, cubicweb-centos-version-3.17.5-1 for changeset 15dd5b37998b stable
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 21:59:13 +0200] rev 9210
Added tag cubicweb-version-3.17.5, cubicweb-debian-version-3.17.5-1, cubicweb-centos-version-3.17.5-1 for changeset 15dd5b37998b
Wed, 31 Jul 2013 16:58:44 +0200 [pkg] prepare 3.17.5 stable cubicweb-centos-version-3.17.5-1 cubicweb-debian-version-3.17.5-1 cubicweb-version-3.17.5
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 16:58:44 +0200] rev 9209
[pkg] prepare 3.17.5
Wed, 31 Jul 2013 14:48:34 +0200 [pkg] fix debian packaging (closes #3058542) stable
David Douard <david.douard@logilab.fr> [Wed, 31 Jul 2013 14:48:34 +0200] rev 9208
[pkg] fix debian packaging (closes #3058542) - remove useless Python 2.4 reference, - simplify dh_install configuration to install files consistently instead of having half in /usr/lib/pythonXX and half in /usr/share/pyshared, - incidentally, this makes the package work on squeeze. Regression from eaa58d1c7d5f
Wed, 31 Jul 2013 16:04:10 +0200 [testing] add missing generate_bigint method to ValueGenerator. Closes #3059327 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Jul 2013 16:04:10 +0200] rev 9207
[testing] add missing generate_bigint method to ValueGenerator. Closes #3059327
Wed, 31 Jul 2013 13:56:00 +0200 [rql / querier] fix bad interpretation of some RQL SET query stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Jul 2013 13:56:00 +0200] rev 9206
[rql / querier] fix bad interpretation of some RQL SET query when some neged relation is involved. Closes #3058527.
Tue, 30 Jul 2013 20:31:57 +0200 merge stable in default (3.18) branch
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 20:31:57 +0200] rev 9205
merge stable in default (3.18) branch
Tue, 30 Jul 2013 20:12:20 +0200 Added tag cubicweb-version-3.17.4, cubicweb-debian-version-3.17.4-1, cubicweb-centos-version-3.17.4-1 for changeset c7ba8e5d2e45 stable
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 20:12:20 +0200] rev 9204
Added tag cubicweb-version-3.17.4, cubicweb-debian-version-3.17.4-1, cubicweb-centos-version-3.17.4-1 for changeset c7ba8e5d2e45
Tue, 30 Jul 2013 17:09:02 +0200 [i18n] cleanup dead code stable cubicweb-centos-version-3.17.4-1 cubicweb-debian-version-3.17.4-1 cubicweb-version-3.17.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 17:09:02 +0200] rev 9203
[i18n] cleanup dead code also fix small bug introduced in b0f6e8c14e7f
Tue, 30 Jul 2013 16:48:57 +0200 [i18n test] hack to make i18n tests run using a Python interpreter stable
David Douard <david.douard@logilab.fr> [Tue, 30 Jul 2013 16:48:57 +0200] rev 9202
[i18n test] hack to make i18n tests run using a Python interpreter they used to work fine when executed via pytest only. This should be removed as soon as logilab.common.registry is fixed.
Tue, 30 Jul 2013 10:06:06 +0200 [i18ncube] fix crash due to duplicated messages in generated schema.pot stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 10:06:06 +0200] rev 9201
[i18ncube] fix crash due to duplicated messages in generated schema.pot Add a test case and fix regression introduced in e713c47a993d. Relates to #2811282
Tue, 30 Jul 2013 10:05:58 +0200 [i18n test] load_po: fix bug in case of multi-lines msgid and ensure there are no duplicated messages stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 10:05:58 +0200] rev 9200
[i18n test] load_po: fix bug in case of multi-lines msgid and ensure there are no duplicated messages
Tue, 30 Jul 2013 08:23:17 +0200 [i18n test] simplify test cube a bit by only providing a views module, no package stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Jul 2013 08:23:17 +0200] rev 9199
[i18n test] simplify test cube a bit by only providing a views module, no package
Mon, 29 Jul 2013 16:01:18 +0200 [web] consider inlined relations in has_editable_relation. Closes #3049970 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Jul 2013 16:01:18 +0200] rev 9198
[web] consider inlined relations in has_editable_relation. Closes #3049970 In some cases where the user can only add/edit inlined relations (though actually edit perms of the inlined relation doesn't seem checked), the "modify" action doesn't appear while it should.
Mon, 29 Jul 2013 16:00:40 +0200 [web test] silent 3.13 warning stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Jul 2013 16:00:40 +0200] rev 9197
[web test] silent 3.13 warning
Fri, 26 Jul 2013 13:47:52 +0200 [editcontrollers] Account for role in the ordering of entities (Complements #3031719) stable
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 26 Jul 2013 13:47:52 +0200] rev 9196
[editcontrollers] Account for role in the ordering of entities (Complements #3031719) Only role='object' was correctly accounted for by 570208f74a84
Thu, 25 Jul 2013 18:14:56 +0200 [migration.sync_schema_props_perms] ensure all participants to a unique together constraint are there stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 18:14:56 +0200] rev 9195
[migration.sync_schema_props_perms] ensure all participants to a unique together constraint are there before adding CWUniqueConstraint. Closes #3038345
Thu, 25 Jul 2013 18:12:28 +0200 [session commit] save back exception context to avoid potentiel cluttering if some revert operation raise an exception stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 18:12:28 +0200] rev 9194
[session commit] save back exception context to avoid potentiel cluttering if some revert operation raise an exception
Mon, 29 Jul 2013 14:22:40 +0200 [pkg] python-central has been removed from Debian stable
David Douard <david.douard@logilab.fr> [Mon, 29 Jul 2013 14:22:40 +0200] rev 9193
[pkg] python-central has been removed from Debian
Fri, 26 Jul 2013 09:46:30 +0200 [pkg] prepare 3.17.4 stable
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:46:30 +0200] rev 9192
[pkg] prepare 3.17.4
Fri, 26 Jul 2013 09:49:53 +0200 [pkg] merge centos 3.17.1-2 in stable (prepare 3.17.4) stable
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:49:53 +0200] rev 9191
[pkg] merge centos 3.17.1-2 in stable (prepare 3.17.4)
Fri, 26 Jul 2013 09:47:22 +0200 Added tag cubicweb-centos-version-3.17.1-2 for changeset 965f894b63cb
David Douard <david.douard@logilab.fr> [Fri, 26 Jul 2013 09:47:22 +0200] rev 9190
Added tag cubicweb-centos-version-3.17.1-2 for changeset 965f894b63cb
Thu, 25 Jul 2013 09:07:25 +0200 [rqlrewrite] fix rqlrewrite unpredictability vs relation sharing. Closes #3036144 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Jul 2013 09:07:25 +0200] rev 9189
[rqlrewrite] fix rqlrewrite unpredictability vs relation sharing. Closes #3036144 The relations index used to determine if relation may be shared only considered a single relation node per relation type. So when the same relation type occurs several time, dict order give unpredictable result. We shall properly consider all relations instead. Tentative test case included (but bug reproduction is by definition unpredictable...)
Wed, 24 Jul 2013 16:55:24 +0200 [rqlrewrite] rewrite doesn't need a solutions argument, always use the Select'ones stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 16:55:24 +0200] rev 9188
[rqlrewrite] rewrite doesn't need a solutions argument, always use the Select'ones Also, do a copy systematically else it may lead to empty solutions depending on the rewrite path. Test case tentative included in the following changeset.
Wed, 24 Jul 2013 16:49:40 +0200 [rql rewrite] equivalent but much simpler flow stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 16:49:40 +0200] rev 9187
[rql rewrite] equivalent but much simpler flow
Thu, 25 Jul 2013 10:42:33 +0200 [pkg] Prepare a new RPM release cubicweb-centos-version-3.17.1-2
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 25 Jul 2013 10:42:33 +0200] rev 9186
[pkg] Prepare a new RPM release
Thu, 25 Jul 2013 10:25:49 +0200 [pkg] Add log directory to rpm
Rémi Cardona <remi.cardona@logilab.fr> [Thu, 25 Jul 2013 10:25:49 +0200] rev 9185
[pkg] Add log directory to rpm
Thu, 25 Jul 2013 08:52:15 +0200 [repo] normalize ValidationError on edited entity (closes #2509729) stable
David Douard <david.douard@logilab.fr> [Thu, 25 Jul 2013 08:52:15 +0200] rev 9184
[repo] normalize ValidationError on edited entity (closes #2509729) In CubicWeb, ValidationError.entity MUST be the eid of the involved entity, not the entity iteself (as done by yams).
Wed, 24 Jul 2013 13:59:08 +0200 [doc] one must now manipulate the req.session.data dict (closes #2842345) stable
David Douard <david.douard@logilab.fr> [Wed, 24 Jul 2013 13:59:08 +0200] rev 9183
[doc] one must now manipulate the req.session.data dict (closes #2842345) instead of deprecated get/set/del_session_data methods.
Wed, 24 Jul 2013 08:20:22 +0200 [datafeed] add a timeout config option (closes #2745677) stable
David Douard <david.douard@logilab.fr> [Wed, 24 Jul 2013 08:20:22 +0200] rev 9182
[datafeed] add a timeout config option (closes #2745677) So a HTTP GET do not hang forever in the datafeed looping task.
Wed, 24 Jul 2013 11:54:35 +0200 [dataimport] ucsvreader should skip empty lines unless specified otherwise. Closes #3035944 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 11:54:35 +0200] rev 9181
[dataimport] ucsvreader should skip empty lines unless specified otherwise. Closes #3035944
Mon, 22 Jul 2013 12:08:37 +0200 [querier] Add timings to debug prints (DBG_RQL) stable
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 22 Jul 2013 12:08:37 +0200] rev 9180
[querier] Add timings to debug prints (DBG_RQL) this may ease to spot some problematic queries
Wed, 24 Jul 2013 08:43:16 +0200 [editcontrollers] Ensure entities are created in an order satisfying schema constraints. Closes #3031719 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Jul 2013 08:43:16 +0200] rev 9179
[editcontrollers] Ensure entities are created in an order satisfying schema constraints. Closes #3031719 changes below are also necessary to make the whole thing works: * stop considering InlinedFormFile as eidparam field since they don't hold any value * rework 'pendingfields' handling to have separate processing of inlined fields whose subject entity is created during the edition
Mon, 22 Jul 2013 12:07:46 +0200 [editcontroller] extract RQLQuery.set_attribute/set_inlined methods from handle_field/handle_inlined_relation stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 12:07:46 +0200] rev 9178
[editcontroller] extract RQLQuery.set_attribute/set_inlined methods from handle_field/handle_inlined_relation
Mon, 22 Jul 2013 11:38:48 +0200 [editcontroller] req=self._cw makes things easier to read stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 11:38:48 +0200] rev 9177
[editcontroller] req=self._cw makes things easier to read
Mon, 22 Jul 2013 15:38:11 +0200 [facets,js] fix bogus checkbox icon appearing after the first interaction (closes #2790332) stable
David Douard <david.douard@logilab.fr> [Mon, 22 Jul 2013 15:38:11 +0200] rev 9176
[facets,js] fix bogus checkbox icon appearing after the first interaction (closes #2790332) This is because of the hardcoding of the data/ url.
Mon, 22 Jul 2013 14:57:37 +0200 fix typos in docstring, doc and comments stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 22 Jul 2013 14:57:37 +0200] rev 9175
fix typos in docstring, doc and comments
Wed, 17 Jul 2013 15:02:28 +0200 [debian] remove workaround for broken sphinx/jquery combination stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 17 Jul 2013 15:02:28 +0200] rev 9174
[debian] remove workaround for broken sphinx/jquery combination sphinx in squeeze was updated: http://packages.qa.debian.org/s/sphinx/news/20130112T154737Z.html
Thu, 18 Jul 2013 22:18:50 +0200 [schema] mark CWDataImport as an internal type. Closes #3025536 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 22:18:50 +0200] rev 9173
[schema] mark CWDataImport as an internal type. Closes #3025536
Fri, 19 Jul 2013 15:52:06 +0200 [pkg] remove deprecated dependency on pysqlite2 stable
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 19 Jul 2013 15:52:06 +0200] rev 9172
[pkg] remove deprecated dependency on pysqlite2
Thu, 18 Jul 2013 12:36:56 +0200 Fix two crashes in db-check (closes #3024964) stable
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 18 Jul 2013 12:36:56 +0200] rev 9171
Fix two crashes in db-check (closes #3024964) Also improves various debugging messages.
Mon, 22 Jul 2013 11:09:28 +0200 [rql rewrite] may_be_shared_with should consider relation's scope (closes #3024730) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 11:09:28 +0200] rev 9170
[rql rewrite] may_be_shared_with should consider relation's scope (closes #3024730) When a relation's scope is not the current statement, it must not be shared (instead of comparing the statement).
Thu, 18 Jul 2013 10:19:06 +0200 [rql rewrite] fix may_be_shared_with method so that it actually considers all variable infos and not only the first one stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Jul 2013 10:19:06 +0200] rev 9169
[rql rewrite] fix may_be_shared_with method so that it actually considers all variable infos and not only the first one
Mon, 22 Jul 2013 14:26:33 +0200 [schema/security] add __hash__ to rql expression. Closes #3013535 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 14:26:33 +0200] rev 9168
[schema/security] add __hash__ to rql expression. Closes #3013535 This is required so that when some rql expression participate to a dictionary key, only the expression is considered (consistent with comparison). This behaviour is expected in security at least, see the related bug for instance. This scramble msplanner unit tests a bit.
Mon, 15 Jul 2013 10:59:34 +0200 [rql rewrite] move some code from querier to rqlrewrite where it makes more sense. stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Jul 2013 10:59:34 +0200] rev 9167
[rql rewrite] move some code from querier to rqlrewrite where it makes more sense. Also, make some minor cleanup/refactoring on the way and try to enhance docstrings. Relates to #3013535
Fri, 12 Jul 2013 10:39:01 +0200 Do not compute actions list in TableLayout view when display_actions attribute is unset stable
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 12 Jul 2013 10:39:01 +0200] rev 9166
Do not compute actions list in TableLayout view when display_actions attribute is unset Closes #3007281
Fri, 12 Jul 2013 09:55:26 +0200 Use the list of cubes from the filesystem when reading the schema from the filesystem stable
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 12 Jul 2013 09:55:26 +0200] rev 9165
Use the list of cubes from the filesystem when reading the schema from the filesystem Closes #3007259
Mon, 22 Jul 2013 10:55:45 +0200 [migration] when adding a cube, skip infered relations (closes #3005576) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Jul 2013 10:55:45 +0200] rev 9164
[migration] when adding a cube, skip infered relations (closes #3005576) Skipped infered relations are recalculated later.
Thu, 11 Jul 2013 17:40:28 +0200 [3.17 migration] when some cube is missing, add_cube raise ConfigurationError, not ImportError. Closes #2981477 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 17:40:28 +0200] rev 9163
[3.17 migration] when some cube is missing, add_cube raise ConfigurationError, not ImportError. Closes #2981477
Thu, 11 Jul 2013 10:20:42 +0200 [migraction] rename_entity_type simply warn if old entity type isn't in the schema. Closes #3004069 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 10:20:42 +0200] rev 9162
[migraction] rename_entity_type simply warn if old entity type isn't in the schema. Closes #3004069
Thu, 11 Jul 2013 10:15:25 +0200 [deprecation] fix uihelper deprecation warning, use the rtag name, not the class, so it may be copy/pasted stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Jul 2013 10:15:25 +0200] rev 9161
[deprecation] fix uihelper deprecation warning, use the rtag name, not the class, so it may be copy/pasted
Thu, 11 Jul 2013 18:43:29 +0200 [test] makes fti test order-agnostic (closes #3005633) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 11 Jul 2013 18:43:29 +0200] rev 9160
[test] makes fti test order-agnostic (closes #3005633)
Thu, 11 Jul 2013 17:16:49 +0200 [web/views/staticcontrollers] Make ConcatFilesHandler write to a tempfile stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Jul 2013 17:16:49 +0200] rev 9159
[web/views/staticcontrollers] Make ConcatFilesHandler write to a tempfile In order to be more resistant to errors such as ENOSPC, and against different threads accessing the same static data, we: - concatenate data files to a temporary file, and rename it once we're done - delete the tempfile in case of errors - protect the creation of the cache_concat file with a lock Closes #3005547
Fri, 12 Jul 2013 18:03:11 +0200 [test] make unittest_schema.py compatible with cubicweb-file 0.14 stable
David Douard <david.douard@logilab.fr> [Fri, 12 Jul 2013 18:03:11 +0200] rev 9158
[test] make unittest_schema.py compatible with cubicweb-file 0.14
Mon, 22 Jul 2013 09:47:56 +0200 merge 3.16.6 branch in 3.17 stable
David Douard <david.douard@logilab.fr> [Mon, 22 Jul 2013 09:47:56 +0200] rev 9157
merge 3.16.6 branch in 3.17
Mon, 15 Jul 2013 17:34:54 +0200 Added tag cubicweb-centos-version-3.16.6-1, cubicweb-debian-version-3.16.6-1, cubicweb-version-3.16.6 for changeset b4ccaf13081d stable
Florent Cayre <florent.cayre@logilab.fr> [Mon, 15 Jul 2013 17:34:54 +0200] rev 9156
Added tag cubicweb-centos-version-3.16.6-1, cubicweb-debian-version-3.16.6-1, cubicweb-version-3.16.6 for changeset b4ccaf13081d
Sat, 13 Jul 2013 05:10:55 +0200 Prepare 3.16.6 stable cubicweb-centos-version-3.16.6-1 cubicweb-debian-version-3.16.6-1 cubicweb-version-3.16.6
Florent Cayre <florent.cayre@logilab.fr> [Sat, 13 Jul 2013 05:10:55 +0200] rev 9155
Prepare 3.16.6
Mon, 15 Jul 2013 16:55:13 +0200 [devctl] properly generate i18n messsages for cubes that uses uicfg instances (closes #2811282) stable
David Douard <david.douard@logilab.fr> [Mon, 15 Jul 2013 16:55:13 +0200] rev 9154
[devctl] properly generate i18n messsages for cubes that uses uicfg instances (closes #2811282)
Mon, 15 Jul 2013 16:55:03 +0200 [test/devctl] add a test case for i18ncube command stable
David Douard <david.douard@logilab.fr> [Mon, 15 Jul 2013 16:55:03 +0200] rev 9153
[test/devctl] add a test case for i18ncube command
Mon, 15 Jul 2013 10:40:49 +0200 Protect against crash in the `relation_possible` predicate with ambiguous relations. stable
Florent Cayre <florent.cayre@logilab.fr> [Mon, 15 Jul 2013 10:40:49 +0200] rev 9152
Protect against crash in the `relation_possible` predicate with ambiguous relations. It was still possible to get a KeyError when using relations that are ambiguous at both ends, like (Executable, version_of, Program) & (Version, version_of, Project). Closes #3010148.
Wed, 10 Jul 2013 15:03:50 +0200 [test] give a non-ambiguous order to sync_schema assertion (closes #3001959) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 10 Jul 2013 15:03:50 +0200] rev 9151
[test] give a non-ambiguous order to sync_schema assertion (closes #3001959) Sorting by ordernum alone is unstable since several values have the same ordernum. ordernum + name should be stable.
Tue, 09 Jul 2013 17:33:43 +0200 Added tag cubicweb-version-3.17.3, cubicweb-debian-version-3.17.3-1, cubicweb-centos-version-3.17.3-1 for changeset 32b4d5314fd9 stable
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 17:33:43 +0200] rev 9150
Added tag cubicweb-version-3.17.3, cubicweb-debian-version-3.17.3-1, cubicweb-centos-version-3.17.3-1 for changeset 32b4d5314fd9
Thu, 04 Jul 2013 09:26:59 +0200 [test] typo
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 04 Jul 2013 09:26:59 +0200] rev 9149
[test] typo
Tue, 25 Jun 2013 12:11:42 +0200 [schema,server] add a security debugging aid (closes #2920304)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 25 Jun 2013 12:11:42 +0200] rev 9148
[schema,server] add a security debugging aid (closes #2920304) - Add a DGB_SEC debugging flag (to be used with set_debug/debugged). - Add a context manager (tunesecurity) to filter security assertions. Note: this does not address all read-security mecanisms.
Mon, 24 Jun 2013 19:00:40 +0200 [etwist] fix handling of multiple files per field
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Jun 2013 19:00:40 +0200] rev 9147
[etwist] fix handling of multiple files per field html5 permits multiple files uploads, which can be expressed as:: <input type='file' multiple='multiple' /> This changeset avoids previous crash. Nothing is changed when a single file is uploaded (backward compat is thus preserved). When multiple files are uploaded for a single html input tag, the corresponding web request form key receives a list of tuples like [('filename-1', IStream1), ('filename-2', IStream2), ...]. closes #2847207.
Tue, 09 Jul 2013 15:58:26 +0200 [merge] start 3.18 development
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 15:58:26 +0200] rev 9146
[merge] start 3.18 development
Tue, 09 Jul 2013 15:11:23 +0200 [pkg] prepare 3.17.3 stable cubicweb-centos-version-3.17.3-1 cubicweb-debian-version-3.17.3-1 cubicweb-version-3.17.3
David Douard <david.douard@logilab.fr> [Tue, 09 Jul 2013 15:11:23 +0200] rev 9145
[pkg] prepare 3.17.3
Mon, 08 Jul 2013 20:48:54 +0200 [pkg] Remove obsolete ubuntu hardy packaging stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Jul 2013 20:48:54 +0200] rev 9144
[pkg] Remove obsolete ubuntu hardy packaging It's been EOL for a while.
Mon, 08 Jul 2013 15:24:43 +0200 [book] fix sphinx documentation generation (closes #2991997) stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Jul 2013 15:24:43 +0200] rev 9143
[book] fix sphinx documentation generation (closes #2991997) changeset 17994bf95d6a ([doc] update Session documentation) added cubicweb.server.session.Session autodoc to the book. This caused errors from sphinx due to a section title not being allowed in the class's docstring.
Mon, 08 Jul 2013 12:41:08 +0200 [test/ldap] fix ldap tests stable
David Douard <david.douard@logilab.fr> [Mon, 08 Jul 2013 12:41:08 +0200] rev 9142
[test/ldap] fix ldap tests - make sure the url is properly updated on database setup (when the test database already exists and the ldap URI has changed) - fix the ldapuser test setup process.
Fri, 05 Jul 2013 10:40:57 +0200 [test] fix unittest_schemaserial.py stable
David Douard <david.douard@logilab.fr> [Fri, 05 Jul 2013 10:40:57 +0200] rev 9141
[test] fix unittest_schemaserial.py A spurious add permission has been added in expected result by d988eec2d5d3
Fri, 05 Jul 2013 10:35:14 +0200 [test] make unittest_schemaserial.py runnable with python stable
David Douard <david.douard@logilab.fr> [Fri, 05 Jul 2013 10:35:14 +0200] rev 9140
[test] make unittest_schemaserial.py runnable with python used to run fine only when launched using pytest
Mon, 08 Jul 2013 17:38:10 +0200 [facet] use facet name as input name for text widget (eg has_text) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Jul 2013 17:38:10 +0200] rev 9139
[facet] use facet name as input name for text widget (eg has_text) we need to ba able to distinguish between text-inputs so we can write a widget for a single facet that uses more than one text input. This fix consists in the diff in cubicweb.facts.js; modifications in facet.py result from this former.
Tue, 02 Jul 2013 09:36:20 +0200 [web doctype] don't give through reset_xmldecl to avoid double deprecation warning stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 09:36:20 +0200] rev 9138
[web doctype] don't give through reset_xmldecl to avoid double deprecation warning
Tue, 02 Jul 2013 09:35:58 +0200 [web doctype test] don't give reset_xmldecl to avoid deprecation warning stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Jul 2013 09:35:58 +0200] rev 9137
[web doctype test] don't give reset_xmldecl to avoid deprecation warning
Wed, 03 Jul 2013 14:52:10 +0200 [devtool] randomise available ports search in http test stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Jul 2013 14:52:10 +0200] rev 9136
[devtool] randomise available ports search in http test This lowers the chance of parallel tests to race for the same port.
Wed, 03 Jul 2013 14:48:34 +0200 [facet] don't crash if no title specified on a facet and filtered rset is empty. Closes #2587883 stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 03 Jul 2013 14:48:34 +0200] rev 9135
[facet] don't crash if no title specified on a facet and filtered rset is empty. Closes #2587883
Wed, 03 Jul 2013 14:43:21 +0200 [css, html] add a css_class attribute on Button, allowing to change easily default CSS class for buttons stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 03 Jul 2013 14:43:21 +0200] rev 9134
[css, html] add a css_class attribute on Button, allowing to change easily default CSS class for buttons (think orbui integration)
Wed, 27 Jun 2012 11:53:46 +0200 [view] add 2 missing spaces before the previous link stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Wed, 27 Jun 2012 11:53:46 +0200] rev 9133
[view] add 2 missing spaces before the previous link
Wed, 26 Jun 2013 09:35:54 +0200 [server/repository] Go through the repo to close pyro sessions stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 26 Jun 2013 09:35:54 +0200] rev 9132
[server/repository] Go through the repo to close pyro sessions Turns out session.close() doesn't DTRT.
Fri, 31 May 2013 11:13:06 +0200 fix migration from pre-3.13.1 versions (closes #2846978) stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 May 2013 11:13:06 +0200] rev 9131
fix migration from pre-3.13.1 versions (closes #2846978) Need to check the existence of the asource column before the first call to eid_type_source.
Wed, 03 Jul 2013 14:33:27 +0200 [constraint] more robust unicity constraint failures reporting for end-users stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Jul 2013 14:33:27 +0200] rev 9130
[constraint] more robust unicity constraint failures reporting for end-users Postgres or Sqlserver have limits on the index names (around resp. 64 and 128 characters). Because `logilab.database` encodes the `unique together` constraint rtypes in the index names, we sometimes get truncated index names, from which it is impossible to retrieve all rtypes. In the long run, the way such index are named should be changed. In the short term, we try to reduce the end-user confusion resulting from this design flaw: * in source/native, the regex filtering ``IntegrityError`` message does not impose an `_idx` suffix, which indeed may be absent (the result being an UI message that resembles a catastrophic failure), * also we avoid including a trailing " (double quote) from the error message * in entities/adapters, the well-named ``IUserFriendly`` adapter is made a bit smarter about how to handle missing rtypes. * the adapter also always produces a global message explaining the issue (and the fact that sometimes, the user is not shown all the relevant info) * i18n is updated Closes #2793789
Wed, 03 Jul 2013 14:16:21 +0200 [hooks/security] Streamline attributes default permission check. stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Jul 2013 14:16:21 +0200] rev 9129
[hooks/security] Streamline attributes default permission check. The current default permission on attributes delegates the check to the entity permission update policy. Since this is already checked it can be skipped. The equality comparison will work, even with a deserialized schema, because the default update perm is:: ('managers', ERQLExpression(Any X WHERE U has_update_permission X, X eid %(x)s, U eid %(u)s)) which will always be deserialized in this order (groups first). However this is a slight semantic change: entity type level 'update' permissions can now be effectively used to encode update-time rules if the default attribute permissions are used (before this change, the 'update' rules at entity type level were fired at creation time). Closes #2930861.
Wed, 26 Jun 2013 14:22:22 +0200 [test/schemaserial] swap got/expected to get nicer unittest2 diagnostics stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 26 Jun 2013 14:22:22 +0200] rev 9128
[test/schemaserial] swap got/expected to get nicer unittest2 diagnostics Prepares #2965518.
Tue, 02 Jul 2013 17:09:04 +0200 [repository] drop safe attribute on ``internal_cnx``
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Jul 2013 17:09:04 +0200] rev 9127
[repository] drop safe attribute on ``internal_cnx`` People that need to disable hook can do it explicitly anyway.
Thu, 27 Jun 2013 19:18:54 +0200 [dbapi] deprecated the dbapi
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:18:54 +0200] rev 9126
[dbapi] deprecated the dbapi
Thu, 27 Jun 2013 19:26:14 +0200 [repoapi] deprecate dbapi compat method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:26:14 +0200] rev 9125
[repoapi] deprecate dbapi compat method
Thu, 27 Jun 2013 19:14:22 +0200 [testlib] deprecated the older api to access the repo.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:14:22 +0200] rev 9124
[testlib] deprecated the older api to access the repo.
Thu, 27 Jun 2013 19:09:23 +0200 [connection] deprecated free_cnset and set_cnxset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:09:23 +0200] rev 9123
[connection] deprecated free_cnset and set_cnxset
Thu, 27 Jun 2013 19:02:06 +0200 [session] deprecate all Connection related method on session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 19:02:06 +0200] rev 9122
[session] deprecate all Connection related method on session
Thu, 27 Jun 2013 18:53:06 +0200 [session] drop dead _current_cnx_id
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:53:06 +0200] rev 9121
[session] drop dead _current_cnx_id Not used anymore for a few commit.
Thu, 27 Jun 2013 18:47:08 +0200 [session] privatise get_cnx and close_cnx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:47:08 +0200] rev 9120
[session] privatise get_cnx and close_cnx The only user, repoapi now use ``new_cnx``
Thu, 27 Jun 2013 18:14:35 +0200 [doc] add documentation for the new API in test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:14:35 +0200] rev 9119
[doc] add documentation for the new API in test
Thu, 27 Jun 2013 15:28:15 +0200 [testlib] add an default testcase.adminaccess (and use it for default session)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 15:28:15 +0200] rev 9118
[testlib] add an default testcase.adminaccess (and use it for default session) This adminaccess is the new offical way to get connection, and request on a repo.
Thu, 27 Jun 2013 18:15:57 +0200 [testlib] introduce a RepoAccess class to easily create connection and request
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:15:57 +0200] rev 9117
[testlib] introduce a RepoAccess class to easily create connection and request Each RepoAccess hold a session for a user and three helper function to help create Connection, ClientConnection of WebRequest related to this session. related to #2920299
Thu, 27 Jun 2013 15:13:47 +0200 [repoapi] make ClientConnection.__enter__ return self
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 15:13:47 +0200] rev 9116
[repoapi] make ClientConnection.__enter__ return self This allow the standard idiom:: with repoapi.connect(repo, login='babar', passwork='elephant') as cnx: cnx.execute(…)
Thu, 27 Jun 2013 18:16:06 +0200 [documentation] describe repoapi and web side change.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:16:06 +0200] rev 9115
[documentation] describe repoapi and web side change. Short version explaining what object replace what and that BC existes for a few version.
Thu, 27 Jun 2013 12:28:17 +0200 [testlib] use internal_cnx instead of internal_session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 12:28:17 +0200] rev 9114
[testlib] use internal_cnx instead of internal_session internal_session is deprecated.
Thu, 27 Jun 2013 14:12:00 +0200 [repository] add an ``internal_cnx`` method to replace ``internal_session``
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 14:12:00 +0200] rev 9113
[repository] add an ``internal_cnx`` method to replace ``internal_session`` Accessing the repo through a Session is deprecated. We need an easy replacement for ``internal_session``. This API change was a good occasion to stop disabling integrity hook by default. This is huge source of bug in user-code. related to #2503918
Thu, 27 Jun 2013 12:02:38 +0200 [connection] enforce that a connection must be open to be used
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 12:02:38 +0200] rev 9112
[connection] enforce that a connection must be open to be used The same than for ClientConnection, we ensure the connection is used inside a its context. .. note:: We may rely on that for ClientConnection and remove de dedicated code in Client Connection but I prefer the current explicite and duplicated version for now.
Wed, 26 Jun 2013 15:11:22 +0200 use standalone Connection to Client Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 15:11:22 +0200] rev 9111
use standalone Connection to Client Connection
Wed, 26 Jun 2013 14:46:24 +0200 [session] add a new_cnx factory
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:46:24 +0200] rev 9110
[session] add a new_cnx factory Having user-code importing cubicweb.server.session.Connection is inconvenient. We add a simple factory fonction on the session.
Wed, 26 Jun 2013 14:26:06 +0200 [connection] allow simple instantiation of standalone Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:26:06 +0200] rev 9109
[connection] allow simple instantiation of standalone Connection Such connection will automatically pick a connection id. Note, They are not automatically closed on session close. But they will fails to grab new cnxset once the session is closed.
Wed, 26 Jun 2013 14:35:55 +0200 [connection] handle and explicitly life cycle on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:35:55 +0200] rev 9108
[connection] handle and explicitly life cycle on Connection Like ClientConnection, Connection object need to be explicitly started and stop. They aims to be used as context manager.
Wed, 26 Jun 2013 14:00:32 +0200 [sesion] distinction between Connection handled by the session and other.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:00:32 +0200] rev 9107
[sesion] distinction between Connection handled by the session and other. Not mixing the new and backward compat approach seems a good idea. Let's enforce it.
Wed, 26 Jun 2013 11:58:34 +0200 [session] replace _clear_thread_storage with close_cnx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:58:34 +0200] rev 9106
[session] replace _clear_thread_storage with close_cnx There is not good reason to keep two distinct method.
Wed, 26 Jun 2013 14:01:07 +0200 [session] explicitly take Connection object in close_cnx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 14:01:07 +0200] rev 9105
[session] explicitly take Connection object in close_cnx Now that ClientConnection explicitly reference and use the Connection object we do not need to use connectionid here. We can safely change this signature, ClientConnection is the only use of close_cnx for now.
Wed, 26 Jun 2013 11:41:53 +0200 [session] drop the Session._clear_cnx_storage method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:41:53 +0200] rev 9104
[session] drop the Session._clear_cnx_storage method It is just cnx.clear() now.
Wed, 26 Jun 2013 11:39:41 +0200 [session] wrap too long line
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:39:41 +0200] rev 9103
[session] wrap too long line Too long line is too long. (Confucius 503 BC)
Wed, 26 Jun 2013 11:39:01 +0200 [session] gather close_cnx with get_cnx and set_cnx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:39:01 +0200] rev 9102
[session] gather close_cnx with get_cnx and set_cnx They do the same kind of operation and deserve to be grouped together.
Thu, 27 Jun 2013 11:13:18 +0200 [client-connection] remove the _srv_cnx usage
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:13:18 +0200] rev 9101
[client-connection] remove the _srv_cnx usage It does not do anything special now that we use explicite Connection object with automatic cnx_set handling.
Thu, 27 Jun 2013 11:04:31 +0200 [client-connection] explicitly check that the client-connection is open
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:04:31 +0200] rev 9100
[client-connection] explicitly check that the client-connection is open The check is also perform by the _srv_cnx property. But we do not need those property anymore.
Thu, 27 Jun 2013 11:02:30 +0200 [client-connection] handle the lack of connection id while not open
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:02:30 +0200] rev 9099
[client-connection] handle the lack of connection id while not open the connection id is computed at opening and forgotten when closing. We can't rely on it in various messages … like the "connection closed" exception.
Wed, 26 Jun 2013 11:21:39 +0200 [connection] transparent cnx_set handling
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 11:21:39 +0200] rev 9098
[connection] transparent cnx_set handling Connection object while take cares of there cnxset themself (as dbapi connection does). The ``set_cnxset`` and ``free_cnxset`` operation are still available for backward compatibility purpose. The ``_auto_free_cnx_set`` is introduced to handle mixed usage. A new context manager ``connection.ensure_cnx_set`` is added for code that access ``cnx.cnxset`` directly and are not wrapped in any specific ``Connection`` method. A ``_with_cnx_set`` decorator is used on all Connection method that need a cnxset.
Thu, 27 Jun 2013 10:44:40 +0200 [client-connection] explicit the client part in __repr__
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 10:44:40 +0200] rev 9097
[client-connection] explicit the client part in __repr__ Now that we have real server side connection we need to remove ambiguity.
Tue, 25 Jun 2013 19:50:16 +0200 [ClientConnection] directly use the Connection object to access the database
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 19:50:16 +0200] rev 9096
[ClientConnection] directly use the Connection object to access the database Now that Connection are a full featured standalone object we can directly reference and use it in the ClientConnection instead of using the session. The session object is kept around for a while to perform various utility role.
Tue, 25 Jun 2013 18:15:45 +0200 [connection] invert __init__ parameter
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 18:15:45 +0200] rev 9095
[connection] invert __init__ parameter Takes session first. At some point, the connection_id will become optional for Connection created explicitly.
Wed, 26 Jun 2013 13:43:22 +0200 [service] enforce that Service argument and return are json-serialisable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 13:43:22 +0200] rev 9094
[service] enforce that Service argument and return are json-serialisable The call_service API need to be able to run through RPC. So we ensure front start that it is possible serialise both input and output.
Tue, 25 Jun 2013 18:04:08 +0200 [connection] move call_service on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 18:04:08 +0200] rev 9093
[connection] move call_service on Connection This is the last step toward standalone transaction.
Thu, 27 Jun 2013 11:21:14 +0200 [connection] move the commit method on Connection object
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:21:14 +0200] rev 9092
[connection] move the commit method on Connection object One step closer of standalone Connection!
Thu, 27 Jun 2013 11:21:09 +0200 [connection] move the rollback method on Connection object
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:21:09 +0200] rev 9091
[connection] move the rollback method on Connection object One step closer of standalon Connection.
Thu, 27 Jun 2013 11:20:46 +0200 [connection] pass a Connection object to RQLRewriter
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:20:46 +0200] rev 9090
[connection] pass a Connection object to RQLRewriter RQLRewriter can now directly use a Connection object. No need for specific handling session side.
Thu, 27 Jun 2013 11:20:14 +0200 [connection] Connection.execute touch Session timestamp
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:20:14 +0200] rev 9089
[connection] Connection.execute touch Session timestamp This allow to keep Session alive while using Connection object only for database access.
Tue, 25 Jun 2013 17:42:12 +0200 [connection] Connection now call _set_user to CWUser object linked to itseld
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:42:12 +0200] rev 9088
[connection] Connection now call _set_user to CWUser object linked to itseld Session.user is linked to the session.
Tue, 25 Jun 2013 14:13:50 +0200 [server/session] better faking of user for InternalManager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:13:50 +0200] rev 9087
[server/session] better faking of user for InternalManager
Thu, 27 Jun 2013 11:19:58 +0200 [connection] move execute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:58 +0200] rev 9086
[connection] move execute All necessary method are now available on the Connection object. So the Connection can handle RQL execution itself.
Tue, 25 Jun 2013 17:10:52 +0200 [connection] mark Connection as "not a request"
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:10:52 +0200] rev 9085
[connection] mark Connection as "not a request" The ORM use this information. Having a wrong value will lead to crash.
Tue, 25 Jun 2013 14:04:46 +0200 [server/session] ensure appobject obtained from the session are linked to the session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:04:46 +0200] rev 9084
[server/session] ensure appobject obtained from the session are linked to the session
Tue, 25 Jun 2013 12:25:52 +0200 [connection] have rql_rewriter accession on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 12:25:52 +0200] rev 9083
[connection] have rql_rewriter accession on Connection Code expecting a session search the RQLRewriter on this attribute.
Thu, 27 Jun 2013 11:19:42 +0200 [connection] move local_perm_cache management on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:42 +0200] rev 9082
[connection] move local_perm_cache management on Connection It belongs here anyway.
Thu, 27 Jun 2013 11:19:37 +0200 [session] use a rich object for timestamp
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:37 +0200] rev 9081
[session] use a rich object for timestamp This allows the Transaction to keep a reference to it
Thu, 27 Jun 2013 11:19:32 +0200 [migraction] do not access session.data directly
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:32 +0200] rev 9080
[migraction] do not access session.data directly use set_shared_data and get_shared_data instead
Thu, 27 Jun 2013 11:19:28 +0200 [connection] move relation management method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:28 +0200] rev 9079
[connection] move relation management method
Thu, 27 Jun 2013 11:19:24 +0200 [connection] give access to shared data method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:24 +0200] rev 9078
[connection] give access to shared data method A reference to session data are kept
Thu, 27 Jun 2013 11:19:17 +0200 [connection] move relation cache method to Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 11:19:17 +0200] rev 9077
[connection] move relation cache method to Connection needed for execute (and need execute themself...)
Wed, 15 May 2013 16:09:31 +0200 [connection] give access to session execute from connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 15 May 2013 16:09:31 +0200] rev 9076
[connection] give access to session execute from connection This allows multiple function that both requires an execute method and are required by the execute method.
Thu, 23 May 2013 14:17:46 +0200 [connection] move last part of undo logic in connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 23 May 2013 14:17:46 +0200] rev 9075
[connection] move last part of undo logic in connection Now that Connection have a reference to the repo it can handle all of it itself
Tue, 25 Jun 2013 17:28:41 +0200 [connection] initialize connection.user and connection.lang
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:28:41 +0200] rev 9074
[connection] initialize connection.user and connection.lang A RequestSessionBase need a user and lang. For now we use the session ones. Later the Connection will have it's own.
Fri, 29 Mar 2013 17:43:18 +0100 [Connection] inherit from RequestSessionBase
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:43:18 +0100] rev 9073
[Connection] inherit from RequestSessionBase This contains a lot method. We need them to move more code from Session to connection.
Wed, 26 Jun 2013 13:48:18 +0200 [multi-sources] drop multi-sources related test.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 26 Jun 2013 13:48:18 +0200] rev 9072
[multi-sources] drop multi-sources related test. another branch is removing the multi-source itself. We do not want to bother fixing those test.
Thu, 27 Jun 2013 18:21:04 +0200 Use new repoapi for the web stack
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 27 Jun 2013 18:21:04 +0200] rev 9071
Use new repoapi for the web stack The publisher now link repoapi.ClientConnection to request. and explicitly control there scope. Web side, appobject._cw.cnx is now a repoapi.ClientConnection. This actually kill webonly possibility until the repoapi is able to use some RPC. The change in the authentication stack is very hasty and need cleanup
Tue, 25 Jun 2013 10:59:01 +0200 PARTIAL: Using the repoapi in test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:59:01 +0200] rev 9070
PARTIAL: Using the repoapi in test Test now use the repoapi.ClientConnection to access the repo. This is very big change. The current method to access the repo are kept for backward compatibility. The new methods will be introduced much later. The TestCase keep a ClientConnection To an admin session for the whole test. This changeset does not makes all tests pass without the next one that change set htt without the next one that change the http stack
Tue, 25 Jun 2013 14:45:16 +0200 [web/test] drop proff of concept Facebook login in test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 14:45:16 +0200] rev 9069
[web/test] drop proff of concept Facebook login in test The authentication stack will change. The change in API will requires rework of user cube anyway.
Tue, 25 Jun 2013 10:46:35 +0200 [test/dbapi] do not rely on the Testcase provided cnx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:46:35 +0200] rev 9068
[test/dbapi] do not rely on the Testcase provided cnx We plan to use the repoapi in the test. So we need the DBAPI test to explicitly create a DBAPI connection.
Tue, 25 Jun 2013 10:45:44 +0200 [dbapi] explicitly use the DBAPI version of CubicwebRequestBase
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 10:45:44 +0200] rev 9067
[dbapi] explicitly use the DBAPI version of CubicwebRequestBase As we plan to use a ConnectionCubicwebRequestBase by default we better have the dbapi explicitly asking for a DBAPI implementation.
Mon, 24 Jun 2013 18:33:41 +0200 [web/application] drop unused import
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:33:41 +0200] rev 9066
[web/application] drop unused import unused since 3c85e734ce00
Mon, 24 Jun 2013 18:35:22 +0200 [web/test] properly reset the request connection related attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:35:22 +0200] rev 9065
[web/test] properly reset the request connection related attribute A new request does not have those attribute to None. There have special value that we now properly reinstall.
Mon, 24 Jun 2013 18:23:48 +0200 [web/test] drop two undocumented suspicious regression test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:23:48 +0200] rev 9064
[web/test] drop two undocumented suspicious regression test Those two test are not documented and use the API in the wrong way. They do not raise exception by chance. the current request signature is:: def request(self, rollbackfirst=False, url=None, headers={}, **kwargs): So the RQL have nothing to do here.
Mon, 24 Jun 2013 19:27:31 +0200 [webrequest] introduce an alternative implementation using the repoapi
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 19:27:31 +0200] rev 9063
[webrequest] introduce an alternative implementation using the repoapi DBAPI specific parts of ``CubicWebRequestBase`` are extracted in a ``DBAPICubicWebRequestBase`` decicated class and a new ``ConnectionCubicWebRequestBase`` is introduced that provide the same services but using a repoapi.ClientConnection as data source. For now the ``DBAPICubicWebRequestBase`` is still used by default.
Mon, 24 Jun 2013 18:18:51 +0200 [repoapi] add an anonymous_cnx function
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:18:51 +0200] rev 9062
[repoapi] add an anonymous_cnx function This function return an anonymous ClientConnection. It aims to replace ``dbapi.anonymous_session``.
Fri, 21 Jun 2013 16:40:12 +0200 [repoapi] add a connect function
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:40:12 +0200] rev 9061
[repoapi] add a connect function This function takes a repo and authentication information to open a new Session and return a ClientConnection associated to it.
Mon, 24 Jun 2013 17:26:13 +0200 [client-connection] add an auto-close property for ClientConnection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 17:26:13 +0200] rev 9060
[client-connection] add an auto-close property for ClientConnection The next commit introduce a connect function that open a new Session and return an associated ClientConnection. The Session should not be used by anything else than the created ClientConnection, so we want to close it at the same time than the ClientConnection. The implementation in this changeset is simplistic. We probably want to move this notion in the session itself. This be improved once we have server side Connection
Fri, 21 Jun 2013 12:08:06 +0200 [cwuser] make CWUser callable, returning self for dbapi compatibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:08:06 +0200] rev 9059
[cwuser] make CWUser callable, returning self for dbapi compatibility In the dbapi, Connection and Session have a ``user`` method to generated a user for a request In the repo api, Connection and Session have a user attribute inherited from SessionRequestBase prototype. This ugly hack allows to not break user of the user method. To ease transition from dbapi to repoapi we need the ClientConnection to be as compatible as possible with the dbapi. Adding this method goes in this direction. It'll get deprecated in the deprecation wave that will conclude the repoapi refactoring. related to #2503918
Fri, 21 Jun 2013 15:26:03 +0200 [client-connect] drop rqlst on rset returned client side
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:26:03 +0200] rev 9058
[client-connect] drop rqlst on rset returned client side The DBAPI used to drop the RQL syntax tree on rset to save bandwidth. We could stop doing it for In-memory client connection. However keeping the syntax tree leads to multiple tests failures. So we keep dropping it as the DBAPI always did. related to #2503918
Fri, 21 Jun 2013 15:25:47 +0200 [client-connection] add a repo property for dbapi compatibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:25:47 +0200] rev 9057
[client-connection] add a repo property for dbapi compatibility To ease transition from dbapi to repoapi we need the ClientConnection to be as compatible as possible with the dbapi. Adding this method goes in this direction. It'll get deprecated in the deprecation wave that will conclude the repoapi refactoring. related to #2503918
Fri, 21 Jun 2013 13:49:13 +0200 [client-connection] add a connection property for dbapi compatibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:49:13 +0200] rev 9056
[client-connection] add a connection property for dbapi compatibility To ease transition from dbapi to repoapi we need the ClientConnection to be as compatible as possible with the dbapi. Adding this method goes in this direction. It'll get deprecated in the deprecation wave that will conclude the repoapi refactoring. related to #2503918
Fri, 21 Jun 2013 13:42:19 +0200 [client-connection] add a sessionid property for dbapi compatibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 13:42:19 +0200] rev 9055
[client-connection] add a sessionid property for dbapi compatibility To ease transition from dbapi to repoapi we need the ClientConnection to be as compatible as possible with the dbapi. Adding this method goes in this direction. It'll get deprecated in the deprecation wave that will conclude the repoapi refactoring. related to #2503918
Fri, 21 Jun 2013 12:12:58 +0200 [client-connection] add a cursor() method for dbapi compatibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 12:12:58 +0200] rev 9054
[client-connection] add a cursor() method for dbapi compatibility To ease transition from dbapi to repoapi we need the ClientConnection to be as compatible as possible with the dbapi. Adding this method goes in this direction. It'll get deprecated in the deprecation wave that will conclude the repoapi refactoring. related to #2503918
Fri, 21 Jun 2013 11:39:34 +0200 [client-connection] add a request() method for dbapi compatibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 11:39:34 +0200] rev 9053
[client-connection] add a request() method for dbapi compatibility To ease transition from dbapi to repoapi we need the ClientConnection to be as compatible as possible with the dbapi. Adding this method goes in this direction. It'll get deprecated in the deprecation wave that will conclude the repoapi refactoring. related to #2503918
Tue, 25 Jun 2013 11:06:57 +0200 [repoapi] introduce a basic ClientConnection class
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 11:06:57 +0200] rev 9052
[repoapi] introduce a basic ClientConnection class This is the new official way to access the repo from client side. It still access Session object directly as the server side connection is not up yet (and it's not up because it would have no user). Multiple follow up commit will install compatibility with the DBAPI. This will ease the migration from dbapi to repoapi. ClientConnection has no user yet but later commit will use it in the whole Web stack. related to #2503918
Tue, 25 Jun 2013 17:25:47 +0200 [req] add a _set_user method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 25 Jun 2013 17:25:47 +0200] rev 9051
[req] add a _set_user method RequestSessionBase usally need to recreate a new CWuser appobject linked to themself. We add it to the base class to avoid multiple redifinition.
Mon, 24 Jun 2013 18:00:20 +0200 [server/session] add a login property
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 18:00:20 +0200] rev 9050
[server/session] add a login property session.login is a DBAPISession attribute. Having it on server side session will helps the rework of the API to access repository. The new schema drop the concept of DBAPISession and use server side session for the same purpose. related to #2503918
Fri, 21 Jun 2013 15:47:01 +0200 [server/session] allow access to session id using sessionid
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 15:47:01 +0200] rev 9049
[server/session] allow access to session id using sessionid session.sessionid is a DBAPISession attribute. Having it on server side session will helps the rework of the API to access repository. The new schema drop the concept of DBAPISession and use server side session for the same purpose. related to #2503918
Mon, 17 Jun 2013 17:27:08 +0200 [server/session] Implement anonymous_session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 17:27:08 +0200] rev 9048
[server/session] Implement anonymous_session Now we have a simple rule to compute if a session is anonymous we can implement the property for server session too. Having it on server side session will helps the rework of the API to access repository. The new schema drop the concept of DBAPISession and use server side session for the same purpose. Related to #2953943 Related to #2503918
Fri, 21 Jun 2013 16:07:45 +0200 [server/session] do not clear session.cnx if unrelated to cnx actually cleared
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:07:45 +0200] rev 9047
[server/session] do not clear session.cnx if unrelated to cnx actually cleared The cnx parameter may be different from the one actually loaded for the current thread. This will be possible in future commit when you close a client connection for example.
Mon, 24 Jun 2013 14:55:26 +0200 [dbapi] move ProgrammingError into cubicweb module
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:55:26 +0200] rev 9046
[dbapi] move ProgrammingError into cubicweb module A new ``repoapi`` will be introduced as a replacement for the dbapi. It will need ProgrammingError too. Related to #2503918
Mon, 17 Jun 2013 15:00:41 +0200 [repoapi] move get_repository function into a new repoapi module
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 17 Jun 2013 15:00:41 +0200] rev 9045
[repoapi] move get_repository function into a new repoapi module This new module aims to host the function of the new API replacing the old DBAPI. `get_repository` is still needed hence moved to the new module. Related to #2503918
Thu, 20 Jun 2013 16:19:27 +0200 [testlib] gather all repository access logic in one place
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:19:27 +0200] rev 9044
[testlib] gather all repository access logic in one place Refactoring of the repository access API in test is imminent. We plan to move from the "old" dbapi to the new repoapi. Gathering all impacted method in one place help to understand how all those method interact and help readability for both patch and resulting code. No code change is done at all in this changeset. The refactoring will code later.
Thu, 20 Jun 2013 16:00:07 +0200 [testlib] move repo and related attribute back on Instance instead of Class
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 20 Jun 2013 16:00:07 +0200] rev 9043
[testlib] move repo and related attribute back on Instance instead of Class The repo and cnx was hold by the TestCase class to work as a cache and avoid recreation of the repo from scratch of each test. However since bad26a22fe29 the caching is done by the DatabaseHandler object and it is not necessary have a second layer of cache on the TestCase itself. We move the repo and cnx attribute back on the TestCase instance itself and make several class methods instance methods again. This will helps to change dbapi access in test from dbapi to repoapi. related to #2503918
Mon, 24 Jun 2013 14:53:19 +0200 [dbapi] makes anonymous_connection a computed property
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 14:53:19 +0200] rev 9042
[dbapi] makes anonymous_connection a computed property The current implementation is a boolean flag set manually by client code after connection creation. This led to different way to decide a anonymous_connection should be True (eg. different in the test than in the actual application code). It should not be client responsibility to set this flag. ``cnx.anonymous_connection`` is now a purely computed property. Connection with user in the "guests" group are anonymous, the other ain't. ``Session.anonymous_session`` is computed from ``cnx.anonymous_connection`` and get the updated behavior transparently. Closes #2953943
Mon, 24 Jun 2013 11:31:47 +0200 [webrequest] simplify set_session code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:31:47 +0200] rev 9041
[webrequest] simplify set_session code Thanks to the previous changeset we are assured that session handed to set_session is full featured one. This allows a simpler code for this method. related to #2503918
Fri, 21 Jun 2013 16:28:16 +0200 [webrequest] set DBAPISession without cnx at initialisation time
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 21 Jun 2013 16:28:16 +0200] rev 9040
[webrequest] set DBAPISession without cnx at initialisation time Such session are necessary for minimal use of a Request. Setting on by default allow simplification later linking with a full featured DBAPISession or equivalent. This was not possible before as all session was tracked by session manager. They are not tracked anymore since aa709bc6b6c1 and we can safely create them by default. related to #2503918
Mon, 24 Jun 2013 12:41:27 +0200 [testlib] rework request building in init_authentication
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:41:27 +0200] rev 9039
[testlib] rework request building in init_authentication The previous code was building a full authenticated request and tried to undo the authentication afterward. The new code just create a bare Request with no authenticated session linked yet. This is much closer of what the actual authentication process does.
Mon, 24 Jun 2013 12:39:25 +0200 [request] drop the user argument for set_session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:39:25 +0200] rev 9038
[request] drop the user argument for set_session I see no code nor test that use this optional argument. removing it help to clean the session code. The set_session function will soon be deprecated anyway (at the same time than the dbapi) related to #2503918
Wed, 19 Jun 2013 12:00:54 +0200 [web-request] handle default language earlier
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 19 Jun 2013 12:00:54 +0200] rev 9037
[web-request] handle default language earlier We now read language negotiation header at initialisation time (previously done during ``set_session``). This simplify the set_session code for later reworking. There is no change in behavior, the user selected language continue to overwrite the one picked from the header/default when applicable. related to #2503918
Tue, 18 Jun 2013 15:12:25 +0200 [etwist] pass the repository to the root resource
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 18 Jun 2013 15:12:25 +0200] rev 9036
[etwist] pass the repository to the root resource This is another step toward a cleaner instantiation scheme for the repo. The http test now pass an already created object to the etwist server instead of relying on the config cache. Related to #2249513
Mon, 24 Jun 2013 12:03:37 +0200 [repo] move repo.gc_stats to Service API (closes #2951068)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:03:37 +0200] rev 9035
[repo] move repo.gc_stats to Service API (closes #2951068) We currently have a method on the repo that anyone can call. `call_service` gives a similar thing, modulo: * can be restricted access to manager only (thanks to selection on services), * less unrelated code on the repository class, * no need to fetch a reference to a repo object from the client side * (`req._cnx.repo` is not an API and config.repository() is on its way out). The old way to access this information (repo.gc_stats()) is deprecated.
Mon, 24 Jun 2013 12:05:35 +0200 [repo] move repo stats to Service (closes #2951067)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:05:35 +0200] rev 9034
[repo] move repo stats to Service (closes #2951067) We currently add a new method on repo that anyone can call. Call service allows to reach the same result with: * Restricted access to manager only (thanks to selection on services), * Less unrelated code on the repo. * No need to fetch a reference to a repo object from client side. `req._cnx.repo` is not an API and config.repository() is on its way out. The old way to access this information (repo.stats()) is deprecated.
Mon, 24 Jun 2013 11:59:45 +0200 [service] drop the asynchronous execution possibility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 11:59:45 +0200] rev 9033
[service] drop the asynchronous execution possibility Call_service was able of both sync and sync execution making the API confusing. There is not user of the async case. We drop the async argument in favor of synchronous execution only. This makes call_service the official API to call server side code from the client side. This is a remplacement for the usual monkey patching of the repo object. The zmq notification bus is a solid alternative for codes that needs to start an async execution.
Mon, 24 Jun 2013 12:00:03 +0200 [auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 24 Jun 2013 12:00:03 +0200] rev 9032
[auth] pass `repo` instead of `vreg` to SessionManager and AuthenticationManager Those object actually need a repo object to connect and create new session object. They used to retrieve the repo object using ``vreg.config.repository()``. I'm trying to sanitise the initialisation stack and get ride of ``config.repository()``, a function that mix factory and cache. Retrieving the vreg from the repo is trivial (``repo.vreg``) so we now pass the repo object instead of the vreg.
Fri, 23 Nov 2012 16:12:19 +0100 web/application: instantiate the repository outside of CubicWebPublisher
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:12:19 +0100] rev 9031
web/application: instantiate the repository outside of CubicWebPublisher This improves decoupling and allows ``CubicWebPublisher`` user to choose which argument are used during ``Repository`` instantiation. In particular is allows caller to provide a ``TaskManager``. The `vreg` argument of publisher is made mandatory. See CubicWebPublisher docstring for details. Related to #2249513
Fri, 07 Dec 2012 17:23:04 +0100 remove vreg argument to CWPublisher
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 17:23:04 +0100] rev 9030
remove vreg argument to CWPublisher The passing a vreg to CWPublisher was used by test to allow reused of an existing vreg. We dropped this feature two commit ago and can safely removes it. Removing this argument allows later cleanup and improvement on the CWPublisher and Repository front. closes #2944813
Fri, 07 Dec 2012 16:10:38 +0100 [devtools] vreg becomes a class ppty
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 07 Dec 2012 16:10:38 +0100] rev 9029
[devtools] vreg becomes a class ppty After multiple devtools refactoring, the vreg used for test is now *always* got from the repository. Making this explicit is a step toward simplification of the vreg handling during various initialisation phases. Related to #2944813
Fri, 23 Nov 2012 16:33:00 +0100 [devtools] drop unused `reset_schema` and `reset_vreg` class attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 16:33:00 +0100] rev 9028
[devtools] drop unused `reset_schema` and `reset_vreg` class attribute They have no effect and no user... Related to #2944813
Mon, 27 May 2013 17:50:55 +0200 [connection] move security control logic on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 27 May 2013 17:50:55 +0200] rev 9027
[connection] move security control logic on Connection The _security_enabled context manager now operate on connection. We have to keep a specific entry point in Session to ensure Connection object are properly cleaned up when using session to "manage" Connection live cycle. Related to #2503918
Fri, 14 Jun 2013 12:11:42 +0200 [connection] move hook control logic on Connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:11:42 +0200] rev 9026
[connection] move hook control logic on Connection The _hook_control context manager now operate on connection. We have to keep a specific entry point in Session to ensure Connection object are properly cleaned up when using session to "manage" Connection live cycle. Related to #2503918
Fri, 14 Jun 2013 12:10:45 +0200 [session] update _hook_control docstring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 12:10:45 +0200] rev 9025
[session] update _hook_control docstring
Mon, 27 May 2013 16:43:02 +0200 [connection] reinstall cnx.data as cnx.transaction_data
pierre-yves [Mon, 27 May 2013 16:43:02 +0200] rev 9024
[connection] reinstall cnx.data as cnx.transaction_data Too much code expects self._cw.data to be session data. backout 9b2f68916474 Related to #2503918 Related to #2912807
Mon, 27 May 2013 16:42:39 +0200 [connection] give access to is_internal_session boolean
pierre-yves [Mon, 27 May 2013 16:42:39 +0200] rev 9023
[connection] give access to is_internal_session boolean Needed if we are to use this object like we currently do with session. Related to #2503918
Fri, 14 Jun 2013 13:39:49 +0200 [req] drop from_controller on non WebRequest object (Closes #2901079)
pierre-yves [Fri, 14 Jun 2013 13:39:49 +0200] rev 9022
[req] drop from_controller on non WebRequest object (Closes #2901079) The `controller` concept is purely a web things. It does not belong to generic `req` object. The `build_url` code is slightly changed to handle that. This probably requires extended cleanup later. This is a barely used and very internal API. No deprecation period
Tue, 14 May 2013 00:36:43 +0200 [connection] add logging method on connection
pierre-yves [Tue, 14 May 2013 00:36:43 +0200] rev 9021
[connection] add logging method on connection If we are to use this object like we currently do with session, we need to have the logging method as a lot of code use them.
Thu, 13 Jun 2013 15:12:06 +0200 rename server.session.transaction into server.session.connection
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 15:12:06 +0200] rev 9020
rename server.session.transaction into server.session.connection The ongoing rework of the API to access the database include the splitting of Session in two objects: The ``Session`` object will only hold credential (user) and global session data. A new object will publicly emerge to handle a database access. This object is named ``Connection`` since that the way database accessors with the same property are named in other system. So we renamed the ``Transaction`` object into ``Connection``. The ``Transaction`` object have already grown in the direction of something directly usable by generic code, but the name ``Transaction`` is ill suited as such object can be used for multiple database transaction in a row. Related to #2503918
Fri, 14 Jun 2013 13:43:29 +0200 [application] call req.set_session in application.main_handle_request
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 13:43:29 +0200] rev 9019
[application] call req.set_session in application.main_handle_request The Session handling chain is no more responsible for calling req.set_session. It just returns a valid session and lets the caller link it to the Request. This opens the way to explicitly creating and closing a connection/transaction in ``application.main_handle_request``. Related to #2503918
Thu, 13 Jun 2013 18:46:39 +0200 [session-handler] use session directly to update last usage
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:46:39 +0200] rev 9018
[session-handler] use session directly to update last usage We don't really need the WebRequest for that. Not using the WebRequest to access the cubicweb repository here will allow a delayed set_session. Related to #2503918
Thu, 13 Jun 2013 18:50:19 +0200 [application/connect] simplify connection logic
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 18:50:19 +0200] rev 9017
[application/connect] simplify connection logic ``application.connect`` now either sets a full featured ``DBAPISession`` to the ``WebRequest`` object or raises ``AuthenticationError``. The creation and usage of a fake DBAPISession is now handled by ``main_handle_request`` when needed. This means that fake DBAPISession are no longer tracked by the session manager and that user are not given anyway to retrieve them for a later request. This fake DBAPISession is still passed to ``core_handle`` because multiple cubes like registration or forgotten password need this behavior. We would like to get ride of it in the future. This clarification of the connection API greatly simplifies ``DBAPISession`` retrieval//creation process opening the way to improvements in this area. Related to #2503918
Thu, 13 Jun 2013 15:36:10 +0200 Drop hijack user (closes #2901093)
pierre-yves [Thu, 13 Jun 2013 15:36:10 +0200] rev 9016
Drop hijack user (closes #2901093) Deprecated since 3.17.0. Dropping this function help the session cleanup business.
Thu, 13 Jun 2013 17:27:43 +0200 [sources] drop support for ldapuser source (closes #2936496)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 13 Jun 2013 17:27:43 +0200] rev 9015
[sources] drop support for ldapuser source (closes #2936496) The ldapfeed source is a replacement for ldapuser. Use it instead.
Fri, 14 Jun 2013 17:13:17 +0200 merge stable back into default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 14 Jun 2013 17:13:17 +0200] rev 9014
merge stable back into default
Fri, 14 Jun 2013 16:26:25 +0200 3.17 is the new stable stable
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:26:25 +0200] rev 9013
3.17 is the new stable
Fri, 14 Jun 2013 16:13:24 +0200 Added tag cubicweb-version-3.16.5, cubicweb-debiann-version-3.16.5-1, cubicweb-centos-version-3.16.5-1 for changeset 810a05fba1a4 stable
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:13:24 +0200] rev 9012
Added tag cubicweb-version-3.16.5, cubicweb-debiann-version-3.16.5-1, cubicweb-centos-version-3.16.5-1 for changeset 810a05fba1a4
Fri, 14 Jun 2013 16:02:39 +0200 [pkg] prepare 3.16.5 stable cubicweb-centos-version-3.16.5-1 cubicweb-debiann-version-3.16.5-1 cubicweb-version-3.16.5
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 16:02:39 +0200] rev 9011
[pkg] prepare 3.16.5
Fri, 14 Jun 2013 14:41:50 +0200 Added tag cubicweb-version-3.17.2, cubicweb-debian-version-3.17.2-1 for changeset 195e519fe97c
David Douard <david.douard@logilab.fr> [Fri, 14 Jun 2013 14:41:50 +0200] rev 9010
Added tag cubicweb-version-3.17.2, cubicweb-debian-version-3.17.2-1 for changeset 195e519fe97c
Thu, 13 Jun 2013 17:32:49 +0200 [pkg] prepare 3.17.2 cubicweb-debian-version-3.17.2-1 cubicweb-version-3.17.2
David Douard <david.douard@logilab.fr> [Thu, 13 Jun 2013 17:32:49 +0200] rev 9009
[pkg] prepare 3.17.2
Fri, 14 Jun 2013 11:53:40 +0200 repository: make tests pass again
Julien Cristau <julien.cristau@logilab.fr> [Fri, 14 Jun 2013 11:53:40 +0200] rev 9008
repository: make tests pass again The tests use mono-threaded pyro, which breaks assumptions made in e27337dfec8c. To fix that, remove sessions from the _pyro_sessions dict when they're closed, and force the test pyro client to actually disconnect when it's done.
Wed, 12 Jun 2013 18:33:50 +0200 repository: monkey patch pyro connection handling to detect clients going away
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 18:33:50 +0200] rev 9007
repository: monkey patch pyro connection handling to detect clients going away When a pyro client goes away we need to close their session (to release their cnxset). Add a dict to the repository mapping pyro client threads to session object. Closes #2932058
Thu, 13 Jun 2013 12:01:23 +0200 notification: use viewargs for notif_entity_updated instead of transaction_data
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:01:23 +0200] rev 9006
notification: use viewargs for notif_entity_updated instead of transaction_data Now that notifications use separate sessions, they can't rely on the original transaction_data being around, so pass the data through view arguments instead, so the notification view knows what changed on updated entities. Closes #2936180
Thu, 13 Jun 2013 12:03:59 +0200 notification: properly handle cnx and lifetime of the hijacked session
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Jun 2013 12:03:59 +0200] rev 9005
notification: properly handle cnx and lifetime of the hijacked session When we create a session for the notification rendering, we need to 1) give it a cnxset 2) commit and close it after we're done 3) restore the original session for subsequent notifications This changes the ordering of actual mail sending, since there are several different commits involved, but I don't see a way to fix that short of restoring hijack_user. Related to #2934523
Wed, 12 Jun 2013 12:27:00 +0200 notification: fix session creation (closes #2934523)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Jun 2013 12:27:00 +0200] rev 9004
notification: fix session creation (closes #2934523) Session() takes a user and repo, not repo and user.
Fri, 07 Jun 2013 16:48:20 +0200 Added tag cubicweb-version-3.17.1, cubicweb-debian-version-3.17.1-1, cubicweb-centos-version-3.17.1-1 for changeset f98d1c46ed9f
David Douard <david.douard@logilab.fr> [Fri, 07 Jun 2013 16:48:20 +0200] rev 9003
Added tag cubicweb-version-3.17.1, cubicweb-debian-version-3.17.1-1, cubicweb-centos-version-3.17.1-1 for changeset f98d1c46ed9f
Fri, 24 May 2013 13:00:28 +0200 [cwctl] add configure command to cw-ctl (closes #2709702) cubicweb-centos-version-3.17.1-1 cubicweb-debian-version-3.17.1-1 cubicweb-version-3.17.1
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 13:00:28 +0200] rev 9002
[cwctl] add configure command to cw-ctl (closes #2709702) usage: cw-ctl configure <appid> --param key=value,key2=value2 --param key3=value3
Fri, 24 May 2013 14:02:45 +0200 [cwctl] rename option no-post-create to no-db-create
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:02:45 +0200] rev 9001
[cwctl] rename option no-post-create to no-db-create
Thu, 06 Jun 2013 16:02:46 +0200 [pkg] version 3.17.1 for rpm packages
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 16:02:46 +0200] rev 9000
[pkg] version 3.17.1 for rpm packages
Mon, 27 May 2013 15:48:03 +0200 [session] upgrade session closed error from Exception to SessionClosedError
pierre-yves [Mon, 27 May 2013 15:48:03 +0200] rev 8999
[session] upgrade session closed error from Exception to SessionClosedError Exception is far too wide and we already have a SessionClosedError anyway. Closes #2897696
Thu, 06 Jun 2013 12:29:44 +0200 [pkg] prepare 3.17.1
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 12:29:44 +0200] rev 8998
[pkg] prepare 3.17.1
Thu, 30 May 2013 14:46:32 +0200 [web/application] add some minimal documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 30 May 2013 14:46:32 +0200] rev 8997
[web/application] add some minimal documentation Some documentation to the Application main entry point.
Thu, 23 May 2013 19:25:24 +0200 [session] raise proper exception with get_tx is called on a closed session
pierre-yves [Thu, 23 May 2013 19:25:24 +0200] rev 8996
[session] raise proper exception with get_tx is called on a closed session Prevent attribute error on _txs Closes #2897836
Thu, 06 Jun 2013 09:44:37 +0200 [view] typo in a docstring
David Douard <david.douard@logilab.fr> [Thu, 06 Jun 2013 09:44:37 +0200] rev 8995
[view] typo in a docstring
Fri, 24 May 2013 14:07:46 +0200 [cwctl] pass missing inputlevel argument to postcreate() (closes #2901037) stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 14:07:46 +0200] rev 8994
[cwctl] pass missing inputlevel argument to postcreate() (closes #2901037)
Wed, 29 May 2013 11:41:39 +0200 [server] fix documentation of ZMQ options harder stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 29 May 2013 11:41:39 +0200] rev 8993
[server] fix documentation of ZMQ options harder The syntax for zmq addresses is tcp://host:port, no zmqpickle involved.
Wed, 29 May 2013 16:44:16 +0200 merge with 3.16.x fixes
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 29 May 2013 16:44:16 +0200] rev 8992
merge with 3.16.x fixes
Mon, 27 May 2013 15:39:56 +0200 [server] fix documentation of ZMQ options stable
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Mon, 27 May 2013 15:39:56 +0200] rev 8991
[server] fix documentation of ZMQ options
Fri, 24 May 2013 11:16:09 +0200 [zmq] set order for ZMQStartHook so other hooks don't need to stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 May 2013 11:16:09 +0200] rev 8990
[zmq] set order for ZMQStartHook so other hooks don't need to If an application wants to subscribe to some messages on the zmq bus, that needs to happen after ZMQStartHook.
Thu, 23 May 2013 17:32:56 +0200 import merge_options directly from logilab.common
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 17:32:56 +0200] rev 8989
import merge_options directly from logilab.common
Fri, 24 May 2013 15:10:50 +0200 [server] fix error messages in write_sources_file()
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 24 May 2013 15:10:50 +0200] rev 8988
[server] fix error messages in write_sources_file()
Thu, 02 May 2013 12:22:14 +0200 [doc] a couple almost-typos stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 02 May 2013 12:22:14 +0200] rev 8987
[doc] a couple almost-typos
Fri, 03 May 2013 17:26:23 +0200 [schemaserial] mitigate critical message during migration
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 May 2013 17:26:23 +0200] rev 8986
[schemaserial] mitigate critical message during migration We can't fetch extra_props because it is not yet there.
Wed, 22 May 2013 06:30:16 +0200 [doc] typo
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Wed, 22 May 2013 06:30:16 +0200] rev 8985
[doc] typo
Thu, 23 May 2013 18:57:25 +0200 [cw-ctl] fix help message for schemadiff In global help (closes #2888538)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 23 May 2013 18:57:25 +0200] rev 8984
[cw-ctl] fix help message for schemadiff In global help (closes #2888538) The leading space make it appears on multiple line. The help content is a bit improved in the process.
Tue, 14 May 2013 18:02:24 +0200 [dbapi] fix connect backwards compat harder stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 14 May 2013 18:02:24 +0200] rev 8983
[dbapi] fix connect backwards compat harder Passing None as group and host should result in "pyro:///cubicweb.appid", not "pyro://None/None.appid". Followup for 2091d275fe5c. Closes #2882666.
Thu, 23 May 2013 12:35:02 +0200 [zmq] make publish address optional stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 12:35:02 +0200] rev 8982
[zmq] make publish address optional It should be possible to use the zmq communication bus in a read-only manner. Allow setting zmq-address-sub without zmq-address-pub. Closes #2897178.
Thu, 23 May 2013 14:38:43 +0200 Fix documentation for zmq pub/sub hooks and configuration stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 May 2013 14:38:43 +0200] rev 8981
Fix documentation for zmq pub/sub hooks and configuration Closes #2897177
Fri, 17 May 2013 16:25:48 +0200 [entity] improve deprecation messages stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 17 May 2013 16:25:48 +0200] rev 8980
[entity] improve deprecation messages
Wed, 15 May 2013 14:42:50 +0200 [devtools] use self._parse so AssertionError is properly raised instead of lxml error (test failure introduced in 6711f78c18be)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:42:50 +0200] rev 8979
[devtools] use self._parse so AssertionError is properly raised instead of lxml error (test failure introduced in 6711f78c18be)
Wed, 15 May 2013 16:21:23 +0200 [testlib] fix page validator selection. Closes #2869456
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 16:21:23 +0200] rev 8978
[testlib] fix page validator selection. Closes #2869456 * use a validator that checks XML well-formness for the html5 doctype (as a convenient side-effect, it does not choke on e.g. a canvas tag like the HTMLParser does) * use a DTD validator if there is an xml declaration * else use the HTMLValidator
Wed, 15 May 2013 14:22:51 +0200 [testlib] introduce a validator that check xml-well formness
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 14:22:51 +0200] rev 8977
[testlib] introduce a validator that check xml-well formness This validator simply check XML is well formed and accept any entities (think HTML defines much more entities than bare XML)
Wed, 15 May 2013 15:37:22 +0200 [view] return HTML5 doctype. Closes #2869426
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 May 2013 15:37:22 +0200] rev 8976
[view] return HTML5 doctype. Closes #2869426 We dropped xhtml support in 3.17 but we kept providing documents using the XHTML strict doctype, while our content wasn't conform to the DTD since we dropped proper namespaces definition as well as declaration of cubicweb DTD extensions.
Mon, 06 May 2013 17:16:45 +0200 [testlib] repreprocess content so contextual display has a chance to show the proper line. Closes #2869481
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:16:45 +0200] rev 8975
[testlib] repreprocess content so contextual display has a chance to show the proper line. Closes #2869481 the context is calculated using position information relative to a preprocessed content, not the original source
Mon, 06 May 2013 15:58:52 +0200 [web request] drop no more necessary request.document_surrounding_div method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 15:58:52 +0200] rev 8974
[web request] drop no more necessary request.document_surrounding_div method This is awful and no more necessary since we dropped xhtml support
Mon, 06 May 2013 17:13:43 +0200 [testlib] unspaghettify Validator / PageInfo api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:13:43 +0200] rev 8973
[testlib] unspaghettify Validator / PageInfo api
Mon, 06 May 2013 16:05:51 +0200 [testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 16:05:51 +0200] rev 8972
[testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
Mon, 06 May 2013 17:26:16 +0200 [testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 May 2013 17:26:16 +0200] rev 8971
[testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
Tue, 14 May 2013 15:26:24 +0200 [dataimport] minor typo in error handling
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 14 May 2013 15:26:24 +0200] rev 8970
[dataimport] minor typo in error handling
Tue, 07 May 2013 00:29:42 +0200 [views] attempt to clarify the inline help system documentation
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Tue, 07 May 2013 00:29:42 +0200] rev 8969
[views] attempt to clarify the inline help system documentation
Mon, 06 May 2013 19:40:15 +0200 [sobject] fix notification operation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 May 2013 19:40:15 +0200] rev 8968
[sobject] fix notification operation regression introduced in bf4003760e02 Operation use self. session. not self._cw. I'm a bit surprised that its not tested. closes ##2870077
Fri, 03 May 2013 16:36:42 +0200 Added tag cubicweb-debian-version-3.17.0-2 for changeset 09a0c7ea6c3c
David Douard <david.douard@logilab.fr> [Fri, 03 May 2013 16:36:42 +0200] rev 8967
Added tag cubicweb-debian-version-3.17.0-2 for changeset 09a0c7ea6c3c
Fri, 03 May 2013 16:27:34 +0200 [pkg/debian] prepare release 3.17.0-2 cubicweb-debian-version-3.17.0-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:27:34 +0200] rev 8966
[pkg/debian] prepare release 3.17.0-2
Fri, 03 May 2013 16:24:42 +0200 [pkg/debian] update yams runtime depends
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:24:42 +0200] rev 8965
[pkg/debian] update yams runtime depends Only the built depends were updated to 0.37.0.
Fri, 03 May 2013 16:23:08 +0200 [pkg/debian] expand all depends and co on multiple line
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 03 May 2013 16:23:08 +0200] rev 8964
[pkg/debian] expand all depends and co on multiple line This is more readable and simplifies patching.
Thu, 02 May 2013 17:14:22 +0200 Added tag cubicweb-debian-version-3.17.0-1 for changeset 22be40c492e9
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:22 +0200] rev 8963
Added tag cubicweb-debian-version-3.17.0-1 for changeset 22be40c492e9
Thu, 02 May 2013 17:14:21 +0200 Added tag cubicweb-version-3.17.0 for changeset cc1a0aad580c cubicweb-debian-version-3.17.0-1
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 17:14:21 +0200] rev 8962
Added tag cubicweb-version-3.17.0 for changeset cc1a0aad580c
Thu, 02 May 2013 15:58:57 +0200 [test/view] exclude some Blog entity from automatic view testing cubicweb-version-3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 02 May 2013 15:58:57 +0200] rev 8961
[test/view] exclude some Blog entity from automatic view testing Some Blog view requires the sioc cubes that we extracted in 3.17 we do not really want to test cubes view here. So we exclude CWEtype that really requires the sioc cubes.
Thu, 02 May 2013 14:30:36 +0200 [doc] fix: cubicweb.gmap.js has moved to the geocoding cube
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 14:30:36 +0200] rev 8960
[doc] fix: cubicweb.gmap.js has moved to the geocoding cube
Tue, 30 Apr 2013 08:17:10 +0200 [test/ldap] do not assume order
David Douard <david.douard@logilab.fr> [Tue, 30 Apr 2013 08:17:10 +0200] rev 8959
[test/ldap] do not assume order Do no assume a specific order is stable when testing group members
Mon, 29 Apr 2013 14:49:43 +0200 Added tags for version 3.16.4 on changeset 041804bc48e9 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 14:49:43 +0200] rev 8958
Added tags for version 3.16.4 on changeset 041804bc48e9
Mon, 29 Apr 2013 12:34:23 +0200 [notification] ensure official API is test
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:34:23 +0200] rev 8957
[notification] ensure official API is test By using the official API in the hook we ensure it is tested.
Mon, 29 Apr 2013 09:47:23 +0200 fix typo in notification causing NameError
Alain Leufroy <alain.leufroy@logilab.fr> [Mon, 29 Apr 2013 09:47:23 +0200] rev 8956
fix typo in notification causing NameError introduced by: f5b40b66d36e
Mon, 29 Apr 2013 12:29:59 +0200 [test/notification] merge related test classe
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 12:29:59 +0200] rev 8955
[test/notification] merge related test classe They have no reason to be distinct.
Mon, 29 Apr 2013 11:43:36 +0200 merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:43:36 +0200] rev 8954
merge with stable
Tue, 16 Apr 2013 16:51:18 +0200 [server] add a looping task to free unused cnxsets capture by dead pyro stable cubicweb-centos-version-3.16.4-1 cubicweb-debian-version-3.16.4-1 cubicweb-version-3.16.4
Julien Cristau <julien.cristau@logilab.fr> [Tue, 16 Apr 2013 16:51:18 +0200] rev 8953
[server] add a looping task to free unused cnxsets capture by dead pyro When a pyro client disconnects, we're not necessarily notified so they can hang on to their session/cnxset forever. Don't let them do that. The hacky looping task is only installed when pyro is enabled. This optional activation save this very hacky patch from being rejected. closes #2825380
Mon, 29 Apr 2013 11:22:21 +0200 [pkg/debian] update changelog to 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:22:21 +0200] rev 8952
[pkg/debian] update changelog to 3.17.0
Mon, 29 Apr 2013 11:06:28 +0200 [devtools] Use XMLValidator instead deprecated SaxOnlyValidator
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 29 Apr 2013 11:06:28 +0200] rev 8951
[devtools] Use XMLValidator instead deprecated SaxOnlyValidator The renaming was introduced in 198fdadafed6.o This prevent a meta class conflict introduced by logilab-common 0fcd2e050621.
Fri, 26 Apr 2013 18:47:36 +0200 [pkg] update changelog
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:47:36 +0200] rev 8950
[pkg] update changelog
Fri, 26 Apr 2013 18:37:47 +0200 [pkg] prepare 3.17.0
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:37:47 +0200] rev 8949
[pkg] prepare 3.17.0
Fri, 26 Apr 2013 18:21:18 +0200 [pkg] prepare 3.16.4 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 18:21:18 +0200] rev 8948
[pkg] prepare 3.16.4
Fri, 26 Apr 2013 18:06:44 +0200 [repo] straightforward bootstrap sequence. Closes #2841188
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Apr 2013 18:06:44 +0200] rev 8947
[repo] straightforward bootstrap sequence. Closes #2841188 * kill fill_schema method which was doing to much different things, in favor of a deserialize_method which is simply reading schema from the db and returning it * set_schema doesn't bother with cubes This allows to easilly follow what's going on and so to cleanup init_cnxset_pool to get the following boostrap order: 1. load cubes (implies loading site_cubicweb) 2. load schema 3. init data sources 4. init cnx sets
Wed, 24 Apr 2013 14:49:49 +0200 [repo] minor cleanups to bootstrap sequence
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:49:49 +0200] rev 8946
[repo] minor cleanups to bootstrap sequence * fix some docstring/comments * move initialization of HooksManager to the __init__.py, this has nothing to do with pool initialization / boostraping
Fri, 26 Apr 2013 17:46:56 +0200 [schemaserial] serialize additional yams parameter for customs type
Vincent Michel <vincent.michel@logilab.fr> [Fri, 26 Apr 2013 17:46:56 +0200] rev 8945
[schemaserial] serialize additional yams parameter for customs type Yams have a new custom type feature. We add support for extra parameter on CWAttribute in schema serialization handling. Closes #2847151
Tue, 23 Apr 2013 14:13:58 +0200 [sql] preprocess_entity uses lgdb helper's SQL converters.
Vincent Michel <vincent.michel@logilab.fr> [Tue, 23 Apr 2013 14:13:58 +0200] rev 8944
[sql] preprocess_entity uses lgdb helper's SQL converters. The preprocess_entity does not yield anymore the conversion logic for different base types, but relies on a new SQL_CONVERTERS dictionary of the db helper. This will allow later inclusion of new base types.
Wed, 24 Apr 2013 14:42:43 +0200 [repo] kill rebuildinfered feature from Repository.set_schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:42:43 +0200] rev 8943
[repo] kill rebuildinfered feature from Repository.set_schema This clutters thing and is useless in most cases: when schema just have been readen from the database or from the file-system, infered relations have just be calculated. The only use-case where it should be rebuilt is on migration (ie schema modification by editing the meta-model using rql), so move this feature there.
Wed, 24 Apr 2013 14:51:06 +0200 [test] stop deepcopying for nothing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:51:06 +0200] rev 8942
[test] stop deepcopying for nothing
Fri, 26 Apr 2013 12:10:37 +0200 drop xhtml content-type support (closes #2065651)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Apr 2013 12:10:37 +0200] rev 8941
drop xhtml content-type support (closes #2065651) * HTMLStream does not care about xml any more * reqquest.demote_to_html and .xhtml_browser are deprecated * web config: drop force-html-content-type option * adjust tests
Fri, 26 Apr 2013 11:53:47 +0200 [htmlparser] exclude <script> tag from html source
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:53:47 +0200] rev 8940
[htmlparser] exclude <script> tag from html source lxml are confused by them :-(
Fri, 26 Apr 2013 11:52:35 +0200 [htmlparser] store unaltered source in pageinfo.source
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:52:35 +0200] rev 8939
[htmlparser] store unaltered source in pageinfo.source Do not store the parser to preserve the source aspect. Store the initial input in the source argument instead. This is very useful when parsing html. In such case we need to drop ``<script>`` tag.
Thu, 25 Apr 2013 18:38:47 +0200 [htmlparser] rename SaxOnlyValidator to XMLValidator
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 18:38:47 +0200] rev 8938
[htmlparser] rename SaxOnlyValidator to XMLValidator
Thu, 25 Apr 2013 17:46:28 +0200 [htmlparser] add missing deprecation message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 17:46:28 +0200] rev 8937
[htmlparser] add missing deprecation message
Thu, 25 Apr 2013 16:55:12 +0200 [form] remove hard coded id
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 16:55:12 +0200] rev 8936
[form] remove hard coded id html id should be unique. It is clearly not achieved here.
Fri, 26 Apr 2013 11:08:06 +0200 [server/test] use server config in migration
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 26 Apr 2013 11:08:06 +0200] rev 8935
[server/test] use server config in migration This allows a lighter initialisation (no rtag needed). Execution of those test move from 300 secondes to 220 seconds here. A 25% speedup
Mon, 22 Apr 2013 17:57:46 +0200 [session] deprecate `hijack_user` method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:57:46 +0200] rev 8934
[session] deprecate `hijack_user` method The semantic of this method is wicked and lead to very hard violation of sanity. (multiple transaction using the very same cursors). We deprecated the API to be able to drop it as soon as possible. The method was added long ago for some notification trick. It is not needed since we sent notification on ``postcommit_event``. (closes #2781782)
Thu, 25 Apr 2013 12:24:26 +0200 [mail] drop hijack_user usage
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 12:24:26 +0200] rev 8933
[mail] drop hijack_user usage The transaction is now commited before notification. We can create a new session directly and drop `hijack_user` usage. This prepare #2781782
Thu, 25 Apr 2013 13:35:02 +0200 [notification] merge BaseNotificationView and NotificationView
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:35:02 +0200] rev 8932
[notification] merge BaseNotificationView and NotificationView They are in the same module now.
Thu, 25 Apr 2013 13:34:48 +0200 [notification] move notification view in ``sobject.notification``
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 13:34:48 +0200] rev 8931
[notification] move notification view in ``sobject.notification`` It has no user outside this module. This enforce serversideness of notification and allow future cleanup. No backward compat is set up to prevent circular import. The class has no other user anyway. (closes 2845144)
Thu, 25 Apr 2013 14:10:55 +0200 remove unused import
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 14:10:55 +0200] rev 8930
remove unused import pyflakes say they are unused. Tests suite confirms.
Thu, 25 Apr 2013 17:30:09 +0200 one more merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Apr 2013 17:30:09 +0200] rev 8929
one more merge
Thu, 25 Apr 2013 16:10:56 +0200 [notification] introduce an official `notify_on_commit` function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 16:10:56 +0200] rev 8928
[notification] introduce an official `notify_on_commit` function It provides a proper notification api instead of replacing it by yet another clumsy one. Closes #2837251
Thu, 25 Apr 2013 10:57:01 +0200 [cubicweb/doc] Replace dc_type() by cw_etype
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 25 Apr 2013 10:57:01 +0200] rev 8927
[cubicweb/doc] Replace dc_type() by cw_etype dc_type() is may be translated. Leading to terrible terrible damage.
Thu, 04 Apr 2013 11:58:41 +0200 [dataimport] backout 6947201033be (related to #2788402)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 04 Apr 2013 11:58:41 +0200] rev 8926
[dataimport] backout 6947201033be (related to #2788402) (and add a try: except to cache the intended error) The problem actually comes from the ``MassiveObjectStore`` in the ``dataio`` cube, so it should be corrected there. Here, we only protect it with a ``RuntimeWarning`` so that the user can see the problem. ``value`` is set to ``None`` (whence to ``NULL`` from a database standpoint), so that the data can be nevertheless inserted in the database. However, only the keys present in ``row`` are actually non-'``NULL``'. The real solution is to work out the issue in ``MassiveObjectStore`` directly. The current try/except should only be a temporary hack.
Thu, 25 Apr 2013 15:45:38 +0200 merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 15:45:38 +0200] rev 8925
merge default heads
Fri, 05 Apr 2013 14:44:03 +0200 [c-c serverctl] import locally to speed up c-c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Apr 2013 14:44:03 +0200] rev 8924
[c-c serverctl] import locally to speed up c-c
Thu, 25 Apr 2013 12:12:15 +0200 [facet js] minor refactoring and cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Apr 2013 12:12:15 +0200] rev 8923
[facet js] minor refactoring and cleanups * extract facetCheckBoxSelect and facetCheckBoxUnselect * use $ as prefix for jQuery variable (facet -> $facet) * other minor rephrasing
Wed, 24 Apr 2013 18:11:37 +0200 [ldapfeed] Add support for LDAP groups (closes #2528116)
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 18:11:37 +0200] rev 8922
[ldapfeed] Add support for LDAP groups (closes #2528116) Groups from the LDAP server are imported as CWGourp entities, and in_group relationships are created between existing CWUsers and CWGroups Unit tests have been refactored a bit, especially ti add helper methods to manage LDAP database.
Wed, 24 Apr 2013 17:57:14 +0200 [test/ldap] small improvement to ldapfeed unit tests
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:57:14 +0200] rev 8921
[test/ldap] small improvement to ldapfeed unit tests better group testing and further testing of imported user life cycle.
Wed, 24 Apr 2013 17:48:08 +0200 [ldap] prepare import of CWGroup
David Douard <david.douard@logilab.fr> [Wed, 24 Apr 2013 17:48:08 +0200] rev 8920
[ldap] prepare import of CWGroup All CWUser specific code is put in dedicated sections.
Wed, 24 Apr 2013 17:40:49 +0200 [ldap] handle modification date
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:40:49 +0200] rev 8919
[ldap] handle modification date We are now able to import modification date from ldap.
Wed, 24 Apr 2013 17:39:10 +0200 [ldap] refactor attributes mapping handling
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 17:39:10 +0200] rev 8918
[ldap] refactor attributes mapping handling * use explicit attributes lists when calling ldap search * direct and reverse attributes maps contains now the same elements.
Wed, 24 Apr 2013 14:00:52 +0200 [ldapfeed] add support for multiple email addresses from ldap
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 14:00:52 +0200] rev 8917
[ldapfeed] add support for multiple email addresses from ldap Multiple emails case was ignored before this change. email test
Wed, 24 Apr 2013 15:37:43 +0200 merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:37:43 +0200] rev 8916
merge 3.16.x fix in 3.17.x branch
Wed, 24 Apr 2013 15:33:49 +0200 [session] fix hooks_control backward compat
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 15:33:49 +0200] rev 8915
[session] fix hooks_control backward compat Session object have no ``hooks_control`` control method. it has ``allow_all_hooks_but`` and ``deny_all_hooks_but`` ones. Regression introduced in bd5b5759c9b3.
Fri, 19 Apr 2013 16:25:45 +0200 [facet js] fix reordering of facet check boxes. Closes #2732947 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 16:25:45 +0200] rev 8914
[facet js] fix reordering of facet check boxes. Closes #2732947 Before this patch, when one select an element, it's moved to the top of the select content. Fine. But when it's later deselected, it stays there instead of moving back to its original location. This patch fixes that by introducing a facetCheckBoxReorder function which properly reorder the whole facet, instead of buggy attempt to locally reorder.
Wed, 24 Apr 2013 14:40:09 +0200 [vreg] (re)build entity classes cache after registry initialization. stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:40:09 +0200] rev 8913
[vreg] (re)build entity classes cache after registry initialization. This fix potential memory fragmentation issue. Closes #2719113
Wed, 24 Apr 2013 12:10:12 +0200 [task] allow negative intervals for add_looping_task (closes #2818280)
Julien Cristau <julien.cristau@logilab.fr> [Wed, 24 Apr 2013 12:10:12 +0200] rev 8912
[task] allow negative intervals for add_looping_task (closes #2818280) Instead of rejecting values < 0 with a ValueError, we ignore tasks with a negative interval. This introduce a simple way to disable task from configuration.
Wed, 24 Apr 2013 11:58:49 +0200 [task] allow interval=0 for looping tasks
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 24 Apr 2013 11:58:49 +0200] rev 8911
[task] allow interval=0 for looping tasks There is valid usecase for perpetual running task.
Wed, 24 Apr 2013 14:45:13 +0200 [portable dump] skip virtual relations, they have no table associated. Closes #2841199 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:45:13 +0200] rev 8910
[portable dump] skip virtual relations, they have no table associated. Closes #2841199
Wed, 24 Apr 2013 14:37:48 +0200 [test] fix skipIf import, currently failing if unittest2 is not there stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:37:48 +0200] rev 8909
[test] fix skipIf import, currently failing if unittest2 is not there
Wed, 24 Apr 2013 14:36:41 +0200 [test] fix bad merge stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Apr 2013 14:36:41 +0200] rev 8908
[test] fix bad merge
Tue, 23 Apr 2013 18:15:10 +0200 merge with other default head
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 18:15:10 +0200] rev 8907
merge with other default head
Tue, 23 Apr 2013 16:07:02 +0200 [ldap] an empty 'user-base-dn' disable the user importation process,
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:07:02 +0200] rev 8906
[ldap] an empty 'user-base-dn' disable the user importation process, The same semantic will be used for group. We start by using it for user for the sake of consistency.
Tue, 23 Apr 2013 15:46:09 +0200 drop commented print
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:46:09 +0200] rev 8905
drop commented print
Tue, 23 Apr 2013 16:50:18 +0200 [ldap] Major test refactoring
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:50:18 +0200] rev 8904
[ldap] Major test refactoring Mostly fix tests (previous refactoring), but also refactor a bit the base class to have better/simpler interaction with the slapd server.
Tue, 23 Apr 2013 17:58:20 +0200 [test/ldap] have RQL2LDAPFilterTC use its own database
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 17:58:20 +0200] rev 8903
[test/ldap] have RQL2LDAPFilterTC use its own database I do not know what RQL2LDAPFilterTC is about and why it does this strange reuse of LDAPUserSourceTC pre_setup_database but it is certainly a good idea to have it use a dedicated database-cache.
Tue, 23 Apr 2013 16:25:56 +0200 [ldap] quieter tests
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 16:25:56 +0200] rev 8902
[ldap] quieter tests Capture slapadd and slapd output if everything goes well.
Wed, 10 Apr 2013 17:50:11 +0200 [test/ldap source] better source naming, some cleanups (prepares #2528116)
Jérôme Roy [Wed, 10 Apr 2013 17:50:11 +0200] rev 8901
[test/ldap source] better source naming, some cleanups (prepares #2528116) ldap uri becomes "ldap" in all cases prepare separation of CONFIGs by source type
Tue, 23 Apr 2013 15:33:50 +0200 use cw_etype instead of __regid__
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:33:50 +0200] rev 8900
use cw_etype instead of __regid__ We have a clean public API now.
Tue, 23 Apr 2013 15:16:36 +0200 [entity] add an official ``cw_etype`` property for entity
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 15:16:36 +0200] rev 8899
[entity] add an official ``cw_etype`` property for entity This property holds the CWEtype id of the entity. This information was previously available through __regid__ but this is an ugly public API. So we have a new clean public API. The ``dc_type()`` method could not be used as it is translated. (closes #2793792)
Tue, 23 Apr 2013 12:38:27 +0200 [notification] use new style operation for notification
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:38:27 +0200] rev 8898
[notification] use new style operation for notification This results in far less operations created. Operation creation is expensive. We keep some compatibility with the previous API because some cubes have been reported to use it.
Mon, 22 Apr 2013 17:16:02 +0200 [cleanup] drop code deprecated since 3.6
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 17:16:02 +0200] rev 8897
[cleanup] drop code deprecated since 3.6 The 3.6 API have been dropped some time ago. Those three lines survived the purge. One of them is even deprecated since 3.5.
Mon, 22 Apr 2013 15:25:04 +0200 [notification] fix documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 22 Apr 2013 15:25:04 +0200] rev 8896
[notification] fix documentation The doc say precommit, the code says postcommit. The code is right. We also clarify the documentation of another related operation looking suspiciously wrong but actually correct.
Tue, 23 Apr 2013 12:01:14 +0200 [ldapuser] Deprecated the source
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 23 Apr 2013 12:01:14 +0200] rev 8895
[ldapuser] Deprecated the source We have ldapfeed for some time. maintaining both is cumbersome. This old style source will be dropped in 3.18. closes #2567712
Fri, 19 Apr 2013 15:44:42 +0200 [rql2sql] Remove an XXX by explaining why Int non-substitution is desired
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:44:42 +0200] rev 8894
[rql2sql] Remove an XXX by explaining why Int non-substitution is desired (in the current state of the API)
Fri, 19 Apr 2013 15:41:56 +0200 [rql2sql] Boolean values should be substitued like others. Closes #2829481
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Apr 2013 15:41:56 +0200] rev 8893
[rql2sql] Boolean values should be substitued like others. Closes #2829481 Furthermore lgdb 1.10 deprecate boolean_value method and this simplify testing.
Mon, 22 Apr 2013 14:54:22 +0200 [toward-py3k] rewrite __cmp__ (closes #2715115)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Apr 2013 14:54:22 +0200] rev 8892
[toward-py3k] rewrite __cmp__ (closes #2715115) In Python 3k `__cmp__` special method is no longer supported. So we split it in `__lt__` and `__eq__`. details on Python3k behavior here: http://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons
Mon, 08 Apr 2013 17:33:49 +0200 skeleton: add RPM spec template (closes #2800884)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:33:49 +0200] rev 8891
skeleton: add RPM spec template (closes #2800884)
Tue, 16 Apr 2013 13:44:01 +0200 [clean_session] revert itervalues usage from 0bb18407c053 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Apr 2013 13:44:01 +0200] rev 8890
[clean_session] revert itervalues usage from 0bb18407c053 self.close(session) changes the self._sessions content. We need to create a full list of value before starting closing them.
Mon, 15 Apr 2013 13:18:01 +0200 merge 3.16.x fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 15 Apr 2013 13:18:01 +0200] rev 8889
merge 3.16.x fix
Wed, 10 Apr 2013 16:46:18 +0200 [ldap] Use correct API for logging message
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:46:18 +0200] rev 8888
[ldap] Use correct API for logging message The good practice cat prefer logging to do the substitution himself.
Fri, 12 Apr 2013 11:39:10 +0200 Fix obsolete docstring for add_looping_task stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 12 Apr 2013 11:39:10 +0200] rev 8887
Fix obsolete docstring for add_looping_task The docstring was telling lies since changeset cae198371548 "add_looping_task can be used any time"
Thu, 11 Apr 2013 10:32:00 +0200 [devtools] prevent Xvfb resets stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 11 Apr 2013 10:32:00 +0200] rev 8886
[devtools] prevent Xvfb resets Seems like firefox opens more than one connection to the X server in some cases, and things get utterly confused.
Wed, 10 Apr 2013 16:22:48 +0200 [LDAP] rename unittest ldapuser to ldapsource (prepares #2528116)
Jérôme Roy <jerome.roy@logilab.fr> [Wed, 10 Apr 2013 16:22:48 +0200] rev 8885
[LDAP] rename unittest ldapuser to ldapsource (prepares #2528116) the tests involved are not only for ldapuser module but also for the more general ldapfeed Necessary to prepare LDAP patch for CWgroup
Wed, 10 Apr 2013 15:34:18 +0200 [devtools] protect xvfb-run.sh against clean_up being called twice stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 10 Apr 2013 15:34:18 +0200] rev 8884
[devtools] protect xvfb-run.sh against clean_up being called twice
Wed, 10 Apr 2013 10:44:55 +0200 Added tag cubicweb-version-3.16.3, cubicweb-debian-version-3.16.3-1, cubicweb-centos-version-3.16.3-1 for changeset ee860c51f56b stable
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:44:55 +0200] rev 8883
Added tag cubicweb-version-3.16.3, cubicweb-debian-version-3.16.3-1, cubicweb-centos-version-3.16.3-1 for changeset ee860c51f56b
Wed, 10 Apr 2013 10:39:15 +0200 3.16.3 stable cubicweb-centos-version-3.16.3-1 cubicweb-debian-version-3.16.3-1 cubicweb-version-3.16.3
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 10:39:15 +0200] rev 8882
3.16.3
Tue, 09 Apr 2013 14:23:24 +0200 [service] make sure synchronous call_service has a cnxset stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 09 Apr 2013 14:23:24 +0200] rev 8881
[service] make sure synchronous call_service has a cnxset Fixes regression in 3.16.2 (closes #2807720)
Tue, 09 Apr 2013 11:56:27 +0200 Merge testfunc testfunc resurrection Closes #2535377 stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:56:27 +0200] rev 8880
Merge testfunc testfunc resurrection Closes #2535377
Tue, 09 Apr 2013 11:40:45 +0200 [web] move qunit test back into web and fix the hanging oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 09 Apr 2013 11:40:45 +0200] rev 8879
[web] move qunit test back into web and fix the hanging qunit test can not work outside web. a lot of try/finally clause have been added to prevent qunit to hang on error. A not a test a indeed broken. But we at least put in them a running state again..
Mon, 08 Apr 2013 17:34:25 +0200 [test] drop forsaken windmill test (Closes 2535376) oldstable
William Wordsworth [Mon, 08 Apr 2013 17:34:25 +0200] rev 8878
[test] drop forsaken windmill test (Closes 2535376) * not run since multiple years * windmill itself is in poor shape not even packaged in Debian. The peace which other seek they find; The heaviest storms not longet last; Heaven grants even to the guiltiest mind An amnesty for what is past; When will my sentence be reversed? I only pray to know the worst; And wish as if my heart would burst.
Tue, 09 Apr 2013 09:03:12 +0200 Added tag cubicweb-debian-version-3.16.2-1 for changeset b3c1ad0cbf00 stable
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:12 +0200] rev 8877
Added tag cubicweb-debian-version-3.16.2-1 for changeset b3c1ad0cbf00
Tue, 09 Apr 2013 09:03:11 +0200 Added tag cubicweb-version-3.16.2 for changeset a2b4f245aa57 stable cubicweb-debian-version-3.16.2-1
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 09:03:11 +0200] rev 8876
Added tag cubicweb-version-3.16.2 for changeset a2b4f245aa57
Mon, 08 Apr 2013 19:30:42 +0200 3.16.2 stable cubicweb-version-3.16.2
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 19:30:42 +0200] rev 8875
3.16.2
Mon, 08 Apr 2013 18:38:20 +0200 [server/test] remove dependency on a pyro name server (closes #2801737) stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 18:38:20 +0200] rev 8874
[server/test] remove dependency on a pyro name server (closes #2801737) Use a direct pyroloc:// url instead of going through a NS.
Mon, 08 Apr 2013 17:30:53 +0200 [packaging] add spec file to build RPMs (closes #2800850) stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:30:53 +0200] rev 8873
[packaging] add spec file to build RPMs (closes #2800850)
Mon, 08 Apr 2013 17:12:53 +0200 [predicates] keep making `yes` predicate importable from cubicweb (closes #2790319) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 08 Apr 2013 17:12:53 +0200] rev 8872
[predicates] keep making `yes` predicate importable from cubicweb (closes #2790319) The `yes` predicate was moved out in CubicWeb 3.15 but it should have remained importable from the cubicweb.predicates module, for bw compat reasons and also because logilab.common.registry is an implementation detail.
Mon, 08 Apr 2013 16:53:03 +0200 [views/tables|css] backout rev 895e34d9ae0d stable
David Douard <david.douard@logilab.fr> [Mon, 08 Apr 2013 16:53:03 +0200] rev 8871
[views/tables|css] backout rev 895e34d9ae0d This changeset introduced a GUI behaviour change that has usability side-effects (eg. shows a non-undoable massive action as a first-class action). The idea is good, but it requires a better implementation; tabs are not the proper GUI solution to the original usability issue.
Mon, 08 Apr 2013 16:43:26 +0200 [webconfig] cleanly handles ``fckeditor_installed`` when no uiprops stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:43:26 +0200] rev 8870
[webconfig] cleanly handles ``fckeditor_installed`` when no uiprops The previous version of the code relied on a default value with a dummy ``FCKEDITOR_PATH`` entry. The new code check if uiprops is initialized or not.
Mon, 08 Apr 2013 16:19:29 +0200 [webconfig] fallback to default configs if https ones are not defined stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:19:29 +0200] rev 8869
[webconfig] fallback to default configs if https ones are not defined When cubicweb serves a request with an https scheme, it tries to access ``https_uiprops`` and ``https_datadir_urls``. However if those are not defined we should fallback to unsecure url instead of crashing with a traceback. There are very valid usecases for undefined https url. For example if your ``base_url``, ``datadir_url`` and uiprops content are already https urls. Closes #2786643
Mon, 08 Apr 2013 16:13:03 +0200 [webconfig] explicit some webconfig attribute stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 16:13:03 +0200] rev 8868
[webconfig] explicit some webconfig attribute Explicit declaration of attribute are much clearer. Just do it.
Mon, 08 Apr 2013 14:45:10 +0200 merge 3.16.x fix in 3.17.x branch
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:45:10 +0200] rev 8867
merge 3.16.x fix in 3.17.x branch
Mon, 08 Apr 2013 14:18:32 +0200 merge with 3.15.x fix stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:18:32 +0200] rev 8866
merge with 3.15.x fix
Mon, 08 Apr 2013 14:16:56 +0200 Added tag cubicweb-debian-version-3.15.11-1 for changeset 09d65bc1f025 oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:56 +0200] rev 8865
Added tag cubicweb-debian-version-3.15.11-1 for changeset 09d65bc1f025
Mon, 08 Apr 2013 14:16:46 +0200 Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252 oldstable cubicweb-debian-version-3.15.11-1
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 14:16:46 +0200] rev 8864
Added tag cubicweb-version-3.15.11 for changeset 38c6a3ea8252
Wed, 03 Apr 2013 10:55:56 +0200 [querier] improve 'Password selection not allowed' error message stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:55:56 +0200] rev 8863
[querier] improve 'Password selection not allowed' error message to report the involved variable name whose type is Password, it usually help understanding the problem.
Wed, 03 Apr 2013 11:09:50 +0200 [predicates] use select_or_none rather than select+try/except, expected to be more efficient stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 11:09:50 +0200] rev 8862
[predicates] use select_or_none rather than select+try/except, expected to be more efficient
Mon, 08 Apr 2013 12:43:57 +0200 [pkg] prepare version 3.15.11 ? oldstable cubicweb-version-3.15.11
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:43:57 +0200] rev 8861
[pkg] prepare version 3.15.11 ?
Mon, 08 Apr 2013 12:42:36 +0200 merge 3.14.x fix into 3.15.x oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:42:36 +0200] rev 8860
merge 3.14.x fix into 3.15.x
Wed, 03 Apr 2013 10:51:15 +0200 [facet] ensure a facet DOM id is a valid jQuery identifier. Closes #2789089 oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Apr 2013 10:51:15 +0200] rev 8859
[facet] ensure a facet DOM id is a valid jQuery identifier. Closes #2789089
Mon, 04 Feb 2013 14:39:55 +0100 [predicates] fix 'adaptable' implementation, used to return 0 on a rset with individualy adaptable entities of different types. Closes #2709663 oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Feb 2013 14:39:55 +0100] rev 8858
[predicates] fix 'adaptable' implementation, used to return 0 on a rset with individualy adaptable entities of different types. Closes #2709663
Wed, 03 Apr 2013 14:33:20 +0200 [cmd] fix exlog documentation (closes #2715913) oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 03 Apr 2013 14:33:20 +0200] rev 8857
[cmd] fix exlog documentation (closes #2715913) The table documentation was out of sync since 8a075bc94563.
Mon, 08 Apr 2013 12:26:39 +0200 Added tag cubicweb-debian-version-3.14.10-1 for changeset 197bcd087c87 oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:39 +0200] rev 8856
Added tag cubicweb-debian-version-3.14.10-1 for changeset 197bcd087c87
Mon, 08 Apr 2013 12:26:28 +0200 Added tag cubicweb-version-3.14.10 for changeset 0ff798f80138 oldstable cubicweb-debian-version-3.14.10-1
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:26:28 +0200] rev 8855
Added tag cubicweb-version-3.14.10 for changeset 0ff798f80138
Mon, 08 Apr 2013 12:19:24 +0200 [pkg] prepare 3.14.10 release oldstable cubicweb-version-3.14.10
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 08 Apr 2013 12:19:24 +0200] rev 8854
[pkg] prepare 3.14.10 release
Mon, 08 Apr 2013 11:09:50 +0200 [querier] fix eid relations handling in SET queries (closes #2797052) oldstable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Apr 2013 11:09:50 +0200] rev 8853
[querier] fix eid relations handling in SET queries (closes #2797052) _extract_eid_consts() implementation must consider arithmetic operators when trying to associate rql variables to specific eids.
Thu, 04 Apr 2013 17:45:09 +0200 [ext/rest] add directive bookmark to rest (closes #2545595)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Apr 2013 17:45:09 +0200] rev 8852
[ext/rest] add directive bookmark to rest (closes #2545595)
Wed, 03 Apr 2013 12:17:24 +0200 [c-c create] make post-create step optional (closes #2712041)
David Douard <david.douard@logilab.fr> [Wed, 03 Apr 2013 12:17:24 +0200] rev 8851
[c-c create] make post-create step optional (closes #2712041) In this context the "post-create" step refers to the database's creation and initialization. We want to be able to create a new instance but skip the database creation (`db-create` and `db-init` commands) in automatic setup.
Fri, 15 Mar 2013 12:11:29 +0100 [cwconfig] Add optional configuration param to load a UI cube before other cubes
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 15 Mar 2013 12:11:29 +0100] rev 8850
[cwconfig] Add optional configuration param to load a UI cube before other cubes Needed later on to load UI cubes such as legacyui, and one day squareui.
Tue, 02 Apr 2013 12:13:06 +0200 [web/views] Move massmailing to its own cube (closes #2788086)
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 02 Apr 2013 12:13:06 +0200] rev 8849
[web/views] Move massmailing to its own cube (closes #2788086)
Tue, 02 Apr 2013 18:15:24 +0200 merge with stable fix
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 18:15:24 +0200] rev 8848
merge with stable fix
Tue, 02 Apr 2013 16:06:22 +0200 [req] explicit `user` attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:06:22 +0200] rev 8847
[req] explicit `user` attribute The `RequestSessionBase` object needs a `user` attribute. It is initialized by sub class, but having it explicitly declared is much cleaner.
Tue, 02 Apr 2013 16:02:52 +0200 [test] use the right order in some assertEqual
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 16:02:52 +0200] rev 8846
[test] use the right order in some assertEqual The unittest2 function use ``(expected, got)`` order.
Fri, 29 Mar 2013 18:00:37 +0100 [session/transaction] move resource accessors on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:00:37 +0100] rev 8845
[session/transaction] move resource accessors on Transaction
Fri, 29 Mar 2013 17:39:14 +0100 [session/transaction] move multiple utility on Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:39:14 +0100] rev 8844
[session/transaction] move multiple utility on Transaction
Fri, 29 Mar 2013 17:25:56 +0100 [session/transaction] handle cnxset repository logic in transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 17:25:56 +0100] rev 8843
[session/transaction] handle cnxset repository logic in transaction Interacting with the repo is now handled by the Transaction code directly.
Fri, 29 Mar 2013 12:34:53 +0100 [transaction] keep a reference to the repo object
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:34:53 +0100] rev 8842
[transaction] keep a reference to the repo object
Fri, 29 Mar 2013 18:57:13 +0100 [session] make security_enabled API private
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 18:57:13 +0100] rev 8841
[session] make security_enabled API private The doc already says "internal API". The old entry point is now officially deprecated and the context manager have been made private.
Fri, 29 Mar 2013 12:47:04 +0100 [session] make hook_control API private
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 29 Mar 2013 12:47:04 +0100] rev 8840
[session] make hook_control API private The doc already says "internal API". The old entry point is now officially deprecated and the context manager have been made private.
Tue, 02 Apr 2013 15:11:41 +0200 [service] split session retrieval and service execution stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:41 +0200] rev 8839
[service] split session retrieval and service execution Internal session are not tracker by the repository and can not be retrieved using _getsession. Moreover their session id is not unique… Closes #2735700
Tue, 02 Apr 2013 15:11:21 +0200 [service] handle cnxset in the async case only stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:21 +0200] rev 8838
[service] handle cnxset in the async case only The service may be called by a session, we really do not want the call to service to mess with the transaction state. This does not apply to async were thread magic ensure a dedicated transaction.
Tue, 02 Apr 2013 14:46:13 +0200 [service] extract session retrieval from "task" closure stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 14:46:13 +0200] rev 8837
[service] extract session retrieval from "task" closure The session was retrieved there because `set_cnxset` must be called in the same thread as the code using it. We now retrieve the session beforehand and explicitly call `set_cnxset`.
Tue, 12 Mar 2013 18:31:15 +0100 [cubicweb/doc] Add tutorial on data import in CubicWeb.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 12 Mar 2013 18:31:15 +0100] rev 8836
[cubicweb/doc] Add tutorial on data import in CubicWeb. This involves creating the "tutorials/dataimport" directory structure under "cubicweb/doc" and, inside the "dataimport" directory, putting several files: - a ResT file containing the tutorial *per se*; this tutorial addresses the following issues: * creating a CubicWeb schema for representing a given data set (here, the Diseasome RDF data, for illustration purposes); * parsing the data; * importing the data, by using several stores: + the ``RQLObjectStore``, ``NoHookRQLObjectStore`` and ``SQLGenObjectStore`` from the ``dataimport`` module in CubicWeb; + the ``MassiveObjectStore`` from the ``dataimport`` module in the ``dataio`` cube. The tutorial also provides timing benchmarks of the various stores. - a set of Python files illustrating the data import, in the context of Diseasome RDF data parsing: * a Diseasome RDF data parse module, * a Diseasome data import module, * a CubicWeb schema for representing Diseasome data.
Tue, 02 Apr 2013 12:05:51 +0200 [dataimport] Slight message modification in exception handling code.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:05:51 +0200] rev 8835
[dataimport] Slight message modification in exception handling code.
Tue, 02 Apr 2013 12:04:22 +0200 [dataimport] Handle various data formats when creating buffers from data.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:04:22 +0200] rev 8834
[dataimport] Handle various data formats when creating buffers from data. :note: On the long run, this should be addressed before, when these data are created.
Tue, 02 Apr 2013 12:12:41 +0200 [dataimport] Add a ``flush`` method for all stores.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:12:41 +0200] rev 8833
[dataimport] Add a ``flush`` method for all stores. For ``ObjectStore``, ``RQLObjectStore`` and ``NoHookRQLObjectStore`` the method tries to call the ``commit`` method. For ``SQLGenObjectStore``, the ``flush`` method is basically unchanged with respect to previous changesets.
Tue, 02 Apr 2013 12:11:44 +0200 [dataimport] Uniformize the API across the different stores.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:11:44 +0200] rev 8832
[dataimport] Uniformize the API across the different stores. This is achieved by modifying the ``relate`` method so that it takes an extra ``**kwargs``. More specifically, ``SQLGenObjectStore``'s ``relate`` method needs the the type of the subject entity which is passed through ``**kwargs`` as the ``subjtype`` keyword argument. Actually, it is the ``add_relation`` method of the ``SQLGenObjectStore`` who needs this argument. However, as this method is not called directly (but via the ``relate`` method), the ``subjtype`` argument is passed to ``add_relation`` via ``relate``. The other stores' ``relate`` methods do not need this extra argument, hence for the other stores ``**kwargs`` is empty. In this manner, the API is unified across the different stores.
Thu, 28 Mar 2013 15:43:23 +0100 [data] Add a CSS for undo UI rendering stable
Anthony Truchet <anthony.truchet@logilab.fr> [Thu, 28 Mar 2013 15:43:23 +0100] rev 8831
[data] Add a CSS for undo UI rendering The nesting of ordered list and unordered list was badly handled. This has gone unoticed becaused it was not used. But the undo feature use this markup to render the changesets. That's why this minor change to ths CSS is introduced.
Mon, 17 Dec 2012 14:03:56 +0100 [web/views] extract cube geocoding (closes #353000)
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Dec 2012 14:03:56 +0100] rev 8830
[web/views] extract cube geocoding (closes #353000)
Mon, 11 Feb 2013 11:47:50 +0100 [c-c list] add an optional argument to the list command (closes #2709703)
David Douard <david.douard@logilab.fr> [Mon, 11 Feb 2013 11:47:50 +0100] rev 8829
[c-c list] add an optional argument to the list command (closes #2709703) This optional argument allows to restrict listing to only a given type of items (cubes, instances, configurations).
Wed, 13 Mar 2013 18:17:16 +0100 default base-url now uses fdqn instead of hostname only (closes #2542815)
Florent Cayre <florent.cayre@logilab.fr> [Wed, 13 Mar 2013 18:17:16 +0100] rev 8828
default base-url now uses fdqn instead of hostname only (closes #2542815)
Thu, 28 Mar 2013 15:01:02 +0100 [editcontroller] a small debugging help (closes #2518980) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 15:01:02 +0100] rev 8827
[editcontroller] a small debugging help (closes #2518980)
Thu, 28 Mar 2013 13:48:48 +0100 [doc] small doc improvement
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:48 +0100] rev 8826
[doc] small doc improvement
Thu, 28 Mar 2013 13:48:26 +0100 [doc] fix Pyro url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:26 +0100] rev 8825
[doc] fix Pyro url
Thu, 28 Mar 2013 13:47:54 +0100 [doc] fix Narval project url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:47:54 +0100] rev 8824
[doc] fix Narval project url
Thu, 28 Mar 2013 13:46:50 +0100 [tutorial] minor documentation fixes
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:46:50 +0100] rev 8823
[tutorial] minor documentation fixes
Thu, 28 Mar 2013 12:41:14 +0100 merge 3.16.x fix in 3.17.x
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:41:14 +0100] rev 8822
merge 3.16.x fix in 3.17.x
Thu, 28 Mar 2013 12:32:26 +0100 merge 3.15.x into 3.16.x stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 12:32:26 +0100] rev 8821
merge 3.15.x into 3.16.x
Thu, 28 Mar 2013 12:31:39 +0100 server/source/native: fix wrong usage of .lstrip that produce garbled error messages (closes #2777641) oldstable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 12:31:39 +0100] rev 8820
server/source/native: fix wrong usage of .lstrip that produce garbled error messages (closes #2777641) Fixed an .rstrip(...) for the general case (untested). Fixed an .lstrip(...) for the sqlite path (tested).
Thu, 28 Mar 2013 11:40:19 +0100 [doc] update 3.17 release note
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:40:19 +0100] rev 8819
[doc] update 3.17 release note
Thu, 28 Mar 2013 11:45:17 +0100 [migration] fix bug in `CWAttributeAddOp.revertprecommit_event` oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Mar 2013 11:45:17 +0100] rev 8818
[migration] fix bug in `CWAttributeAddOp.revertprecommit_event` The `rdefdef` attribute is set during the operation execution. In some the operation crash before this assignment. In such case `revertprecommit` raise an attribute error crashing the whole process and shadowing the original error. This changeset detect and Avoid this situation.
Wed, 27 Mar 2013 16:41:45 +0100 [session] security context directly use transaction object when applicable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:41:45 +0100] rev 8817
[session] security context directly use transaction object when applicable Most of the security logic have been moved on Transaction anyway.
Wed, 27 Mar 2013 16:43:34 +0100 [session] move context manager logic in the security context manager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:43:34 +0100] rev 8816
[session] move context manager logic in the security context manager The `init_security` and `reset_security` method have no other user that the context manager itself. Having dedicated public function is not useful.
Wed, 27 Mar 2013 16:42:18 +0100 [session] hook control context directly use transaction object when applicable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:42:18 +0100] rev 8815
[session] hook control context directly use transaction object when applicable Most of the hooks control logic have been moved on Transaction anyway.
Wed, 27 Mar 2013 16:17:21 +0100 [session] move context manager logic in the hook controls context manager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 16:17:21 +0100] rev 8814
[session] move context manager logic in the hook controls context manager The `init_hooks_mode_categories` and `reset_hooks_mode_categories` have no other user that the context manager itself. Having dedicated public function is not useful.
Wed, 27 Mar 2013 14:05:14 +0100 [session] drop the useless set_hooks_mode method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:05:14 +0100] rev 8813
[session] drop the useless set_hooks_mode method It has not external user and trivial code
Wed, 27 Mar 2013 17:09:55 +0100 [session/transaction] move most undo support into transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:09:55 +0100] rev 8812
[session/transaction] move most undo support into transaction A small part that need repo access has not been moved into transaction yet.
Wed, 27 Mar 2013 11:42:13 +0100 [session] simplify mode property
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:42:13 +0100] rev 8811
[session] simplify mode property We can delegate very thing to transaction utility
Wed, 27 Mar 2013 11:01:40 +0100 [session/transaction] pass the session object to the Transaction __init__
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 11:01:40 +0100] rev 8810
[session/transaction] pass the session object to the Transaction __init__ This simplify access to variables. As we are moving more and more logic and states in the Transaction it will greatly helps in future commit.
Wed, 27 Mar 2013 19:54:36 +0100 [session] use a dedicated class to track cnxset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:54:36 +0100] rev 8809
[session] use a dedicated class to track cnxset We introduce a new CnxSetTracker to track `cnxset` used by Transaction and allows to wait for them. This new class does not use Thread ID not thread joining to work. This allows to use multiple transaction per thread and a transaction in multiple thread. The class itself is totally threadsafe by the Transaction is still not thread safe. The old _threads_in_transaction attribute is dropped in favor of a new logic based on this object. The registration of cnxset used is not done by the Transaction itself. tx.cnset is a property handling the Consistency of its value with the CnxSetTracker instance. Note: The CnxSetTracker instance only track transaction id, not transaction itself, So not reference cycle are created.
Tue, 26 Mar 2013 15:26:29 +0100 [session] cleanup Transaction.cnxset
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 26 Mar 2013 15:26:29 +0100] rev 8808
[session] cleanup Transaction.cnxset The attribute should always be there. It is None when not cnxset exists.
Mon, 25 Mar 2013 17:50:11 +0100 [session] drop useless getter and setter for security
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 17:50:11 +0100] rev 8807
[session] drop useless getter and setter for security Those function have very few user and does not anything fancy. Internal user now access tx.read/write_security directly. External user have been blessed with a writable property. They are only interested in the write part of they did not used the return of the removed function. They access it through the session since I prefer the external world to not be aware of Transaction yet.
Wed, 27 Mar 2013 19:40:09 +0100 [session/transaction] move read_security subtlety in transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 19:40:09 +0100] rev 8806
[session/transaction] move read_security subtlety in transaction This is transaction data, itshould be handled by the transaction itself.
Mon, 25 Mar 2013 16:08:02 +0100 [transaction] initialize dbapi_request in __init__
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:02 +0100] rev 8805
[transaction] initialize dbapi_request in __init__ There is not reason to have it implicitly declared. The attribute is renamed to match its public name.
Wed, 27 Mar 2013 17:00:25 +0100 [whatsnew] notify drop of deprecated code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 17:00:25 +0100] rev 8804
[whatsnew] notify drop of deprecated code
Wed, 27 Mar 2013 16:33:48 +0100 [web/views] extract cube embed (closes #1916015)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Wed, 27 Mar 2013 16:33:48 +0100] rev 8803
[web/views] extract cube embed (closes #1916015)
Tue, 26 Mar 2013 12:26:12 +0100 [skeleton] Update debian packaging to support only python 2.6 and up
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 26 Mar 2013 12:26:12 +0100] rev 8802
[skeleton] Update debian packaging to support only python 2.6 and up
Wed, 27 Mar 2013 16:58:13 +0100 Drop iprogress code (closes #2777628)
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 16:58:13 +0100] rev 8801
Drop iprogress code (closes #2777628)
Wed, 27 Mar 2013 16:36:47 +0100 [web/views] extract cube sioc (closes #1916018)
Simon Chabot <simon.chabot@logilab.fr> [Wed, 27 Mar 2013 16:36:47 +0100] rev 8800
[web/views] extract cube sioc (closes #1916018)
Wed, 27 Mar 2013 15:36:41 +0100 [doc] Add 3.17 release notes
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 27 Mar 2013 15:36:41 +0100] rev 8799
[doc] Add 3.17 release notes
Wed, 27 Mar 2013 15:38:05 +0100 [migration] mark all version prior 3.7 as non-migrable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:38:05 +0100] rev 8798
[migration] mark all version prior 3.7 as non-migrable API possible used by such old migration script are not supported in recent Cubiweb. Closes #2772958
Wed, 27 Mar 2013 14:53:40 +0100 [dataimport] drop checkpoint backward compat API
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:40 +0100] rev 8797
[dataimport] drop checkpoint backward compat API Deprecated since 3.7. See #2772958 for details.
Wed, 27 Mar 2013 14:53:06 +0100 [dataimport] drop index support deprecated since 3.7
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:53:06 +0100] rev 8796
[dataimport] drop index support deprecated since 3.7 Dropping of pre-3.7 API decided in #2772958
Wed, 27 Mar 2013 14:51:42 +0100 [utils] drop pre-3.7 compat in util
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:51:42 +0100] rev 8795
[utils] drop pre-3.7 compat in util Dropping of API deprecated since 3.7 decided in #2772958
Wed, 27 Mar 2013 14:50:58 +0100 [migration] drop pre-3.7 utility
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:58 +0100] rev 8794
[migration] drop pre-3.7 utility Dropping of API deprecated since 3.7 decided in #2772958
Wed, 27 Mar 2013 14:50:10 +0100 [entity] drop pre-3.7 api on session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:50:10 +0100] rev 8793
[entity] drop pre-3.7 api on session Dropping of API deprecated since 3.7 decided in #2772958
Wed, 27 Mar 2013 14:49:12 +0100 drop dubious comment
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:49:12 +0100] rev 8792
drop dubious comment
Wed, 27 Mar 2013 15:03:14 +0100 [req] drop pre-3.7 api on request
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 15:03:14 +0100] rev 8791
[req] drop pre-3.7 api on request Dropping of API deprecated since 3.7 decided in #2772958
Wed, 27 Mar 2013 14:46:55 +0100 [session] drop pre-3.7 api on session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 27 Mar 2013 14:46:55 +0100] rev 8790
[session] drop pre-3.7 api on session Dropping of API deprecated since 3.7 decided in #2772958
Mon, 25 Mar 2013 16:35:18 +0100 [transaction] use set operation in the hook control code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:35:18 +0100] rev 8789
[transaction] use set operation in the hook control code We use direct operator on set instead of looping by hand, This simplify the codes.
Mon, 25 Mar 2013 16:08:48 +0100 [session/transaction] move hook management in transaction itself
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:08:48 +0100] rev 8788
[session/transaction] move hook management in transaction itself This is transaction level code.
Mon, 25 Mar 2013 15:28:18 +0100 [session] allow writable tx_attr and use it for commit_state
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 15:28:18 +0100] rev 8787
[session] allow writable tx_attr and use it for commit_state This keep clarifying the code.
Mon, 25 Mar 2013 16:12:39 +0100 [session/transaction] move add operation in session code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:12:39 +0100] rev 8786
[session/transaction] move add operation in session code
Mon, 25 Mar 2013 16:13:34 +0100 [session/transaction] move entity life utility on transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:13:34 +0100] rev 8785
[session/transaction] move entity life utility on transaction This access transaction related data and therefor should live in transaction.
Mon, 25 Mar 2013 16:20:25 +0100 [transaction] small simplification in ecache code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 16:20:25 +0100] rev 8784
[transaction] small simplification in ecache code A single assignation is simpler.
Mon, 25 Mar 2013 14:16:16 +0100 [session/transaction] move entity cache management on session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:16:16 +0100] rev 8783
[session/transaction] move entity cache management on session A new utility method is added for that. It is similar to the one used for attribute access. code is copy pasted as his. Function documentation is added.
Mon, 25 Mar 2013 14:17:31 +0100 [session] have a nice helper function to forward access to session
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:17:31 +0100] rev 8782
[session] have a nice helper function to forward access to session This allows a lighter and clearer code. This will also ease the addition of deprecation warning in the future.
Mon, 25 Mar 2013 12:41:13 +0100 [session] drop dead code
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 12:41:13 +0100] rev 8781
[session] drop dead code session._tx is never None. New transaction are created if necessary.
Fri, 22 Mar 2013 20:14:08 +0100 [session] use tx.data directly in session code.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:14:08 +0100] rev 8780
[session] use tx.data directly in session code.
Fri, 22 Mar 2013 20:11:17 +0100 [transaction] rename transaction_data to data
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:11:17 +0100] rev 8779
[transaction] rename transaction_data to data Transaction.transaction_data is redundant. A transaction_data property is left for backward compatibility. Deprecation mechanism will come in later changeset
Fri, 22 Mar 2013 19:58:43 +0100 [session] document Session._tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:58:43 +0100] rev 8778
[session] document Session._tx
Fri, 22 Mar 2013 20:05:49 +0100 [session] split session creation from default session assignation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:05:49 +0100] rev 8777
[session] split session creation from default session assignation This is the first step for more independence for Transaction.
Fri, 22 Mar 2013 20:04:43 +0100 [session] make session lock reentrant
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:04:43 +0100] rev 8776
[session] make session lock reentrant We are going to use it for other session related business. It is renamed from _closed_lock to _lock in the same move.
Fri, 22 Mar 2013 19:51:50 +0100 [session] document set_tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:51:50 +0100] rev 8775
[session] document set_tx
Fri, 22 Mar 2013 19:49:57 +0100 [session] rename txstore variable to tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:49:57 +0100] rev 8774
[session] rename txstore variable to tx This is a more accurate name
Fri, 22 Mar 2013 20:10:19 +0100 [session] rename `_threaddata` to `_tx`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 20:10:19 +0100] rev 8773
[session] rename `_threaddata` to `_tx` The returned object is a Transaction object.
Fri, 22 Mar 2013 19:37:51 +0100 [session] rename self.__threaddata.txdata to self.__threaddata.tx
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:37:51 +0100] rev 8772
[session] rename self.__threaddata.txdata to self.__threaddata.tx This is Transaction object now.
Fri, 22 Mar 2013 19:42:33 +0100 [session] rename _tx_data into _txs
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:42:33 +0100] rev 8771
[session] rename _tx_data into _txs The object inside are now Transaction object. Not TransactionData object.
Fri, 22 Mar 2013 19:32:25 +0100 [transaction] relocate method building transaction context manager
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:32:25 +0100] rev 8770
[transaction] relocate method building transaction context manager It is in the middle of methods going to be refactored.
Fri, 22 Mar 2013 18:49:48 +0100 [transaction] move RQLRewriter in Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:49:48 +0100] rev 8769
[transaction] move RQLRewriter in Transaction This remove the last ``AttributeError`` magic. The ``RQLRewriter`` needs a Session. Its reset is handled in ``Session`` code to handle that
Fri, 22 Mar 2013 18:38:56 +0100 [transaction] initialize security control attribute in Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:38:56 +0100] rev 8768
[transaction] initialize security control attribute in Transaction There is no reason to not initialize them in __init__ time. This simplify the Session code.
Fri, 22 Mar 2013 18:33:53 +0100 [session] move security constant out of the class
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:33:53 +0100] rev 8767
[session] move security constant out of the class There is no reason for it to not be global. This will ease it use by ``Transaction object``.
Fri, 22 Mar 2013 18:27:34 +0100 [transaction] initialize hook control attribute in Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:27:34 +0100] rev 8766
[transaction] initialize hook control attribute in Transaction There is no reason to not initialize them in __init__ time. this simplify the transaction code.
Fri, 22 Mar 2013 18:34:04 +0100 [session] Move hook control constants out of the class
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:34:04 +0100] rev 8765
[session] Move hook control constants out of the class There is no reason for them to not be global. This will ease they use by Transaction object.
Mon, 25 Mar 2013 14:20:10 +0100 [transaction] initialize transaction data and state related attribute.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 25 Mar 2013 14:20:10 +0100] rev 8764
[transaction] initialize transaction data and state related attribute. There is not reason to not explicitly declare and initialize attribute in Transaction.__init__. This change requires the introduction of a Transaction.clear() method to get ride of some wicked ``AttributeError`` based logic.
Fri, 22 Mar 2013 18:51:03 +0100 [transaction] handle ``mode`` default value in Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 18:51:03 +0100] rev 8763
[transaction] handle ``mode`` default value in Transaction The transaction mode is now explicitly passed at creation time and always read from the Transaction object. Note that there is a slight behavior change. The transaction mode is now set at the creation of the transaction. Changes made to the default value have no longer any effect on existing transaction.
Fri, 22 Mar 2013 17:47:45 +0100 [transaction] explicit Transaction cnxset attribute
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:47:45 +0100] rev 8762
[transaction] explicit Transaction cnxset attribute The Transaction object have a lot more attribute that those previously declared in __init__. They are just dynamically assigned in Session code. This changeset explicit the ``cnxset`` and ``mode`` attribute declaration.
Fri, 22 Mar 2013 17:09:49 +0100 [server] rename TransactionData to Transaction
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 17:09:49 +0100] rev 8761
[server] rename TransactionData to Transaction Transaction will become a full featured object.
Fri, 22 Mar 2013 19:31:21 +0100 [doc] update Session documentation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 22 Mar 2013 19:31:21 +0100] rev 8760
[doc] update Session documentation A major refactoring of Session/Transaction handling is commit. This is a good occasion to improves the documention.
Thu, 21 Mar 2013 19:08:07 +0100 merge 3.16 fix in default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 19:08:07 +0100] rev 8759
merge 3.16 fix in default
Thu, 21 Mar 2013 16:52:13 +0100 [devtools] fix a couple issues with xvfb-run stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:52:13 +0100] rev 8758
[devtools] fix a couple issues with xvfb-run xvfb-run didn't quite clean up correctly after itself, because: - dash doesn't run EXIT traps on signals - if we don't run the command in the background, a TERM handler doesn't run until the command exits
Thu, 21 Mar 2013 16:37:06 +0100 [devtools/qunit] don't open-code subprocess.Popen.terminate stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:37:06 +0100] rev 8757
[devtools/qunit] don't open-code subprocess.Popen.terminate
Thu, 21 Mar 2013 16:01:05 +0100 [devtools/qunit] get rid of unused variable stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 16:01:05 +0100] rev 8756
[devtools/qunit] get rid of unused variable
Tue, 18 Oct 2011 16:55:16 +0200 [server] *init_repository* lookup the database instead of the schema to drop tables (closes #810743) stable
Alain Leufroy <alain.leufroy@logilab.fr> [Tue, 18 Oct 2011 16:55:16 +0200] rev 8755
[server] *init_repository* lookup the database instead of the schema to drop tables (closes #810743) So, tables are dropped even if the schema was changed. :note: if mssql, drop views before tables. :note: because of table dependencies we try a second drop sequence
Thu, 18 Oct 2012 15:52:05 +0200 [book] remove XXX to an old discussion about appengine stable
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 18 Oct 2012 15:52:05 +0200] rev 8754
[book] remove XXX to an old discussion about appengine
Fri, 22 Feb 2013 12:20:59 +0100 [web publish] in case of error, ensure proper http status is set and Content-disposition header is reseted. Closes #2553066 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Feb 2013 12:20:59 +0100] rev 8753
[web publish] in case of error, ensure proper http status is set and Content-disposition header is reseted. Closes #2553066
Tue, 12 Mar 2013 12:34:07 +0100 Add CubicWebRequestBase.content (closes #2742453)
Julien Cristau <julien.cristau@logilab.fr> [Tue, 12 Mar 2013 12:34:07 +0100] rev 8752
Add CubicWebRequestBase.content (closes #2742453) This is the body of the HTTP request (stream)
Thu, 17 Jan 2013 14:55:07 +0100 add the match_http_method predicate (closes #2559932)
David Douard <david.douard@logilab.fr> [Thu, 17 Jan 2013 14:55:07 +0100] rev 8751
add the match_http_method predicate (closes #2559932) This aim at creating views which are selected on other HTTP methods (PUT, DELETE, ...)
Thu, 21 Mar 2013 18:35:19 +0100 [pkg] the previous commit requires new feature in yams.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:35:19 +0100] rev 8750
[pkg] the previous commit requires new feature in yams.
Fri, 30 Nov 2012 16:43:36 +0100 add a command to compare db schema and file system schema (closes #464991)
Alexandre Richardson <alexandre.richardson@logilab.fr> [Fri, 30 Nov 2012 16:43:36 +0100] rev 8749
add a command to compare db schema and file system schema (closes #464991)
Tue, 12 Mar 2013 12:50:05 +0100 drop typed_eid() in favour of int() (closes #2742462)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Mar 2013 12:50:05 +0100] rev 8748
drop typed_eid() in favour of int() (closes #2742462) typed_eid was introduced to abstract the eid type when running on Google AppEngine. It is not used anymore and can be removed. Let's use int() instead.
Wed, 20 Mar 2013 17:58:14 +0100 merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:58:14 +0100] rev 8747
merge with stable
Thu, 21 Mar 2013 18:13:31 +0100 3.15 is the new old stable oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 21 Mar 2013 18:13:31 +0100] rev 8746
3.15 is the new old stable
Mon, 17 Sep 2012 14:39:29 +0200 [web] don't link to None in author box (when author has been deleted) (closes #2409855) stable
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 17 Sep 2012 14:39:29 +0200] rev 8745
[web] don't link to None in author box (when author has been deleted) (closes #2409855)
Tue, 19 Mar 2013 18:20:57 +0100 dbapi: try to restore compatibility of the connect api with 3.15 stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 19 Mar 2013 18:20:57 +0100] rev 8744
dbapi: try to restore compatibility of the connect api with 3.15 A few issues here: - urlparse('foo').scheme is '', not None - cnxprops is an optional argument Regression from 62213a34726e ("[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848") Closes #2754322
Wed, 20 Mar 2013 17:40:25 +0100 3.16 is the new stable stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 20 Mar 2013 17:40:25 +0100] rev 8743
3.16 is the new stable After discussion with David Douard I'm merging 3.16.x branches in stable and starting 3.17 feature on default.
Tue, 19 Mar 2013 16:56:46 +0100 Added tag cubicweb-debian-version-3.15.10-1 for changeset feca12e4a618 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:46 +0100] rev 8742
Added tag cubicweb-debian-version-3.15.10-1 for changeset feca12e4a618
Tue, 19 Mar 2013 16:56:45 +0100 Added tag cubicweb-version-3.15.10 for changeset 89bdb5444cd2 stable cubicweb-debian-version-3.15.10-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:45 +0100] rev 8741
Added tag cubicweb-version-3.15.10 for changeset 89bdb5444cd2
Tue, 19 Mar 2013 16:56:28 +0100 prepare 3.15.10 stable cubicweb-version-3.15.10
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:56:28 +0100] rev 8740
prepare 3.15.10
Tue, 19 Mar 2013 16:54:32 +0100 Added tag cubicweb-debian-version-3.16.1-1 for changeset 84fbcdc8021c
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:32 +0100] rev 8739
Added tag cubicweb-debian-version-3.16.1-1 for changeset 84fbcdc8021c
Tue, 19 Mar 2013 16:54:31 +0100 Added tag cubicweb-version-3.16.1 for changeset d95cbb7349f0 cubicweb-debian-version-3.16.1-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:54:31 +0100] rev 8738
Added tag cubicweb-version-3.16.1 for changeset d95cbb7349f0
Tue, 19 Mar 2013 16:53:57 +0100 prepare 3.16.1 cubicweb-version-3.16.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 16:53:57 +0100] rev 8737
prepare 3.16.1
Tue, 19 Mar 2013 15:30:06 +0100 [views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:30:06 +0100] rev 8736
[views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110) Today, it is possible to call .related and get a huge unlimited database-dos-inducing resultset that will be nevertheless limited a bit further in pure python in the `autolimited` view. While we cannot completely avoid potential denial of services such as these we mitigate the problem with the default ui settings: if the inner vid is `autolimited`, then the relation result sets is computed using the user-defined limit. This change respects the semantics of the `autolimited` view and shouldn't break anything.
Tue, 19 Mar 2013 15:18:22 +0100 [entity] ensure the .related(entities=False) parameter is honored all the way down (closes #2755994)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:18:22 +0100] rev 8735
[entity] ensure the .related(entities=False) parameter is honored all the way down (closes #2755994) As of today, such a call will always fill the relation cache by calling .entities() on every single related rset entry. As a consequence, the `limit` parameter handling also had to be fixed. It was bogus in the following ways: * not used in the related_rql, hence potentially huge database requests, but also actually * foolishly used in the .entities()-calling cache routine we now bypass (this changeset ticket's main topic) Now: * we set a limit on the rql expression, and * forbid caching if given a non-None limit (as we don't want to make the cache handling code more complicated than it is already) With this, entity.unrelated gets a better limit implementation (so the code in related/unrelated is nice and symmetric) Risk: * _cw_relation_cache disappears completely, which is good, but this is Python, so you never know ...
Tue, 19 Mar 2013 15:17:34 +0100 [test/web] fix invisibly bogus test (prepares #2755994)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 15:17:34 +0100] rev 8734
[test/web] fix invisibly bogus test (prepares #2755994) The test was wrong but that was cancelled out by a cache effect and fuzzy naming. Wiping the entity caches restores sanity: the choices list are the same before and after the SET. Also field.choices uses entity.unrelated but always returns related + unrelated elements. Hence `choice` replaces `unrelated` where it makes sense. AssertIn is used in place of AssertTrue.
Fri, 08 Mar 2013 11:03:28 +0100 [cwconfig] Fix exception handling when building the cube dependency graph
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 08 Mar 2013 11:03:28 +0100] rev 8733
[cwconfig] Fix exception handling when building the cube dependency graph UnorderableGraph exceptions do not have a 'cycles' property. A simple cast to str does the job.
Tue, 19 Mar 2013 12:25:18 +0100 [merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 12:25:18 +0100] rev 8732
[merge] backport stable fixes
Mon, 18 Mar 2013 16:38:57 +0100 [test/sobject] fix test regression stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Mar 2013 16:38:57 +0100] rev 8731
[test/sobject] fix test regression Was complaining: - * updated comment #EID (#EID) ? ^^^^ + * updated comment #EID (duh?) ? ^^^^ in sobjects/test/unittest_supervising.
Wed, 13 Mar 2013 18:36:49 +0100 [web/request] Prune extraneous 'pageid' from generated ajax URL parameters (closes #2758130) stable
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 18:36:49 +0100] rev 8730
[web/request] Prune extraneous 'pageid' from generated ajax URL parameters (closes #2758130) If 'pageid' is given through extraparams, it is sent twice to the browser. On the JS side, the final URL loadxhtml() will end up using will have 'pageid' set twice which CubicWeb will readily accept as a list. Pruning this parameter makes sure it is exactly once.
Wed, 13 Mar 2013 19:23:22 +0100 [web/component] Use global variable to point to ajax controller (part of #2758254) stable
Rémi Cardona <remi.cardona@logilab.fr> [Wed, 13 Mar 2013 19:23:22 +0100] rev 8729
[web/component] Use global variable to point to ajax controller (part of #2758254)
Tue, 19 Mar 2013 12:24:40 +0100 [web] Use the new '/ajax' URL path to access the AjaxController (closes #2758254) stable
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 19 Mar 2013 12:24:40 +0100] rev 8728
[web] Use the new '/ajax' URL path to access the AjaxController (closes #2758254) 5a81fa526b30 took care of all the JS code, this patch cleans up the remaining python bits.
Tue, 19 Mar 2013 10:08:20 +0100 [devtools/httptest] fix syntax error introduced by ce5ae7b80d2c
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 19 Mar 2013 10:08:20 +0100] rev 8727
[devtools/httptest] fix syntax error introduced by ce5ae7b80d2c
Tue, 12 Mar 2013 19:24:43 +0100 [component] Fix URL generation for navigation component (closes #2464832) stable
Rémi Cardona <remi.cardona@logilab.fr> [Tue, 12 Mar 2013 19:24:43 +0100] rev 8726
[component] Fix URL generation for navigation component (closes #2464832)
Tue, 12 Mar 2013 12:08:22 +0100 merge with another default heads
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:08:22 +0100] rev 8725
merge with another default heads
Tue, 12 Mar 2013 12:04:51 +0100 Merge stable into default (NON-TRIVIAL)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 12 Mar 2013 12:04:51 +0100] rev 8724
Merge stable into default (NON-TRIVIAL) - dropping __future__ statement added by d2472948da9c - added migration from 407acc41beb5 to migration file for 3.16.1
Fri, 08 Feb 2013 18:36:00 +0100 maintain python2.5 compatibility stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 08 Feb 2013 18:36:00 +0100] rev 8723
maintain python2.5 compatibility
Fri, 18 Jan 2013 11:36:21 +0100 [schema/workflow] one more typo fix stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Jan 2013 11:36:21 +0100] rev 8722
[schema/workflow] one more typo fix Also add proper migration.
Fri, 22 Feb 2013 11:17:02 +0100 [devtools] add http_publish to CubicWebTC (closes #2565882)
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Feb 2013 11:17:02 +0100] rev 8721
[devtools] add http_publish to CubicWebTC (closes #2565882) Fakes a http request, without overriding the normal error handling. Returns the request object so the caller can check for errors.
Fri, 18 Jan 2013 12:47:40 +0100 [testlib] url_publish should give url to the request and the rset returned by the path evaluator to ctrl_publish. Closes #2557468
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Jan 2013 12:47:40 +0100] rev 8720
[testlib] url_publish should give url to the request and the rset returned by the path evaluator to ctrl_publish. Closes #2557468 Also, url_publish now accepts a `data` argument to simulate POST of values.
Fri, 22 Feb 2013 19:36:40 +0100 [towards py3k] import reduce() from functools (part of #2711624)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 22 Feb 2013 19:36:40 +0100] rev 8719
[towards py3k] import reduce() from functools (part of #2711624)
Mon, 11 Mar 2013 18:37:01 +0100 merge stable fix into default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 11 Mar 2013 18:37:01 +0100] rev 8718
merge stable fix into default
Wed, 09 Jan 2013 18:37:48 +0100 [doc] document dbapi.Connection stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 18:37:48 +0100] rev 8717
[doc] document dbapi.Connection
Fri, 08 Mar 2013 09:15:09 +0100 [c-c shell] fix command description (-P option is gone long ago) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Mar 2013 09:15:09 +0100] rev 8716
[c-c shell] fix command description (-P option is gone long ago)
Mon, 11 Mar 2013 14:46:09 +0100 [hooks/syncschema] do not crash when adding a new entity type (closes #2741643) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 11 Mar 2013 14:46:09 +0100] rev 8715
[hooks/syncschema] do not crash when adding a new entity type (closes #2741643) The previous version assumed META_RTYPES provide relation definitions for all entity types.
Tue, 29 Jan 2013 16:57:44 +0100 [views/debug] Do not show all web sessions without CNX, just count them (closes #2602161) stable
pwatteyne [Tue, 29 Jan 2013 16:57:44 +0100] rev 8714
[views/debug] Do not show all web sessions without CNX, just count them (closes #2602161)
Tue, 05 Mar 2013 15:37:37 +0100 [facets js] use $ instead of jQuery and other small cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Mar 2013 15:37:37 +0100] rev 8713
[facets js] use $ instead of jQuery and other small cleanups
Thu, 17 Jan 2013 15:42:09 +0100 [devtools/httptest] allow sending other types of requests besides GET
Julien Cristau <julien.cristau@logilab.fr> [Thu, 17 Jan 2013 15:42:09 +0100] rev 8712
[devtools/httptest] allow sending other types of requests besides GET
Fri, 08 Mar 2013 18:43:42 +0100 merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 08 Mar 2013 18:43:42 +0100] rev 8711
merge with stable
Mon, 04 Mar 2013 17:22:57 +0100 [ext/rest] fix docstring of rql_role() stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 04 Mar 2013 17:22:57 +0100] rev 8710
[ext/rest] fix docstring of rql_role()
Fri, 08 Mar 2013 18:04:40 +0100 [web application] Fix missing self. in error_handler stable
Vincent Michel <vincent.michel@logilab.fr> [Fri, 08 Mar 2013 18:04:40 +0100] rev 8709
[web application] Fix missing self. in error_handler
Tue, 18 Dec 2012 12:42:56 +0100 [ldapfeed] all options of a source should be in the same group, else you get AssertionError on c-c add-source. Closes #2538398
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:42:56 +0100] rev 8708
[ldapfeed] all options of a source should be in the same group, else you get AssertionError on c-c add-source. Closes #2538398
Wed, 20 Feb 2013 16:13:21 +0100 [sources] fix classes that inherit from AbstractSource (closes #2718669)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 20 Feb 2013 16:13:21 +0100] rev 8707
[sources] fix classes that inherit from AbstractSource (closes #2718669)
Thu, 24 Jan 2013 10:28:49 +0100 [login] don't redirect to http url if we allow anonymous on https
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Jan 2013 10:28:49 +0100] rev 8706
[login] don't redirect to http url if we allow anonymous on https Closes #2583913
Mon, 25 Feb 2013 11:34:58 +0100 Correct typo in example
Jérôme Roy <jerome.roy@logilab.fr> [Mon, 25 Feb 2013 11:34:58 +0100] rev 8705
Correct typo in example
Mon, 25 Feb 2013 18:02:11 +0100 [testlib] make test_view load the json data
Julien Cristau <julien.cristau@logilab.fr> [Mon, 25 Feb 2013 18:02:11 +0100] rev 8704
[testlib] make test_view load the json data Closes #2721472
Mon, 11 Feb 2013 12:06:16 +0100 [etwist] Properly escape traceback output (closes #2712042)
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 12:06:16 +0100] rev 8703
[etwist] Properly escape traceback output (closes #2712042) Stop using StringIO in the process as well.
Mon, 11 Feb 2013 11:26:08 +0100 [dbapi] Stop shadowing exceptions in get_repository() (closes #2710515)
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 11 Feb 2013 11:26:08 +0100] rev 8702
[dbapi] Stop shadowing exceptions in get_repository() (closes #2710515) Exceptions are already handled higher up in the stack so there's no reason to handle them here. Furthermore, non-ConnectionError exceptions would get hidden, making debugging harder.
Mon, 25 Feb 2013 11:18:14 +0100 [cwvreg] complete cw.web.uicfg cleanup callback (closes #2718217)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 25 Feb 2013 11:18:14 +0100] rev 8701
[cwvreg] complete cw.web.uicfg cleanup callback (closes #2718217) 1dd655788ece introduced insufficient backward compat support When cubes directly import uicfg from cubicweb.web (or uihelper) this also creates a reference in the parent cubicweb.web namespace. This must be cleaned up as reloaded cubes will take back this reference and the old versions of its appobjects.
Thu, 28 Feb 2013 11:19:36 +0100 [book] fix typo.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 28 Feb 2013 11:19:36 +0100] rev 8700
[book] fix typo. remove spurious `i`
Sat, 16 Feb 2013 21:46:24 +0100 [towards py3k] fix bug introduced by 0bb18407c053
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 16 Feb 2013 21:46:24 +0100] rev 8699
[towards py3k] fix bug introduced by 0bb18407c053
Tue, 21 Feb 2012 18:23:23 +0100 [doc] Book entry for the undo functionnality.
Anthony Truchet <anthony.truchet@logilab.fr> [Tue, 21 Feb 2012 18:23:23 +0100] rev 8698
[doc] Book entry for the undo functionnality.
Thu, 14 Feb 2013 16:45:07 +0100 [toward py3k] rewrite has_key() (part of #2711624)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:45:07 +0100] rev 8697
[toward py3k] rewrite has_key() (part of #2711624) The `has_key` method is not in Python3K but dict supports __contains__ check for ages.
Thu, 14 Feb 2013 16:01:24 +0100 [toward py3k] rewrite dict.keys() and dict.values() (part of #2711624)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 16:01:24 +0100] rev 8696
[toward py3k] rewrite dict.keys() and dict.values() (part of #2711624) Python 3K will only expose iterators. http://docs.python.org/3.0/whatsnew/3.0.html#views-and-iterators-instead-of-lists
Thu, 14 Feb 2013 15:38:25 +0100 [toward-py3k] rewrite to "except AnException as exc:" (part of #2711624)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:38:25 +0100] rev 8695
[toward-py3k] rewrite to "except AnException as exc:" (part of #2711624) The older form is not necessary since we dropped python 2.5 compability. This will help Python 3.3 experimentation.
Thu, 14 Feb 2013 15:39:23 +0100 [toward-py3k] remove import with_statement (part of #2711624)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:39:23 +0100] rev 8694
[toward-py3k] remove import with_statement (part of #2711624) They are unneeded since we dropped python 2.5 compatibility. This will help Python 3.3 experimentation.
Thu, 14 Feb 2013 15:29:20 +0100 pkg: drop python 2.5 compatibility (closes #2711624)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Feb 2013 15:29:20 +0100] rev 8693
pkg: drop python 2.5 compatibility (closes #2711624) 2.5 is not common anymore. Dropping compatibility will help moving to a code base compatible with Python 3.3
Thu, 14 Feb 2013 15:21:23 +0100 devtools: improve qunit timeout message
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 15:21:23 +0100] rev 8692
devtools: improve qunit timeout message Make the message clearer, shorter and properly wrapped.
Thu, 14 Feb 2013 14:26:33 +0100 merge default into stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 14 Feb 2013 14:26:33 +0100] rev 8691
merge default into stable
Tue, 12 Feb 2013 11:35:15 +0100 [devtools] fix broken windmill test case stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 12 Feb 2013 11:35:15 +0100] rev 8690
[devtools] fix broken windmill test case
Thu, 31 Jan 2013 18:34:31 +0100 Added tag cubicweb-debian-version-3.15.9-1 for changeset 29fbc632a696 stable
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:31 +0100] rev 8689
Added tag cubicweb-debian-version-3.15.9-1 for changeset 29fbc632a696
Thu, 31 Jan 2013 18:34:30 +0100 Added tag cubicweb-version-3.15.9 for changeset 8bfc0753f1da stable cubicweb-debian-version-3.15.9-1
David Douard <david.douard@logilab.fr> [Thu, 31 Jan 2013 18:34:30 +0100] rev 8688
Added tag cubicweb-version-3.15.9 for changeset 8bfc0753f1da
Fri, 25 Jan 2013 17:56:15 +0100 Added tag cubicweb-debian-version-3.16.0-1 for changeset 853237d1daf6
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:15 +0100] rev 8687
Added tag cubicweb-debian-version-3.16.0-1 for changeset 853237d1daf6
Fri, 25 Jan 2013 17:56:14 +0100 Added tag cubicweb-version-3.16.0 for changeset 6c7c2a02c9a0 cubicweb-debian-version-3.16.0-1
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:56:14 +0100] rev 8686
Added tag cubicweb-version-3.16.0 for changeset 6c7c2a02c9a0
Fri, 25 Jan 2013 17:52:02 +0100 3.15.9 stable cubicweb-version-3.15.9
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 17:52:02 +0100] rev 8685
3.15.9
Fri, 25 Jan 2013 16:44:07 +0100 [ldap test] fix bad merge cubicweb-version-3.16.0
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 16:44:07 +0100] rev 8684
[ldap test] fix bad merge
Fri, 25 Jan 2013 14:33:40 +0100 [merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 14:33:40 +0100] rev 8683
[merge] backport stable fixes
Fri, 25 Jan 2013 13:28:23 +0100 [cwctl] fix cubicweb-ctl shell command (closes #2583919)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 25 Jan 2013 13:28:23 +0100] rev 8682
[cwctl] fix cubicweb-ctl shell command (closes #2583919) * add an uri parsing utility that documents a bit the uri cubicweb supports out of the box * cwctl: use this utility and refactor a bit for clarity (the novelty here being real support for old style 'myapp', or: * 'inmemory://myapp' * 'pyro://pyro-ns-host:pyro-ns-port/myapp' (pyro access through a pyro concentrator) * 'pyroloc://host:port/pyro-instance-id' (direct access to a pyro repository) * 'zmqpickle-tcp://host:port' * dbapi: refactor to sort out some of the complexity and restore functionality lost in 62213a34726e
Thu, 24 Jan 2013 16:13:40 +0100 [ldap test] move the slapd database directory to a tempdir (closes #2583993) stable
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:13:40 +0100] rev 8681
[ldap test] move the slapd database directory to a tempdir (closes #2583993) This is required to be sure we are not hurt by NFS or such...
Thu, 24 Jan 2013 16:10:31 +0100 [ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994) stable
David Douard <david.douard@logilab.fr> [Thu, 24 Jan 2013 16:10:31 +0100] rev 8680
[ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994) When a user is imported from an LDAP source (in ldapfeed or when converting a user from an ldapsource to system one), we may import a clear-text password, which we do not want to do in our system database.
Tue, 18 Dec 2012 12:25:08 +0100 [ldapfeed] don't crash if one specify an unexisting group in the configuration. Closes #2538399 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Dec 2012 12:25:08 +0100] rev 8679
[ldapfeed] don't crash if one specify an unexisting group in the configuration. Closes #2538399
Wed, 09 Jan 2013 14:27:51 +0100 [doc/ldap] update the ldap chapter wrt the ldapfeed source type (closes #2551863) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:27:51 +0100] rev 8678
[doc/ldap] update the ldap chapter wrt the ldapfeed source type (closes #2551863)
Wed, 23 Jan 2013 17:58:49 +0100 prepare 3.16
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 17:58:49 +0100] rev 8677
prepare 3.16
Wed, 23 Jan 2013 18:20:05 +0100 [doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Jan 2013 18:20:05 +0100] rev 8676
[doc/3.16] complete description of what changed
Fri, 04 Jan 2013 15:39:52 +0100 [rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:39:52 +0100] rev 8675
[rql sources] uses an URL as remote host address for pyro/zmq rql sources, instead of extra configuration parameters. Follows modification of dbapi.connect api. Closes #2539822
Fri, 04 Jan 2013 15:18:44 +0100 [repo sources] move handling of source's url into abstract source as this becomes shared by most sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 04 Jan 2013 15:18:44 +0100] rev 8674
[repo sources] move handling of source's url into abstract source as this becomes shared by most sources prepare #2539822
Thu, 10 Jan 2013 22:52:47 +0100 [db-api] rename repo_connect into _repo_connect to mark it private. Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:52:47 +0100] rev 8673
[db-api] rename repo_connect into _repo_connect to mark it private. Closes #2521848
Thu, 10 Jan 2013 22:51:10 +0100 [repository sources] copy source configuration: source's __init__ modify it while config.sources() return a cached dictionary which shouldn't be modified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:51:10 +0100] rev 8672
[repository sources] copy source configuration: source's __init__ modify it while config.sources() return a cached dictionary which shouldn't be modified This causes pb since f8aa87a773b2 (though it's unclear why it hasn't been a problem before). Closes #2521848
Thu, 10 Jan 2013 22:50:34 +0100 cleanup repository connect doc: cnxtype is now deprecated / base_url has never been given that way. Follow #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 22:50:34 +0100] rev 8671
cleanup repository connect doc: cnxtype is now deprecated / base_url has never been given that way. Follow #2521848
Tue, 22 Jan 2013 18:16:20 +0100 prefix "tcp://" zmq uris with "zmqpickle" (closes #2574114)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Jan 2013 18:16:20 +0100] rev 8670
prefix "tcp://" zmq uris with "zmqpickle" (closes #2574114) * it turns "tcp://" into "zmqpickle-tcp://" * will leave room for future non-pickling communications using zmq
Mon, 21 Jan 2013 18:01:25 +0100 [db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Jan 2013 18:01:25 +0100] rev 8669
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848 eg no more specific option of pyro ns host, group, etc. This also fixes broken ZMQ sources. Changes: * dropped pyro-ns-host, pyro-instance-id, pyro-ns-group from client side config, in favor of repository-uri. No migration done, supposing there is **no web-only config** in the wild. Also stop discovering the connection method through the repo_method class attribute of the configuration, varying according to the configuration class. This is a first step on the way to a simpler configuration handling. Notice those pyro options are still available for repository only / all-in-one configurations as they are needed to configure the pyro server. * stop telling connection method using ConnectionProperties, this is so boring. Also, drop _cnxtype from Connection and cnxtype from Session. The former is replaced by a is_repo_in_memory property and the later is totaly useless. * deprecate in_memory_cnx which becomes useless, use _repo_connect instead
Thu, 10 Jan 2013 23:05:45 +0100 [ldap test] ensure slapdd launch went fine and move ldapfeed setUp to parent class, as all ldap sources deal with url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Jan 2013 23:05:45 +0100] rev 8668
[ldap test] ensure slapdd launch went fine and move ldapfeed setUp to parent class, as all ldap sources deal with url
Thu, 10 Jan 2013 18:11:33 +0100 [web/uihelper,uicfg] transform uihelper functions into uicfg objects methods (closes #2543949)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:11:33 +0100] rev 8667
[web/uihelper,uicfg] transform uihelper functions into uicfg objects methods (closes #2543949)
Mon, 21 Jan 2013 16:34:09 +0100 make ui configurations selectable (closes #2406609)
Florent Cayré <florent.cayre@logilab.fr> [Mon, 21 Jan 2013 16:34:09 +0100] rev 8666
make ui configurations selectable (closes #2406609) * introduce a new 'uicfg' registry (storing instances) * use the relevant new APIs from lgc.registry to manage the new registrable uicfg objects * cw event manager useage is gone; instead thze standard registry reloading mechanism is used * ensure i18n commands still work (devctl) * introduce dynamic uicfgs use whenever possible (various views), even though sometimes the classic 'static' usage remains
Thu, 10 Jan 2013 18:34:10 +0100 [uicfg] uicfg.py moves from web/ to web/views/ (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:34:10 +0100] rev 8665
[uicfg] uicfg.py moves from web/ to web/views/ (prepares #2406609) We are about to make uicfg selectable. Registrable / selectable views and helpers live in web/views. Hence the move. Backward compat is put in place. However CubicWeb imports of uicfg are updated to the new location.
Thu, 10 Jan 2013 13:03:38 +0100 [appobject] introduce RegistrableObject base class (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 13:03:38 +0100] rev 8664
[appobject] introduce RegistrableObject base class (prepares #2406609)
Mon, 21 Jan 2013 13:55:25 +0100 [cwvreg] introduce lgc version 0.59 and remove unneeded method redefinition (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 Jan 2013 13:55:25 +0100] rev 8663
[cwvreg] introduce lgc version 0.59 and remove unneeded method redefinition (prepares #2406609) The new logilab.common.registry makes this moot.
Fri, 23 Nov 2012 18:27:35 +0100 [BFSS] mark fs_imported value as uncachable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 18:27:35 +0100] rev 8662
[BFSS] mark fs_imported value as uncachable This will finally fix the `test_bfss_fs_importing_transparency` pass again. Regression was introduced by 4ba11607d84a
Fri, 18 Jan 2013 18:48:15 +0100 [entity] add a "repo_side" parameter to `_cw_dont_cache_attribute`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Jan 2013 18:48:15 +0100] rev 8661
[entity] add a "repo_side" parameter to `_cw_dont_cache_attribute` This parameter (defaulting to `False`) is used to inform cubicweb that we really really do not want to cache a value during creation or update. This will be used by a storage that may do very specific processing on attribute values that result in a stored value different than the provided one (e.g. BFSS `fs_importing` mode).
Fri, 18 Jan 2013 18:31:51 +0100 [merge] backport stable fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:51 +0100] rev 8660
[merge] backport stable fixes
Fri, 18 Jan 2013 18:31:25 +0100 [entities] fix test failures introduced by fixes in workflow related message strings (completes 9bb93efa1952) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 18:31:25 +0100] rev 8659
[entities] fix test failures introduced by fixes in workflow related message strings (completes 9bb93efa1952)
Fri, 18 Jan 2013 16:40:11 +0100 [doc/book/] Corrected typo in en/tutorials/base/customizing-the-application.rst, for the add_cubes function call
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 18 Jan 2013 16:40:11 +0100] rev 8658
[doc/book/] Corrected typo in en/tutorials/base/customizing-the-application.rst, for the add_cubes function call
Fri, 18 Jan 2013 17:37:35 +0100 [entity,views/json] backout 353bbd17a8b6 (reopens #2559931) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 18 Jan 2013 17:37:35 +0100] rev 8657
[entity,views/json] backout 353bbd17a8b6 (reopens #2559931) Calling .complete() unconditionnally from the json encoder is unsafe since on entity creation validation: * an eid may have been drawn (hence even .has_eid() would not help) while processing form data in the edit controller * a ValidationError may have been raised and the entity-creating transaction rollbacked This leads to a crash on the return path from the validation to the browser, where the json_dumps((status, args, entity)) call will stumble upon the .complete() call which will fail because the entity does not (any more) exist in the database.
Tue, 15 Jan 2013 20:17:09 +0100 [schemas] fix typo stable
Julien Cristau <julien.cristau@logilab.fr> [Tue, 15 Jan 2013 20:17:09 +0100] rev 8656
[schemas] fix typo
Thu, 17 Jan 2013 18:30:08 +0100 merge with stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 18:30:08 +0100] rev 8655
merge with stable
Thu, 10 Jan 2013 18:31:43 +0100 [appobject] cleanup module (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Jan 2013 18:31:43 +0100] rev 8654
[appobject] cleanup module (prepares #2406609) * remove unused imports * break long lines
Thu, 17 Jan 2013 14:29:12 +0100 [uicfg] remove pre 3.6 bw compat structure (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Jan 2013 14:29:12 +0100] rev 8653
[uicfg] remove pre 3.6 bw compat structure (prepares #2406609) This should have been done in a673d1d9a738.
Thu, 17 Jan 2013 17:12:06 +0100 [testlib] test_view now parse json data, closes #2557467 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 17:12:06 +0100] rev 8652
[testlib] test_view now parse json data, closes #2557467
Thu, 17 Jan 2013 14:39:51 +0100 Improve entity json export (closes #2559931) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:39:51 +0100] rev 8651
Improve entity json export (closes #2559931) Make output from __json_encode__ predictable; use it in the ejsonexport view.
Thu, 17 Jan 2013 14:40:57 +0100 [web/application/test] drop useless code stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Jan 2013 14:40:57 +0100] rev 8650
[web/application/test] drop useless code This is already done in CubicWebTC
Thu, 17 Jan 2013 15:11:37 +0100 [test] precheck initial condition stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Jan 2013 15:11:37 +0100] rev 8649
[test] precheck initial condition
Wed, 16 Jan 2013 17:42:16 +0100 [packaging] Fix search in squeeze cubicweb-documentation package (closes #2558496) stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:42:16 +0100] rev 8648
[packaging] Fix search in squeeze cubicweb-documentation package (closes #2558496) Work around broken combination of jquery 1.4 and sphinx 0.6 in squeeze by patching up doctools.js.
Wed, 16 Jan 2013 17:41:45 +0100 [packaging] don't compress txt files (closes #2558496) stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 17:41:45 +0100] rev 8647
[packaging] don't compress txt files (closes #2558496)
Wed, 09 Jan 2013 21:48:59 +0100 [wf/test] fix tests broken by changes from another patch which have slipped there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Jan 2013 21:48:59 +0100] rev 8646
[wf/test] fix tests broken by changes from another patch which have slipped there
Wed, 09 Jan 2013 16:06:20 +0100 [merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:06:20 +0100] rev 8645
[merge] backport stable
Wed, 09 Jan 2013 15:46:05 +0100 [web/test] fix stale reference to the changelog view (closes #2423532)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:46:05 +0100] rev 8644
[web/test] fix stale reference to the changelog view (closes #2423532)
Wed, 09 Jan 2013 18:03:17 +0100 Added tag cubicweb-debian-version-3.15.8-1 for changeset 4ef457479337 stable
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8643
Added tag cubicweb-debian-version-3.15.8-1 for changeset 4ef457479337
Wed, 09 Jan 2013 18:03:17 +0100 Added tag cubicweb-version-3.15.8 for changeset 459d0c48dfaf stable cubicweb-debian-version-3.15.8-1
David Douard <david.douard@logilab.fr> [Wed, 09 Jan 2013 18:03:17 +0100] rev 8642
Added tag cubicweb-version-3.15.8 for changeset 459d0c48dfaf
Wed, 09 Jan 2013 16:04:26 +0100 [test] fix possible views test (closes #2544358) stable cubicweb-version-3.15.8
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 16:04:26 +0100] rev 8641
[test] fix possible views test (closes #2544358)
Wed, 09 Jan 2013 15:40:41 +0100 prepare 3.15.8 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 15:40:41 +0100] rev 8640
prepare 3.15.8
Wed, 09 Jan 2013 14:29:29 +0100 [ldapfeed] if a deactivated user becomes available again in its source, reactivate it (closes #2542776) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 09 Jan 2013 14:29:29 +0100] rev 8639
[ldapfeed] if a deactivated user becomes available again in its source, reactivate it (closes #2542776) * cwusers that see their ldap source counterpart disappear are deactivated * until now they were not activated again on reappearance * note this behaviour in the doc
Tue, 08 Jan 2013 15:53:22 +0100 [ldaputils,ldapparser] correctly compute "deleted" users (closes #2542083) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 08 Jan 2013 15:53:22 +0100] rev 8638
[ldaputils,ldapparser] correctly compute "deleted" users (closes #2542083) * in ldaputils.py, removal of an unneeded method (checking existence of an object in the ldap, but not using the configuration filters) * in the ldapparser, memoize the (filtered) search so as to serve both .process and .is_deleted * add a non regression test for the 'user-filter' source config entry + deletion
Thu, 03 Jan 2013 23:27:56 +0100 [dataimport] new ignore_errors argument to ucsvreader, default to False. Closes #2547200
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Jan 2013 23:27:56 +0100] rev 8637
[dataimport] new ignore_errors argument to ucsvreader, default to False. Closes #2547200
Tue, 18 Dec 2012 11:40:51 +0100 [ldapsource] keep python 2.5 compatibility (closes #2541602) stable
David Douard <david.douard@logilab.fr> [Tue, 18 Dec 2012 11:40:51 +0100] rev 8636
[ldapsource] keep python 2.5 compatibility (closes #2541602)
Tue, 18 Dec 2012 10:42:11 +0100 [ldapuser2ldapfeed] .values -> .iteritems (closes #2542872) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 18 Dec 2012 10:42:11 +0100] rev 8635
[ldapuser2ldapfeed] .values -> .iteritems (closes #2542872)
Mon, 17 Dec 2012 14:40:03 +0100 [ldap tests] cleanup in preparation of #2542083 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:40:03 +0100] rev 8634
[ldap tests] cleanup in preparation of #2542083
Mon, 17 Dec 2012 14:26:41 +0100 [ldapparser] demote warning level (actually important user info can leak there) (prepares #2542083) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 17 Dec 2012 14:26:41 +0100] rev 8633
[ldapparser] demote warning level (actually important user info can leak there) (prepares #2542083)
Thu, 03 Jan 2013 23:10:50 +0100 Remove changelog view (closes #2423532)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 03 Jan 2013 23:10:50 +0100] rev 8632
Remove changelog view (closes #2423532)
Wed, 02 Jan 2013 18:17:02 +0100 [dataimport] Allow to replace escape char in the create_copyfrom_buffer
Vincent Michel <vincent.michel@logilab.fr> [Wed, 02 Jan 2013 18:17:02 +0100] rev 8631
[dataimport] Allow to replace escape char in the create_copyfrom_buffer
Sun, 30 Dec 2012 22:31:10 +0100 [doc] fix function name FTIRANK stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 30 Dec 2012 22:31:10 +0100] rev 8630
[doc] fix function name FTIRANK
Thu, 20 Dec 2012 12:15:57 +0100 [json] enable jsonexport selection on empty rsets (closes #2544358) stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:15:57 +0100] rev 8629
[json] enable jsonexport selection on empty rsets (closes #2544358)
Thu, 20 Dec 2012 12:14:14 +0100 [test] fix req default value handling in CubicWebTC.view (closes #2544376) stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 Dec 2012 12:14:14 +0100] rev 8628
[test] fix req default value handling in CubicWebTC.view (closes #2544376) It's no more than the standard ``if rset`` vs. ``if rset is None`` error.
Wed, 19 Sep 2012 17:16:04 +0200 [ajax] fix attribute lookup (closes #2491038)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Sep 2012 17:16:04 +0200] rev 8627
[ajax] fix attribute lookup (closes #2491038)
Tue, 11 Dec 2012 18:20:00 +0100 [server] add debugging for Hooks & Operations (closes #2470048)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 11 Dec 2012 18:20:00 +0100] rev 8626
[server] add debugging for Hooks & Operations (closes #2470048)
Fri, 14 Dec 2012 14:08:14 +0100 [dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr> [Fri, 14 Dec 2012 14:08:14 +0100] rev 8625
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822 This store will use: - copy from for massive insertions. - execute from for update. The API of this store is similar to the other stores.
Mon, 26 Nov 2012 12:52:33 +0100 [test] swap order in assert of `test_users_and_groups_non_readable_by_guests`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 12:52:33 +0100] rev 8624
[test] swap order in assert of `test_users_and_groups_non_readable_by_guests` unittest2 order is (expected, got), not the opposite. This help test report readbility.
Mon, 26 Nov 2012 19:47:12 +0100 [test] fix server/querier/build_descr1 test.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 26 Nov 2012 19:47:12 +0100] rev 8623
[test] fix server/querier/build_descr1 test. There is no self.transaction of TestCase. I assumed the test writer meant a session. This seems to make the test pass.
Tue, 27 Nov 2012 12:36:33 +0100 [server] make `test_bfss_fs_importing_transparency` less verbose on failure
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 27 Nov 2012 12:36:33 +0100] rev 8622
[server] make `test_bfss_fs_importing_transparency` less verbose on failure Dumping the whole content of a file on failure is a bit annoying. We only print the bad version here (it's usually the file path).
Fri, 23 Nov 2012 17:12:58 +0100 [entity] drop redundant cache update
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 23 Nov 2012 17:12:58 +0100] rev 8621
[entity] drop redundant cache update This ``cw_attr_cache`` update is redundant, ``_cw_update_attr_cache`` already do this step.
Mon, 03 Dec 2012 13:22:10 +0100 [cw-ctl] silence msgcat and msgfmt (closes #2527594)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 13:22:10 +0100] rev 8620
[cw-ctl] silence msgcat and msgfmt (closes #2527594)
Wed, 12 Dec 2012 22:13:38 +0100 Added tag cubicweb-debian-version-3.15.7-1 for changeset c5400558f370 stable
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:38 +0100] rev 8619
Added tag cubicweb-debian-version-3.15.7-1 for changeset c5400558f370
Wed, 12 Dec 2012 22:13:37 +0100 Added tag cubicweb-version-3.15.7 for changeset d8916cee7b70 stable cubicweb-debian-version-3.15.7-1
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:13:37 +0100] rev 8618
Added tag cubicweb-version-3.15.7 for changeset d8916cee7b70
Wed, 12 Dec 2012 22:11:52 +0100 prepare 3.15.7 stable cubicweb-version-3.15.7
David Douard <david.douard@logilab.fr> [Wed, 12 Dec 2012 22:11:52 +0100] rev 8617
prepare 3.15.7
Tue, 04 Dec 2012 13:41:20 +0100 [migration] fix crash when adding a new meta relation type. Closes #2532483 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Dec 2012 13:41:20 +0100] rev 8616
[migration] fix crash when adding a new meta relation type. Closes #2532483
Mon, 10 Dec 2012 11:50:42 +0100 [ldapfeed] fix connection leak (closes #2532528) stable
David Douard <david.douard@logilab.fr> [Mon, 10 Dec 2012 11:50:42 +0100] rev 8615
[ldapfeed] fix connection leak (closes #2532528)
Tue, 04 Dec 2012 16:16:08 +0100 [zmq] add an introductive docstring on ZMQComm stable
David Douard <david.douard@logilab.fr> [Tue, 04 Dec 2012 16:16:08 +0100] rev 8614
[zmq] add an introductive docstring on ZMQComm
Tue, 11 Dec 2012 16:14:57 +0100 [server config] on quick start, system source is still activated. Closes #2535714 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Dec 2012 16:14:57 +0100] rev 8613
[server config] on quick start, system source is still activated. Closes #2535714
Tue, 11 Dec 2012 17:07:57 +0100 [web] use `inline` `Content-Disposition` by default (closes #2535734) stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 17:07:57 +0100] rev 8612
[web] use `inline` `Content-Disposition` by default (closes #2535734) since known time we have been serving static file with a `filename` parameter on the `Content-Disposition` header. But since d74addac92bb we explicitly serve file as attachment if a filename is provided. However this is valid to have `inline` disposition and `filename` parameter. This changeset revert this part of d74addac92bb, going back to `inlined` by default. `IDownloadable` code explicitly request `attachment` content to preserve expected behavior.
Tue, 11 Dec 2012 16:57:18 +0100 [web] allow configuration of the Content-disposition value stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 16:57:18 +0100] rev 8611
[web] allow configuration of the Content-disposition value The `set_content_type` function now takes and optional `disposition` parameter to control the value of this HTTP header. Use of `Content-disposition: inline` with a filename parameter are valid, so the presence of filename does not allows to choose between `attachment` and `inline`
Tue, 11 Dec 2012 17:17:40 +0100 [downloadable] fix filename HTTP header for simple name with space (closes #2535715) stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 11 Dec 2012 17:17:40 +0100] rev 8610
[downloadable] fix filename HTTP header for simple name with space (closes #2535715) Since d74addac92bb, we export simple ascii filename without any encoding in the `filename` parameter of the `Content-Disposition` header. If this name contains space this will fails, the parameter value will be truncated at the space position. (eg. `filename=jungle babar.txt` read as `jungle`) We need to quote the filename to prevent this (eg. `filename="jungle babar.txt"`). Then literal quote and backslash needs to be escaped too. The new escaping is correct according this extensive test case data base: http://greenbytes.de/tech/tc2231/
Mon, 03 Dec 2012 00:03:03 +0100 merge fixes from stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 03 Dec 2012 00:03:03 +0100] rev 8609
merge fixes from stable
Fri, 30 Nov 2012 21:19:36 +0100 Added tag cubicweb-debian-version-3.15.6-1 for changeset b05e156b8fe7 stable
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:19:36 +0100] rev 8608
Added tag cubicweb-debian-version-3.15.6-1 for changeset b05e156b8fe7
Fri, 30 Nov 2012 21:19:35 +0100 Added tag cubicweb-version-3.15.6 for changeset 0163bd9f4880 stable cubicweb-debian-version-3.15.6-1
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:19:35 +0100] rev 8607
Added tag cubicweb-version-3.15.6 for changeset 0163bd9f4880
Fri, 30 Nov 2012 21:18:05 +0100 prepare 3.15.6 stable cubicweb-version-3.15.6
David Douard <david.douard@logilab.fr> [Fri, 30 Nov 2012 21:18:05 +0100] rev 8606
prepare 3.15.6
Tue, 27 Nov 2012 14:48:03 +0100 [web] add a digital signature to error form (closes #2522526) stable
David Douard <david.douard@logilab.fr> [Tue, 27 Nov 2012 14:48:03 +0100] rev 8605
[web] add a digital signature to error form (closes #2522526) Simple (and quite weak) implementation of a digital signature of the content to be submited by email in the error report view generated by ErrorView. The signature is a simple hmac hash computed using a secret key (generated at repository startup) and the "secret" form content to be included in the notification email. The controller can then check this content has not been modified or forged by a malicious user.
Wed, 28 Nov 2012 11:44:15 +0100 [web/views] bugfix: the mime type is text/plain, not text/txt (closes #2526345) stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Nov 2012 11:44:15 +0100] rev 8604
[web/views] bugfix: the mime type is text/plain, not text/txt (closes #2526345)
Tue, 27 Nov 2012 17:16:23 +0100 [doc] fix of personnal etc directory in book stable
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 27 Nov 2012 17:16:23 +0100] rev 8603
[doc] fix of personnal etc directory in book
Tue, 27 Nov 2012 12:24:56 +0100 [web] add a Forbidden exception stable
David Douard <david.douard@logilab.fr> [Tue, 27 Nov 2012 12:24:56 +0100] rev 8602
[web] add a Forbidden exception This is similar to the Unauthorized exception, but generates a 403 error instead of a 401 (Unauthorized)
Tue, 27 Nov 2012 11:38:03 +0100 [web] add a ``anonymize-jsonp-queries`` option in file configuration (closes #2465388) stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Tue, 27 Nov 2012 11:38:03 +0100] rev 8601
[web] add a ``anonymize-jsonp-queries`` option in file configuration (closes #2465388) This option controls connection anonymizing before executing any query for CSRF / safety reason.
Tue, 27 Nov 2012 11:27:49 +0100 [downloadable] fix filename in HTTP header (closes #2522325, #2522324) stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 27 Nov 2012 11:27:49 +0100] rev 8600
[downloadable] fix filename in HTTP header (closes #2522325, #2522324) Before this changeset we use the `filename` header with utf8 encoded filename all the time. However RFC6266 says: The parameters "filename" and "filename*" differ only in that "filename*" uses the encoding defined in [RFC5987], allowing the use of characters not present in the ISO-8859-1 character set ([ISO-8859-1]). Therefore, we alter the code to: 1. Use `filename` and `ascii` encoding whenever possible, 2. use `filename*` with `utf8` encoding otherwise (with a filename fallback for old browser) We also switch the `content-disposition` value to attachement if filename is specified, this will result as a mandatory download according to RFC6266. This mandatory download is the expected behavior. We changes the filename encoding to RFC5987 which is simpler, supported by all and modern browser (including IE from version 6) and does not suffer from the continuation issue. (see ticket #2522324 for details)
Tue, 27 Nov 2012 11:18:42 +0100 docstring typo stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 27 Nov 2012 11:18:42 +0100] rev 8599
docstring typo
Thu, 22 Nov 2012 16:13:43 +0100 [facet] make BitFieldFacet allow special 0 value. Closes #2522697 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Nov 2012 16:13:43 +0100] rev 8598
[facet] make BitFieldFacet allow special 0 value. Closes #2522697
Fri, 16 Nov 2012 12:28:30 +0100 [doc] ubuntu LTS is now Precise Pangolin stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 16 Nov 2012 12:28:30 +0100] rev 8597
[doc] ubuntu LTS is now Precise Pangolin
Fri, 16 Nov 2012 11:53:17 +0100 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:53:17 +0100] rev 8596
backport stable
Fri, 16 Nov 2012 11:52:06 +0100 [server] implement base_url with secure=True (closes #2508638)
Arthur Lutz <arthur.lutz@logilab.fr> [Fri, 16 Nov 2012 11:52:06 +0100] rev 8595
[server] implement base_url with secure=True (closes #2508638)
Fri, 16 Nov 2012 11:41:38 +0100 [validation api] properly use yams 0.36 validation error api and update message catalog. Follows bbe0d6985e59
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Nov 2012 11:41:38 +0100] rev 8594
[validation api] properly use yams 0.36 validation error api and update message catalog. Follows bbe0d6985e59 the creation of the `translate` method in the 23a10f049447 yams commit.
Fri, 09 Nov 2012 15:27:40 +0100 [wsgi] saner use of `self.config` instead of `config`
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 15:27:40 +0100] rev 8593
[wsgi] saner use of `self.config` instead of `config`
Fri, 09 Nov 2012 17:14:18 +0100 [server] fix repository initialisation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 09 Nov 2012 17:14:18 +0100] rev 8592
[server] fix repository initialisation Changeset d753d6a6798f was breaking database creation. Dropping the `config.creating` clause lead to trying to load the schema from database even in creation mode. Conditional are a bit altered and reordered to prevent this to happen.
Wed, 24 Oct 2012 09:56:52 +0200 [web test] make unittest_viewselectors work if rdflib isn't available stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Oct 2012 09:56:52 +0200] rev 8591
[web test] make unittest_viewselectors work if rdflib isn't available
Tue, 23 Oct 2012 12:12:43 +0200 [js/ajax] documentation of 'reload' is missing an argument stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:43 +0200] rev 8590
[js/ajax] documentation of 'reload' is missing an argument
Tue, 23 Oct 2012 12:12:22 +0200 [ldapfeed] move docstring to the class instead of the module stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 12:12:22 +0200] rev 8589
[ldapfeed] move docstring to the class instead of the module
Wed, 14 Nov 2012 11:12:13 +0100 [hook] fix hook base class so access to __registries__ doesn't call check_event, only call it in registered callback. Closes #2517748 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Nov 2012 11:12:13 +0100] rev 8588
[hook] fix hook base class so access to __registries__ doesn't call check_event, only call it in registered callback. Closes #2517748
Thu, 08 Nov 2012 11:43:11 +0100 [startup hook/looping tasks] separated hook for each looping task to ease modification from cubes. Closes #2517096 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:43:11 +0100] rev 8587
[startup hook/looping tasks] separated hook for each looping task to ease modification from cubes. Closes #2517096
Thu, 08 Nov 2012 11:40:24 +0100 [ldaputils] should use entity.eid instead of entity on raising ValidationError. closes #2517095 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Nov 2012 11:40:24 +0100] rev 8586
[ldaputils] should use entity.eid instead of entity on raising ValidationError. closes #2517095
Wed, 14 Nov 2012 11:06:24 +0100 [dbapi] provide get_option_value over DBAPIRequest (closes #2515522) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Nov 2012 11:06:24 +0100] rev 8585
[dbapi] provide get_option_value over DBAPIRequest (closes #2515522)
Wed, 24 Oct 2012 14:38:05 +0200 Added tag cubicweb-debian-version-3.15.5-1 for changeset 19e115ae5442 stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:05 +0200] rev 8584
Added tag cubicweb-debian-version-3.15.5-1 for changeset 19e115ae5442
Wed, 24 Oct 2012 14:38:04 +0200 Added tag cubicweb-version-3.15.5 for changeset b0e086f451b7 stable cubicweb-debian-version-3.15.5-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 14:38:04 +0200] rev 8583
Added tag cubicweb-version-3.15.5 for changeset b0e086f451b7
Wed, 24 Oct 2012 12:08:21 +0200 prepare 3.15.5 stable cubicweb-version-3.15.5
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 24 Oct 2012 12:08:21 +0200] rev 8582
prepare 3.15.5
Tue, 11 Sep 2012 12:42:26 +0200 [entity attr cache] mark attribute as uncacheable in the underlying function else we may miss some changes.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:42:26 +0200] rev 8581
[entity attr cache] mark attribute as uncacheable in the underlying function else we may miss some changes. Also rewrite a storage test currently failing because cache of the entity created by the test transaction, distinct from the entity created internally and given to hooks and all, has its attributes cache not updated. As this doesn't seems a proper usage, rewrite it as expected. Much probably closes #2423719 definitly.
Fri, 05 Oct 2012 16:54:22 +0200 [repository] move modification of appobject_path to repository initialization code so we can restore it later to avoid side effect on the config. Fix regression introduced in d32ab8570e5d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Oct 2012 16:54:22 +0200] rev 8580
[repository] move modification of appobject_path to repository initialization code so we can restore it later to avoid side effect on the config. Fix regression introduced in d32ab8570e5d
Thu, 11 Oct 2012 18:42:13 +0200 [req / session] drop is_internal_session (buggy) compat on base request by implementing necessary methods on internal manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Oct 2012 18:42:13 +0200] rev 8579
[req / session] drop is_internal_session (buggy) compat on base request by implementing necessary methods on internal manager
Thu, 20 Sep 2012 16:33:51 +0200 [check integrity] use session consistently
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:33:51 +0200] rev 8578
[check integrity] use session consistently
Thu, 20 Sep 2012 16:18:13 +0200 [test] use session commit/rollback to be consistent with the test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 16:18:13 +0200] rev 8577
[test] use session commit/rollback to be consistent with the test
Tue, 23 Oct 2012 15:00:53 +0200 [merge] reintegrate that black sheep
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 23 Oct 2012 15:00:53 +0200] rev 8576
[merge] reintegrate that black sheep
Wed, 17 Oct 2012 15:47:12 +0200 [ldapparser] utf-8 uri + unicode emailaddr will crash if the later is not properly encoded (closes #2508515) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 17 Oct 2012 15:47:12 +0200] rev 8575
[ldapparser] utf-8 uri + unicode emailaddr will crash if the later is not properly encoded (closes #2508515)
Wed, 22 Feb 2012 11:57:42 +0100 backporting
Anthony Truchet <anthony.truchet@logilab.fr> [Wed, 22 Feb 2012 11:57:42 +0100] rev 8574
backporting
Fri, 12 Oct 2012 16:05:16 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 16:05:16 +0200] rev 8573
backport stable
Tue, 02 Oct 2012 16:44:55 +0200 fix no more running zmq repository test (closes #2500153) stable
Florent Cayré <florent.cayre@logilab.fr> [Tue, 02 Oct 2012 16:44:55 +0200] rev 8572
fix no more running zmq repository test (closes #2500153)
Fri, 28 Sep 2012 17:49:54 +0200 [dbapi] load_appobjects must attempt to load available cubicweb configurations to avoid error when some object use a persistent propery (CWProperty) defined there. Closes #2497697 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 28 Sep 2012 17:49:54 +0200] rev 8571
[dbapi] load_appobjects must attempt to load available cubicweb configurations to avoid error when some object use a persistent propery (CWProperty) defined there. Closes #2497697
Fri, 12 Oct 2012 15:38:58 +0200 dummy merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 15:38:58 +0200] rev 8570
dummy merge
Fri, 12 Oct 2012 12:47:45 +0200 [ajax] reload function should set 'processing' cursor. Closes #2503899
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Oct 2012 12:47:45 +0200] rev 8569
[ajax] reload function should set 'processing' cursor. Closes #2503899
Mon, 01 Oct 2012 12:49:34 +0200 [misc/scripts] a slightly experimental script to help repair LDAPUser cwusers suffering from split-brainite (closes #2497108) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:49:34 +0200] rev 8568
[misc/scripts] a slightly experimental script to help repair LDAPUser cwusers suffering from split-brainite (closes #2497108)
Mon, 24 Sep 2012 16:45:26 +0200 [views/boxes] re-establish the proper selector (closes #2496294) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 24 Sep 2012 16:45:26 +0200] rev 8567
[views/boxes] re-establish the proper selector (closes #2496294)
Mon, 01 Oct 2012 12:40:35 +0200 [ldapparser] raise specific error if the configuration is wrong (closes #2498164) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Oct 2012 12:40:35 +0200] rev 8566
[ldapparser] raise specific error if the configuration is wrong (closes #2498164)
Mon, 08 Oct 2012 17:50:12 +0200 [skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156) stable
Arthur Lutz <arthur.lutz@logilab.fr> [Mon, 08 Oct 2012 17:50:12 +0200] rev 8565
[skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156)
Tue, 18 Sep 2012 17:04:44 +0200 [c-c shell -H] add verbosity=0 so we are not asked to confirm everything, as when not using -H stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 17:04:44 +0200] rev 8564
[c-c shell -H] add verbosity=0 so we are not asked to confirm everything, as when not using -H
Fri, 21 Sep 2012 15:03:59 +0200 mock ``CWUser.prefered_language()`` on InternalManager objects.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 21 Sep 2012 15:03:59 +0200] rev 8563
mock ``CWUser.prefered_language()`` on InternalManager objects. The recent split of patches for session refactoring broke this.
Fri, 14 Sep 2012 14:15:39 +0200 [session] fix arguments default value and promote usage of security_enabled as session method. Closes #2481820
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 14:15:39 +0200] rev 8562
[session] fix arguments default value and promote usage of security_enabled as session method. Closes #2481820 One should use session method rather than direct usage of the context manager of the same name. Fix default argument values for consistency with the context manager: when one omit an argument, meaning is "keep the current value", not "disable security".
Thu, 20 Sep 2012 14:50:06 +0200 [session] promote usage of [deny|all]_all_hooks_but session methods rather than hooks_control context manager directly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Sep 2012 14:50:06 +0200] rev 8561
[session] promote usage of [deny|all]_all_hooks_but session methods rather than hooks_control context manager directly
Mon, 10 Sep 2012 16:25:48 +0200 [web app] move set of status_out into validation_error_handler to ease readability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:25:48 +0200] rev 8560
[web app] move set of status_out into validation_error_handler to ease readability
Mon, 10 Sep 2012 16:24:32 +0200 [workflow test] don't use session.user, subject to internal changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:24:32 +0200] rev 8559
[workflow test] don't use session.user, subject to internal changes
Mon, 10 Sep 2012 16:07:13 +0200 [db creation test] more testing of db initialization: call build_db_cache and ensure admin user exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:07:13 +0200] rev 8558
[db creation test] more testing of db initialization: call build_db_cache and ensure admin user exists
Mon, 17 Sep 2012 17:52:17 +0200 [source synchronization hooks] Fix/enhance system source hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:52:17 +0200] rev 8557
[source synchronization hooks] Fix/enhance system source hooks They are broken if launched during repository initialization (this was not the case yet, but will be soon...). Add additional checks to ensure one doesn't try to store system source config in the database, as it will be ignored in favor of the "sources" file.
Mon, 17 Sep 2012 17:48:55 +0200 [validation error] refactor validation error handling so translation is done on the web side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Sep 2012 17:48:55 +0200] rev 8556
[validation error] refactor validation error handling so translation is done on the web side Users should now use cubicweb.validation_error helper function that will activate the feature with other handy behaviours. Also test testing for message in errors should call exception.tr(unicode) before comparing. Using bare ValidationError keep backward compat.
Tue, 11 Sep 2012 22:32:01 +0200 [repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8555
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Tue, 11 Sep 2012 22:32:01 +0200 [repo cleanup] drop code moved to querier by 7e264ce34cd4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 22:32:01 +0200] rev 8554
[repo cleanup] drop code moved to querier by 7e264ce34cd4
Tue, 18 Sep 2012 11:37:24 +0200 Added tag cubicweb-debian-version-3.15.4-1 for changeset 70cb36c826df stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:24 +0200] rev 8553
Added tag cubicweb-debian-version-3.15.4-1 for changeset 70cb36c826df
Tue, 18 Sep 2012 11:37:23 +0200 Added tag cubicweb-version-3.15.4 for changeset 63260486de89 stable cubicweb-debian-version-3.15.4-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Sep 2012 11:37:23 +0200] rev 8552
Added tag cubicweb-version-3.15.4 for changeset 63260486de89
Mon, 17 Sep 2012 17:48:02 +0200 [facets] add link 'focus on selection' (closes #525277)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 17 Sep 2012 17:48:02 +0200] rev 8551
[facets] add link 'focus on selection' (closes #525277)
Mon, 10 Sep 2012 15:08:55 +0200 [server/utils] catch ValueError from password verification stable cubicweb-version-3.15.4
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:08:55 +0200] rev 8550
[server/utils] catch ValueError from password verification passlib can raise ValueError when it can't recognized a hash. Treat that as a wrong password.
Mon, 10 Sep 2012 13:59:25 +0200 [test] reindent and use request() rather than bare session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:59:25 +0200] rev 8549
[test] reindent and use request() rather than bare session this avoid error due to implementation details of session
Thu, 06 Sep 2012 15:03:52 +0200 [repo] fix debug code in DBG_REPO mode (closes #2469942) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 06 Sep 2012 15:03:52 +0200] rev 8548
[repo] fix debug code in DBG_REPO mode (closes #2469942)
Thu, 13 Sep 2012 17:26:15 +0200 [datafeed] properly call hooks for inlined relations on entity creation. Closes #2481156 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Sep 2012 17:26:15 +0200] rev 8547
[datafeed] properly call hooks for inlined relations on entity creation. Closes #2481156
Mon, 10 Sep 2012 15:17:10 +0200 [sources/native] automatically update passwords using deprecated hashes on login stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Sep 2012 15:17:10 +0200] rev 8546
[sources/native] automatically update passwords using deprecated hashes on login Closes #2465904
Fri, 14 Sep 2012 17:42:24 +0200 [repo pyro] fix previous commit: should not import Pyro in remoterql module/base class, it may be missing stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Sep 2012 17:42:24 +0200] rev 8545
[repo pyro] fix previous commit: should not import Pyro in remoterql module/base class, it may be missing
Tue, 11 Sep 2012 21:51:54 +0200 massive copyright update to avoid clutering later patches
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 21:51:54 +0200] rev 8544
massive copyright update to avoid clutering later patches
Mon, 10 Sep 2012 16:50:28 +0200 minor cleanups/typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 16:50:28 +0200] rev 8543
minor cleanups/typos
Mon, 10 Sep 2012 17:36:22 +0200 [session / querier] reorganize code to building result set descriptions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:36:22 +0200] rev 8542
[session / querier] reorganize code to building result set descriptions
Tue, 11 Sep 2012 12:44:33 +0200 [web] search state doesn't need cnx, remove useless test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Sep 2012 12:44:33 +0200] rev 8541
[web] search state doesn't need cnx, remove useless test
Mon, 10 Sep 2012 17:31:07 +0200 [schema] rename schema permissions function: session may also be a request, use _cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 17:31:07 +0200] rev 8540
[schema] rename schema permissions function: session may also be a request, use _cw
Mon, 10 Sep 2012 14:02:06 +0200 [repo initialisation] during repo creation, load all hooks and entities code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:02:06 +0200] rev 8539
[repo initialisation] during repo creation, load all hooks and entities code this simplify code and make it more consistent
Mon, 10 Sep 2012 13:53:59 +0200 [request/session] refactor language handling: don't attempt to sync web/repo languages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 13:53:59 +0200] rev 8538
[request/session] refactor language handling: don't attempt to sync web/repo languages This decouple thing and make code easier to understand. Previous behaviour was fine w/ validation error that were translated on the server side, but isn't satisfying for notification and all. Now: * translations should be done on the ui side (see previous validation error refactoring) * consistent behaviour: each side (web/repo) is responsible to deal with its request/session of language, no weird interaction between them on this topic * drop on the way the 'session properties' api, used only for that matter. -> much simpler/cleaner/saner api The thing missing being a way for user to tell "My favorite language is xxx but I also want cw to consider my http language header)
Mon, 10 Sep 2012 14:00:09 +0200 [config] turn internal configuration methods building appobjects search path into normal method rather than class method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Sep 2012 14:00:09 +0200] rev 8537
[config] turn internal configuration methods building appobjects search path into normal method rather than class method as this is useless and make path filters difficult to override (we had to override the class attribute, as instance attributes were not seen). Also rename related methods for consistency with current vocabulary
Mon, 03 Sep 2012 12:26:20 +0200 fix missing import stable
David Douard <david.douard@logilab.fr> [Mon, 03 Sep 2012 12:26:20 +0200] rev 8536
fix missing import
Fri, 07 Sep 2012 14:01:59 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Sep 2012 14:01:59 +0200] rev 8535
backport stable
Fri, 07 Sep 2012 13:48:55 +0200 [hooks/syncshema] fix logging level and nicer message (wrong changeset published previously) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 07 Sep 2012 13:48:55 +0200] rev 8534
[hooks/syncshema] fix logging level and nicer message (wrong changeset published previously)
Fri, 31 Aug 2012 13:19:39 +0200 [hooks/syncschema] do not crash on DROP of an already dropped index/... (closes #2465393) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 13:19:39 +0200] rev 8533
[hooks/syncschema] do not crash on DROP of an already dropped index/... (closes #2465393)
Thu, 23 Aug 2012 11:43:43 +0200 [cwctl] show a better diagnostic message on version violation (closes #2464800) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 23 Aug 2012 11:43:43 +0200] rev 8532
[cwctl] show a better diagnostic message on version violation (closes #2464800)
Thu, 30 Aug 2012 17:07:59 +0200 [tabs] fix pb with non-lazy tabs: style isn't properly set due to missing jquery.ui activation. Closes #2465657 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:07:59 +0200] rev 8531
[tabs] fix pb with non-lazy tabs: style isn't properly set due to missing jquery.ui activation. Closes #2465657 also do a small cleanup on the way, and properly implements render_entity rather than cell_call, as one would expect regarding default PrimaryView code.
Tue, 04 Sep 2012 06:52:41 +0200 [migration] fix backward compat for rename_relation stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:52:41 +0200] rev 8530
[migration] fix backward compat for rename_relation
Tue, 04 Sep 2012 06:09:17 +0200 [datafeed] make cnxset handling of datafeed source more robust stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 04 Sep 2012 06:09:17 +0200] rev 8529
[datafeed] make cnxset handling of datafeed source more robust currently we may run in some cases where the session has no more cnxset depending on errors and parser's handling of the cnxset. Also, free the cnxset and reacquire it later, letting a chance to other threads to run.
Thu, 30 Aug 2012 17:38:43 +0200 don't use rset.rowcount in predicates, this makes them usable with other types such as lists stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:38:43 +0200] rev 8528
don't use rset.rowcount in predicates, this makes them usable with other types such as lists
Thu, 30 Aug 2012 17:11:05 +0200 [c-c db-check] don't skip is/is_instance_of mandatory relation to avoid telling two opposite messages when the relation is missing. Closes #2465659 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Aug 2012 17:11:05 +0200] rev 8527
[c-c db-check] don't skip is/is_instance_of mandatory relation to avoid telling two opposite messages when the relation is missing. Closes #2465659
Thu, 23 Aug 2012 11:19:44 +0200 [ui tabs] avoid duplicate rset argument if already specified in tab kwargs. Closes #2464786 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Aug 2012 11:19:44 +0200] rev 8526
[ui tabs] avoid duplicate rset argument if already specified in tab kwargs. Closes #2464786
Fri, 03 Aug 2012 13:29:37 +0200 [entity edition] don't remove values from attribute cache on the repository side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Aug 2012 13:29:37 +0200] rev 8525
[entity edition] don't remove values from attribute cache on the repository side This follows changesets 552de9f0c46d, 1527b012802f, 25da1e5c7c50 and 4ba11607d84a. closes #2423719 ?
Fri, 31 Aug 2012 18:11:24 +0200 fix ldapuser test stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 18:11:24 +0200] rev 8524
fix ldapuser test
Fri, 31 Aug 2012 16:50:28 +0200 Prepare 3.15.4 stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 16:50:28 +0200] rev 8523
Prepare 3.15.4
Fri, 31 Aug 2012 13:55:59 +0200 migration: replace empty passwords with random ones on upgrade stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 13:55:59 +0200] rev 8522
migration: replace empty passwords with random ones on upgrade
Fri, 31 Aug 2012 12:52:45 +0200 ldapuser2ldapfeed: create CWUsers with random passwords, not empty ones stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 31 Aug 2012 12:52:45 +0200] rev 8521
ldapuser2ldapfeed: create CWUsers with random passwords, not empty ones
Fri, 31 Aug 2012 16:58:08 +0200 [source/native] only system source users should be authenticated by the native source (closes #2465883) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 31 Aug 2012 16:58:08 +0200] rev 8520
[source/native] only system source users should be authenticated by the native source (closes #2465883)
Wed, 22 Aug 2012 17:20:06 +0200 [web test] fix test broken by 199fefe396ab stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 17:20:06 +0200] rev 8519
[web test] fix test broken by 199fefe396ab
Wed, 22 Aug 2012 14:19:30 +0200 [fti] add some documentation stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 22 Aug 2012 14:19:30 +0200] rev 8518
[fti] add some documentation
Wed, 22 Aug 2012 14:17:22 +0200 [form] add assertion to ensure field has a name when `role_name` is called stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 14:17:22 +0200] rev 8517
[form] add assertion to ensure field has a name when `role_name` is called
Tue, 21 Aug 2012 15:23:29 +0200 Added tag cubicweb-debian-version-3.15.3-1 for changeset 7ad423a5b6a8 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:29 +0200] rev 8516
Added tag cubicweb-debian-version-3.15.3-1 for changeset 7ad423a5b6a8
Tue, 21 Aug 2012 15:23:28 +0200 Added tag cubicweb-version-3.15.3 for changeset 0e012eb80990 stable cubicweb-debian-version-3.15.3-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Aug 2012 15:23:28 +0200] rev 8515
Added tag cubicweb-version-3.15.3 for changeset 0e012eb80990
Tue, 21 Aug 2012 14:20:08 +0200 [pkg] prepare 3.15.3 release stable cubicweb-version-3.15.3
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 21 Aug 2012 14:20:08 +0200] rev 8514
[pkg] prepare 3.15.3 release
Thu, 02 Aug 2012 19:00:22 +0200 [entity edition] stop comparing values as it may trigger exceptions (e.g. timeseries cube tests)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 19:00:22 +0200] rev 8513
[entity edition] stop comparing values as it may trigger exceptions (e.g. timeseries cube tests) Rely on a changes in yams instead where we have guarantee to have only comparable objects. This follows changesets 1527b012802f, 25da1e5c7c50 and 4ba11607d84a, and should definitly closes #2423719
Wed, 01 Aug 2012 09:42:36 +0200 [tabbed view] make tabs optionaly lazy: lazy=False on the tabbed view trigger synchronous tabs. Closes #2443038 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 01 Aug 2012 09:42:36 +0200] rev 8512
[tabbed view] make tabs optionaly lazy: lazy=False on the tabbed view trigger synchronous tabs. Closes #2443038 This is useful for tabs holding a self-posted form for instance.
Thu, 02 Aug 2012 18:52:27 +0200 [web form] refactor Form.__init__ so that extra kwargs are set earlier in the process. Closes #2443040 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 18:52:27 +0200] rev 8511
[web form] refactor Form.__init__ so that extra kwargs are set earlier in the process. Closes #2443040 (eg if you want to use them in .session_key)
Thu, 02 Aug 2012 10:09:11 +0200 [test rql completion] dont limit number of completion, else we've impredicable results. Also should tell rql.parse to not print error on stdout
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Aug 2012 10:09:11 +0200] rev 8510
[test rql completion] dont limit number of completion, else we've impredicable results. Also should tell rql.parse to not print error on stdout This repairs test introduced by dcd9bc1d1bca which closes #2439846
Wed, 01 Aug 2012 10:47:27 +0200 [entity] fix deprecation warnings (closes #2423719)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Aug 2012 10:47:27 +0200] rev 8509
[entity] fix deprecation warnings (closes #2423719)
Thu, 02 Aug 2012 12:48:31 +0200 merge oldstable in stable stable
David Douard <david.douard@logilab.fr> [Thu, 02 Aug 2012 12:48:31 +0200] rev 8508
merge oldstable in stable
Wed, 01 Aug 2012 10:30:48 +0200 Added tag cubicweb-debian-version-3.14.9-1 for changeset 68c762adf2d5 oldstable
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:48 +0200] rev 8507
Added tag cubicweb-debian-version-3.14.9-1 for changeset 68c762adf2d5
Wed, 01 Aug 2012 10:30:47 +0200 Added tag cubicweb-version-3.14.9 for changeset 9337812cef6b oldstable cubicweb-debian-version-3.14.9-1
David Douard <david.douard@logilab.fr> [Wed, 01 Aug 2012 10:30:47 +0200] rev 8506
Added tag cubicweb-version-3.14.9 for changeset 9337812cef6b
Tue, 24 Jul 2012 18:30:36 +0200 [ui] provide an autocomplete RQL bar (closes #2439846)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 18:30:36 +0200] rev 8505
[ui] provide an autocomplete RQL bar (closes #2439846)
Wed, 01 Aug 2012 09:20:47 +0200 [ajax] improve backward compatibility for redefined ajax functions (closes #2447189) stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 01 Aug 2012 09:20:47 +0200] rev 8504
[ajax] improve backward compatibility for redefined ajax functions (closes #2447189) If an ajax function from stdlib (e.g. js_reledit_form) was redefined in a cube, the cube version should still takes the precedence< => check for existing ajax function on deprecated controller _before_ checking ajax function availability on the new one.
Tue, 31 Jul 2012 16:16:50 +0200 prepare version 3.14.9 oldstable cubicweb-version-3.14.9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 16:16:50 +0200] rev 8503
prepare version 3.14.9
Tue, 31 Jul 2012 17:32:54 +0200 [composite] apply composite on new enty too (closes #2450679) oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:32:54 +0200] rev 8502
[composite] apply composite on new enty too (closes #2450679) Before this changesets, automatic deletion did not applied to entity created in the same transaction. This patch remove this filtering in the dedicated operation. The original filtering where introduced by 5d889b4928bb but no rational where found for this changes. The former behavior is seen as inconsistent and creates bug in some cubes.
Tue, 31 Jul 2012 17:25:28 +0200 [storage] relies on event=='deleted' to detect "delete" event (closes #2450680) oldstable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 17:25:28 +0200] rev 8501
[storage] relies on event=='deleted' to detect "delete" event (closes #2450680) When we delete a previously edited entity, it *will* have a cw_edited attribute even if the goal is to delete it. The function get an argument that explicitly contains the "delete" event. The code now uses that instead.
Tue, 31 Jul 2012 11:04:45 +0200 [composite] apply composite on new enty too stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 11:04:45 +0200] rev 8500
[composite] apply composite on new enty too Before this changesets, automatic deletion did not applied to entity created in the same transaction. This patch remove this filtering in the dedicated operation. The original filtering where introduced by 5d889b4928bb but no rational where found for this changes. The former behavior is seen as inconsistent and creates bug in some cubes.
Tue, 31 Jul 2012 10:57:03 +0200 [storage] relies on event=='deleted' to detect "delete" event stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 31 Jul 2012 10:57:03 +0200] rev 8499
[storage] relies on event=='deleted' to detect "delete" event When we delete a previously edited entity, it *will* have a cw_edited attribute even if the goal is to delete it. The function get an argument that explicitly contains the "delete" event. The code now uses that instead.
Tue, 31 Jul 2012 11:19:11 +0200 [web navigation] previous / next icons are missing mandatory alt attribute stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Jul 2012 11:19:11 +0200] rev 8498
[web navigation] previous / next icons are missing mandatory alt attribute
Tue, 31 Jul 2012 10:12:06 +0200 [testlib] consider rset for template / view selection (closes #2447183) stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 31 Jul 2012 10:12:06 +0200] rev 8497
[testlib] consider rset for template / view selection (closes #2447183) The original code did something like: kwargs['rset'] = rset viewfunc = lambda **k: viewsreg.main_template(req, template, **kwargs) kwargs.pop('rset') return self._test_view(viewfunc, view, template, kwargs) meaning that by the time ``viewfunc`` (i.e. the lambda function) is called, ``rset`` was popped from ``kwargs`` and had no chance to be passed to ``main_template``.
Tue, 24 Jul 2012 17:51:00 +0200 [documentation] fix some ReST compilation problems
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 24 Jul 2012 17:51:00 +0200] rev 8496
[documentation] fix some ReST compilation problems
Tue, 24 Jul 2012 15:06:55 +0200 [test] remove no more necessary attribute cache manipulation to repair test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 15:06:55 +0200] rev 8495
[test] remove no more necessary attribute cache manipulation to repair test
Tue, 24 Jul 2012 11:19:16 +0200 [entity] more tweaks for entity attribute cache handling on cw_set/cw_create to fix test regression
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 11:19:16 +0200] rev 8494
[entity] more tweaks for entity attribute cache handling on cw_set/cw_create to fix test regression * when an attribute is listed in dont-cache-attrs, purge any previous value * test value is actually modified in EditedEntity.__setitem__ before adding attribute to dont-cache-attrs
Tue, 24 Jul 2012 10:16:25 +0200 [entity/hooks] fix regression introduced by 4ba11607d84a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 Jul 2012 10:16:25 +0200] rev 8493
[entity/hooks] fix regression introduced by 4ba11607d84a on create_entity, attributes weren't cached, but they are since 4ba11607d84a and this triggered a bug: used values may be transformed by hooks (e.g. TidyHtmlFields), ending in invalid value in the cache. This is the regression. Now, set_attributes used to update the attributes cache while suffering from the very same pb. This is the now fixed old bug. Transformed attributes are now recorded in a transaction shared variable, and those are omitted from the client cache.
Tue, 17 Jul 2012 12:24:11 +0200 [doc] use :meth: and remove doc to deprecated methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:11 +0200] rev 8492
[doc] use :meth: and remove doc to deprecated methods
Mon, 23 Jul 2012 22:45:32 +0200 [doc] add passlib to list of dependencies stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 Jul 2012 22:45:32 +0200] rev 8491
[doc] add passlib to list of dependencies
Mon, 23 Jul 2012 18:01:09 +0200 Added tag cubicweb-debian-version-3.15.2-1 for changeset 9aa5553b2652 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:09 +0200] rev 8490
Added tag cubicweb-debian-version-3.15.2-1 for changeset 9aa5553b2652
Mon, 23 Jul 2012 18:01:08 +0200 Added tag cubicweb-version-3.15.2 for changeset 2afc157ea9b2 stable cubicweb-debian-version-3.15.2-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 18:01:08 +0200] rev 8489
Added tag cubicweb-version-3.15.2 for changeset 2afc157ea9b2
Mon, 23 Jul 2012 14:50:44 +0200 [test] missing future import stable cubicweb-version-3.15.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 14:50:44 +0200] rev 8488
[test] missing future import
Mon, 23 Jul 2012 12:45:43 +0200 [web test] fix tests broken by 8de41063d629 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 Jul 2012 12:45:43 +0200] rev 8487
[web test] fix tests broken by 8de41063d629
Fri, 20 Jul 2012 15:17:32 +0200 3.15.2 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 15:17:32 +0200] rev 8486
3.15.2
Fri, 20 Jul 2012 11:31:34 +0200 [web login] fix after login redirection: redirect expect an url not a relative path. Breaks on cases like '?vid=aview'. Closes #2423575 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 11:31:34 +0200] rev 8485
[web login] fix after login redirection: redirect expect an url not a relative path. Breaks on cases like '?vid=aview'. Closes #2423575
Fri, 20 Jul 2012 10:57:48 +0200 [config] load_configuration should not crash because of fs errors. Closes #2286215 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:57:48 +0200] rev 8484
[config] load_configuration should not crash because of fs errors. Closes #2286215
Tue, 17 Jul 2012 12:24:46 +0200 [entity api] unify set_attributes / set_relations into a cw_set method. Closes #2423719
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jul 2012 12:24:46 +0200] rev 8483
[entity api] unify set_attributes / set_relations into a cw_set method. Closes #2423719 Allowing similar usage as create_entity/cw_instantiate. Update cw code base to remove deprecated calls.
Thu, 19 Jul 2012 09:01:54 +0200 [workflow ui] fix state/transition edition form on existing entity. Closes #2423531 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 09:01:54 +0200] rev 8482
[workflow ui] fix state/transition edition form on existing entity. Closes #2423531 It should not return unrelated entities only in case where the entity exists. Also fix a deprecation warning, vocabulary values should be an unicode string.
Fri, 20 Jul 2012 11:42:59 +0200 [predicates] fix predicates that erroneously evaluate the entity passed as a parameter as a boolean, instead of testing its existence in the keyword arguments -using the kwargs.get('entity') idiom instead of 'entity' in kwargs or similar- ; closes #2424288 stable
Florent Cayré <florent.cayre@logilab.fr> [Fri, 20 Jul 2012 11:42:59 +0200] rev 8481
[predicates] fix predicates that erroneously evaluate the entity passed as a parameter as a boolean, instead of testing its existence in the keyword arguments -using the kwargs.get('entity') idiom instead of 'entity' in kwargs or similar- ; closes #2424288
Fri, 20 Jul 2012 10:25:55 +0200 [book] fix build warnings/errors. Closes #2430042 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:25:55 +0200] rev 8480
[book] fix build warnings/errors. Closes #2430042
Fri, 20 Jul 2012 10:46:27 +0200 [ldap feed] add missing future import stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jul 2012 10:46:27 +0200] rev 8479
[ldap feed] add missing future import
Thu, 19 Jul 2012 16:41:10 +0200 [ldap feed] fix error since with read security activated, password value is not selecteable (closes #2406597). Also add a note in the book about packages required to connect to an ldap server stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jul 2012 16:41:10 +0200] rev 8478
[ldap feed] fix error since with read security activated, password value is not selecteable (closes #2406597). Also add a note in the book about packages required to connect to an ldap server
Fri, 20 Jul 2012 09:22:51 +0200 [config] Set CWDEV, aka dev mode, according to presence of the i18n directory, not .hg stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:22:51 +0200] rev 8477
[config] Set CWDEV, aka dev mode, according to presence of the i18n directory, not .hg
Fri, 20 Jul 2012 09:31:15 +0200 [book] Some tweaks to fix cubicweb-documentation package generation stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jul 2012 09:31:15 +0200] rev 8476
[book] Some tweaks to fix cubicweb-documentation package generation - Fix up PYTHONPATH setting to make sure sphinx can find cubicweb modules - Add a few missing build-dependencies
(0) -3000 -1000 -768 +768 +1000 +3000 tip