- 27 May, 2016 2 commits
-
-
Romain Courteaud authored
Person.getTitle used to return first/last name properties when defined, as the title property was always dropped. This fixes nexedi/erp5@2155dbf5
-
Douglas authored
Please, review this: @Tyagov, @kirr and @tatuya. ## Kernel improvements: * Automatically render last-returning objects as HTML through "processors" - These so called "processors" are classes responsible for rendering certain objects as HTML depending on their type - The user can add his own customized processors, either by editing the JupyterCompile extension itself or using the variable `_processor_list` in the code cells ## ERP5 Jupyter kernel integration with [PivotTableJs](https://github.com/nicolaskruchten/pivottable) * Implemented as an external method that receives a Pandas.DataFrame as parameter, along with the url of the ERP5 instance (is there a way to detect this instead of hardcoding all the time?) * Works through an IPython.lib.display.IFrame object, that is added to the result of the code cell. Inside this IFrame the pivot table will be rendered with data from the DataFrame * The IFrame is stored/hosted in the (volatile, for now) memcached sever of the instance, using his own HTML representation as key and accessed through a Script (Python) object ## Notes There's more detailed information about the implementation in the commit messages and a little bit more in comments inside the JupyterCompile extension, where the kernel lives. The demo web page included in the bt5 will only work if the Wendelin software release is installed, as it depends partially on things from the ERP5 repository and part from things on the following merge request to Wendelin: nexedi/wendelin!10 . Should I move it there or keep it here? ~~I'm still refactoring to completely remove those global variables from the code. Will add the commit here ASAP.~~ Global variables completely removed! /reviewed-on nexedi/erp5!63
-
- 26 May, 2016 1 commit
-
-
Douglas authored
This is the proper way to refer to the URL on which ERP5 is being served.
-
- 25 May, 2016 9 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
[erp5_data_protection] Drop filename too, to prevent triggering guess mime type interaction workflow which run with user permission
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
erp5_officejs: No Default jIO storage and Redirect to jio configurator if no storage is defined on jIO call
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
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 1 commit
-
-
Cédric Le Ninivin authored
-