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`.
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.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Tue, 02 Apr 2013 12:05:51 +0200] rev 8835
[dataimport] Slight message modification in exception handling code.
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.
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.
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.
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.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 17 Dec 2012 14:03:56 +0100] rev 8830
[web/views] extract cube geocoding (closes #353000)
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).
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)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 28 Mar 2013 15:01:02 +0100] rev 8827
[editcontroller] a small debugging help (closes #2518980)
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:48 +0100] rev 8826
[doc] small doc improvement
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:48:26 +0100] rev 8825
[doc] fix Pyro url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:47:54 +0100] rev 8824
[doc] fix Narval project url
Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> [Thu, 28 Mar 2013 13:46:50 +0100] rev 8823
[tutorial] minor documentation fixes