- 25 May, 2016 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
* do not repeat columns in more columns * let listbox decide which columns are searchable / sortable * add owner_title in more column * add group more columns for all group calendar assignments columns ( I had to use the infamous isDelivery hack to make them searchable / sortable )
-
- 24 May, 2016 14 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Cédric Le Ninivin authored
/reviewed-on nexedi/erp5!110
-
Vincent Pelletier authored
getLocalRolesGroupIdDict is supposed to return sorted & cast allowed_roles_and_users value already. Also, use "x in y" pattern over y.has_key(x) for readability.
-
Vincent Pelletier authored
Fix a misnamed local. Use iteritems. Move variables next to the loop they act on. Rewrite comments to better reflect the intention when it is not obvious in the implementation. Move a loop-invariant out of loop ((user, role) not in optimized_role_set). Do not use set.update on an iterable constructed just for the call, call set.add on each item.
-
Vincent Pelletier authored
Global role computation is very expensive, don't do it when all we are interested in is user existence. Also, list all users having local roles in one call to reduce the effect of per-call overhead. This should improve indexation speed by a large fraction: pprofile statistical run on and activity node busy reindexing objects shows: - 57% of time spend generating (13%) and executing (44%) SQL - 42% of time spent preparing object for indexation: - 29% in _getSecurityParameterList, all in getUserById - 12% in getCatalogVariablesFor (workflow variables to index) So an improvement of close to 30% is expected.
-
Vincent Pelletier authored
Its parameter is a loop invariant, so avoid looking the same user up once per local role.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Also cleanup existing documents
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 23 May, 2016 6 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
Sometimes, we need to generate amounts with and without aggregation. With this new method, we avoid duplicate computation. The purpose is to generate amounts only once and
-
Julien Muchembled authored
-
Julien Muchembled authored
multiplyQuantity() is dead code since commit 74838d44
-
- 20 May, 2016 3 commits
-
-
Julien Muchembled authored
- In-browser jslint does not warn about it. - It's like C/C++ and 'gcc -Wall' does not warn either.
-
Julien Muchembled authored
Similar to commit e1d57590
-
Romain Courteaud authored
This restore the previous behaviour which has been dropped by nexedi/erp5@63c3da2b Because getSecurityManager().getUser() always returns "Anonymous User" when Base_getAutoLogoutSessionKey is called (from CookieCrumbler.modifyRequest), all users were sharing the same session which leads to user being all the time logged out.
-
- 19 May, 2016 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Georgios Dagkakis authored
User may lose test if he/she continues on typing
-
- 18 May, 2016 2 commits
-
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
When used, it will crop the image around the center to the expected size
-
- 17 May, 2016 2 commits
-
-
Tristan Cavelier authored
/reviewed-on !117
-
Vincent Pelletier authored
Makes future table structure changes easier.
-
- 13 May, 2016 3 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
instead of class gadget field
-
Tristan Cavelier authored
-
- 12 May, 2016 4 commits
-
-
Julien Muchembled authored
- Respect run_only/remote_code_url_list if given. - When page templates have errors, there may be no Zuite Results, in which case testFunctionalTestRunner waits forever, until it gets killed (after a few hours). It's easier to fix this issue by check PT at the beginning of testFunctionalTestRunner, instead of doing it in a separate test method.
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Tristan Cavelier authored
The validation state "hidden" put a class "hidden" on the field. And then field was hidden. 8ba29de3 /reviewed-on nexedi/erp5!113
-