Commit graph

123 commits

Author SHA1 Message Date
Merlijn Vos
820107b954
Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00
Merlijn Vos
9164ad5feb
Add @uppy/webdav (#5551)
Co-authored-by: Dominik Schmidt <dev@dominik-schmidt.de>
2024-12-17 09:27:12 +01: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
Mikael Finstad
8f97fd61fa
cleanup tsconfig (#5520)
- move skipLibCheck to tsconfig.shared
- remove noImplicitAny

was added in https://github.com/transloadit/uppy/pull/4844
but without an explanation
2024-11-18 20:41:59 +08:00
Murderlon
2117f27ff1
Merge branch 'main' of https://github.com/transloadit/uppy
* 'main' of https://github.com/transloadit/uppy:
  build(deps): bump body-parser from 1.20.2 to 1.20.3 (#5462)
  build(deps-dev): bump vite from 5.3.1 to 5.3.6 (#5459)
2024-09-19 12:49:23 +02:00
Murderlon
b0c5dacbc5
meta: fix AwsS3 endpoint option in private/dev 2024-09-19 12:49:17 +02:00
dependabot[bot]
a39193ee14
build(deps-dev): bump vite from 5.3.1 to 5.3.6 (#5459)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.1 to 5.3.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 10:52:05 +02:00
Merlijn Vos
9eb857e68c
docs: rename Edgly to Smart CDN (#5449)
* docs: rename Edgly to Smart CDN

* Apply suggestions from code review

* Apply suggestions from code review
2024-09-19 10:42:57 +02:00
Merlijn Vos
a750140335
Fix locale-pack for en_US (#5431) 2024-08-29 09:44:31 +02:00
Merlijn Vos
cd1a73627b
Add tsconfig to packages in private/ (#5432)
* Add tsconfig to packages in private/

* Remove `AwsS3Multipart` import

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-08-28 16:31:32 +02:00
Evgenia Karunus
b9582e1e67
Transform the accept prop into a string everywhere (#5380)
* `/dev/Dashboard.js` - add all restrictions for the development environment

* `AddFiles.tsx` - turn `accept` into a string

* everywhere - make `accept` a string across uppy
2024-08-01 15:18:55 +05:00
Evgenia Karunus
c0c126e210
Don't use <h1> in Uppy markup (#5355)
* everywhere - don't use `<h1>` in Uppy markup

* `/dev/Dashboard.js` - add defence against using heading tags
2024-07-24 06:09:44 +05:00
Antoine du Hamel
fb6b8d5283
fixup! meta: fix require path in upload-to-cdn (#5343) 2024-07-15 16:36:23 +02:00
Antoine du Hamel
a047f991be
meta: fix require path in upload-to-cdn (#5343) 2024-07-15 15:45:46 +02:00
Antoine du Hamel
1b372b29f1
meta: mark @uppy-dev/upload-to-cdn as private (#5341) 2024-07-15 15:28:54 +02:00
Evgenia Karunus
0291c631c5
<Dashboard/>, <DragDrop/>, drop-target - new anti-flickering solution (#5326)
* `<Dashboard/>`, `drag-drop`, `drop-target` - switch from `setTimeout()` to `css { pointer-events: none }`

* <DragDrop/> - remove leftover `return`

* http://localhost:5173 - remove padding-right in { inline: true } mode

Because it makes working with drops confusing, dropping behaviour thinks uppy spans 100% of the page

* `<DragDrop/>` - remove `{ pointer-events: none }`

`<DragDrop/> flickers in Chrome when we DO have `{ pointer-events: none }`, because it doesn't have any child elements.
2024-07-15 11:54:02 +02:00
Antoine du Hamel
a2f1472907
meta: update manual-cdn workflow (#5329) 2024-07-11 10:40:41 +02:00
Antoine du Hamel
431460d401
Revert "meta: prepare release workflow for beta versions"
This reverts commit cb829d8c2a.
2024-07-10 17:01:53 +02:00
Antoine du Hamel
a42b150639
Merge stable branch 2024-06-18 17:22:02 +02:00
Mikael Finstad
e6674a1eee
@uppy/google-photos: add plugin (#5061) 2024-06-18 11:13:23 +02:00
Antoine du Hamel
1831991c54
docs: add 4.x migration guide (#5206)
Co-authored-by: Murderlon <merlijn@soverin.net>
2024-06-12 17:48:30 +02:00
Antoine du Hamel
4298dd67ab
Merge branch 'main' of https://github.com/transloadit/uppy 2024-05-22 13:46:33 +02:00
Antoine du Hamel
3cc8df8c4f
meta: improve changelog generator (#5190)
We are regularly using `e2e`, `examples`, or `docs` as subsystems. We
are no longer using `website`.
2024-05-22 11:28:22 +02:00
Antoine du Hamel
55f621c13c
Merge stable branch 2024-05-03 14:46:04 +02:00
Antoine du Hamel
93d1c71b8c
meta: fix bullet setting for ReMark 2024-05-02 20:30:01 +02:00
Murderlon
233dc8d6ab
Format 2024-05-02 15:22:30 +02:00
Murderlon
9d8fb57a74
Merge branch 'main' into 4.x
* main:
  meta: enable prettier for markdown (#5133)
  @uppy/xhr-upload: do not throw when res is missing url (#5132)
  @uppy/companion: coerce `requestUrl` to a string (#5128)
  Release: uppy@3.25.0 (#5127)
  meta: enforce use of `.js` extension in `import type` declarations (#5126)
  @uppy/core: add instance ID to generated IDs (#5080)
  @uppy/core: reference updated i18n in Restricter (#5118)
2024-05-02 12:26:16 +02:00
Merlijn Vos
7d6937300a
meta: enable prettier for markdown (#5133)
* meta: enable prettier for markdown

* Ignore changelogs

* revert CHANGELOG changes

* More formatting

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-05-02 11:35:55 +02:00
Merlijn Vos
3393b537d3
Upgrade Yarn to 4.x (#4849)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-29 18:49:02 +02:00
Murderlon
a787a6496f
Merge branch 'main' into 4.x
* main: (90 commits)
  crash if trying to set path to / (#5003)
  fix `super.toggleCheckbox` bug (#5004)
  @uppy/aws-s3-multipart: fix escaping issue with client signed request (#5006)
  add missing exports (#5009)
  @uppy/transloadit: migrate to TS (#4987)
  @uppy/utils: fix `RateLimitedQueue#wrapPromiseFunction` types (#5007)
  @uppy/golden-retriever: migrate to TS (#4989)
  Bump follow-redirects from 1.15.4 to 1.15.6 (#5002)
  meta: fix `resize-observer-polyfill` types (#4994)
  @uppy/core: various type fixes (#4995)
  @uppy/utils: fix `findAllDOMElements` type (#4997)
  @uppy/status-bar: fix `recoveredState` type (#4996)
  @uppy/utils: fix `AbortablePromise` type (#4988)
  Fix breadcrumbs (#4986)
  @uppy/drag-drop: refactor to TypeScript (#4983)
  @uppy/webcam: refactor to TypeScript (#4870)
  @uppy/url: migrate to TS (#4980)
  @uppy/zoom: refactor to TypeScript (#4979)
  @uppy/unsplash: refactor to TypeScript (#4979)
  @uppy/onedrive: refactor to TypeScript (#4979)
  ...
2024-03-19 17:52:15 +01:00
Evgenia Karunus
3c0140aa13
Image editor: make compressor work after the image editor, too (#4918)
* Editor.tsx - clean up post typescriptofication

* dev - finally add favicons to avoid errors in the console

* ImageEditor.tsx - reinsert filename after image editor
2024-02-14 15:59:59 +04:00
Antoine du Hamel
d85caf6c51
meta: exclude tsconfig files from npm bundles (#4916) 2024-02-13 23:21:08 +01:00
Antoine du Hamel
2454d85a44
meta: fix missing line return in JS2TS script 2024-01-25 10:25:00 +01:00
Antoine du Hamel
588bfb515e
meta: prettier 3.0.3 -> 3.2.4 (#4889)
Notable change: https://prettier.io/blog/2023/11/13/curious-ternaries
2024-01-24 11:37:01 +01:00
Antoine du Hamel
2a9cd56e6f
Merge branch 'main' of https://github.com/transloadit/uppy 2024-01-23 15:23:31 +01:00
Antoine du Hamel
975038cf4c
meta: upgrade Vite and Vitest (#4881) 2024-01-22 15:56:40 +01:00
Antoine du Hamel
cecd68f9c8
meta: generate locale pack from output file (#4867) 2024-01-17 10:45:10 +01:00
Antoine du Hamel
f62ae48d8e
Merge branch 'main' 2024-01-03 19:14:50 +01:00
Antoine du Hamel
2c05594511
meta: fix js2ts script (#4846) 2024-01-03 14:52:26 +01:00
Antoine du Hamel
df6043da0c
meta: fix js2ts script (#4844) 2023-12-30 12:42:59 +01:00
Antoine du Hamel
fc27c005d9
Merge branch 'main' of https://github.com/transloadit/uppy 2023-12-29 11:53:27 +01:00
Antoine du Hamel
c7bb57b7f8
dev: remove extensions from Vite aliases
This started causing issues as we are transitioning to TS. By removing the file extension, Vite is able to pick up the correct file.
2023-12-18 15:18:33 +01:00
Murderlon
39c841bc4e
Remove generate types from locale-pack 2023-12-08 10:23:51 +01:00
Antoine du Hamel
995d7e00c4
Merge branch main 2023-12-05 15:33:03 +01:00
Merlijn Vos
0bea173c2a
meta: fix js2ts script on Node.js 20+ (#4802)
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2023-12-05 12:51:57 +01:00
Antoine du Hamel
cb829d8c2a meta: prepare release workflow for beta versions 2023-11-23 14:33:59 +01:00
Antoine du Hamel
73fdcaf4a6
meta: improve js2ts script (#4786)
* meta: improve js2ts script

- add `@ts-ignore` comment on `package.json` imports.
- better detect imports of local `.js` files.
- do not remove non-JS files from the source.

* fixup! meta: improve js2ts script

* fixup! fixup! meta: improve js2ts script

* fixup! meta: improve js2ts script

* Update index.mjs
2023-11-21 13:47:40 +01:00
Antoine du Hamel
1431d52e0f
meta: fix JS2TS script (#4778) 2023-11-09 11:41:01 +01:00
Antoine du Hamel
222b427ec3
meta: fix TS integration (#4741) 2023-10-20 14:15:46 +02:00
Antoine du Hamel
ab0c656536
meta: fix js2ts check 2023-10-17 16:11:35 +02:00