Commit graph

9007 commits

Author SHA1 Message Date
Artur Paikin
ac10c6d821
Update README.md 2022-08-22 19:28:28 +01:00
Artur Paikin
f3aeac4b0d
Update README.md 2022-08-22 19:24:59 +01:00
Artur Paikin
da27a5591a
meta: Use RemoteSources in readme example (#4030) 2022-08-22 20:23:49 +02:00
Merlijn Vos
8773dcd738
Add migration guide for Uppy 3.x, Companion 4.x, and Robodog (#3913)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2022-08-22 20:08:24 +02:00
Antoine du Hamel
7d74d3a451
example: upgrade React example to use React 18 (#4002) 2022-08-22 20:02:49 +02:00
Artur Paikin
bbcc14687c
readme: Use new ESM syntax (#4028)
* Use new ESM syntax

* Update README.md

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

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-08-22 18:42:42 +01:00
Antoine du Hamel
ee83d330fe
fixup! meta: fix linter failures (#4029) 2022-08-22 18:45:17 +02:00
Antoine du Hamel
524b783ac5
@uppy/vue: move @uppy/ packages to peer dependencies (#4024) 2022-08-22 18:38:45 +02:00
Antoine du Hamel
70a4615a47
meta: fix linter failures (#4029) 2022-08-22 18:35:13 +02:00
Antoine du Hamel
4bb99880b3
@uppy/robodog: remove package (#3946)
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2022-08-22 17:19:15 +02:00
Antoine du Hamel
bef7b58bef
example: migrate digitalocean-spaces to ESM (#4015) 2022-08-22 17:17:41 +02:00
Antoine du Hamel
183187d7a1
example: replace Robodog example with Transloadit + RemoteSources + Form (#4027)
* example: remove Robodog example

Co-authored-by: Artur Paikin <artur@arturpaikin.com>

* Update examples/transloadit/index.html

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

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2022-08-22 16:13:24 +01:00
Antoine du Hamel
0da66ff9bd
website: replace Robodog example with Uppy plugins (#4026)
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2022-08-22 16:55:19 +02:00
Merlijn Vos
d7180dbb3c
@uppy/tus, @uppy/xhr-upload, @uppy/aws-s3: metaFields -> allowedMetaFields (#4023) 2022-08-22 16:48:39 +02:00
Antoine du Hamel
089aaed615
example: showcase migration out of Robodog (#4021)
* example: showcase migration out of Robodog

Co-authored-by: Artur Paikin <artur@arturpaikin.com>

* Fix server, apply what was done in #3946

* Do weird things with input[type=file]

* fix last example

* Improve completion logging

* Fix lint

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2022-08-22 15:24:16 +01:00
Antoine du Hamel
ff2eed4eeb
example: fix Svelte dev mode (#4025) 2022-08-22 15:53:23 +02:00
Antoine du Hamel
5353874083
example: fix docs and env for Vite examples (#4018) 2022-08-22 15:25:22 +02:00
Antoine du Hamel
97c6507bf0
@uppy/tus: avoid crashing when Tus client reports an error (#4019)
Avoid crashing when Tus client reports an error before any request is queued.
2022-08-22 15:23:09 +02:00
Antoine du Hamel
ef7cbea10f
@uppy/react: move @uppy/ packages to peer dependencies (#4004) 2022-08-22 15:02:18 +02:00
Artur Paikin
7c460f3a66
core: uppy.addFile should accept browser File objects (#4020)
* If non-remote file has no .data, it’s a File object from the browser, convert it to Uppy format

* Add test

* Update packages/@uppy/core/src/Uppy.js

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

* Check for instanceof File

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-08-22 13:42:18 +01:00
Antoine du Hamel
35013e11cb
example: fix svelte example (#4017) 2022-08-19 16:14:34 +02:00
Antoine du Hamel
66f49db856
example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02:00
Antoine du Hamel
655b8ba61b
example: migrate php-xhr to ESM (#4009) 2022-08-19 10:56:38 +02:00
Antoine du Hamel
8ac6091e1a
example: migrate node-xhr to ESM (#4008) 2022-08-19 10:51:39 +02:00
Antoine du Hamel
f1ddd43765
example: migrate xhr-bundle to ESM (#4012) 2022-08-19 00:49:55 +02:00
Antoine du Hamel
4f1e04d922
example: migrate multiple-instances to ESM (#4007) 2022-08-18 23:09:22 +02:00
Antoine du Hamel
1ce625660e
example: replace transloadit-textarea with transloadit-markdown-bin (#4013)
Co-authored-by: Artur Paikin <artur@arturpaikin.com>

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2022-08-18 22:07:53 +01:00
Antoine du Hamel
dac4051ad1
example: add README to Svelte example (#4011) 2022-08-18 22:17:19 +02:00
Artur Paikin
4108aa6aa3
build: Remove size-limit for now (#4003)
* Remove size-limit for now

* lock

* lock

* lock lock lock
2022-08-18 17:41:54 +01:00
Artur Paikin
4ed75ca61c
Style tweaks: use all: initial + other resets (#3983)
* Refactor uppy-u-reset: all: initial is now well-supported

* Utilize system-ui font-family, it should be provided by browsers now for multi-platform consistency

* Make Dashboard UI a little smaller by default

* Add uppy-c-btn to uppy-Dashboard-browse

* hide uploadNewlyAdded button when preprecessing

* Make “drop files here” tagline more even
2022-08-18 16:01:12 +01:00
Merlijn Vos
222c00bb26
aws-s3: fix incorrect comparison for file-removed (#3962)
Add check for file object vs file id
2022-08-18 16:25:59 +02:00
Antoine du Hamel
e69d4ecf92
example: update to new CDN export names (#4006)
`Uppy` call is now exported as `Uppy` instead of `Core`.

Refs: https://github.com/transloadit/uppy/pull/3981
2022-08-18 14:55:41 +02:00
Antoine du Hamel
b8a894527c
example: fix dependencies of bundled example (#4005) 2022-08-18 13:02:50 +02:00
Antoine du Hamel
45bebfe6eb
@uppy/tus: fix dependencies (#3923)
`@jest/globals` should be in the `devDependencies` list, not in the
`peerDependencies`.

Refs: https://community.transloadit.com/t/why-is-jest-globals-a-peer-dependency-of-every-uppy-package/16182/1
(cherry picked from commit f5d5e8bb09)
2022-08-18 12:04:04 +02:00
Merlijn Vos
8195b22de3
@uppy/tus: add file argument to onBeforeRequest (#3984)
Add file argument to `onBeforeRequest`.
2022-08-17 19:24:01 +02:00
Antoine du Hamel
8ed98725c5
@uppy/utils: fix drop of multiple files on Chromium browsers (#3998)
Fixes: https://github.com/transloadit/uppy/issues/3988
2022-08-17 17:08:28 +02:00
Antoine du Hamel
03d0590864
@uppy/angular: upgrade to Angular 14 (#3997) 2022-08-17 15:21:02 +02:00
Antoine du Hamel
b52688876f
example: update Angular example to v14 (#3996) 2022-08-17 12:33:25 +02:00
Merlijn Vos
edcbe02995
Fix @uppy/utils microtip.scss export (#3995) 2022-08-17 12:13:16 +02:00
Mikael Finstad
675f48ad8c
Companion: make streaming upload recommended & other docs tweaks (#3994)
make streamingUpload recommended
2022-08-17 16:02:02 +07:00
github-actions[bot]
9d03b6f600
Release: uppy@3.0.0-beta.5 (#3991)
| Package                   |      Version | Package                   |      Version |
| ------------------------- | ------------ | ------------------------- | ------------ |
| @uppy/audio               | 1.0.0-beta.2 | @uppy/progress-bar        | 3.0.0-beta.2 |
| @uppy/aws-s3              | 3.0.0-beta.3 | @uppy/provider-views      | 3.0.0-beta.3 |
| @uppy/aws-s3-multipart    | 3.0.0-beta.4 | @uppy/react               | 3.0.0-beta.4 |
| @uppy/box                 | 2.0.0-beta.2 | @uppy/redux-dev-tools     | 3.0.0-beta.2 |
| @uppy/companion           | 4.0.0-beta.4 | @uppy/remote-sources      | 1.0.0-beta.4 |
| @uppy/companion-client    | 3.0.0-beta.2 | @uppy/screen-capture      | 3.0.0-beta.3 |
| @uppy/compressor          | 1.0.0-beta.3 | @uppy/status-bar          | 3.0.0-beta.3 |
| @uppy/core                | 3.0.0-beta.4 | @uppy/store-default       | 3.0.0-beta.3 |
| @uppy/dashboard           | 3.0.0-beta.4 | @uppy/store-redux         | 3.0.0-beta.3 |
| @uppy/drag-drop           | 3.0.0-beta.2 | @uppy/svelte              | 2.0.0-beta.2 |
| @uppy/drop-target         | 2.0.0-beta.3 | @uppy/thumbnail-generator | 3.0.0-beta.2 |
| @uppy/dropbox             | 3.0.0-beta.2 | @uppy/transloadit         | 3.0.0-beta.5 |
| @uppy/facebook            | 3.0.0-beta.2 | @uppy/tus                 | 3.0.0-beta.3 |
| @uppy/file-input          | 3.0.0-beta.2 | @uppy/unsplash            | 3.0.0-beta.2 |
| @uppy/form                | 3.0.0-beta.2 | @uppy/url                 | 3.0.0-beta.3 |
| @uppy/golden-retriever    | 3.0.0-beta.2 | @uppy/utils               | 5.0.0-beta.1 |
| @uppy/google-drive        | 3.0.0-beta.2 | @uppy/vue                 | 1.0.0-beta.2 |
| @uppy/image-editor        | 2.0.0-beta.3 | @uppy/webcam              | 3.0.0-beta.3 |
| @uppy/informer            | 3.0.0-beta.3 | @uppy/xhr-upload          | 3.0.0-beta.3 |
| @uppy/instagram           | 3.0.0-beta.2 | @uppy/zoom                | 2.0.0-beta.2 |
| @uppy/locales             | 3.0.0-beta.4 | uppy                      | 3.0.0-beta.5 |
| @uppy/onedrive            | 3.0.0-beta.2 |                           |              |

- meta: prepare release workflow for beta versions (Antoine du Hamel)
- @uppy/provider-views: Reset filter input correctly in provider views (Merlijn Vos / #3978)
- @uppy/aws-s3-multipart: Fix when using Companion (Merlijn Vos / #3969)
- @uppy/companion: Companion: bring back default upload protocol (Mikael Finstad / #3967)
- meta: Update CONTRIBUTING.md (Mikael Finstad / #3966)
- meta: fix contributing link (Mikael Finstad / #3968)
- @uppy/companion: enforce usage of uploadUrls (Mikael Finstad / #3965)
- @uppy/utils: Fix webp mimetype (Merlijn Vos / #3961)
- @uppy/locales: Add compressor string translation to Japanese locale (kenken / #3963)
- meta: Fix statement about cropping images in README.md (Mikael Finstad / #3964)
- @uppy/aws-s3-multipart: Fix race condition in `#uploadParts` (Morgan Zolob / #3955)
- @uppy/provider-views: core validateRestrictions: return error directly vs the result/reason obj (Artur Paikin / #3951)
- @uppy/aws-s3: Export AwsS3UploadParameters & AwsS3Options interfaces (Antonina Vertsinskaya / #3956)
- website: convert all website examples to ESM (Antoine du Hamel / #3957)
- @uppy/companion: fix crash if redis disconnects (Mikael Finstad / #3954)
- @uppy/companion: upgrade `ws` version (Antoine du Hamel / #3949)
- @uppy/companion: sort Dropbox response & refactor to async/await (Mikael Finstad / #3897)
- @uppy/utils: modernize `getDroppedFiles` (Antoine du Hamel / #3534)
- @uppy/companion: fix default getKey for non-standalone too (Mikael Finstad / #3945)
- @uppy/aws-s3-multipart: ignore exception inside `abortMultipartUpload` (Antoine du Hamel / #3950)
- @uppy/companion: remove `isobject` from dependencies (Antoine du Hamel / #3948)
- @uppy/compressor: Fix Compressor being broken when no name is in the compressed blob (Artur Paikin / #3947)
- @uppy/core,@uppy/react: Fix all breaking todo comments for 3.0 (Merlijn Vos / #3907)
- @uppy/companion: show deprecation message when using legacy s3 options (Antoine du Hamel / #3944)
- example: fix aws-companion example (Antoine du Hamel / #3850)
2022-08-16 21:40:57 +00:00
Antoine du Hamel
059c711ff5
@uppy/angular: fix TypeScript version (#3992) 2022-08-16 23:22:11 +02:00
Antoine du Hamel
5044230bf1
meta: upgrade all dev dependencies (#3903) 2022-08-16 22:39:28 +02:00
Antoine du Hamel
9724392cd4
fixup! @uppy/utils: add missing exports (#3989) 2022-08-16 21:30:57 +02:00
Antoine du Hamel
64f91a70b1
@uppy/utils: add missing exports (#3989) 2022-08-16 20:26:24 +02:00
Antoine du Hamel
1efa053e45
@uppy/transloadit: deprecate static properties, export new names (#3987) 2022-08-16 18:01:17 +02:00
Artur Paikin
5567be7300
uppy: export Uppy as Uppy instead of Core (#3981) 2022-08-16 17:52:15 +02:00
Antoine du Hamel
8fa1ff1b56
fixup! @uppy/utils: use exports map (#3985) 2022-08-16 17:52:15 +02:00
mostafa khaki
0a19e8e377
Fix run example uppy-with-companion (#3975)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2022-08-16 17:25:48 +02:00
Mikael Finstad
2db5165bd8
fix broken onedrive and broken tests 2022-08-16 15:44:33 +02:00