Commit graph

26 commits

Author SHA1 Message Date
Antoine du Hamel
087d8f07f0
@uppy/aws-s3: add endpoint option (#5173) 2024-06-13 14:55:12 +02:00
Merlijn Vos
915a563da9
@uppy/react: remove useUppy & reintroduce useUppyState (#5059) 2024-04-17 12:05:48 +02:00
Antoine du Hamel
f6734feb36
@uppy/aws-s3: remove deprecated prepareUploadParts option (#5075) 2024-04-11 18:19:37 +02:00
Antoine du Hamel
04839fdab6
@uppy/aws-s3: remove legacy plugin (#5070) 2024-04-11 12:10:28 +02:00
Merlijn Vos
c4455ebba7
@uppy/transloadit: remove deprecated options (#5056) 2024-04-03 10:09:39 +02:00
Artur Paikin
440b8a9f9a
Revert "@uppy/react: add useUppyState (#4711)" (#4789)
This reverts commit 12e08ada02.
2023-11-12 02:03:55 +01:00
Merlijn Vos
12e08ada02
@uppy/react: add useUppyState (#4711) 2023-10-24 08:58:58 +02:00
Artur Paikin
8b252086f5
@uppy/dashboard: auto discover and install plugins without target (#4343)
* Dashboard: auto discover plugins no matter when they were installed

* Remove target from RemoteSoruces, making it compatible with @uppy/react

* Update packages/@uppy/dashboard/src/Dashboard.jsx

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

* Removed comments, added comments

* better comment

* Change type — otherwise gets listed on Dashboard sources

* Add RemoteSources to React test

* Add RemoteSources to React example

* Add tests

* Refactor for less iteration for each plugin, rename functions

* Prevent error when opts are undefined

* remove console.logs

* prettier

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2023-10-12 23:19:40 +01:00
Antoine du Hamel
4b1bc4bcc3
meta: check for formatting in CI (#4714) 2023-09-29 11:33:59 +02:00
Antoine du Hamel
34c78e9093
meta: run Prettier on existing files (#4713) 2023-09-29 11:11:28 +02:00
Antoine du Hamel
2f691acd3f
meta: add Prettier (#4707)
JS files are ignored for now because we want to migrate them to TS
anyway.
MD files are also ignored to minimize the diff.

ESLint is run twice twice on TS files in case it conflicts with Prettier.
2023-09-28 16:47:52 +02:00
Youssef Victor
83ac000c31
Fix indentation in generate-test.mjs (#4181) 2023-01-02 11:00:46 +01: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
51da2b5a79
e2e: add tests for AWS (#3665)
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2022-08-23 18:43:46 +02:00
Mikael Finstad
31a9e0c2fd
Companion: bring back default upload protocol (#3967)
* add (failing) e2e test for remote xhr (multipart)

regression caused by #3834

* Revert "do not use a default upload protocol"

This reverts commit c7e61ddfea.

* add note on todo

* dry code a bit

* explicitly add protocol: 'multipart' in the client

* fix review comment
2022-08-11 17:09:10 +07:00
Merlijn Vos
f1a7e0c909
Fix uppy.close() crashes when remote-sources or image-editor is installed (#3914) 2022-07-27 17:22:22 +02:00
Antoine du Hamel
797e171179
meta: fix more linter warnings (#3757) 2022-05-19 17:15:38 +02:00
Merlijn Vos
7d7c4dd5ad
Add onShouldRetry as option to @uppy/tus (#3720)
- Add `onShouldRetry` as option to @uppy/tus
  - Docs
  - Types
  - E2E test
- Remove bad flaky test

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-05-17 16:38:50 +02:00
Merlijn Vos
d42badf995
Support React 18 in @uppy/react (#3680)
* Support React 18
* Remove unit tests
* Create e2e tests

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-05-04 17:38:08 +02:00
Antoine du Hamel
df12aecb56
meta: harden linter rule for JSX/ESM validation (#3681)
Previously, we were using Babel parser to lint our files, which has the
downside of auto-magically convert JSX syntax to classic JS syntax,
which doesn't let us forbid JSX syntax on `.js` files, which makes
the transition from CJS  to ESM a bit error prone.
Since we are no longer using language features that are not already
supported by Espree parser, we can safely disable Babel parser for
those files. We can re-enable it later once the transition is done.
2022-05-02 15:59:17 +02:00
Antoine du Hamel
134539ab52
meta: harden linter rules for ESM/CJS validation (#3674) 2022-05-02 10:13:06 +02:00
Antoine du Hamel
875d3fe30f
e2e: sign requests sent to Transloadit (#3656) 2022-04-25 16:30:57 +02:00
Camilo Forero
011856ccf4
Merge new name and type into compressed file (#3606)
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2022-04-05 14:34:18 +08:00
Antoine du Hamel
2a4e2bf823
meta: fix e2e (#3562) 2022-03-11 19:24:38 +01:00
Artur Paikin
7223af2c9d
@uppy/compressor: Add image compressor plugin (#3471)
* Add Compressor plugin

* Set type in blob if it’s missing

* clear thumbnail-generator queue when cancel-all is called

* Add e2e test for @uppy/compressor

* Docs, types, readme, bundle, add event

* Update yarn.lock

* fix test

* Update e2e/cypress/integration/dashboard-compressor.spec.ts

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

* Update dashboard-compressor.spec.ts

* convert compressor to ESM

* Update e2e/clients/dashboard-compressor/index.html

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

* remove console.log

* uglierBytes

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-02-16 11:40:08 +00:00
Merlijn Vos
6da874ed3a
meta: Make E2E Great Again (#3444)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-02-08 17:37:27 +01:00