uppy/packages/@uppy
Mikael Finstad 876f833bd1
Companion: Use GET instead of HEAD for getURLMeta + Cut off length of file names (#3048)
* rewrite to async/await

* Only fetch size (HEAD) if needed #3034

* Update packages/@uppy/companion/src/server/controllers/url.js

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* Change HEAD to GET in getURLMeta

and abort request immediately upon response headers received
https://github.com/transloadit/uppy/issues/3034#issuecomment-908059234

* fix lint

* fix lint

* cut off length of file names

or else we get
"MetadataTooLarge: Your metadata headers exceed the maximum allowed metadata size" in tus / S3

* try to fix flaky test

* remove iife and cleanup code a bit

* fix lint by reordering code

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-09-30 17:27:13 +07:00
..
angular Release 2021-09-20 11:51:06 +02:00
aws-s3 @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
aws-s3-multipart @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
box Release 2021-09-20 11:51:06 +02:00
companion Companion: Use GET instead of HEAD for getURLMeta + Cut off length of file names (#3048) 2021-09-30 17:27:13 +07:00
companion-client Release 2021-09-20 11:51:06 +02:00
core Fix typo in @uppy/core types (#3230) 2021-09-29 13:51:46 +02:00
dashboard Show all details on mobile when showProgressDetails is true (#3174) 2021-09-20 15:47:28 +02:00
drag-drop Release 2021-09-20 11:51:06 +02:00
drop-target @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
dropbox Release 2021-09-20 11:51:06 +02:00
facebook Release 2021-09-20 11:51:06 +02:00
file-input Release 2021-09-20 11:51:06 +02:00
form @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
golden-retriever @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
google-drive Release 2021-09-20 11:51:06 +02:00
image-editor @uppy/image-editor: add workaround for when Cropper is loaded as ESM (#3218) 2021-09-28 16:59:13 +02:00
informer Release 2021-09-20 11:51:06 +02:00
instagram Release 2021-09-20 11:51:06 +02:00
locales Release 2021-09-20 11:51:06 +02:00
onedrive Release 2021-09-20 11:51:06 +02:00
progress-bar Release 2021-09-20 11:51:06 +02:00
provider-views Release 2021-09-20 11:51:06 +02:00
react @uppy/react: update HTMLAttributes filter (#3215) 2021-09-28 16:58:50 +02:00
react-native Release 2021-09-20 11:51:06 +02:00
redux-dev-tools Release 2021-08-24 20:54:05 +01:00
robodog @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
screen-capture Release 2021-09-20 11:51:06 +02:00
status-bar Show all details on mobile when showProgressDetails is true (#3174) 2021-09-20 15:47:28 +02:00
store-default Release 2021-08-24 16:13:19 +02:00
store-redux Release 2021-08-24 16:13:19 +02:00
svelte Release 2021-09-20 11:51:06 +02:00
thumbnail-generator Release 2021-09-20 11:51:06 +02:00
transloadit @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
tus Add support for opts.headers as a function in @uppy/tus (#3221) 2021-09-29 13:51:00 +02:00
unsplash Release 2021-09-20 11:51:06 +02:00
url Release 2021-09-20 11:51:06 +02:00
utils Companion: Use GET instead of HEAD for getURLMeta + Cut off length of file names (#3048) 2021-09-30 17:27:13 +07:00
vue Release 2021-09-20 11:51:06 +02:00
webcam Release 2021-09-20 11:51:06 +02:00
xhr-upload @uppy/core: move Uppy class to its own module (#3225) 2021-09-28 19:04:33 +02:00
zoom Release 2021-09-20 11:51:06 +02:00