- 15 Nov, 2024 36 commits
-
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
As get and put actions are deterministic there is no need to loop over various schemas when checking data. If there is an error it is returned directly.
-
Cédric Le Ninivin authored
* allDocs now behave like others action mode and return the result of the match * It allows greater customization of the output data
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
* use get Input Schema of JSON form * get schema url uses absolute url.
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
* Introduce Separate JSON Schema Form Editor Gadget * Introduce Separate JSON Schema Text Editor Gadget * Add djv for simple validation in Text Editor Gadget * Introduce Switch Editor Gadget to easily switch from form to text * Always displays response * Lint code * Remove manual html manipulation and use domsugar * Display API related information at the top
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
* this is inconsistent with Base_checkAlarmConsistency
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
erp5_api_style: Add Page to display all API Actions erp5_api_style: fix http method on json page and add cancel url erp5_api_style: Fix reenable button after form submit with invalid data erp5_api_style: Fix Get and provide default get Schema erp5_api_style: JSON Form gadget now render response
-
Cédric Le Ninivin authored
erp5_json_form: jsonschema-form-gadget handle "Const", add checkValidity and liveValidate erp5_json_form: react from add readonly and fix render when input json change erp5_json_form: React form Hide danger panel to prefer display error inline erp5_json_form: react jsonschema form gadget use typeof to be compatible with firefox 68
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Cédric Le Ninivin authored
-
- 05 Nov, 2024 4 commits
-
-
Rafael Monnerat authored
-
Jérome Perrin authored
This partially reverts 8a336dc5 (erp5_accounting: Allow Assignor manage Accounting Periods, 2024-09-16) for the restart transition, it is intentional that only Assignor can restart an accounting period that have been closed. The idea was to support a scenario where re-opening a period that was closed can not be done directly by the Assignee but needs validation from the assignor.
-
Jérome Perrin authored
The check was made on the blob response type, which is set from the Content-Type header returned by the server, but Safari has a different interpretation of the charset parameter from the mime type, with a content type set to application/json;charset=utf-8 like Base_redirect does today, safari creates a blob with type application/json;charset=utf-8 and this was not detected as redirection and the json returned by Base_redirect was downloaded. Fix this by checking only the essence of the type. This also revealed a potential problem when actually downloading json files, in that case we also check that we have the X-Location header, that is supposed to be set by Base_redirect before interpreting the json and when it's not present we force download.
-
Jérome Perrin authored
Follow up of ff624fd2 (ERP5Workflow: newly added permission should be acquired for all existing states., 2024-11-04) and cbef6282 (ERP5Workflow: make sure not create duplicate permissions, 2024-11-05)
-