1. 19 Oct, 2016 1 commit
    • Sylvain Thénault's avatar
      Allow archive units not linked to a parent · 0a8f060a5ce6
      Sylvain Thénault authored
      This prepare the 'seda components' functionality from SAEM. For now, we don't
      support data object as component, since most metadata moved to its related
      archive unit with SEDA2.
      We also have to change data object parent relation's cardinality since in case
      of an archive unit as  component, we can't have this relation to the transfer
  2. 18 Oct, 2016 3 commits
  3. 17 Oct, 2016 3 commits
  4. 18 Oct, 2016 1 commit
  5. 17 Oct, 2016 1 commit
    • Sylvain Thénault's avatar
      Regenerate code · 5ec73e5b8383
      Sylvain Thénault authored
      only order should be modified. Unclear why this occurs now even with python
      hashseed to 0.
  6. 14 Oct, 2016 3 commits
  7. 13 Oct, 2016 4 commits
  8. 14 Oct, 2016 1 commit
  9. 13 Oct, 2016 3 commits
    • Sylvain Thénault's avatar
      Fix patches, break in test mode · 86da8574b021
      Sylvain Thénault authored
      It seems that in test mode, monkey patch is done after cubicweb.web.views.forms
      has been loaded, which hence references the original guess_field (monkey-patched
      by cube'site_cubicweb).
      Using the proper module fixes the problem.
    • Sylvain Thénault's avatar
      Simplify rule inheritance control of simplified profiles · fa0a0bb2da4b
      Sylvain Thénault authored
      We may hide the ignore all rules / ignore one rule complexity since there may be
      only one inherited rule.
      Do several tweaks to make it nice.
      Note it doesn't work yet until the parent rule entity isn't created, because we
      are not able to detect the parent transfer...
    • Sylvain Thénault's avatar
      Add validation hook ensuring we don't mark as simplified a profile which can't · d3e384864e8f
      Sylvain Thénault authored
      A simplified profile hides most of the complexity of a full seda profile. The
      diagnosis tool indicates if a profile is using some construct which shouldn't
      occur in a simplified profile.
      This patch introduce a hook that will forbid to set 'simplified_profile=True' on
      a profile which isn't compatible, or that we don't do incompatible change on a
      simplified profile (though this should not occur from the UI).
  10. 14 Oct, 2016 1 commit
  11. 13 Oct, 2016 4 commits
  12. 12 Oct, 2016 1 commit
  13. 13 Oct, 2016 1 commit
    • Sylvain Thénault's avatar
      Set sensible default user_cardinality on some entities · e0d4e2917137
      Sylvain Thénault authored
      For those entities, user cardinality will be hidden for simplified profile
      because it's expected to be '1'. Changing the default in the schema will
      ensure that entities created on a simplified profile will have the proper
      cardinality, and that default values displayed on a full profile will be
  14. 14 Oct, 2016 1 commit
  15. 12 Oct, 2016 3 commits
  16. 14 Oct, 2016 2 commits
  17. 11 Oct, 2016 3 commits
  18. 13 Oct, 2016 1 commit
    • Sylvain Thénault's avatar
      Add basic SEDA compatibility diagnosis tool · 51669dddb342
      Sylvain Thénault authored
      Introduce an adapter that will 'diagnose' seda profile. It will be able to
      return all problems leading to not supporting some SEDA export format.
      There is currently a single sample rule (missing access rule on top level
      archive unit).
      Overall result (supported formats) are stored in a computed attribute so that
      we may control depending actions'appearance without recomputing the whole
      Related to #15524215
  19. 11 Oct, 2016 1 commit
  20. 07 Oct, 2016 2 commits