- 19 Dec, 2019 27 commits
-
-
Yusei Tahara authored
[erp5_web_renderjs_ui] Update service worker code. Client_id is null when it is the first request, in other words if request is navigate mode. Since major web browsers already implement client_id, if client_is is null, let's use the latest cache and don't get cache_key from CACHE_MAP and erp5js_cache.
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Yusei Tahara authored
[erp5_web_renderjs_ui] If service worker failed to install cache, unregister this service worker explicitly.
-
Yusei Tahara authored
-
Yusei Tahara authored
The name must be different per web site, else if the same service worker code is used by multiple web sites in ERP5 web site module, service worker does not work correctly.
-
Yusei Tahara authored
[erp5_web_renderjs_ui] Fix translation script. Get service worker filename from layout property. Don't hardcode it.
-
Yusei Tahara authored
[erp5_web_renderjs_ui] New client can use the latest cache without waiting for the new service worker to be activated. And once client was associated with a cache, client keeps using the same cache.
-
Yusei Tahara authored
To preserve the consistency of code and data, let the new service worker wait until all tabs and windows of the old version are closed.
-
Yusei Tahara authored
Don't give request object itself to cache.match. Firefox's Cache Storage does not work properly when VARY contains Accept-Language. Give URL string instead, then cache.match works on both Firefox and Chrome.
-
Yusei Tahara authored
[erp5_web_renderjs_ui] Fix rjs_gadget_erp5_serviceworker.js. Use cache.add because safari does not support cache.addAll.
-
Yusei Tahara authored
Collect a list of files from service worker code.
-
Romain Courteaud authored
-
Romain Courteaud authored
Fetch usage can be bypassed to do not use service worker when not needed. As appcache has been dropped on Firefox, this change will improve the speed on Firefox. No change is expected on Chrome/Safari.
-
Arnaud Fontaine authored
ZODB Components: Preparation of erp5_base migration from FS: Fix pylint unbalanced-tuple-unpacking warning.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
ZODB Components: Preparation of erp5_base migration from FS: Fix pylint unused-import and unused-variable warnings.
-
Ivan Tyagov authored
-
Ivan Tyagov authored
New workflow actions added in 67f58b5b and b3dc32f5 thus adjust accordingly.
-
Ivan Tyagov authored
-
Jérome Perrin authored
/reviewed-on nexedi/erp5!996
-
Jérome Perrin authored
Folder_getDeleteObjectList could do an extra paranaoïa check that the caller did not pass an empty list of uids, because this would cause the script to iterate on the full catalog table.
-
Jérome Perrin authored
We now have getRelationCountForDeletion API for this.
-
Jérome Perrin authored
The general approach is: - replace deprecated lambdas with list comprehensions - remove unused variables/imports - replace dangerous arguments [] with () - replace dangerous arguments {} with None and "if None -> {}" - replace builtin names with something similar Now that all problems reported by pylint are fixed, enable coding style test.
-
Jérome Perrin authored
This was not valid HTML5: AssertionError: Using nu validator to parse the view "SQLMethod_view" (from erp5_core bt) with warnings displayed : Error: line 782 column 23 : Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.): </script> <style type="text/css"> .cm Error: line 822 column 23 : Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.): script> <style type="text/css"> .max
-
Jérome Perrin authored
This fix a regression from 920655a2 : when item has no tracking, uid was passed an empty list and this fetched all catalog. Also call getObject explicitly only once instead of having it called implicitly twice.
-
- 18 Dec, 2019 5 commits
-
-
Thomas Gambier authored
/reviewed-on !988
-
Romain Courteaud authored
-
Jérome Perrin authored
/reviewed-on nexedi/erp5!1002
-
Jérome Perrin authored
- indent the json representation of error - if error is an XMLHttpRequest: - include the server side error response in an iframe - split response headers /reviewed-on nexedi/erp5!981
-
- 16 Dec, 2019 5 commits
-
-
Romain Courteaud authored
-
Roque authored
/reviewed-on nexedi/erp5!1004
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
erp5_project does not depend on erp5_budget, so instanciating project cell fail unless erp5_budget is installed. Project Cell are not used by default, so it's still a bit unclear, but with erp5_budget we can directly define budgets by project / project lines in a more flexible (but also more complex). Project Line uses OrderLine, so it's consistent to use OrderCell for Project Cell. /reviewed-on !980
-
- 13 Dec, 2019 3 commits
-
-
Roque authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
erp5_trade_ja: 軽減税率8% tax line in summary must always be present (official specification) but is not used in Nexedi so hardcode it.
-