- 26 Dec, 2023 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The JSONEditor relies on call async load for load promises. The current code waits for the promises to finish and throw errors explicitly. This allows the renderjs properly handle the error on the same chain of promises.
-
- 19 Dec, 2023 1 commit
-
-
Rafael Monnerat authored
in addition to None, id can be an empty list on this case
-
- 13 Dec, 2023 1 commit
-
-
Rafael Monnerat authored
the update_catalog parameter is explicity destinated to the entries on the template_list, never to its dependencies. The side effect is that reindexation is trigger to the whole list of business templates in the site.
-
- 12 Dec, 2023 1 commit
-
-
Rafael Monnerat authored
-
- 06 Dec, 2023 2 commits
-
-
Julien Muchembled authored
-
Jérome Perrin authored
-
- 05 Dec, 2023 2 commits
-
-
Romain Courteaud authored
-
Jérome Perrin authored
To follow the API as the new JSON editor
-
- 04 Dec, 2023 2 commits
-
-
Julien Muchembled authored
- It's not deprecated anymore. - When activities are grouped at CMFActivity level, it specifies a number of activities that are generated at a time instead of a number of activity groups. - The special None value means no limit.
-
Levin Zimmermann authored
In 39369169 the new option 'nofile' was added to set the soft limit of open file descriptors to its hard limit. In slapos!1451 (comment 193296) it was criticized that the name of the option - 'nofile' - is too vague and in slapos!1465 a new name for the option was searched. Finally we agreed on the more explicit 'with-max-rlimit-nofile'.
-
- 01 Dec, 2023 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request !1843
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 30 Nov, 2023 4 commits
-
-
Rafael Monnerat authored
This gadget aims to edit json based on json schema.
-
Xavier Thompson authored
See merge request !1853
-
Georgios Dagkakis authored
since for column like 'delivery.start_date' the field would be like 'listbox_delivery_start_date'
-
Rafael Monnerat authored
-
- 29 Nov, 2023 1 commit
-
-
Jérome Perrin authored
This was missing from f3435570 (ui_test: update verifyImageMatchSnapshot screenshots for firefox 115, 2023-10-22)
-
- 28 Nov, 2023 12 commits
-
-
Xavier Thompson authored
-
Jérome Perrin authored
See merge request !1840
-
Jérome Perrin authored
See merge request !1835
-
Jérome Perrin authored
See merge request nexedi/erp5!1841
-
Rafael Monnerat authored
See merge request nexedi/erp5!1831
-
Léo-Paul Géneau authored
See !1850
-
Jérome Perrin authored
Pause to make sure the server has time to process the request. This is of course not a good fix, but the future of this code is really uncertain, so this should at least fix the failing test.
-
Jérome Perrin authored
When account number method is set to account reference and the transaction line has a node acquired from the invoice source or destination organisation or person and when this node has a reference, then this was displayed as an account reference. We set a reference on Client 1 organisation to reproduce the problem.
-
Jérome Perrin authored
Make it part of the caching method id so that changing the preference immediately show new accounts. This also moves the "user_name" argument that was an artificial parameter not used only here to make the cache vary to the cache id, for consistency and clarity.
-
Jérome Perrin authored
This fixes dict formatting which was formatted like this with too long values: { "a": "b" }
-
Jérome Perrin authored
after we updated cloudooo.erp5.net with nexedi/cloudooo!32 See merge request nexedi/erp5!1785
-
Vincent Pelletier authored
This method raises the same error as jwt's claim validator, as it was intended to be called from the same exception handling block. So move it from "else" blocks into the corresponding "try" block.
-
- 27 Nov, 2023 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
We must ensure that some Web Section (under a website with must-revalidate caching policy) can have a session that isn't stored. Different from no-cache (that is similar to must-revalidate + max-age=0), no-store tells the client (and frontends) that it must not cache the content ever.
-
Rafael Monnerat authored
Since we issue an no-store and no 304s, the Last-Modified could confuse the frontend if If-Modified-Since header is present on the request. If-Modified-Since is sent, the ERP5 wont return with 304, so we don't expect that the frontend does it (but it does), so since we don't expect that user stores the last request it makes no sense to return with Last-Modified.
-
- 20 Nov, 2023 2 commits
-
-
Valentin Benozillo authored
-
Valentin Benozillo authored
A Telephone type object is defined by its number, and it's country (ie: country code). See Telephone portal type and property sheet. So here, having only the number is incomplete.
-
- 16 Nov, 2023 3 commits
-
-
Jérome Perrin authored
using pdfjs-3.11.174-legacy-dist.zip Note: viewer.js is modified to do nothing in webViewerLoad (one line with return "ERP5 patch: disable here" is added at the top of this function) because we do the initialization in the gadget. I think something similar was also done with the previous version. The tests were extended to cover: - opening an empty or broken PDF: this should not crash - clicking save: this should not crash and the updated document should render properly. The save action replaces the ERP5 document content with the content from the editor, so if user for example added annotations or draw on the PDF, the modified version is saved. We don't use this feature and it's not so easy to test, so for now the test only covers the "it should not crash and it should not break the document". - entering wrong password for encrypted PDFs should not crash
-
Jérome Perrin authored
This was working fine (although not python3 ready), but was not tested
-
Jérome Perrin authored
-