- 05 Feb, 2018 1 commit
-
-
Denis Laxalde authored
-
- 06 Feb, 2018 1 commit
-
-
Denis Laxalde authored
And drop monkeypatch now in this version.
-
- 19 Dec, 2017 3 commits
-
-
Sylvain Thénault authored
-
Sylvain Thénault authored
-
Sylvain Thénault authored
-
- 14 Dec, 2017 2 commits
-
-
Sylvain Thénault authored
There may be cases where several concepts use the same label, mostly in the case of format identifier but do the same thing for mime types as a safety belt.
-
Sylvain Thénault authored
because they don't need the heavy setup of the former class.
-
- 13 Dec, 2017 2 commits
-
-
Sylvain Thénault authored
this is so annoying.
-
Sylvain Thénault authored
Since the operation may be triggered by deletion of the relation, it may be unadvertanly called by cascade when the data-object is being deleted.
-
- 12 Dec, 2017 3 commits
-
-
Sylvain Thénault authored
introduced by c463fd270e81. This should be specially handled even when the cloning starts from the archive transfer. Requires a yet unreleased fix in the compound cube.
-
Sylvain Thénault authored
e.g. while debugging an instance I attempted to display result of 'Any X, C WHERE X container C' with unexpectedly to container for the entity, but I wasn't able to display it because rset.one() raised an error since len(rset) was 2. Even if the caller may be wrong, it seems ok to not call rset.one() if function is called in an erroneous context and simply return None in such case.
-
Sylvain Thénault authored
-
- 11 Dec, 2017 9 commits
-
-
Sylvain Thénault authored
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).
-
Sylvain Thénault authored
by implementing ajax entry point and API on the jqtree adapter.
-
Sylvain Thénault authored
by implementing it on the JQTree adapter, but with only hard-coded position in the js for now.
-
Sylvain Thénault authored
since this will soon become even more SEDA dependant.
-
Sylvain Thénault authored
because we have to keep this property in the targeted ordering implementation.
-
Sylvain Thénault authored
this is only unit-tested for now, it will be actually used by later commits.
-
Sylvain Thénault authored
so all implementation details of this ordering management is at the same place.
-
Sylvain Thénault authored
and move it to the itree module since this is entity logic, not view.
-
Sylvain Thénault authored
this is not used (left-over of some debugging session?)
-
- 07 Dec, 2017 4 commits
-
-
Sylvain Thénault authored
and remove a useless assign along the way (we already had a reference on the targeted entity)
-
Sylvain Thénault authored
moving an archive unit from a transfer to another is not the actual use-case, it's about moving an archive unit to another parent in the same tree.
-
Sylvain Thénault authored
based on reference's ordering attribute. Use the reference and not the data object's ordering because it's the one used on the data objects tab for simplified profiles.
-
Sylvain Thénault authored
it avoid forgetting it and is easier to grasp.
-
- 11 Dec, 2017 1 commit
-
-
Sylvain Thénault authored
rather use ORM controlled order, consistently with the UI. Let the doctor diagnose ambiguities (done in previous commit). This backout most parts of 4941eab6a289.
-
- 06 Dec, 2017 2 commits
-
-
Sylvain Thénault authored
-
Sylvain Thénault authored
so it's importable at code generation time where the cubicweb_seda package isn't available.
-
- 05 Dec, 2017 2 commits
-
-
Sylvain Thénault authored
it's an implementation specific attribute, we don't want to see it in the UI.
-
Sylvain Thénault authored
in order to being able to order children elements of an entity.
-
- 06 Dec, 2017 10 commits
-
-
Sylvain Thénault authored
-
Sylvain Thénault authored
This will be desired in following csets since we'll stop ordering RNG export using cardinality to follow user enforced ordering, hence consistently with the UI.
-
Sylvain Thénault authored
-
Sylvain Thénault authored
-
Sylvain Thénault authored
I don't think we care about such rules'order and they should usually be fixed in the profile, so don't check them. If one wish to check them at some point, it should add ordering on relevant entities and extend consistently the xsd2yams.MULTIPLE_CHILDREN list.
-
Sylvain Thénault authored
after discussion with B. Nichelle from the SIAF, it appears that some cases are actually handled as expected, some others not.
-
Sylvain Thénault authored
this is required with recent pytest to avoid cluttered output with duplicated cubicweb's logging message (there must have something to fix on the cubicweb side to avoid this).
-
Sylvain Thénault authored
so we're properly redirected after creation of their associated subobjects.
-
Sylvain Thénault authored
duh.
-
Sylvain Thénault authored
and add a test for ambiguous units under a sub-unit, to have a case for archive units handled by each query.
-