An error occurred fetching the project authors.
- 29 Jan, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 08 Nov, 2014 1 commit
-
-
Kazuhiko Shiozaki authored
* to quickly setup catalog_full_text table, you can use the following SQL. REPLACE INTO catalog_full_text SELECT uid, title, description FROM catalog; * non fulltext queries like '=abc', '>abc', '%abc%' are supported. * now erp5_full_text_mroonga_catalog is used for unit tests thus I recommend using it instead of erp5_full_text_myisam_catalog. * to migrate existing MyISAM full_text table into Mroonga, you can use the following SQL. ALTER TABLE full_text DROP KEY SearchableText, ENGINE = mroonga, ADD FULLTEXT KEY SearchableText (`SearchableText`) COMMENT 'parser "TokenBigramSplitSymbolAlpha"'; * fulltext search score is no longer provided as (column_name) but now provided as (column_name)__score__. * (category)_title, like source_title, related keys are automatically generated. (category)_description keys as well.
-
- 16 Oct, 2014 1 commit
-
-
Julien Muchembled authored
-
- 08 Sep, 2014 2 commits
-
-
Vincent Pelletier authored
_searchAndActivate typically calls callMethodOnObjectList with paths as parameter. The result is that each listed document is loaded, which may not be required or desired. select_method_id avoids this loading by calling method_id once per packet_size with a list of values extracted from catalog result as (first) argument.
-
Vincent Pelletier authored
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 30 Apr, 2014 3 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Also, factorise related key string generation.
-
Vincent Pelletier authored
Also, use xrange as it's faster than range even for short sequences.
-
- 19 Mar, 2014 1 commit
-
-
Julien Muchembled authored
Because the method internally overrode 'uid' after the first group of objects, passing a list of uids could make it go berserk and activate all objects in catalog with an uid greater than those of the first group. Although searchAndActivate was not initially written to be called with such list, this commit fixes this instead of forbidding conditions on 'uid', since it remains useful to easily split & group activities.
-
- 10 Mar, 2014 3 commits
-
-
Jérome Perrin authored
When a portal type acquire role, it should place the role definitions in the same local role group ids
-
Jérome Perrin authored
This reverts commit 1e90e4f8. missing commit message
-
Jérome Perrin authored
-
- 21 Jan, 2014 1 commit
-
-
Julien Muchembled authored
-
- 19 Aug, 2013 1 commit
-
-
Julien Muchembled authored
-
- 23 May, 2013 1 commit
-
-
Jérome Perrin authored
-
- 27 Mar, 2013 1 commit
-
-
Vincent Pelletier authored
try..except is significantly slower than getattr with default value when an exception is raised. defaultdict is faster than calling setdefault. The two other try..except blocks need more careful analysis of typical hit-rates to tell if they are optimal.
-
- 12 Jul, 2012 5 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
Adjust tests as local roles structure changed.
-
Ivan Tyagov authored
Avoid to catalog some special roles like Owner (defined in getSQLCatalog().getSQLCatalogRoleKeysList()). As __ac_local_roles_group_id_dict__ changed its structure to 'local_group_id': ['Role'] (just the opposite) adjust test as well.
-
Ivan Tyagov authored
-
Ivan Tyagov authored
not pollute with more than required rows table roles_and_users. As result this will increase a bit object database.
-
- 27 Jun, 2012 1 commit
-
-
Ivan Tyagov authored
Try to support migration of old instances (containing old erp5_property_sheets) with recent products. This is especially visible with BusinessTemplate property sheet when new filesystem versions require an up to date erp5_property_sheets bt5 which itself can not be installed.
-
- 22 Jun, 2012 1 commit
-
-
Ivan Tyagov authored
-
- 21 Jun, 2012 1 commit
-
-
Jérome Perrin authored
-
- 02 Jun, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
commit 2ba8fb59b67cda4a35bda5ee809ac0dd6af40d84 Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri Jun 1 23:26:30 2012 +0200 if the activity is called by super user, it should be invoked with the same permission as UnrestrictedMethod. commit f63c2e8625934d0a5a056e933f4c7215098bfa1b Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri Jun 1 15:58:41 2012 +0200 use UnrestrictedMethod's super user instead of ad-hoc SUPER_USER. commit 965460b092967bc3ada3ee7268e1f942fc770efd Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri Jun 1 15:57:45 2012 +0200 security query for super user should be simply empty. commit 6d519b78f52f1a631d6663ee5594ae92a0730cc3 Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri Jun 1 15:37:33 2012 +0200 support both ERP5Security's SUPER_USER and UnrestrictedMethod's super user. commit 21431518b821a5e2756caad5393fc746bed79d36 Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri Jun 1 15:32:45 2012 +0200 make sure that SUPER_USER can access the object explicitly, that can be required with erp5_web. commit 63279ac74cbb40e520da36571927bfdee5af5e05 Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri Jun 1 15:27:00 2012 +0200 use UnrestrictedMethod instead of ad-hoc SUPER_USER, still keeping SUPER_USER for compatibility.
-
- 09 May, 2012 3 commits
- 04 May, 2012 2 commits
- 20 Sep, 2011 1 commit
-
-
Julien Muchembled authored
-
- 02 Aug, 2011 3 commits
-
-
Julien Muchembled authored
This softens dependency to activate more objects even in case of failed activities. The downside is that 'activity_count' can't be used to limit the number of processing nodes.
-
Julien Muchembled authored
- reduce probability and cost of ConflictError by posting the activity result by activity - do not post None (to force it, it's still possible to forge an ActiveResult object containing the None value) - allow grouped messages to post results (previous implementation was not working, and this required to change the API of grouping methods)
-
Julien Muchembled authored
-
- 28 Jul, 2011 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 26 Jul, 2011 2 commits
-
-
Leonardo Rochael Almeida authored
This parameter comes from catalog_join branch,where it is used to pass a marker value (equivalent to an " AND " from SQL point of view).
-
Vincent Pelletier authored
catalog_join branch's code relies on this join condition ordering. This simplifies template a bit (we don't generate slot names dynamically) but makes variable meaning more obscure.
-
- 25 Jul, 2011 2 commits
-
-
Vincent Pelletier authored
Also, in RelatedBaseCategory, move most computation cost from call-time to construction-time.
-
Vincent Pelletier authored
-