Commit graph

9191 commits

Author SHA1 Message Date
Antoine du Hamel
b7fa0238be
@uppy/tus: do not auto-open sockets, clean them up on abort
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-03-22 12:58:57 +01:00
Antoine du Hamel
a825b43451
@uppy/aws-s3-multipart: do not auto-open sockets, clean them up on abort
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2023-03-22 12:58:56 +01:00
Artur Paikin
5ce2da5b4a
@uppy/companion-client: do not open socket more than once
This also has the upside of letting the JS engine garbage collect the
underlying `WebSocket` instance.

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-03-22 12:58:50 +01:00
Mikael Finstad
32002ffe78
meta: deploy to Heroku on every companion commit (#4367)
Instead of deploying on each release, deploy to Heroku on every commit that is touching a companion file (except release commits, but that's fine as the release commit should contain doc-only changes). This is to increase our chance of catching bugs before releases, and would ensure that Uppy.io examples are using the edge.
2023-03-21 15:06:32 +01:00
Mikael Finstad
ef1a945f79
@uppy/companion: add connection keep-alive to dropbox (#4365)
* add connection: keep-alive to dropbox

fixes #4357

* update a todo

* dont clear screen by vite

i want to also see companion's output
2023-03-20 20:59:03 +08:00
Ikko Eltociear Ashimine
34cdf85d0d
@uppy/companion: fix typo in redis-emitter.js (#4362)
occurence -> occurrence
2023-03-20 17:33:31 +08:00
Mikael Finstad
e985741567
remove duplicate outdated OSS support docs (#4364)
remove duplicate outdated OSS support
2023-03-19 23:36:31 +00:00
Artur Paikin
f0686ef7f8
Update support.md 2023-03-18 15:50:20 +00:00
Mikael Finstad
41b8563ae2
@uppy/companion: add S3 prefix env variable (#4320)
* Adds optional COMPANION_S3_PREFIX for companion

* Fixing prefix usage

* fix implementation

* add docs

---------

Co-authored-by: Will Wilson <will.wilson@asset.tv>
2023-03-17 12:18:30 +08:00
Mikael Finstad
56cbb3e1eb
@uppy/companion: allow local ips when testing (#4328)
* allow local ips when testing

in development when `allowLocalUrls` is true

* fix oops

* improve error and add test

* refactor

* add more ip block tests
2023-03-15 15:13:31 +08:00
github-actions[bot]
233435ff1e
Release: uppy@3.6.1 (#4348)
| Package         | Version | Package         | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/core      |   3.1.1 | uppy            |   3.6.1 |
| @uppy/dashboard |   3.3.1 |                 |         |

- @uppy/dashboard: Fix low-contrast hover styles (Alexander Zaytsev / #4347)
2023-03-07 11:37:58 +00:00
Alexander Zaytsev
df32c1c5b0
@uppy/dashboard: Fix low-contrast hover styles (#4347)
Fix low-contrast hover styles on Dashboard icons
2023-03-07 19:27:42 +08:00
github-actions[bot]
a21e76bbb5
Release: uppy@3.6.0 (#4346)
| Package              | Version | Package              | Version |
| -------------------- | ------- | -------------------- | ------- |
| @uppy/audio          |   1.1.0 | @uppy/onedrive       |   3.1.0 |
| @uppy/box            |   2.1.0 | @uppy/provider-views |   3.1.0 |
| @uppy/core           |   3.1.0 | @uppy/screen-capture |   3.1.0 |
| @uppy/dashboard      |   3.3.0 | @uppy/unsplash       |   3.1.0 |
| @uppy/dropbox        |   3.1.0 | @uppy/url            |   3.2.0 |
| @uppy/facebook       |   3.1.0 | @uppy/utils          |   5.1.3 |
| @uppy/google-drive   |   3.1.0 | @uppy/webcam         |   3.3.0 |
| @uppy/image-editor   |   2.1.1 | @uppy/zoom           |   2.1.0 |
| @uppy/instagram      |   3.1.0 | uppy                 |   3.6.0 |
| @uppy/locales        |   3.0.7 |                      |         |

- @uppy/locales: add missing entries after build (Murderlon)
- @uppy/dashboard: update provider icon style (Alexander Zaytsev / #4345)
- @uppy/core: fix uppy.resetProgress() (Artur Paikin / #4337)
- @uppy/core: fix some types (Antoine du Hamel / #4332)
- @uppy/core: Fixed type of State.info to match reality being an array of info objects (Marc Bennewitz / #4321)
- @uppy/image-editor: Fix TypeScript error in image-editor types (Matthias Kunnen / #4334)
- meta: improve `importFromUploadURLs` docs (Mikael Finstad / #4323)
- @uppy/utils: workaround chrome crash (Mikael Finstad / #4310)
2023-03-07 09:59:47 +00:00
Murderlon
5a89533daf
@uppy/locales: add missing entries after build 2023-03-07 10:37:18 +01:00
Alexander Zaytsev
2e596ca9a1
@uppy/dashboard: update provider icon style (#4345) 2023-03-07 16:24:48 +08:00
Artur Paikin
222e511a98
@uppy/core: fix uppy.resetProgress() (#4337)
* Fix uppy.resetProgress()

* Update tests
2023-03-02 20:16:42 +00:00
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
96b84405f7
improve importFromUploadURLs docs (#4323) 2023-02-22 13:29:02 +00: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
Artur Paikin
459ef16c7f
Remove Robodog advice, since it is deprecated 2023-02-13 11:47:37 +00: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
6d5f67849f
Fix comment about COMPANION_PATH (#4279)
The comment detailing what option the `COMPANION_PATH` environment variable corresponds to said `server.port`, but I think this is a copy/paste mistake and should be `server.path`.
2023-01-19 14:02:30 +01: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
3437074765
ci: make sure Yarn's global cache is disabled (#4268)
Yarn v4 enables global caching by default, using a local cache
simplifies the use of @actions/cache.
Also simplifies the "Publish to the npm registry" step.
2023-01-08 15:32:36 +01:00
Antoine du Hamel
c334fb9550
@uppy/aws-s3-multipart: fix metadata shape (#4267) 2023-01-05 16:10:45 +01:00
Antoine du Hamel
f56520f1d8
example: add multipart support to aws-nodejs (#4257) 2023-01-05 12:04:51 +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
Youssef Victor
83ac000c31
Fix indentation in generate-test.mjs (#4181) 2023-01-02 11:00:46 +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
Artur Paikin
73c9775c78
Add blog post 3.1-3.3 🎄 (#4255)
* Add 3.1-3.3 blog post draft

* Allow of course

* Update 2022-12-3.3.md

* Update website/src/_posts/2022-12-3.3.md

Co-authored-by: Mikael Finstad <finstaden@gmail.com>

* Update website/src/_posts/2022-12-3.3.md

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

* Apply suggestions, fix typos, add gif

* Ignore However

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2022-12-22 23:51:12 +00:00