- 23 Oct, 2007 26 commits
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17133 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17132 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17131 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17128 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17127 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17126 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17125 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17124 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17123 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
* remove an unused call to object.getPath() * only calculate object.getPortalType() if type_list is empty * store portal_catalog in a variable instead of doing the getattr inside the loop git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17122 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17121 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17120 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
without introducing unneeded diffs. Fix the bug where results are not properly separated by local roles when mutilple worklists exist for the same role (causing worklists to appear as containing too many documents). Implies: Expand security at groupWorklistListByCondition level. Handle each security-related catalog column as a distinct worklist combination of worklist parameters. (for example, a worklists with local roles Owner and Assignor would require a match on both the "owner" and the "security_uid" catalog columns). Implies: Each security criterion must be used once positively and negatively thereafter to prevent a line from matching multiple queries. Implies: Implement ExclusionList and ExclusionTuple, two dummy classes to contain criterions to be negated in queries (as in 'NOT IN ...' instead of 'IN ...'), and use them in groupWorklistListByCondition and generateNestedQuery. Security criterions must be part of the match when summing up all results Implies: Sums must be done across multiple loops in worklist_list_grouped_by_condition. Separate metadata from worklist grouping by criterion, so that suming- up worklists results can be done in one run. Implies: workflow_worklist_key is now computed early in groupWorklistListByCondition. generateActionList now takes a non-grouped metadata dict and is only run once. Update groupWorklistListByCondition docstring. Remove unneeded checks for SECURITY_PARAMETER_ID, WORKLIST_METADATA_KEY and INTERNAL_CRITERION_KEY_LIST. Remove now unused INTERNAL_CRITERION_KEY_LIST global. Remove unused generateQueryFromTuple method. Remove unused securityQueryHook local method, instead getSecurityUidListAndRoleColumnDict is passed at groupWorklistListByCondition level. Finally, re-enable worklist optimisation monkey patch. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17119 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
from an "executable" (restricted python) without proxy role. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17118 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
Clean modules in tear down, not in next test, otherwise it will fail if you only run this next test. Note pystones on test machine, can be usefull someday for comparision git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17117 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17116 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17115 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17114 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17113 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17112 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
if isMethodFiltered(method_name) returns true, it implies that filter_dict.has_key(method_name), not need to do the check twice git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17111 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17110 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Mame Coumba Sall authored
* add setPreferredListboxListModeLineCount(10) to ListBoxZuite_reset to diplay the correct lines number git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17109 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17108 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17107 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Oct, 2007 14 commits
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17106 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17105 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17104 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17103 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
- implies removing the global dict used in ActivityBuffer to avoid duplicated activity insertion. - implies that ActivityBuffer is boud to a thread (because of get_ident) and not to a connection any more (because volatile is bound to a connection), so persistent objects must not be held outside transaction scope (the maximum scope at which a connection is bound to a thread) - implies modifying hook registration so that portal_activities is passed as a parameter to tpc_prepare - implies overloading partially TM._register method to take activity_tool as a parameter git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17102 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17101 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17100 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
ERP5. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17099 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17098 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17097 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
Copy description from Task. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17096 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17095 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17094 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17093 20353a03-c40f-0410-a6d1-a30d3c3de9de
-