README
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Dec 2017 16:36:28 +0100
changeset 2913 5205b3490f1c
parent 2670 a671735e9217
permissions -rw-r--r--
[seda tree / js] Reimplement rules telling which moves are allowed within the js tree And call the ajax API accordingly. We now allow on top of the earlier "maybeParentOf" mecanism: * to reorder binary / physical data object * to reorder archive units. To do so, we: * turn 'inside' position while moving a node which is already a children node into 'before' + first children as target node, * check if the position is correct, provided that we don't want to mix types: binary objects should be before physical objects which should be before archival units, * call the ajax API by giving it the relative index above mentionned (i.e. index of the node within nodes of the same type).

Summary
-------

This cube implements the SEDA_ standard for CubicWeb. It has been funded by the
SIAF_ and the `SAEM project`_.

.. _SEDA: https://redirect.francearchives.fr/seda/
.. _SIAF: https://fr.wikipedia.org/wiki/Service_interministériel_des_Archives_de_France
.. _`SAEM project`: http://www.saem.e-bordeaux.org/

Project is hosted at https://www.cubicweb.org/project/cubicweb-seda/ and source
code at https://hg.logilab.org/master/cubes/seda.

To launch the tests::

  python -m tox

To generate the documentation::

  python -m tox -e doc

Part of the code is generated from SEDA 2's XSD schema. If you update the schema
or code generator (on of the `cubicweb_seda/xsd*.py` files), to update the
generated code type::

  python -m tox -e make