- 23 Jun, 2021 1 commit
-
-
Jérome Perrin authored
-
- 21 Jun, 2021 2 commits
-
-
Xiaowu Zhang authored
-
Jérome Perrin authored
* expose firefox console and error logs in `geckodriver.log` * expose `geckodriver.log` in the folder testnodes expose on http * fix some cases where test were detected as "did not run" and cases where "did not run" tests were not reported as failures See merge request nexedi/erp5!1444
-
- 18 Jun, 2021 2 commits
-
-
Jérome Perrin authored
It can happen that a test running selenium fail in python, but not in selenium, like for example test_result_module/20210615-CDADEC14/183 To prevent such tests from being reported as PASS, we make the total number of failures being the sum of the python unittest failures and the selenium failures.
-
Jérome Perrin authored
It happens, for example with erp5_officejs_ui_test:testFunctionalOfficeJSPyodideNotebook on test_result_module/20210615-CDADEC14/183 that the test is considered as not running, because the test result table was not populated in time. Add an explicit wait to prevent such problems.
-
- 17 Jun, 2021 6 commits
-
-
Julien Muchembled authored
This fixes commit ea4cb55b. Our 'rmtree' helper has never been supposed to be called on a non-existing folder: the ENOENT handling is an unrelated implementation detail for Python 2. Also drop erp5.util's rmtree and use the one from slapos.core, which is a [testnode] dependency.
-
Romain Courteaud authored
This front page gadget allows user to: * create any kind of document * launch any kind of report * contribute a new documents
-
Romain Courteaud authored
This gadget can be used to replicate the xhtml access page.
-
Romain Courteaud authored
-
Jérome Perrin authored
Eventhough _getBudgetDict was cached, getAvailableBudgetDict also calculates getCurrentBudget for each cell, which is also heavy.
-
Jérome Perrin authored
Duplicate actions are actions from the same category with the same name. See merge request !1442
-
- 15 Jun, 2021 6 commits
-
-
Julien Muchembled authored
With software release test suites, there are probably files/folders with permission issues. See commit 380037f8.
-
Jérome Perrin authored
so that we can access this log directly via http
-
Jérome Perrin authored
This firefox setting cause console.log messages or javascript errors to be printed on stdout, which should help diagnosing failures sometimes.
-
Jérome Perrin authored
See merge request nexedi/erp5!1439
-
Jérome Perrin authored
By setting XORG_LOCK_DIR, we can isolate processes when running on slapos test nodes, so that instead of having all test runners used the shared /tmp, which eventually fail with EnvironmentError: All displays locked : [':123', ':124', ':125', ... errors when too many testnodes are currently running or too many testnodes have left some stale lock files. Eventhough since fbdb4ec9 (test: Do not check presence of lockfile in /tmp/ to assume Xvfb is running for this display, 2017-06-07) things have improved, it happens that the lock files are owned by a different unix user (because it was left by another testnode), then Xvfb is not able to remove the stale lock file.
-
Jérome Perrin authored
-
- 14 Jun, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This is backward compatibility code for previous commit.
-
- 11 Jun, 2021 3 commits
-
-
Jérome Perrin authored
actions in erp5_jio_view category does not seem to be directly presented to user, so rename them so that they don't use the same name "View" for coding style test_DuplicateActions
-
Jérome Perrin authored
-
Jérome Perrin authored
Duplicate actions are actions from the same category with the same name.
-
- 10 Jun, 2021 1 commit
-
-
Xavier Thompson authored
`inst/test0-0` -> `i/0` See merge request nexedi/erp5!1441
-
- 09 Jun, 2021 2 commits
-
-
Jérome Perrin authored
With bf57228a ([erp5_core] RelationField listbox must also fetch default_params value from the relationfield, 2018-05-09), we introduced a regression that listboxs from relation fields "proxy listbox ids" default params where no longer used. As a result, if we have a listbox which define some catalog search with default parameters, like for example the "Suppliers" or "Clients" listboxs from erp5_trade are doing, these parameters were not taken into account. In the case of trade listbox, this was showing all nodes. This changes Base_getRelatedObjectParameter to get catalog search from the proxy listbox if there is one.
-
Jérome Perrin authored
trade_renderjs_ui_test: tests for "Suppliers", "Clients", "Organisations" and "Persons" Proxy Listbox Ids
-
- 08 Jun, 2021 5 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This is mostly for editor fields, to fix the problem that components were edited by the text editor and not the code editor. Editor is selected by Base_getEditorFieldPreferredTextEditor, which will use a text editor by default, unless the document has a content type, in which case it will return the most appropriate editor, which is by default the source code editor for documents whose text content is not text/html. It's anyway not wrong to have a content type defined here, Components are TextDocuments and TextDocuments usually have getContentType method.
-
Jérome Perrin authored
See merge request nexedi/erp5!1432
-
Jérome Perrin authored
also enable more plugins: - https://ckeditor.com/cke4/addon/autolink - https://ckeditor.com/cke4/addon/pastebase64 See merge request nexedi/erp5!1428
-
- 07 Jun, 2021 1 commit
-
-
Jérome Perrin authored
-
- 04 Jun, 2021 7 commits
-
-
Jérome Perrin authored
Instead of using an always-different logger name which confuses log analytics system, use the warning category as logger name (or what zLOG.LOG calls "subsystem")
-
Jérome Perrin authored
-
Jérome Perrin authored
Rename this column from "Sale Trade Condition" to "Trade Condition", so that it can be used also for purchase and internal trade conditions.
-
Jérome Perrin authored
- update for ERP5JS compatibility - prevent an error with "Select Payments" update action, when limit was empty - export to generate SEPA credit transfer ( pain.001.001.02 ) - new mode in "Select Payment" to select planned/confirmed payment and validate them at the same time - allow selecting lines individually in "Select Payments" - allow filtering by third party in "Select Payments" (only supported in xhtml_style for now) - fix issue that Deliver transaction leaves PTG in Delivering state - french translations See merge request !1400
-
Jérome Perrin authored
Changes following up nexedi/slapos!985 It seems the logo is a bit bigger, or at least a bit different See merge request nexedi/erp5!1424
-
Jérome Perrin authored
When running OCR, we sometimes have issues because processing is "too heavy": - [x] use 2 or 3 Go of disk space for a one page PDF created by erp5_document_scanner, because we convert pdf -> png -> tiff before sending to tesseract. Modern Ghostscript supports running tesseract directly, so we use it if it's available. - [x] use 300% of CPU. Fixed by setting `OMP_THREAD_LIMIT` when running tesseract. This will only apply when OCR from Images. OCR embedded in Ghostscript does not seem to need this. - [x] ... and often crash, so is restarted. This is fixed by updated tesseract. Updates of ghostscript and tesseract are part of nexedi/slapos!985 See merge request nexedi/erp5!1420
-
Jérome Perrin authored
This timestamp break officejs offline capabilities. This reaplies 40f6c8fe ([erp5_xhtml_style] ckeditor: drop hardcoded timestamp parameter in URL, 2017-10-16) on the updated CKEditor This was done with: find product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_ckeditor/ckeditor/ -type f | xargs sed -i 's/"L4KA"/""/g' L4KA was the timestamp for this build, that we can in the top of ckeditor.js
-
- 03 Jun, 2021 2 commits
-
-
Jérome Perrin authored
renderjs_ui_trade_zuite is the tests from trade_zuite ported to ERP5JS. Some old tests were not ported yet
-
Jérome Perrin authored
-