Commit graph

3354 commits

Author SHA1 Message Date
prakash
f28d496c87
remove the test to abort upload createMultipartUpload in the edgecase 2026-07-16 22:33:19 +02:00
Mikael Finstad
260716ddc0
simplify and fix raxce condtitios 2026-07-16 22:01:06 +02:00
Mikael Finstad
260716b9d8
put signal into missing methods
and make all methods have single arg params
2026-07-16 21:03:05 +02:00
prakash
de7d9c2302
lint fix 2026-07-09 18:31:55 +05:30
prakash
0c7f02aef2
update imports after merge remove stale files 2026-07-07 18:40:40 +05:30
prakash
e51c1ad99b
Merge "main" into "restore/pr-6284 and resolve conflicts 2026-07-07 18:19:41 +05:30
Prakash
cf9f963bbf
Merge branch 'main' into merge-into-core 2026-07-07 18:00:54 +05:30
Prakash
17da535457
Merge branch 'main' into restore/pr-6284 2026-07-06 21:02:14 +05:30
Prakash
c940b75312
Merge branch 'main' into redis-timeout-10min 2026-07-06 20:45:09 +05:30
Prakash
684b6d744e
Merge branch 'main' into merge-into-core 2026-07-06 20:42:01 +05:30
Prakash
227c86a0ce
Merge branch 'main' into restore/pr-6284 2026-07-06 20:41:52 +05:30
prakash
9e24d649df
apply review feedback : abort upload if it has been after createMultipartUpload request was resolved 2026-07-02 16:10:53 +05:30
prakash
8b6beccbe7
apply review feedback : add uuid-file-name in presigned and sts mode of upload 2026-07-02 16:10:50 +05:30
Prakash
9fa64c1f37
Merge branch 'main' into redis-timeout-10min 2026-07-02 16:05:13 +05:30
prakash
842b19efb8
update uppy/aws-s3 with vitest v4 2026-07-02 15:20:50 +05:30
prakash
9b24d1441e
apply feedback 2026-07-02 13:45:07 +05:30
prakash
9b070d4b53
remove utils.ts and remove unused consts from s3-client/consts.ts 2026-07-02 13:38:05 +05:30
Prakash
cef447baac
Merge branch 'main' into angular-v21-support-attempt-2 2026-07-01 16:43:11 +05:30
Prakash
ad8295c3d5
Merge branch 'main' into restore/pr-6284 2026-07-01 13:21:36 +05:30
Prakash
05d3c85fec
Merge branch 'main' into merge-into-core 2026-07-01 13:12:47 +05:30
prakash
ad84895e08
remove unused dep nock 2026-06-30 21:15:28 +05:30
Prakash
eea70297a9
Merge branch 'main' into merge-into-core 2026-06-30 16:49:20 +05:30
Travis Hamp
1e2d2ee9a4
add verified support for angular 21 2026-06-29 12:40:45 -04:00
Prakash
f28afb9eea
Merge branch 'main' into restore/pr-6314 2026-06-28 08:53:15 +05:30
Mikael Finstad
cd34c9cf4f
upgrade @types/cors and @types/morgan (#6360)
see #6297

---------

Co-authored-by: Prakash <qxprakash@gmail.com>
2026-06-28 01:39:06 +02:00
Mikael Finstad
a6617feda1
Fix cookieOptions domain assignment syntax 2026-06-28 01:37:44 +02:00
Prakash
9c26b464a9
Merge branch 'main' into redis-timeout-10min 2026-06-25 22:03:54 +05:30
prakash
4c30023e35
yarn check 2026-06-25 20:35:45 +05:30
prakash
a05035f70f
remove stale config and fix failing test 2026-06-25 20:34:11 +05:30
prakash
500e848eb8
#6287 fix squash all commits 2026-06-25 19:59:31 +05:30
prakash
1f4b8e187c
apply feedback 2026-06-24 16:43:31 +05:30
Arvind
32b9f06a22
@uppy/locales: update Norwegian Bokmål (nb_NO) (#6346)
The Norwegian Bokmål (`nb_NO`) locale had fallen behind `en_US` by ~55
strings. This brings it up to date.

**Added** translations for the missing keys, including: AI image
generation (`generateImage`, `generating1`–`5`), audio recording
(`allowAudioAccess*`, `noAudio*`, `startAudioRecording`,
`stopAudioRecording`), required meta fields
(`missingRequiredMetaField*`), session recovery (`recoveredAllFiles`,
`recoveredXFiles`, `sessionRestored`), plugin names (`pluginName*`),
image compression (`compressedX`, `compressingImages`), and various UI
strings (`error`, `search`, `pleaseWait`, `unnamed`, `uploadStalled`,
etc.).

**Removed** keys no longer present in `en_US` (`backToSearch`,
`fileSource`, `selectFileNamed`, `timedOut`, `unselectFileNamed`).

**Fixed** `exceedsSize` to include the `%{file}` placeholder, and
aligned key order with `en_US`.

I'm a native Norwegian speaker and reviewed every string. Translation
was done with AI assistance (Claude) and checked by me.

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-06-23 22:37:53 +02:00
Mikael Finstad
260623fe3e
fix cookie options bug 2026-06-23 15:26:55 +02:00
Mikael Finstad
2606237064
reduce companion redis key timeouts to 10 min
https://github.com/transloadit/api2/pull/8345#pullrequestreview-4552806932
2026-06-23 13:40:00 +02:00
prakash
439787021b
refactor(core): remove duplicate companion/provider bridge types, wire real types 2026-06-22 01:40:33 +05:30
prakash
d6a0132145
refactor(core): merge @uppy/provider-views into core via ./provider-views export 2026-06-22 01:40:32 +05:30
prakash
b3aa4cdd6c
refactor(core): merge @uppy/companion-client into core via ./companion-client export 2026-06-22 01:40:26 +05:30
prakash
156b87ec17
refactor(core): merge @uppy/utils into core via ./utils export 2026-06-22 01:40:25 +05:30
prakash
1c7ede3cd4
refactor(core): merge @uppy/store-default into core via ./store-default export 2026-06-22 01:40:23 +05:30
prakash
1d41bcf342
fix lint based on new biome rules after merge 2026-06-20 02:02:11 +05:30
prakash
9f88450929
update comments , update type casing and update examples based on feedback 2026-06-20 01:56:45 +05:30
prakash
5585a796af
Merge remote-tracking branch 'origin/main' into restore/pr-6284 2026-06-20 01:37:42 +05:30
prakash
1b3602405f
Merge branch 'restore/pr-6284' of github.com:transloadit/uppy into restore/pr-6284 2026-06-20 01:14:30 +05:30
prakash
f88e037395
revert body = null in fetcher 2026-06-20 01:05:57 +05:30
Prakash
113a5c5747
exclude minio.test.ts from jsdom test
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-20 00:49:49 +05:30
Prakash
2d429a8aef
@uppy/aws-s3: remote uploads and golden retriever (#6186)
- add support for remote uploads
- add support for restore using golden-retriever
- update examples
- #6181 still persists

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-06-17 13:54:48 +05:30
Prakash
da46951771
@uppy/aws-s3: wrong upload meta in upload-success event (#6234)
right now whenever you upload any file through multipart upload you'll
find empty body returned in `upload-success` event

cause : response from completeMultipartRequest returned in CamelCase
which was not parsed correctly

```xml
<?xml version="1.0" encoding="UTF-8"?>

<CompleteMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Location>https://testbucketnewfix.s3.eu-north-1.amazonaws.com/13febe01-8d5b-4ed3-bda1-9620fc37c694-VSCode-darwin-universal.dmg</Location><Bucket>testbucketnewfix</Bucket><Key>13febe01-8d5b-4ed3-bda1-9620fc37c694-VSCode-darwin-universal.dmg</Key><ETag>"be4129821e06a893b453f1373995202b-49"</ETag><ChecksumCRC64NVME>Wjr7mcJOfU0=</ChecksumCRC64NVME><ChecksumType>FULL_OBJECT</ChecksumType></CompleteMultipartUploadResult>
```

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-17 13:54:47 +05:30
Prakash
779c19c9d7
@uppy/aws-s3 add queue (#6171)
- queue support added for file level concurrency.
2026-06-17 13:54:47 +05:30
Prakash
3529f97899
fix signature mismatch in @uppy/aws-s3 (#6165)
shouldUseMultipart: true was not working due to signature mismatch

AI summary :

This pull request improves support for specifying the `contentType`
during S3 uploads, ensuring that the correct content type is set when
generating presigned URLs for both single and multipart uploads. It also
updates the client-side and server-side code to handle this new
parameter.

**Backend and API enhancements:**
- Updated the `/s3/presign` endpoint in `index.js` to accept an optional
`contentType` parameter and to include it in the S3 `PutObjectCommand`
and `CreateMultipartUploadCommand` requests, defaulting to
`'application/octet-stream'` if not provided.
[[1]](diffhunk://#diff-0c4471088c62917198e1438777b4c7e78fd4d87d450d2a7c78b86b7c647ac97bL360-R360)
[[2]](diffhunk://#diff-0c4471088c62917198e1438777b4c7e78fd4d87d450d2a7c78b86b7c647ac97bR384-R391)

**Client-side and types improvements:**
- Added `contentType` to the `presignableRequest` type to ensure type
safety and clarity when passing this parameter.
- Modified the S3 client (`S3.ts`) to include `contentType` when making
presign requests.
- Updated the example HTML (`rewrite-test.html`) to send `contentType`
in presign requests and enabled multipart uploads for testing.
[[1]](diffhunk://#diff-ca9bc28a71d2d8ac4e0aa6844698f2244594a12e695fc3e153db36674ccb2b52L103-R103)
[[2]](diffhunk://#diff-ca9bc28a71d2d8ac4e0aa6844698f2244594a12e695fc3e153db36674ccb2b52R114)
2026-06-17 13:54:47 +05:30
Prakash
828b8df284
Use fetcher in s3mini for progress and retries with backoff (#6155)
Cherry-picked as the previous branch got messy ( from last PR )

- XHR-based uploads using `@uppy/utils/fetcher`
- Silent offline detection (without treating it as an error) with
automatic resume ( inspired from old plugin code )
- Retry with backoff using fetcher defaults:
  - Max retries: 3
  - Delays: 300ms → 600ms → 1200ms
  - Retries on 5xx and 429; skips other 4xx errors
- S3 Error Mappings
2026-06-17 13:54:47 +05:30