- 09 Aug, 2018 3 commits
-
-
Ayush Tiwari authored
[erp5_web_renderjs_ui_test] Update test for Historical Revision Link so as not to display empty diffs This change is based on the change in DiffTool: 610a15b3 where we don't display diffs for data types whose value is None, '' or empty data types.
-
Vincent Pelletier authored
-
Tristan Cavelier authored
-
- 08 Aug, 2018 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
When the listbox is in 'select' mode, lines are by default unselected. Then, user can decide if he want to include/exclude selected lines. Merge nearly identical listbox handlebars template. Fix display of the selection checkbox on mobile. Use label to render cell subgadget, so that clicking on the text modify the checkbox state. Keep full text search at the end when including/excluding. Use data- attribute to store the checkbox uid. Change cursor for listbox line label.
-
Romain Courteaud authored
User text query is always considered as an argument of an AND complex query.
-
- 07 Aug, 2018 2 commits
-
-
Ayush Tiwari authored
Diff Tool: Redirect to the context in case there is selection of more or less than 2 objects in a module for diff Also, update portal action regarding the module selection and add tests
-
Ayush Tiwari authored
[erp5_core] DiffTool: Raise error in case the selection for diff in a listbox has object not equal to 2
-
- 06 Aug, 2018 1 commit
-
-
Ayush Tiwari authored
-
- 03 Aug, 2018 6 commits
-
-
Ayush Tiwari authored
Change in tests based on change in DiffTool in commit: 610a15b3
-
Ayush Tiwari authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
- 02 Aug, 2018 1 commit
-
-
Ayush Tiwari authored
Because of recursive diff for iterables which provides with ugly unified_diff, we patched the DeepDiff class to treat iterables as string itself and then generate a unified diff which could be displayed in ERP5.
-
- 01 Aug, 2018 2 commits
-
-
Sebastien Robin authored
-
Ayush Tiwari authored
-
- 31 Jul, 2018 9 commits
-
-
Ayush Tiwari authored
ERP5 Diff Tool is used to get beautified diff between any 2 ERP5 objects as well as different revisions of a single ERP5 object **(both in XHTML as well as renderJS UI)** This would be helpful in: -------------------------------- - ZODB History Tab to check the edit workflow history. - Revision of the ERP5 object, for example: web pages, documents, etc - Business Template installation Diff Tool will also make it able to patch one ERP5 object from the diff *(for version 1, we only patch objects which are of same portal type)*. The current version of Diff Tool uses `deepdiff` python library which provides us with patch which can complies(not completely) with CRDT datatype, thanks to which patch application can be less painful. Diff Tool is able to differentiate between the diff according to type of user, for example, we do not want a normal user to be looking at diff of some internal properties of object(for ex: workflows), but for a developer user, we are fine with it. How we calculate the Diff of any two objects: ----------------------------------------------------------- 1. Convert the objects to their JSON format. 2. Use `deepdiff` to find out the diff for the 2 JSON objects. 3. Return a beautified JSON Diff ### NOTE: This MR succeeds the MR related to create correct URL for History tabs: !695 !683 TODO: -------- - [x] Add tests for beautified diff and patch. - [x] Diff tool should be working in new UI. - [x] Fix the pagination. Example Diff Tool in both UIs: -------------------------------------- ![XHTML UI Diff](/uploads/846b6b7806939a64922e364d309c028c/Screenshot_2018-07-04_at_6.07.46_PM.png) ![renderJS UI Diff](/uploads/ae7021fbf9cf9f952a7d2d4044df8a78/Screenshot_2018-07-05_at_10.34.01_AM.png) /reviewed-on nexedi/erp5!686
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Tristan Cavelier authored
Fit test to new expected behavior.
-
Vincent Bechu authored
This reverts commit 1b087745 /reviewed-on nexedi/erp5!718
-
Vincent Bechu authored
This reverts commit 7439ab8e /reviewed-on !717
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!716
-
- 27 Jul, 2018 2 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
Before, when solving a solver, parsing sub objects of solver_process was done directly synchronously in solver_workflow. And we had the case where you have parallel transactions solving a solver, each of theses transactions see remaining solver not in solved state, but once all transaction are finished, all solver are solved. This could lead to the case where solver_process is never moved to succeeded. Instead of using serialize (which may lead to conflicts), just use activities in queue with a serialization tag.
-
- 26 Jul, 2018 1 commit
-
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!714
-
- 25 Jul, 2018 2 commits
-
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!697
-
Arnaud Fontaine authored
-
- 24 Jul, 2018 1 commit
-
-
Valentin Benozillo authored
/reviewed-on nexedi/erp5!713
-
- 19 Jul, 2018 1 commit
-
-
Tristan Cavelier authored
-
- 17 Jul, 2018 3 commits
-
-
Roque authored
-
Georgios Dagkakis authored
of Free Subscription Request module and FreeSubscription_viewFreeSubscriptionRequest view of Free Subscription
-
Roque authored
-
- 13 Jul, 2018 1 commit
-
-
Jérome Perrin authored
Extend`FTPConnector.listFiles` to sort files based on some server-side computed attributes of files. This uses [`listdir_attr`](http://docs.paramiko.org/en/2.4/api/sftp.html#paramiko.sftp_client.SFTPClient.listdir_attr) method of paramiko. `sort_on` parameter is directly attributes of [`paramiko.sftp_attr.SFTPAttributes`]( http://docs.paramiko.org/en/2.4/api/sftp.html#paramiko.sftp_attr.SFTPAttributes). At the same time, adds a minimal tests, that will only run if `testSFTPConnection_SFTP_URL` environment variable is set to an URI of a running sftp server supporting password authentication - which means that in our current tests infrastructure it will not run. /cc @vpelletier @aurel @rafael /reviewed-on nexedi/erp5!680
-