- 29 Jan, 2020 2 commits
-
-
Gabriel Monnerat authored
Clean up and Change all gadget's CSS rules to be prefixed by `div[data-gadget-url$="gadget_document_scanner.html"]`
-
Gabriel Monnerat authored
-
- 28 Jan, 2020 2 commits
-
-
Gabriel Monnerat authored
The http response should return a 200 response in case of success. The response body may contain a local reference of the uploaded image
-
Gabriel Monnerat authored
Request body should contain the image data and the active process relative url (depending on which erp5 context the script is called)
-
- 27 Jan, 2020 6 commits
-
-
Gabriel Monnerat authored
make jslint happy
-
Gabriel Monnerat authored
* 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)
-
Gabriel Monnerat authored
Change the gadget checkValidity method to return false when: - no thumbnail has been generated - a thumbnail upload is in failed state
-
Gabriel Monnerat authored
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
-
Gabriel Monnerat authored
If device_id is propagated to onStateChange, it means we have a new value. Then, check if we have this property is enough to switch
-
Gabriel Monnerat authored
-
- 22 Jan, 2020 3 commits
-
-
Romain Courteaud authored
XXX Allow to show previously uploaded image. Allow to delete or retry uploading. Form submittion only send the active process informations.
-
Romain Courteaud authored
Stop relying of CSS hide/show attributes. Instead, only put needed elements in the DOM.
-
Romain Courteaud authored
-
- 20 Jan, 2020 4 commits
-
-
Vincent Pelletier authored
Like a real-world user.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
__ac_name & __ac_password are only useful to get a cookie, so only use them when the test is actually expecting a cookie.
-
Vincent Pelletier authored
One inline javascript snippet less.
-
- 17 Jan, 2020 3 commits
-
-
Kazuhiko Shiozaki authored
-
Romain Courteaud authored
-
Arnaud Fontaine authored
-
- 15 Jan, 2020 6 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Arnaud Fontaine authored
ZODB Components: Preparation of erp5_base migration from FS: Fix pylint no-name-in-module on newTempXXX (04b49859).
-
Jérome Perrin authored
Change upgrader internal API to use `filter_dict` instead of `filter` which is a builtin. Remove a lot of unused code in extensions /reviewed-on nexedi/erp5!1014
-
- 14 Jan, 2020 12 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
ZODB Components: Preparation of erp5_base migration from FS: Fix pylint no-name-in-module on newTempXXX (04b49859).
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
ZODB Components: BusinessTemplate: On migration dialog, ignore source files not available anymore (ex: change branch).
-
Jérome Perrin authored
Test should not depend on external websites, we already use erp5.com for some other tests, so let's use it also for RSS. /reviewed-on nexedi/erp5!1028
-
Vincent Pelletier authored
Deleting matrix cells with manage_delObjects is not a good solution, as this breaks matrix index consistency. Also, call isBasePricePerSlice rather than introspecting wrapped method arguments - the only wrapped method is _setBasePricePerSlice anyway ! Also, explicitly trigger SupplyCell_updateSliceBasePrice as it depends on isBasePricePerSlice value at line level, and it just changed, and cell-level interaction workflow does not trigger on line changes. Also, get rid of a trivial local variable. Also, fix the exception expected from list.index . Also, raise if multiple quantity criterion are somehow found.
-
- 13 Jan, 2020 2 commits
-
-
Arnaud Fontaine authored
-
Jérome Perrin authored
When server replies with a non XML content type feeparser attempt to parse anyway, but set the bozo flag. https://universal-feedparser.readthedocs.io/en/latest/#handling-incorrectly-declared-media-types If parsing fail because the feed is not a valid RSS XML stream, feedparser fail in other ways, so we can safely ignore this error. This should repair recent failures with testFeedReaderGadget now that le monde changed configuration on their website: $ curl -sD - -o /dev/null https://www.lemonde.fr/rss/une.xml | grep Content-Type Content-Type: text/html;charset=UTF-8 /reviewed-on nexedi/erp5!1027
-