1. 24 Jan, 2025 2 commits
    • Jérome Perrin's avatar
      test: use assertCountEqual instead of assertItemsEqual · a16421be
      Jérome Perrin authored
      assertCountEqual is the new python3 name.
      
      Implement this in backportUnittest.py and also move the existing similar
      patches (assertRaisesRegex and assertRegex).
      a16421be
    • Vincent Pelletier's avatar
      Optimise security group generation performance · 3ae8d896
      Vincent Pelletier authored
      Improvements compared to the previous implementation:
      - avoid looking up the user document again, when the PAS plugin already did
        that job
      - make it possible to call a single script when multiple sources of groups
        are based on the same documents, avoiding iterating unnecessarily on
        those same documents multiple times
      - avoid repeating the same membership value (ex: when a user has multiple
        assignments with a common membership subset)
      - avoid resolving the same relation more than once
      - do not go from document value to relative URL only to go from relative
        URL back to document value at the next step
      - move security group id extraction to unrestricted python, as the security
        overhead was taking a large amount of time
      In a security setup with 8 scripts (all Assignment-based), 6 base
      categories, and 4 Assignments (all valid), this implementation is 10 times
      faster at producing the same group id set as the previous one.
      3ae8d896
  2. 23 Jan, 2025 2 commits
  3. 20 Jan, 2025 12 commits
  4. 08 Jan, 2025 1 commit
  5. 02 Jan, 2025 1 commit
  6. 31 Dec, 2024 1 commit
  7. 09 Dec, 2024 3 commits
  8. 05 Dec, 2024 1 commit
  9. 28 Nov, 2024 1 commit
  10. 26 Nov, 2024 1 commit
  11. 22 Nov, 2024 1 commit
  12. 21 Nov, 2024 1 commit
  13. 19 Nov, 2024 1 commit
  14. 07 Nov, 2024 2 commits
  15. 22 Oct, 2024 1 commit
  16. 16 Oct, 2024 1 commit
  17. 04 Oct, 2024 3 commits
  18. 01 Oct, 2024 1 commit
  19. 30 Sep, 2024 1 commit
  20. 27 Sep, 2024 1 commit
  21. 26 Sep, 2024 2 commits