1. 18 Mar, 2020 5 commits
  2. 17 Mar, 2020 2 commits
  3. 16 Mar, 2020 3 commits
  4. 13 Mar, 2020 1 commit
  5. 12 Mar, 2020 2 commits
  6. 11 Mar, 2020 16 commits
  7. 10 Mar, 2020 4 commits
  8. 09 Mar, 2020 7 commits
    • Gabriel Monnerat's avatar
      erp5_document_scanner: Rename web_page_module content IDs to not conflict with... · 0d988469
      Gabriel Monnerat authored
      erp5_document_scanner: Rename web_page_module content IDs to not conflict with erp5_web_renderjs_ui path pattern.
      0d988469
    • Gabriel Monnerat's avatar
    • Romain Courteaud's avatar
      erp5_document_scanner: Speed up the usability of scannerjs · f22a6227
      Romain Courteaud authored
      - Stop relying of CSS hide/show attributes. Instead, only put needed elements in the DOM.
      
      - Upload images asynchronously to improve the usability
      
      Add a tales expression as default field value. The default value is a JSON containing 2 keys:
      * the relative_url of an active process
      * the list of active process image content to aggregate
      By default, when the field is rendered for the first time, this tales expression is evaluated and a new active process is created at that point.
      So, default json is like: {active_process: 'portal_activities/1234', image_list: []}
      * store the active_process relative_url in the gadget state in the render method
      * store the image_list in the gadget state in the render_method
      * change getContent method to send a json build from the active_process and image_list state
      
      - Change the gadget checkValidity method to return false when:
        * no thumbnail has been generated
        * a thumbnail upload is in failed state
      
      - POST image cropped to backend
        * change the `extra renderjs` parameters list to pass a Python script to call when a new image is cropped.
        * change the gadget to use jio.util.ajax with the script full url (provided by the server)
      
      - Translate and Update i18n info
      - Ajax must return a active process image content UUID
      - Add spinner in button to show that we are saving it in background
      - Add reference to Active Process. With this, we can search easily active processes used by document scanner and remove them
      - Add an alarm which will delete outdated (>5 days old) active_process created by the dialog.
      - Improve code to switch cameras in mobiles with more than 2 cameras
      - Display intermediate image after get orientation and instantiate Cropper
      f22a6227
    • Ivan Tyagov's avatar
      This script can be used for deployment tests which do not require these... · 624a74f3
      Ivan Tyagov authored
      This script can be used for deployment tests which do not require these changes thus make it configurable but still keeping the default behaviour as it was.
      624a74f3
    • Ivan Tyagov's avatar
    • Ivan Tyagov's avatar
      Always subscribe poral_alarms. · 8a40bb1c
      Ivan Tyagov authored
      8a40bb1c
    • Romain Courteaud's avatar