1. 18 Oct, 2016 1 commit
  2. 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
      entity.
      0a8f060a5ce6
  3. 18 Oct, 2016 3 commits
  4. 17 Oct, 2016 3 commits
  5. 18 Oct, 2016 1 commit
  6. 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.
      5ec73e5b8383
  7. 14 Oct, 2016 3 commits
  8. 13 Oct, 2016 4 commits
  9. 14 Oct, 2016 1 commit
  10. 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.
      86da8574b021
    • 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...
      fa0a0bb2da4b
    • 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).
      d3e384864e8f
  11. 14 Oct, 2016 1 commit
  12. 13 Oct, 2016 4 commits
  13. 12 Oct, 2016 1 commit
  14. 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
      compatible.
      e0d4e2917137
  15. 14 Oct, 2016 1 commit
  16. 12 Oct, 2016 3 commits
  17. 14 Oct, 2016 2 commits
  18. 11 Oct, 2016 3 commits
  19. 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
      diagnosis.
      
      Related to #15524215
      51669dddb342
  20. 11 Oct, 2016 1 commit
  21. 07 Oct, 2016 1 commit