1. 18 Jun, 2021 1 commit
    • Jérome Perrin's avatar
      ERP5TypeFunctionalTestCase: wait for test table to be populated · 3fe3ef2c
      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.
      3fe3ef2c
  2. 15 Jun, 2021 3 commits
    • Jérome Perrin's avatar
      ERP5TypeFunctionalTestCase: put geckodriver logs in testnode folder · 8185c048
      Jérome Perrin authored
      so that we can access this log directly via http
      8185c048
    • Jérome Perrin's avatar
      ERP5TypeFunctionalTestCase: set devtools.console.stdout.content · 70cc2d57
      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.
      70cc2d57
    • Jérome Perrin's avatar
      ERP5TypeFunctionalTestCase: set $XORG_LOCK_DIR · 7479fa63
      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.
      7479fa63
  3. 14 Jun, 2021 2 commits
  4. 10 Jun, 2021 1 commit
  5. 08 Jun, 2021 4 commits
  6. 07 Jun, 2021 1 commit
  7. 04 Jun, 2021 7 commits
    • Jérome Perrin's avatar
      ERP5Type: fix logger "name" when logging warnings · e3804008
      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")
      e3804008
    • Jérome Perrin's avatar
      officejs: fix typo · 21c271cd
      Jérome Perrin authored
      21c271cd
    • Jérome Perrin's avatar
      trade/accounting: fix "Trade Condition" column on accounting module · d7bfd46d
      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.
      d7bfd46d
    • Jérome Perrin's avatar
      Payment mean and SEPA credit transfer · 66670bd2
      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 nexedi/erp5!1400
      66670bd2
    • Jérome Perrin's avatar
      corporate_identity_test: update expected images after updating ghostscript 9.54.0 · f6637a16
      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
      f6637a16
    • Jérome Perrin's avatar
      Lighter processing for OCR activities · 9e375b8e
      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
      9e375b8e
    • Jérome Perrin's avatar
      xhtml_style: remove timestamp from ckeditor URLs · cde8c993
      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
      cde8c993
  8. 03 Jun, 2021 13 commits
  9. 02 Jun, 2021 8 commits