demarches-normaliennes/app/javascript/shared
Pierre de La Morinerie 432967bd76 javascript: make Uploader always throw the same kind of errors
A DirectUpload may fail for several reasons, and return many types of
errors (string, xhr response, Error objects, etc).

For convenience, wrap all these errors in a FileUploadError object.

- It makes easier for clients of the Uploader class to handle errors;
- It allows to propagate the error code and failure responsability.
2020-04-16 11:20:45 +02:00
..
activestorage javascript: make Uploader always throw the same kind of errors 2020-04-16 11:20:45 +02:00
polyfills Polyfill insertAdjacentElement and dataset on old browsers 2019-04-09 15:26:42 +02:00
track javascript: report upload errors to Sentry 2019-10-24 16:12:56 +02:00
carte-editor.js Revert "Revert "Update javascript dependencies and add webpack-bundle-analyzer"" 2020-02-03 14:54:25 +01:00
franceconnect.js Run load scripts after ujs responces 2019-08-13 17:03:55 +01:00
page-update-event.js Run load scripts after ujs responces 2019-08-13 17:03:55 +01:00
polyfills.js Upgrade core-js 2020-02-24 19:43:07 +01:00
polygon_area.js Refactor carto to share more code 2018-10-23 09:35:25 +02:00
rails-ujs-fix.js javascript: remove unused jQuery.active bookkeeping 2020-04-09 17:52:47 +02:00
remote-input.js Use @utils instead of jQuery 2018-10-10 14:55:28 +02:00
remote-poller.js javascript: ignore errors of attachments pooler 2020-04-07 12:35:54 +02:00
safari-11-file-xhr-workaround.js Fix safari bug 2018-08-31 11:58:33 +01:00
toggle-target.js piece_justificative: toggle file upload control 2019-02-19 18:02:27 +01:00
utils.js dossiers: allow auto upload of attachments 2020-03-31 13:09:44 +02:00