An error occurred fetching the project authors.
- 26 Apr, 2022 1 commit
-
-
Arnaud Fontaine authored
-
- 12 Jan, 2021 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 30 Sep, 2019 1 commit
-
-
Nicolas Wavrant authored
-
- 23 Oct, 2018 1 commit
-
-
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.
-
- 04 Oct, 2018 1 commit
-
-
Vincent Pelletier authored
-
- 14 Aug, 2018 1 commit
-
-
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.
-
- 03 Jul, 2018 1 commit
-
-
Vincent Pelletier authored
Allows having a more consistent API between this tool and all other Nexedi-maintained tools.
-
- 07 Feb, 2018 1 commit
-
-
Vincent Pelletier authored
Also, reorder imports to follow python style: standard modules before others.
-
- 15 Sep, 2017 1 commit
-
-
Vincent Pelletier authored
This way it is easier to further extend it without risking key conflicts in catalog parameters, which in turn would either lead to simple TypeErrors ("multiple values for parameter ...") or to criterion being accidentally ignored. Update callers. These methods are young enough that no other callers should exist yet.
-
- 27 Jul, 2017 2 commits
-
-
Vincent Pelletier authored
Writing SQL belongs to catalog.
-
Vincent Pelletier authored
The main purpose is to stop calling buildSQLSelector so it can be removed. Remove Base_zSearchRelatedObjectsByCategoryList. Also, discard a superfluous comment in testArchive which references the discarded ZSQLMethod, for consistency. Fixes an existing failure in testArchive.
-
- 28 Jun, 2017 1 commit
-
-
Vincent Pelletier authored
To prepare for extension.
-
- 06 Jan, 2017 2 commits
-
-
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.
-
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.
-
- 21 Dec, 2016 1 commit
-
-
Vincent Pelletier authored
Also, stop passing ignored "spec" parameter.
-
- 13 Jun, 2016 1 commit
-
-
Julien Muchembled authored
- 'apply' causes a break in cProfile results - 'apply' is deprecated (removed in Python 3)
-
- 05 May, 2016 1 commit
-
-
Julien Muchembled authored
-
- 29 Apr, 2016 1 commit
-
-
Julien Muchembled authored
About getSingleCategoryAcquiredMembershipList, getPhysicalPath is so slow that that cache was useless.
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 10 Apr, 2014 1 commit
-
-
Julien Muchembled authored
'display_id' expects a property name and 'display_method' a method name
-
- 13 Aug, 2013 1 commit
-
-
Jérome Perrin authored
-
- 17 Jun, 2013 1 commit
-
-
Aurel authored
-
- 25 Jan, 2013 7 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
- duplicated default categories were dropped when the list of categories was passed without their base categories - accept any iterable for 'category_list'
-
Julien Muchembled authored
-
- 20 Mar, 2012 1 commit
-
-
Ivan Tyagov authored
>> document.setMyCategoryList([None]) >> document.getMyCategory() >> 'None'
-
- 03 May, 2011 1 commit
-
-
Kazuhiko Shiozaki authored
Even if region is a sub Category of Base Category region, relative Url must be stripped, because the behaviour should be stable regardless of such category existence and it is also good for performance. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45789 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Apr, 2011 2 commits
-
-
Nicolas Delaby authored
stored category value are like 'region/region/west'. This can be worse when base_category id is 'resource', because 'resource' is also a namespace adapter in z2.12. So TraversalableHandler returns a non expected object and keep objects to be correctly indexed. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45575 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45574 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Mar, 2011 1 commit
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43874 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Feb, 2011 1 commit
-
-
Arnaud Fontaine authored
designed to handle synchronization problems between 2 ERP5 systems however the logic of synchronization should be handled by conduits and not by accessors git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43653 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 26 Nov, 2010 1 commit
-
-
Arnaud Fontaine authored
consider that this is a tuple whereas it could also be a list) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40752 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Oct, 2010 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39042 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Sep, 2010 2 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38367 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
Amendment to r37321, instead of displaying the wrong values in the exception text, use __traceback_info__. This is mostly to make the test pass again git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38339 20353a03-c40f-0410-a6d1-a30d3c3de9de
-