- Sep 18, 2015
-
-
Yann Voté authored
Closes #7166911.
-
- Aug 26, 2015
-
-
Denis Laxalde authored
-
- Aug 25, 2015
-
-
Sylvain Thénault authored
-
Denis Laxalde authored
So that it can be used in modules not automatically reloaded without problems. Closes #6304702.
-
- Aug 21, 2015
-
-
Sylvain Thénault authored
beside performance and consistency purpose, it will avoid to call recursivly the clone hook if the cloned subtree contains 'clone rtype' relations. This has caused infinite recursion problem in a client application, though I've not been able to reproduce it in a test.
-
Denis Laxalde authored
-
Denis Laxalde authored
-
- Aug 20, 2015
-
-
Denis Laxalde authored
-
- Aug 19, 2015
-
-
Sylvain Thénault authored
-
- Aug 17, 2015
-
-
Denis Laxalde authored
This can be an alternative to the 'clone' action, in particular when the 'edition' form of the entity to be cloned is not readily usable (e.g. needs tweaking to hide inlined sub-forms, etc.).
-
- Jul 20, 2015
-
-
Denis Laxalde authored
This is not ready for inclusion and was backported from client application to soon.
-
Denis Laxalde authored
Thus grouping related things together.
-
Denis Laxalde authored
Otherwise the assertion in __registered__() is hit at db-init step.
-
Denis Laxalde authored
-
- Jul 17, 2015
-
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
This method returns a dictionary mapping entity type to composite relation information allowing to walk the schema graph upstream from these entity types.
-
- Jul 20, 2015
-
-
Denis Laxalde authored
* `parent_relations`/`child_relations` are used to get relation information from an entity type. * `parent_structure`/`child_structure` return the full structure of the composite graph, this structure will change later on to conform to the "definition" methods. * `parent_related`/`child_related` yield information about related entities in the composite graph either from the parent or child perspective.
-
Denis Laxalde authored
-
- Jul 16, 2015
-
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
These are used to build the IContainer/IContained classes.
-
Denis Laxalde authored
-
Denis Laxalde authored
Properly walk through relation definitions accounting for parent role and entity type in iter_schema. Better use Yams API in passing.
-
Denis Laxalde authored
This makes selections of CloneEntityHook simpler, cheaper and more robust. Drop IClonableAdapter.clone property, not longer useful.
-
- Jul 15, 2015
-
-
Denis Laxalde authored
-
Denis Laxalde authored
This is not used currently.
-
Denis Laxalde authored
The dictionary was not really useful, a set is enough. Also sort these children in `structure()` method for predictability.
-
- Jul 10, 2015
-
-
Denis Laxalde authored
Also add the `structure` method which returns the fully evaluated graph (of schema objects), useful for testing.
-
Denis Laxalde authored
Actual tests are not so specific to "entities" despite most of the code currently lies there and they are not so unit either.
-
- Jul 09, 2015
-
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
The action url will contain a linkto with <clone_rtype> set for the new (cloned) entity.
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
And pass them to composite_schema_graph.
-
Denis Laxalde authored
-
Denis Laxalde authored
-