1. 03 Jun, 2020 2 commits
    • Jérome Perrin's avatar
      BusinessTemplate: tolerate broken objects when updating their containers · 30ef111a
      Jérome Perrin authored
      Business template have some logic to keep uids when updating objects:
      during installation, when an object is modified, business template first
      remember the uids for this object and all its sub-objects,
      replaces this object with the new version then recursively set the uid
      on updated objects, so that updating an ERP5 document by business
      template does not change its uid because this would break catalog.
      
      When an object containing sub-objects is updated, it becomes a new
      object in ZODB and sub-objects of the previous object are set as child
      of the new object. This works even if the case of sub-objects being
      instances of ZODB Broken class, except that the step where we restore
      the uid fail as it's not allowed to modify a broken object.
      
      Instead of unconditionnally setting the sub-objects uids, check that we
      actually need to set it, because if it's already the expected value then
      we don't need to touch the object.
      30ef111a
    • Jérome Perrin's avatar
      erp5_core_test: style fixes · 94eedd77
      Jérome Perrin authored
      94eedd77
  2. 02 Jun, 2020 3 commits
    • Jérome Perrin's avatar
      versions up: Monaco editor 0.20.0 / prettier 2.0.5 · 3b45cd05
      Jérome Perrin authored
      These new versions contain several small improvements.
      
      It seems this version of prettier formats javascript in a way that jslint does not complain about.
      
      Also contain some small fixes for our renderjs and rsvp type definitions, so that monaco-editor-gadget.js can typecheck.
      
      See merge request nexedi/erp5!1139
      3b45cd05
    • Jérome Perrin's avatar
      Fix bugs in erp5_forge scripts · 9e5ee389
      Jérome Perrin authored
      * "Create Skin Folder" action had a typo, so it was not setting the `business_template_skin_layer_priorty` property that business template is using when installing.
      * "Create Report" was not updated for the new "action title" feature of forms.
      
      This time, add the missing tests that should have prevented these problems.
      
      See merge request nexedi/erp5!1133
      9e5ee389
    • Jérome Perrin's avatar
      erp5_forge coding style · e17f69f3
      Jérome Perrin authored
      Enable coding style on erp5_forge, after removing several problematic scripts that did not seem used.
      
      See merge request nexedi/erp5!1134
      e17f69f3
  3. 01 Jun, 2020 8 commits
  4. 29 May, 2020 15 commits
  5. 28 May, 2020 2 commits
  6. 27 May, 2020 9 commits
  7. 25 May, 2020 1 commit
    • Vincent Pelletier's avatar
      ERP5Type.patches.CookieCrumbler: Unconditionally cleanup request. · 75b19aad
      Vincent Pelletier authored
      Receiving name & password parameters does not prevent us from also
      receiving the authentication cookie. It must not be kept in the request.
      And likewise for requests also containing an HTTP authentication header.
      And likewise for requests for which CookieCrumbler disables itself on.
      75b19aad