- 17 Jun, 2019 1 commit
-
-
Jérome Perrin authored
https://microsoft.github.io/monaco-editor/ as an ERP5 source code editor. /reviewed-on nexedi/erp5!687
-
- 13 Jun, 2019 1 commit
-
-
Sebastien Robin authored
-
- 12 Jun, 2019 2 commits
-
-
Vincent Pelletier authored
Simplifies activity spawning when dependencies are conditionally set: activate( after_tag=some_value if some_condition else None, ) instead of having to do a ** dance. All columns involved in dependency checking are declared NOT NULL, so providing "None" and expecting a dependency to happen was already not working. This change pushes this one step further by allowing activity auto-validation also happen on these activities. Also, simplify getOrderValidationText: avoid iterating on keys and then retrieving values, use a list-comprehension, simplify condition. Add a test for after_tag, also covering activity auto-validation.
-
Arnaud Fontaine authored
Unit Tests: login*() with a non-ERP5TypeTestCase user was adding ERP5TypeTestCase user anyway and failure was silently ignored.
-
- 11 Jun, 2019 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
checkValidity calls getContent, which uses the same mutex
-
- 10 Jun, 2019 1 commit
-
-
Tristan Cavelier authored
-
- 07 Jun, 2019 8 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Improve the query speed by using the default listbox sort.
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Romain Courteaud authored
OfficeJS's user blocking third party cookie will at least stop entering their credentials many times for nothing
-
Romain Courteaud authored
Followup of nexedi/erp5@340accd1
-
Romain Courteaud authored
-
Vincent Pelletier authored
-
- 06 Jun, 2019 7 commits
-
-
Valentin Benozillo authored
Conflicts: bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
-
Jérome Perrin authored
In ERP5 software release we now have `mock` egg installed, so we can use it in tests instead of doing manually like this: ```python saved_method = Class.method def patched_method(): ... try: Class.method = patched_method ... finally: Class.method = saved_method ``` /reviewed-on !882
-
Romain Courteaud authored
-
Romain Courteaud authored
Change the caching policy to one hour. Use the CDN to publish the page if the backend is down Cache the manifest like the HTML page but force refreshing the manifest to prevent CDN cache inconsistency.
-
Romain Courteaud authored
Defining it inside portal_components ledds to business template update issue. Bypass it by defining the expected behaviour into the web section hook.
-
Romain Courteaud authored
Allow the CDN to cache the content. Use stale_if_error to allow the CDN to return content if backend is down Unify Vary Header.
-
Xiaowu Zhang authored
-
- 05 Jun, 2019 1 commit
-
-
Vincent Pelletier authored
erp5_banking_cash depends from erp5_trade via erp5_banking_core.
-
- 04 Jun, 2019 1 commit
-
-
Jérome Perrin authored
Gadgets: * Support `changed` flag from `erp5.js`: ![unsaved changes sreenshot](/uploads/cff30eae0a5d87df26bac13d43e1da3f/image.png) * Comply with translation protocol used in ERP5JS. This does not translate, because it would not be easy ( ERP5JS translate client side with a json database of message, but in xhtml style the translation is performed server side with localizer) and not so important now. What matters is just that we can somehow reuse gadgets. Style: * While we are at it, fix a minor annoyance that the button in "long" dialogs where not easy to reach, at least on chrome ![before](/uploads/e03a8311571806a55fd72f6923cf855a/Screenshot_2019-05-31_at_10.38.05.png) ![after](/uploads/5753bc44fbc0f69b6adfeb14b3367236/Screenshot_2019-05-31_at_10.38.37.png) /reviewed-on nexedi/erp5!880
-
- 03 Jun, 2019 16 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Remove all globals to allow multiple live tests running on the same page. Stop reading the test output if the browser tab doesn't have the focus. Stop hardcoding the URL in the javascript. Stop hardcoding other fields path in the javascript (+ embed the textarea in the gadget). Propagate all parameters via formulator. It will allow to use this gadget from another context document. Run live test from the RJS UI
-
Jérome Perrin authored
This way we can use gadgets using of ERP5JS translation API in xhtml style. This is really minimal compatibility layer and translation is not actually performed.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Because typescript is a subset of javascript, running typescript compiler on javascript files can already report several issues. https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html
-
Jérome Perrin authored
This is triggered by using "Format document" from context menu. Include prettier 1.14.0 Copyright 2017-2018 James Long https://github.com/prettier/prettier/
-
Jérome Perrin authored
-
Jérome Perrin authored
because gadget_editor.js was changed
-
Jérome Perrin authored
So that we can edit web pages & web scripts with monaco
-
Jérome Perrin authored
So that javascript editor provides hints for code using these libraries. Some pointers for type scripts definitions: https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html https://definitelytyped.org/
-
Jérome Perrin authored
-
Jérome Perrin authored
In the previous approach, several "useless" request were still made during edition.
-
Jérome Perrin authored
-
Jérome Perrin authored
https://microsoft.github.io/monaco-editor/ as an ERP5 source code editor this commit is only a build of the vendor code. It was built using https://lab.nexedi.com/jerome/monaco-editor-erp5/ at revision b1ecc18f and uploaded to ERP5 following this procedure: First enable webdav by adding in zope conf: ``` <webdav-source-server> address 127.0.0.1:12200 force-connection-close off </webdav-source-server> ``` This was built and uploaded to ERP5 with: ```bash git clone https://lab.nexedi.com/jerome/monaco-editor-erp5.git/ cd monaco-editor-erp5 npm npm run build lftp http://login:pwd@127.0.0.1:12200/erp5/portal_skins/erp5_monaco_editor/monaco-editor/ -e 'mput dist/*' ```
-
Vincent Pelletier authored
Sorting in a module is terrible for performance as soon as there is more than a trivial amount of documents in that module.
-