Commit graph

2288 commits

Author SHA1 Message Date
Antoine du Hamel
cb5c0ded6f
@uppy/core: fix some types (#4332) 2023-02-27 13:32:02 +01:00
Marc Bennewitz
5056a45523
Fixed type of State.info to match reality being an array of info objects (#4321) 2023-02-27 10:47:29 +01:00
Matthias Kunnen
7bb3050641
uppy/image-editor: Fix TypeScript error in image-editor types (#4334)
Fix TypeScript error in image-editor types

Caused by TypeScript >= 4.8.
2023-02-27 10:36:23 +01:00
Mikael Finstad
8673335d47
workaround chrome crash (#4310)
* workaround chrome crash

fixes #4133

* Update packages/@uppy/utils/src/getDroppedFiles/utils/webkitGetAsEntryApi/index.js

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

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-02-15 17:57:14 +00:00
github-actions[bot]
96fa2a9c68
Release: uppy@3.5.0 (#4318)
| Package              | Version | Package              | Version |
| -------------------- | ------- | -------------------- | ------- |
| @uppy/audio          |   1.0.4 | @uppy/screen-capture |   3.0.2 |
| @uppy/companion      |   4.3.0 | @uppy/transloadit    |   3.1.1 |
| @uppy/core           |   3.0.6 | @uppy/xhr-upload     |   3.1.0 |
| @uppy/dashboard      |   3.2.2 | uppy                 |   3.5.0 |
| @uppy/locales        |   3.0.6 |                      |         |

- @uppy/transloadit: fix `assemblyOptions` option (Antoine du Hamel / #4316)
- meta: Remove Robodog advice, since it is deprecated (Artur Paikin)
- @uppy/dashboard: fix dashboard acquirers list (Mikael Finstad / #4306)
- @uppy/dashboard: Dashboard: disallow clicking on buttons and links in Dashboard disabled mode (Artur Paikin / #4292)
- @uppy/audio,@uppy/core,@uppy/dashboard,@uppy/screen-capture: Warn more instead of erroring (Artur Paikin / #4302)
- @uppy/locales: Update de_DE.js (Jörn Velten / #4297)
- meta: use load balancer for companion in e2e tests (Mikael Finstad / #4228)
- @uppy/companion: @uppy/companion upgrade grant dependency (Scott Bessler / #4286)
- @uppy/xhr-upload: add `'upload-stalled'` event (Antoine du Hamel / #4247)
- @uppy/locales: minor enhancements and typo fixes for the hungarian translation (KergeKacsa / #4282)
2023-02-13 18:48:25 +00:00
Antoine du Hamel
2ef662140b
@uppy/transloadit: fix assemblyOptions option (#4316) 2023-02-13 18:33:42 +01:00
Mikael Finstad
04cdb61247
fix dashboard acquirers list (#4306)
* fix dashboard acquirers list

- fix broken grouping and tagline logic (didn't take into account all acquirers like showNativePhotoCameraButton)
- don't show lonely My Device

https://community.transloadit.com/t/hide-my-device/16456

* fix fragment
2023-02-11 15:21:02 +00:00
Artur Paikin
a602f1e5b1
Dashboard: disallow clicking on buttons and links in Dashboard disabled mode (#4292)
* Disallow clicking on buttons and links in Dashboard disabled mode

* Add disabled attr to all interactive elements instead of tabindex=-1

* Test and apply Antoine’s suggestions

* Account for links, use aria-disabled and pointer-events

* Rename disableAllFocusableElements --> disableInteractiveElements

* Add role="button" just in case for the future
2023-02-11 14:53:54 +00:00
Artur Paikin
7c9e166401
Warn more instead of erroring (#4302) 2023-02-09 19:31:21 +00:00
Artur Paikin
a0a7d4b106
@uppy/locale: fix linter errors in DE_de locale file (#4301) 2023-02-03 15:11:54 +01:00
Jörn Velten
455440698a
Update de_DE.js (#4297)
Added missing locale keys (missingRequiredMetaFields)
2023-02-02 21:39:08 +00:00
Mikael Finstad
e966fa7540
meta: use load balancer for companion in e2e tests (#4228) 2023-02-02 11:25:50 +01:00
Scott Bessler
29ad1b6974
@uppy/companion upgrade grant dependency (#4286) 2023-02-02 10:55:49 +01:00
Antoine du Hamel
be85449385
@uppy/xhr-upload: add 'upload-stalled' event (#4247)
* @uppy/xhr-upload: add`'upload-stalled'` event

* Apply suggestions from code review

Co-authored-by: Merlijn Vos <merlijn@soverin.net>

* Add example

* Update website/src/docs/core.md

Co-authored-by: Merlijn Vos <merlijn@soverin.net>

* Update website/src/docs/core.md

* add bundle error and update locales

* add info message and update docs

* add French translation

* Update website/src/docs/core.md

* fixup! Update website/src/docs/core.md

---------

Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2023-02-01 15:36:54 +00:00
KergeKacsa
8ca054b6e4
minor enhancements and typo fixes for the hungarian translation (#4282)
minor enhancements and typo fixes
2023-01-31 19:09:25 +00:00
github-actions[bot]
d1499b3b09
Release: uppy@3.4.0 (#4288)
| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/audio            |   1.0.3 | @uppy/locales          |   3.0.5 |
| @uppy/aws-s3           |   3.0.5 | @uppy/react            |   3.1.0 |
| @uppy/aws-s3-multipart |   3.1.2 | @uppy/react-native     |   0.5.0 |
| @uppy/companion        |   4.2.0 | @uppy/transloadit      |   3.1.0 |
| @uppy/core             |   3.0.5 | @uppy/utils            |   5.1.2 |
| @uppy/dashboard        |   3.2.1 | uppy                   |   3.4.0 |

- @uppy/utils: better fallbacks for the drag & drop API (Antoine du Hamel / #4260)
- @uppy/core: fix metafields validation when used as function (Merlijn Vos / #4276)
- @uppy/companion: allow customizing express session prefix (Mikael Finstad / #4249)
- meta: Fix comment about COMPANION_PATH (Collin Allen / #4279)
- @uppy/companion: Fix typo in KUBERNETES.md (Collin Allen / #4277)
- @uppy/locales: update zh_TW.js (5idereal / #4270)
- meta: ci: make sure Yarn's global cache is disabled (Antoine du Hamel / #4268)
- @uppy/aws-s3-multipart: fix metadata shape (Antoine du Hamel / #4267)
- meta: example: add multipart support to `aws-nodejs` (Antoine du Hamel / #4257)
- @uppy/react-native: example: revive React Native example (Giacomo Cerquone / #4164)
- @uppy/utils: Fix getSpeed type (referenced `bytesTotal` instead of `uploadStarted`) (Pascal Wengerter / #4263)
- @uppy/companion: document how to run many instances (Mikael Finstad / #4227)
- @uppy/aws-s3-multipart: add support for `allowedMetaFields` option (Antoine du Hamel / #4215)
- meta: Fix indentation in generate-test.mjs (Youssef Victor / #4181)
- @uppy/react: deprecate `useUppy` (Merlijn Vos / #4223)
- meta: fix typo in README.md (Fuad Herac / #4254)
- meta: Don’t close stale issues automatically (Artur Paikin / #4246)
- meta: upgrade to Vite 4 and ESBuild 0.16 (Antoine du Hamel / #4243)
- @uppy/audio: @uppy/audio fix typo in readme (elliotsayes / #4240)
- @uppy/aws-s3: fix: add https:// to digital oceans link (Le Gia Hoang / #4165)
- website: Simplify Dashboard code sample (Artur Paikin / #4197)
- @uppy/transloadit: introduce `assemblyOptions`, deprecate other options (Merlijn Vos / #4059)
- @uppy/core: fix typo in Uppy.test.js (Ikko Ashimine / #4235)
- @uppy/aws-s3-multipart: fix singPart type (Stefan Schonert / #4224)
2023-01-26 16:15:17 +00:00
Antoine du Hamel
79bab48dc1
@uppy/utils: better fallbacks for the drag & drop API (#4260)
@uppy/utils: be more defensive when falling back to the old API on drag&drop
2023-01-26 15:39:27 +00:00
Merlijn Vos
9d4d21955a
@uppy/core: fix metafields validation when used as function (#4276) 2023-01-26 15:37:09 +00:00
Mikael Finstad
a5786f3976
@uppy/companion: allow customizing express session prefix (#4249)
* allow customizing express session prefix

to make it easier to identify keys coming from companion
the default value is just "sess:" which is a bit hard to identify

* rename

* document COMPANION_REDIS_EXPRESS_SESSION_PREFIX

* change todo

* Update companion.md

* Update companion.md

Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2023-01-26 23:38:05 +09:00
Collin Allen
db3d71b579
Fix typo in KUBERNETES.md (#4277)
Kubernetes was misspelled.
2023-01-13 12:27:50 +01:00
5idereal
f51cee9194
update zh_TW.js (#4270) 2023-01-10 13:05:10 +01:00
Antoine du Hamel
c334fb9550
@uppy/aws-s3-multipart: fix metadata shape (#4267) 2023-01-05 16:10:45 +01:00
Giacomo Cerquone
38dfb70d92
example: revive React Native example (#4164) 2023-01-05 11:48:48 +01:00
Pascal Wengerter
d9580d966d
Fix getSpeed type (referenced bytesTotal instead of uploadStarted) (#4263) 2023-01-05 10:47:37 +01:00
Mikael Finstad
8c653bb099
@uppy/companion: document how to run many instances (#4227)
Co-authored-by: Kevin van Zonneveld <kevin@vanzonneveld.net>
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2023-01-04 14:01:46 +01:00
Antoine du Hamel
b4abc36c7e
@uppy/aws-s3-multipart: add support for allowedMetaFields option (#4215) 2023-01-04 13:59:34 +01:00
Merlijn Vos
81d482fdc9
@uppy/react: deprecate useUppy (#4223)
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2022-12-23 14:45:20 +01:00
elliotsayes
3cc7fd967b
@uppy/audio fix typo in readme (#4240)
Export should be named `Audio`, reflecting later usage
2022-12-06 09:59:37 -03:00
Le Gia Hoang
6e4fd9556d
fix: add https:// to digital oceans link (#4165) 2022-12-05 09:40:55 -03:00
Merlijn Vos
2e825346b6
@uppy/transloadit: introduce assemblyOptions, deprecate other options (#4059) 2022-12-01 16:46:43 -03:00
Ikko Ashimine
717eab3b85
@uppy/core: fix typo in Uppy.test.js (#4235) 2022-11-28 10:41:29 -03:00
Stefan Schonert
bffd5dc9ca
@uppy/aws-s3-multipart: fix singPart type (#4224) 2022-11-17 17:59:25 -03:00
github-actions[bot]
eafe30020e
Release: uppy@3.3.1 (#4222)
| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/angular          |   0.5.1 | @uppy/companion-client |   3.1.1 |
| @uppy/aws-s3-multipart |   3.1.1 | @uppy/utils            |   5.1.1 |
| @uppy/companion        |   4.1.1 | uppy                   |   3.3.1 |

- @uppy/aws-s3-multipart: handle slow connections better (Antoine du Hamel / #4213)
- @uppy/companion-client: treat `*` the same as missing header (Antoine du Hamel / #4221)
- @uppy/utils: fix types (Antoine du Hamel / #4212)
- @uppy/companion: send expire info for non-multipart uploads (Antoine du Hamel / #4214)
- docs: fix `allowedMetaFields` documentation (Antoine du Hamel / #4216)
- meta: add more bundlers for automated testing (Antoine du Hamel / #4100)
- @uppy/aws-s3-multipart: Fix typo in url check (Christian Franke / #4211)
- meta: use current version of packages when testing bundlers (Antoine du Hamel / #4208)
- meta: do not use the set-output command in workflows (Antoine du Hamel / #4175)
2022-11-16 14:19:54 +00:00
Antoine du Hamel
e69e235bce
@uppy/aws-s3-multipart: handle slow connections better (#4213) 2022-11-16 15:02:53 +01:00
Antoine du Hamel
92a0b20a43
@uppy/companion-client: treat * the same as missing header (#4221)
Setting `Access-Control-Allow-Headers: *` should be interpreted as
when that header is missing, for backward compat.
2022-11-16 14:56:04 +01:00
Antoine du Hamel
b138e91878
@uppy/utils: fix types (#4212)
This reverts commit a249e09163.
2022-11-15 14:30:28 +01:00
Antoine du Hamel
c088933301
@uppy/companion: send expire info for non-multipart uploads (#4214) 2022-11-15 14:30:04 +01:00
Christian Franke
7f1dc6804d
@uppy/aws-s3-multipart: Fix typo in url check (#4211) 2022-11-14 11:46:23 -03:00
github-actions[bot]
99d832f429
Release: uppy@3.3.0 (#4207)
| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/angular          |   0.5.0 | @uppy/image-editor     |   2.1.0 |
| @uppy/aws-s3-multipart |   3.1.0 | @uppy/locales          |   3.0.4 |
| @uppy/companion        |   4.1.0 | @uppy/tus              |   3.0.5 |
| @uppy/companion-client |   3.1.0 | @uppy/utils            |   5.1.0 |
| @uppy/dashboard        |   3.2.0 | uppy                   |   3.3.0 |

- @uppy/companion: change default S3 expiry from 300 to 800 seconds (Merlijn Vos / #4206)
- @uppy/dashboard: Single file mode (Artur Paikin / #4188)
- @uppy/locales: Fix UZ locale (Merlijn Vos / #4178)
- @uppy/utils: update typings for `RateLimitedQueue` (Antoine du Hamel / #4204)
- @uppy/aws-s3-multipart: empty the queue when pausing (Antoine du Hamel / #4203)
- @uppy/image-editor: add checkered background (Livia Medeiros / #4194)
- @uppy/aws-s3-multipart: refactor rate limiting approach (Antoine du Hamel / #4187)
- @uppy/companion: send expiry time along side S3 signed requests (Antoine du Hamel / #4202)
- @uppy/companion-client: add support for `AbortSignal` (Antoine du Hamel / #4201)
- @uppy/companion-client: prevent preflight race condition (Mikael Finstad / #4182)
- @uppy/aws-s3-multipart: change limit to 6 (Antoine du Hamel / #4199)
- @uppy/utils: add `cause` support for `AbortError`s (Antoine du Hamel / #4198)
- meta: Fix bad example for setFileState (Tim Whitney / #4191)
- meta: Update code example for getFiles (Tim Whitney / #4189)
- meta: Fix issue with outdated comment. (Tim Whitney / #4192)
- @uppy/aws-s3-multipart: remove unused `timeout` option (Antoine du Hamel / #4186)
- meta: Remove dollar sign from command for easier copy/pasting (Youssef Victor / #4180)
- @uppy/aws-s3-multipart,@uppy/tus: fix `Timed out waiting for socket` (Antoine du Hamel / #4177)
- meta: Add note about facebook approval (Mikael Finstad / #4172)
- meta: add a manual deploy for website (Antoine du Hamel / #4171)
2022-11-10 15:36:05 +00:00
Merlijn Vos
dcfec2570c
Companion: change default S3 expiry from 300 to 800 seconds (#4206) 2022-11-10 11:55:31 -03:00
Artur Paikin
a2a265af02
Dashboard: Single file mode (#4188)
* progress pause/resume should be white

* add uppy-c-btn to remaining buttons

* Single file mode: large preview thumbnail for single file

* tweak icon and FileItem sizes

* check for single file mode when files are added or removed

* Don't shorted file names in single file mode

* Refactor a bit

* remove events on uninstall
2022-11-10 00:05:27 +00:00
Merlijn Vos
0c4b83c8c3
Fix UZ locale (#4178) 2022-11-09 23:51:00 +00:00
Antoine du Hamel
5420829ade
@uppy/utils: update typings for RateLimitedQueue (#4204) 2022-11-09 20:47:51 +01:00
Antoine du Hamel
0375a490b5
@uppy/aws-s3-multipart: empty the queue when pausing (#4203)
This is to avoid leaving aborted requests in the queue that would
be reported as errors instead of being ignored.
2022-11-09 20:23:29 +01:00
Livia Medeiros
8ce10e8c53
image-editor: add checkered background (#4194) 2022-11-09 14:51:39 -03:00
Antoine du Hamel
60ae8c197b
@uppy/aws-s3-multipart: refactor rate limiting approach (#4187)
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
Co-authored-by: Murderlon <merlijn@soverin.net>
2022-11-09 17:59:11 +01:00
Antoine du Hamel
119d4a2263
@uppy/companion: send expiry time along side S3 signed requests (#4202) 2022-11-09 13:41:36 -03:00
Antoine du Hamel
0b0289fc89
@uppy/companion-client: add support for AbortSignal (#4201) 2022-11-08 16:58:15 +01:00
Mikael Finstad
875bc0bbea
@uppy/companion-client: prevent preflight race condition (#4182)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-11-08 15:20:22 +01:00
Antoine du Hamel
90457f91a3
@uppy/aws-s3-multipart: change limit to 6 (#4199) 2022-11-08 14:41:32 +01:00