1. 23 Jun, 2020 14 commits
    • Jérome Perrin's avatar
      *: don't use the default gadget_translation · 0749bfcd
      Jérome Perrin authored
      We can not use the default gadget as ERP5JS for translations, because
      web sites with different messages needs to be using a different
      translation gadget.
      
      As a first step we stop referencing the default gadget translation on
      web site, so that upgrader does not try to update the default
      translation data script.
      
      Next step will be to use different translation gadgets on each web site
      which uses translation.
      0749bfcd
    • Jérome Perrin's avatar
      officejs_support_request_ui: use a dedicated translation gadget · b8cc1fb7
      Jérome Perrin authored
      This website has different translations from renderjs_runner web site,
      so they can not share the same translation gadget
      b8cc1fb7
    • Jérome Perrin's avatar
      web_renderjs_ui: update translation data in post-upgarde · c547c545
      Jérome Perrin authored
      Automate the process of running "Update Translation Data" in
      post-upgarde step when the translation data has changed.
      
      This means that translation scripts (such as gadget_translation_data.js
      for default ERP5JS gadget) will be updated automatically after each
      update and it becomes wrong to have multiple sites using the same
      translation gadget for different translations.
      
      If that happens, the upgrader tries to detect a loop and raise an
      easy-to-understand error in that case
      c547c545
    • Jérome Perrin's avatar
      web_renderjs_ui: support officejs web sites in "Update Translation Data" · b254edbe
      Jérome Perrin authored
      With officejs web sites, the translation gadget is not referenced
      directly on the web site, but in the "app" web section. Teach this
      script to look on the web section to know which translation data script
      to use
      b254edbe
    • Jérome Perrin's avatar
      web_renderjs_ui: rework "Update Translation Data" action · 8b42f3ed
      Jérome Perrin authored
      - user no longer have to choose the translation data script, it's
        selected automatically from the translation gadget configured on the
        web site
      - add some notes in workflow history for traceability
      - rename from "Create Translation Data" to *Update* Translation Data, as
        this script can be called multiple times to update
      - rename the dialog and script to comply with naming conventions
      - add a header to generated translation data script to explain that this
        is generated and that it should not be edited manually
      - generate code passing jslint and typescript
      8b42f3ed
    • Jérome Perrin's avatar
      officejs: fix a manual edit in bt/* · 6e3370ce
      Jérome Perrin authored
      ( remove that extra line at end of file )
      6e3370ce
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
      Use consistent term in login forms · 655c06ec
      Jérome Perrin authored
      We were using many different terms every for "username", this is an attempt to use a consistent term every where for login and a few other terms used for logging in and resetting password
      
      See merge request nexedi/erp5!1164
      655c06ec
    • Jérome Perrin's avatar
      pdm: Remove old converted inventory report · a0b46aa4
      Jérome Perrin authored
      As a follow up of nexedi/erp5!1158 , now that stock browser supports inventory conversion, the old converted inventory report is not longer needed.
      
      The reason for removing instead of fixing is that this report was using approaches that have no equivalent in ERP5JS interface (select in the module and run a report based on selection, listbox domain tree), so we could repair it for old ui only, but we thought it would be better to remove it and improve stock browser further.
      
      One reason this was broken is that it was using `SimulationTool.getAllInventory` which does not support brain attributes from `SimulationTool.getInventoryList`, so dynamic attributes like `node_title` were not displayed correctly. This adds a warning on `getAllInventory` docstring. This method has another user so we don't remove it.
      
      See merge request nexedi/erp5!1162
      a0b46aa4
    • Jérome Perrin's avatar
      pdm: Stock Browser Improvements · aa3bb22f
      Jérome Perrin authored
      Make stock browser a dialog where user can select the node category, for compatibility with ERP5JS
      
      Introduce a preference to select the node category by default.
      
      Allow to select quantity unit / metric type in the dialog to get converted inventories.
      
      See merge request !1158
      aa3bb22f
    • Jérome Perrin's avatar
      pivot_table: import v2.23.0 · 6b4b4cd4
      Jérome Perrin authored
      Uploaded the content of
      https://github.com/nicolaskruchten/pivottable/tree/v2.23.0/dist/
      using web dav and ran Alarm_checkSkinCache
      
      This version allow sorting and fixes an XSS vulnerability
      6b4b4cd4
    • Jérome Perrin's avatar
      sql_browser: backup editor content in a textarea · e52dc6c8
      Jérome Perrin authored
      Browsers (at least chrome) saves the textarea content and restore it
      when going back or resurecting a closed tab, which prevents loosing
      unsaved work.
      This browser feature does not work in "rich" javascript
      editors, but this trick of syncronizing the rich editor content to a
      hidden textarea seem to makes it work.
      e52dc6c8
    • Jérome Perrin's avatar
      testERP5Type: mark test_request_with_x_forwarded_for expected failure · 7941e90f
      Jérome Perrin authored
      This is an emergency commit to repair failing tests
      7941e90f
    • Jérome Perrin's avatar
      run_my_doc: fix naming convention failure · 656ffa54
      Jérome Perrin authored
      use "Slideshow" for now. "Slide Show" would also be OK, the discussion
      about what's the best term is still ongoing, this is an emergency commit
      to repair tests.
      656ffa54
  2. 22 Jun, 2020 5 commits
  3. 19 Jun, 2020 2 commits
  4. 18 Jun, 2020 5 commits
  5. 17 Jun, 2020 2 commits
  6. 16 Jun, 2020 12 commits