1. 03 Nov, 2020 6 commits
  2. 02 Nov, 2020 10 commits
  3. 29 Oct, 2020 5 commits
  4. 28 Oct, 2020 9 commits
  5. 27 Oct, 2020 5 commits
  6. 26 Oct, 2020 2 commits
  7. 22 Oct, 2020 3 commits
    • Jérome Perrin's avatar
      core: fix error when submitting "View Diff" dialog · 813d4942
      Jérome Perrin authored
      This action was working fine the first time displayed, but clicking
      again on "View Diff" button was causing an IndexError: list index out of range
      when used on one document.
      
      This was because in this case list_selection_name exists in REQUEST, but
      is an empty string. Instead of checking that this selection name is not
      None to detect if we are in module mode or in document mode, check that
      its true-ish to also tolerate an empty string.
      813d4942
    • Jérome Perrin's avatar
      e7c4e387
    • Jérome Perrin's avatar
      core: support Manager user in Base_getDialogSectionCategoryItemList · 99c1c6c0
      Jérome Perrin authored
      Base_getDialogSectionCategoryItemList was supporting the case of
      users from zodb_users plugin, but not the case of ERP5 users with
      roles set from zodb_roles.
      
      It's a more and more common case to make manager users using a
      "normal" ERP5 user as person (so that we can reset password etc)
      and to give Manager role by zodb_roles, but this was not supported
      by this script.
      99c1c6c0