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)
(0) -3000 -1000 -240 +240 +1000 +3000 tip