1. 01 Sep, 2020 6 commits
  2. 31 Aug, 2020 8 commits
  3. 27 Aug, 2020 1 commit
  4. 26 Aug, 2020 1 commit
  5. 25 Aug, 2020 3 commits
  6. 24 Aug, 2020 4 commits
  7. 21 Aug, 2020 5 commits
  8. 19 Aug, 2020 8 commits
  9. 18 Aug, 2020 2 commits
  10. 17 Aug, 2020 2 commits
    • Jérome Perrin's avatar
      base: don't check unicity when migrating Person.reference to user_id · 3ee1dfb0
      Jérome Perrin authored
      This activity is spawned on all nodes, which cause too many conflicts.
      We can take the risk here, assuming that references were already OK
      before migration.
      3ee1dfb0
    • Jérome Perrin's avatar
      base: introduce Person.initUserId · f8cd3922
      Jérome Perrin authored
      Person.setUserId does expensive checks to ensure that user ids are
      uniques, but the default id generator already guarantees unicity, so
      when default id generator is used we don't need Person.setUserId unicity
      checks.
      
      Now when generating user ids, we only consider user id conflict with existing
      users, because it's not so expensive and might still happen, for example if
      user ids have been migrated from person references when erp5_users PAS plugin
      was used.
      person.setUserId still performs the expensive checks to prevent duplications
      against other transactions using person.setUserId, but not against other
      transactions using person.initUserId
      f8cd3922