1. 19 Dec, 2017 3 commits
    • Vincent Pelletier's avatar
      all: Avoid most direct calls to {recursiveI,i}mmediateReindexObject · 59e7ed29
      Vincent Pelletier authored
      These methods must not be called synchronously:
      - they can break catalog by not being careful enough about other
        reindexations which may happen in parallel. See the serialization_tag
        mechanism for more.
      - indexation gets executed in the security context of the user causing the
        call, which may lead to an indexation result different from what happens
        when indexation happens with an all-accesses user.
      59e7ed29
    • Vincent Pelletier's avatar
      Folder: add reindex_on_commit argument to newContent · 2e35fa17
      Vincent Pelletier authored
      To remove the need to directly call immediate reindexation methods,
      allowing to prevent further misuses of these.
      2e35fa17
    • Vincent Pelletier's avatar
      ERP5Type: Assorted cleanups around indexation methods. · a5e91ad3
      Vincent Pelletier authored
      Do not check portal's isIndexable, it is checked again in ZSQLCatalog.
      Directly bind superclass callable instead of doing an extra getattr +
      call.
      Trivial python simplifications.
      Assorted coding style improvements.
      Drop unhelpful comments and docstrings.
      a5e91ad3
  2. 14 Dec, 2017 1 commit
  3. 13 Dec, 2017 4 commits
  4. 12 Dec, 2017 6 commits
  5. 11 Dec, 2017 12 commits
  6. 08 Dec, 2017 2 commits
  7. 07 Dec, 2017 7 commits
  8. 06 Dec, 2017 1 commit
  9. 05 Dec, 2017 3 commits
  10. 04 Dec, 2017 1 commit