An error occurred fetching the project authors.
  1. 26 Apr, 2022 1 commit
  2. 12 Jan, 2021 2 commits
  3. 30 Sep, 2019 1 commit
  4. 23 Oct, 2018 1 commit
    • Vincent Pelletier's avatar
      CMFCategory: Do not use __getitem__ to access a subobject. · 97480b84
      Vincent Pelletier authored
      It is extremely slow for some reason on large BTreeFolders inside
      BTreeFolder2's has_key (even on warm caches). Using get instead is
      significantly faster.
      Found by chance, calling getAcquiredCategoryList on a random Person when
      person_module contains of the order of magnitude of a million documents.
      97480b84
  5. 04 Oct, 2018 1 commit
  6. 14 Aug, 2018 1 commit
    • Jérome Perrin's avatar
      CMFCategory: do not store self membership of categories · e0e16129
      Jérome Perrin authored
      CategoryTool.getCategoryList dynamically returns categories as member of
      themselves, but there were cases (for example after changing id) where
      the membership happens to be saved in `categories` attribute and later
      caused problems after clones or renames.
      To prevent these problems, CategoryTool._setCategoryList detects the
      membership to self and does not save it as part of .categories
      
      Remove no longer needed after clone script.
      
      Remove tests which no longer makes sense now that setCategoryList does
      not add membership to self.
      e0e16129
  7. 03 Jul, 2018 1 commit
  8. 07 Feb, 2018 1 commit
  9. 15 Sep, 2017 1 commit
  10. 27 Jul, 2017 2 commits
  11. 28 Jun, 2017 1 commit
  12. 06 Jan, 2017 2 commits
    • Vincent Pelletier's avatar
      CMFCategory: Do not index any Base Category as a related document. · 95e3eaec
      Vincent Pelletier authored
      Without this change, "source/a/b" in non-strict mode indexes:
        (document.uid, source.uid, b.uid, 1)
        (document.uid, source.uid, a.uid, 0)
        (document.uid, source.uid, source.uid, 0)
      This last line does not contain anything which cannot be found by looking
      at the base category uid column, so it is wasting disk (and index) space,
      costing performance.
      But keep indexing a Base Category document if is it not the base category
      for considered relation. It is not clear whether stopping indexation at the
      first encountered Base Category document is intentional, or if recursion
      should only stop when reaching the base category of considered relation.
      With this change, "source/a/b" in non-strict mode indexes:
        (document.uid, source.uid, b.uid, 1)
        (document.uid, source.uid, a.uid, 0)
      removing the redundancy.
      95e3eaec
    • Vincent Pelletier's avatar
      CMFCategory.CategoryTool: Stop using selection_{report,domain} · 2b20a1d8
      Vincent Pelletier authored
      It is overkill, and is likely slower than just passing the needed
      values straight to catalog.
      Also, rely on duck-typing instad of portal-type-testing.
      Also, drop unused "spec" and "filter" arguments.
      Also, expose strict{,_membership} used arguments, simplifying code.
      Keep catchall **kw for compatibility.
      2b20a1d8
  13. 21 Dec, 2016 1 commit
  14. 13 Jun, 2016 1 commit
  15. 05 May, 2016 1 commit
  16. 29 Apr, 2016 1 commit
    • Julien Muchembled's avatar
      Small optimizations · e140c3f8
      Julien Muchembled authored
      About getSingleCategoryAcquiredMembershipList, getPhysicalPath is so slow that
      that cache was useless.
      e140c3f8
  17. 04 Sep, 2014 1 commit
  18. 10 Apr, 2014 1 commit
  19. 13 Aug, 2013 1 commit
  20. 17 Jun, 2013 1 commit
  21. 25 Jan, 2013 7 commits
  22. 20 Mar, 2012 1 commit
  23. 03 May, 2011 1 commit
  24. 19 Apr, 2011 2 commits
  25. 02 Mar, 2011 1 commit
  26. 24 Feb, 2011 1 commit
  27. 26 Nov, 2010 1 commit
  28. 12 Oct, 2010 1 commit
  29. 14 Sep, 2010 2 commits