- 01 Dec, 2023 3 commits
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1843
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 30 Nov, 2023 3 commits
-
-
Rafael Monnerat authored
This gadget aims to edit json based on json schema.
-
Xavier Thompson authored
See merge request nexedi/erp5!1853
-
Georgios Dagkakis authored
since for column like 'delivery.start_date' the field would be like 'listbox_delivery_start_date'
-
- 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 !1841
-
Rafael Monnerat authored
See merge request !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 cloudooo!32 See merge request !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 4 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
-
Jérome Perrin authored
Messages are translated when displayed, Base_translateString translates once and for all with the current language.
-
- 15 Nov, 2023 1 commit
-
-
Jérome Perrin authored
-
- 13 Nov, 2023 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Introduce another assertImageMatchSnapshot which stops on failure, following the behavior of other selenium assertions. Also output more details when the dimensions are different.
-
Jérome Perrin authored
See merge request nexedi/erp5!1838
-
- 10 Nov, 2023 5 commits
-
-
Roque authored
See merge request nexedi/erp5!1833
-
Roque authored
-
Jérome Perrin authored
This integrates https://github.com/astral-sh/ruff compiled as web assembly. For now it is enabled only for the gadget editor, so it works for components. The known problems are that it expects python3 syntax, so some python2 syntaxs will be reported as error, which is less and less a problem this days. It is also enabled for ERP5 Python Scripts, but without the necessary knowledge that a python script has arguments (that in this version are reported as undefined names) and is actually a function body so it complains when `return` is used. This build was made with jerome/monaco-editor-erp5@f914df70
-
Jérome Perrin authored
-
Jérome Perrin authored
This affects the diagnostics and completions when editing javascript code in the editor.
-
- 08 Nov, 2023 3 commits
-
-
Titouan Soulard authored
-
Jérome Perrin authored
This would catch potential problems only occuring when the location has been granted.
-
Jérome Perrin authored
Without this field, sync does not work when location was granted.
-