- 06 Mar, 2020 15 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
-
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
-
Romain Courteaud authored
Keep compatibility with existing officejs tests, by keeping the data-i18n attributes, even if useless.
-
Romain Courteaud authored
-
Romain Courteaud authored
Chrome will deprecate appcache in the coming weeks. As appcache has been dropped on Firefox, this change will improve the speed on Firefox. The service worker only provide a cache for all ERP5JS gadgets. ERP5JS will still be usable on browser without service worker API. The list of files to cache is directly added inside the service worker code, in order to be able to skip the usage of the fetch method (which does not yet cover all browser HTTP usage). This list is configurable on the web site level. No need to change the service worker code directly. The service worker will be updated as soon as the web site modification date changes. End user does not need to reload its browser tab. Only browsing ERP5JS will trigger the service worker update. When a new update is found, ERP5JS will automatically reload itself if there is no risk of losing user data input. An empty appcache is kept, to allow migration of existing client to the worker automatically.
-
Romain Courteaud authored
See nexedi/erp5@2e3f7a8a
-
Romain Courteaud authored
-
Romain Courteaud authored
Use the precache script to get the list of gadgets. Ensure to also check the launcher gadget. Report subgadget service error.
-
- 05 Mar, 2020 17 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Replace it by domsugar. This speed up gadget class generation (handlebars template parsing is slow).
-
Romain Courteaud authored
-
Romain Courteaud authored
This attribute is only needed for the translateHTML method. There is no reason for it to be kept in the final DOM HTML.
-
Romain Courteaud authored
Add service worker precache script.
-
Romain Courteaud authored
Add service worker precache script
-
Romain Courteaud authored
renderJS now correctly handles relative URL.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
- 04 Mar, 2020 1 commit
-
-
Valentin Benozillo authored
-
- 03 Mar, 2020 7 commits
-
-
Sven Franck authored
-
Sven Franck authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
This reverts commit ba158a79.
-
Valentin Benozillo authored
Add total price to claim declaration. Format the date.
-
Valentin Benozillo authored
Change also insolvency proceeding type to display translated title
-
Valentin Benozillo authored
Add stop date to insolvency proceeding lisbox in Person / organisation financial information tab.
-