- 24 Oct, 2007 11 commits
-
-
Jérome Perrin authored
Due to daylight saving, GMT DateTime('2007/10/24') + 5 != DateTime('2007/10/29') because both dates are not in the same timezone, so compare .Date() instead of exact date git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17164 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17163 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17162 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17161 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
Configure task_report_module_person_domain as default report root in TaskReportModule_viewPlanningReport. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17160 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
put only the 'Owner' local role, as all security is managed with local roles. Now it returns a user id with Owner local role, if Owner role as view permission. (this is somehow undefined if you have more than one user with Owner local role, but I doubt you want this) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17159 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17158 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17157 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
Allow to PUT anything inside portal_contribution. Don't check for portal_trash here, I guess nobody uses webdav in portal_trash. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17156 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17155 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17154 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Oct, 2007 29 commits
-
-
Sebastien Robin authored
commit new value in order to see new decrease of performance, more work will be required in order to improve performance and decrease values again git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17153 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17151 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17143 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17142 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17141 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17140 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
This commit adds a new method as well, but it is not in use yet. It could be used to increase the performance of an installation, but the design is not finished, so not used yet. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17139 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
Base_download was getting RESPONSE from RESPONSE but anyway if you go in this branch, it's likely because hasattr is false due to Unauthorized git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17138 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
Document_checkConversionFormatPermission: make sure Owner can get his own document in original format Document_convert: honor getSourceReference to set the returned filename git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17137 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
add test to make sure Members can download a pdf version of a published document add test to make sure Owner can download his own document in original format git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17136 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
print a better message (ie. do not display "None" format) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17135 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
modify to have an empty item in the list to permit to chose nothing in a multilist field instead of have the path of the base category git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17134 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
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
-