Commit graph

11 commits

Author SHA1 Message Date
Merlijn Vos
6e65cd8c51
Import types consistently from @uppy/core (#5589)
* Import types consistently from @uppy/core

* Add new eslint rule

* Clean up exports
2025-01-09 11:03:43 +01:00
github-actions[bot]
3ad21f03c7
Release: uppy@4.12.0 (#5581)
| Package                    | Version | Package                    | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/google-drive-picker  |   0.3.1 | @uppy/unsplash             |   4.3.0 |
| @uppy/google-photos-picker |   0.3.1 | @uppy/utils                |   6.1.1 |
| @uppy/onedrive             |   4.2.1 | @uppy/xhr-upload           |   4.3.1 |
| @uppy/provider-views       |   4.4.0 | uppy                       |  4.12.0 |
| @uppy/svelte               |   4.3.0 |                            |         |

- @uppy/unsplash,@uppy/provider-views: add utmSource option (Merlijn Vos / #5580)
- @uppy/xhr-upload: allow custom error message in onAfterResponse (Merlijn Vos / #5578)
- @uppy/onedrive: fix AsyncStore import (Merlijn Vos / #5579)
- @uppy/google-drive-picker,@uppy/google-photos-picker: Fix Google Picker plugins locale (Merlijn Vos / #5575)
2025-01-08 10:02:48 +00:00
Merlijn Vos
d37879164b
Fix Google Picker plugins locale (#5575) 2025-01-06 17:03:16 +01:00
github-actions[bot]
0dff336dd3
Release: uppy@4.11.0 (#5574)
| Package                    | Version | Package                    | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/audio                |   2.1.0 | @uppy/onedrive             |   4.2.0 |
| @uppy/aws-s3               |   4.2.0 | @uppy/progress-bar         |   4.2.0 |
| @uppy/box                  |   3.2.0 | @uppy/provider-views       |   4.3.0 |
| @uppy/companion-client     |   4.4.0 | @uppy/react                |   4.2.0 |
| @uppy/compressor           |   2.2.0 | @uppy/remote-sources       |   2.3.0 |
| @uppy/core                 |   4.4.0 | @uppy/screen-capture       |   4.2.0 |
| @uppy/dashboard            |   4.3.0 | @uppy/status-bar           |   4.1.0 |
| @uppy/drag-drop            |   4.1.0 | @uppy/store-default        |   4.2.0 |
| @uppy/drop-target          |   3.1.0 | @uppy/svelte               |   4.2.0 |
| @uppy/dropbox              |   4.2.0 | @uppy/thumbnail-generator  |   4.1.0 |
| @uppy/facebook             |   4.2.0 | @uppy/transloadit          |   4.2.0 |
| @uppy/file-input           |   4.1.0 | @uppy/tus                  |   4.2.0 |
| @uppy/form                 |   4.1.0 | @uppy/unsplash             |   4.2.0 |
| @uppy/golden-retriever     |   4.1.0 | @uppy/url                  |   4.2.0 |
| @uppy/google-drive         |   4.3.0 | @uppy/utils                |   6.1.0 |
| @uppy/google-drive-picker  |   0.3.0 | @uppy/vue                  |   2.1.0 |
| @uppy/google-photos        |   0.5.0 | @uppy/webcam               |   4.1.0 |
| @uppy/google-photos-picker |   0.3.0 | @uppy/webdav               |   0.3.0 |
| @uppy/image-editor         |   3.3.0 | @uppy/xhr-upload           |   4.3.0 |
| @uppy/informer             |   4.2.0 | @uppy/zoom                 |   3.2.0 |
| @uppy/instagram            |   4.2.0 | uppy                       |  4.11.0 |
| @uppy/locales              |   4.5.0 |                            |         |

- meta: build(deps): bump docker/metadata-action from 5.5.1 to 5.6.1 (dependabot[bot] / #5525)
- examples,@uppy/svelte: build(deps-dev): bump @sveltejs/kit from 2.5.17 to 2.8.3 (dependabot[bot] / #5526)
- meta: build(deps): bump docker/build-push-action from 6.9.0 to 6.10.0 (dependabot[bot] / #5531)
- meta: build(deps): bump elliptic from 6.5.7 to 6.6.0 (dependabot[bot] / #5498)
- @uppy/utils: Use .js(x) for all imports instead .ts(x) (Merlijn Vos / #5573)
- @uppy/angular,@uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive-picker,@uppy/google-drive,@uppy/google-photos-picker,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/webdav,@uppy/xhr-upload,@uppy/zoom: Remove "paths" from all tsconfig's (Merlijn Vos / #5572)
- @uppy/tus: fix onBeforeRequest type (Dominik Schmidt / #5566)
2025-01-06 14:11:04 +00:00
Merlijn Vos
3e2aa9f3c8
Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
Merlijn Vos
820107b954
Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00
github-actions[bot]
8654e9822f
Release: uppy@4.9.0 (#5553)
| Package                    | Version | Package                    | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/companion            |   5.3.0 | @uppy/progress-bar         |   4.1.0 |
| @uppy/companion-client     |   4.3.0 | @uppy/provider-views       |   4.2.0 |
| @uppy/core                 |   4.3.1 | @uppy/status-bar           |   4.0.6 |
| @uppy/google-drive-picker  |   0.2.1 | @uppy/utils                |   6.0.6 |
| @uppy/google-photos-picker |   0.2.1 | @uppy/webdav               |   0.1.0 |
| @uppy/locales              |   4.4.0 | uppy                       |   4.9.0 |

- @uppy/webdav: Add @uppy/webdav (Merlijn Vos / #5551)
- @uppy/google-drive-picker,@uppy/google-photos-picker,@uppy/locales: Add missing Google Picker locale entries (Merlijn Vos / #5552)
- @uppy/core: bring back validateRestrictions (Merlijn Vos / #5538)
- @uppy/google-drive-picker,@uppy/google-photos-picker: Fix TS generics on new Google Picker plugins (Merlijn Vos / #5550)
- @uppy/locales: Add missing French locale entries (Steven SAN / #5549)
- e2e,@uppy/status-bar,@uppy/utils: Companion stream upload unknown size files (Mikael Finstad / #5489)
2024-12-17 08:44:28 +00:00
Merlijn Vos
060734bd11
Add missing Google Picker locale entries (#5552) 2024-12-16 14:20:26 +01:00
Merlijn Vos
54ad2c7426
Fix TS generics on new Google Picker plugins (#5550) 2024-12-16 13:46:30 +01:00
github-actions[bot]
e07c83bebe
Release: uppy@4.8.0 (#5541)
| Package                    | Version | Package                    | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/audio                |   2.0.2 | @uppy/instagram            |   4.1.2 |
| @uppy/aws-s3               |   4.1.3 | @uppy/locales              |   4.3.1 |
| @uppy/box                  |   3.1.2 | @uppy/onedrive             |   4.1.2 |
| @uppy/companion            |   5.2.0 | @uppy/progress-bar         |   4.0.2 |
| @uppy/companion-client     |   4.2.0 | @uppy/provider-views       |   4.1.0 |
| @uppy/compressor           |   2.1.1 | @uppy/react                |   4.0.4 |
| @uppy/core                 |   4.3.0 | @uppy/remote-sources       |   2.2.1 |
| @uppy/dashboard            |   4.1.3 | @uppy/screen-capture       |   4.1.2 |
| @uppy/drag-drop            |   4.0.5 | @uppy/status-bar           |   4.0.5 |
| @uppy/drop-target          |   3.0.2 | @uppy/store-default        |   4.1.2 |
| @uppy/dropbox              |   4.1.2 | @uppy/thumbnail-generator  |   4.0.2 |
| @uppy/facebook             |   4.1.2 | @uppy/transloadit          |   4.1.4 |
| @uppy/file-input           |   4.0.4 | @uppy/tus                  |   4.1.5 |
| @uppy/form                 |   4.0.2 | @uppy/unsplash             |   4.1.2 |
| @uppy/golden-retriever     |   4.0.2 | @uppy/url                  |   4.1.2 |
| @uppy/google-drive         |   4.2.0 | @uppy/utils                |   6.0.5 |
| @uppy/google-drive-picker  |   0.2.0 | @uppy/vue                  |   2.0.3 |
| @uppy/google-photos        |   0.4.0 | @uppy/webcam               |   4.0.3 |
| @uppy/google-photos-picker |   0.2.0 | @uppy/xhr-upload           |   4.2.3 |
| @uppy/image-editor         |   3.2.1 | @uppy/zoom                 |   3.1.2 |
| @uppy/informer             |   4.1.2 | uppy                       |   4.8.0 |

- @uppy/companion-client: Fix allowed origins (Mikael Finstad / #5536)
- meta: Build lib refactor to esm (Mikael Finstad / #5537)
- @uppy/provider-views: Google picker scope (Mikael Finstad / #5535)
- @uppy/core,@uppy/provider-views: move useStore out of core (Mikael Finstad / #5533)
- @uppy/companion,@uppy/google-drive-picker,@uppy/google-photos-picker: Google Picker (Mikael Finstad / #5443)
- @uppy/aws-s3: console.error instead of throw for missing etag (Merlijn Vos / #5521)
- docs: Put docs back in uppy.io repository where they belong (Merlijn Vos / #5527)
- docs: typo (Azhar Rizqullah / #5523)
- @uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: cleanup tsconfig (Mikael Finstad / #5520)
- meta: fix missing lint (Mikael Finstad / #5519)
- docs: Add Next.js docs (Merlijn Vos / #5502)
- e2e: try to fix flaky test (Mikael Finstad / #5512)
- meta: Fix broken lint on CI (Mikael Finstad / #5507)
2024-12-05 11:07:06 +00:00
Mikael Finstad
afd4befee2
Google Picker (#5443)
* initial poc

* improvements

- split into two plugins
- implement photos picker
- auto login
- save access token in local storage
- document
- handle photos/files picked and send to companion
- add new hook useStore for making it easier to use localStorage data in react
- add new hook useUppyState for making it easier to use uppy state from react
- add new hook useUppyPluginState for making it easier to plugin state from react
- fix css error

* implement picker in companion

* type todo

* fix ts error

which occurs in dev when js has been built before build:ts gets called

* reuse docs

* imrpve type safety

* simplify async wrapper

* improve doc

* fix lint

* fix build error

* check if token is valid

* fix broken logging code

* pull logic out from react component

* remove docs

* improve auth ui

* fix bug

* remove unused useUppyState

* try to fix build error
2024-12-02 18:34:50 +08:00