41 Commits
Author SHA1 Message Date
Dang Dat 4359d2e1a0 TF-4827 Show the name Drive stored in the composer file card 2026-10-13 14:03:11 +07:00
Dang Dat 20b7560197 TF-4827 Bound the Drive name conflict retries and fall back to a timestamp name 2026-10-13 14:03:11 +07:00
Dang Dat f12826fb2e TF-4827 Retry Drive name conflicts without a limit 2026-10-13 14:03:11 +07:00
Dang Dat 8d2be92b9d TF-4827 Move WorkplaceAccessModeRunner from domain to data/transport
Addresses: 4216453186
https://github.com/linagora/tmail-flutter/pull/4962#discussion_r4216453186
2026-10-13 13:59:25 +07:00
dab246 b8938dca38 TF-4827 Test that a capabilities response whose data is not an object yields the nested Drive host 2026-10-13 13:59:09 +07:00
dab246 183e38f169 TF-4827 Test that a capabilities response without data or attributes yields the nested Drive host 2026-10-13 13:59:09 +07:00
Dang Dat d7d7fd2ae3 TF-4827 Stop linking a Drive upload the user cancelled
Addresses: 4205615926, 4205795272
https://github.com/linagora/tmail-flutter/pull/4961#discussion_r4205615926
https://github.com/linagora/tmail-flutter/pull/4961#discussion_r4205795272
2026-10-13 13:59:09 +07:00
Dat H. Pham 09c058007e TF-4827 Test share link failures and a cancel after the upload
Covers the upload context and spec, a share link failure after a successful upload, a 403 on POST /permissions, and a cancel that lands after the upload. The cancel test fails until the interactor skips createShareLink once cancelled.
2026-10-13 13:59:09 +07:00
Dang Dat 1ff1179f32 TF-4827 Build the Drive share link host from the stack's subdomain mode
Addresses: 4203158177
https://github.com/linagora/tmail-flutter/pull/4961#discussion_r4203158177
2026-10-13 13:59:09 +07:00
dab246 218b027881 TF-4827 Test that WorkplaceRepositoryImpl forwards the share link request 2026-10-13 13:59:09 +07:00
dab246 526e3a8f08 TF-4827 Test the share link host for single-label and ported platform URLs 2026-10-13 13:59:09 +07:00
dab246 aaf199d9ad TF-4827 Test that an empty share code throws 2026-10-13 13:59:09 +07:00
dab246 b6999789c8 TF-4827 Test the permission request the share link sends for the file id 2026-10-13 13:59:09 +07:00
Dang Dat f597274ac6 TF-4827 Mint a Drive share link
Ref: #4848
2026-10-13 13:59:09 +07:00
dab246 e844df0565 TF-4827 Test that a failed cancel signal still cancels the Drive upload 2026-10-13 13:59:09 +07:00
Dang Dat 72932160a9 TF-4827 Inject Drive file ops as their own datasource into the repository
Addresses: 4203923692
https://github.com/linagora/tmail-flutter/pull/4960#discussion_r4203923692
2026-10-13 13:59:09 +07:00
Dang Dat 7376e4e364 TF-4827 Keep transport types out of the domain upload contract
Addresses: 4203049663
https://github.com/linagora/tmail-flutter/pull/4960#discussion_r4203049663
2026-10-13 13:59:09 +07:00
Dang Dat 4d102396c0 TF-4827 Keep incrementing the upload name suffix on repeated conflicts
Addresses: 4203049658
https://github.com/linagora/tmail-flutter/pull/4960#discussion_r4203049658
2026-10-13 13:59:09 +07:00
Dang Dat d33aac1445 TF-4827 Read a fresh upload body for each name-conflict retry
Addresses: 4202658622, 4203174794
https://github.com/linagora/tmail-flutter/pull/4960#discussion_r4202658622
https://github.com/linagora/tmail-flutter/pull/4960#discussion_r4203174794
2026-10-13 13:59:09 +07:00
dab246 7615edf503 TF-4827 Test that WorkplaceRepositoryImpl forwards the upload transfer 2026-10-13 13:59:09 +07:00
dab246 da6f670637 TF-4827 Test that the upload goes through the injected request executor 2026-10-13 13:59:09 +07:00
dab246 0d5617f445 TF-4827 Test the upload response parsing of string, list and attribute-less bodies 2026-10-13 13:59:09 +07:00
dab246 bb133f355f TF-4827 Test that an upload failure without a response is not retried 2026-10-13 13:59:09 +07:00
dab246 0d573d66b4 TF-4827 Test the Content-Length header of a streamed upload body 2026-10-13 13:59:09 +07:00
dab246 ac3bde3c44 TF-4827 Test the 409 suffix of dot-leading and multi-dot names 2026-10-13 13:59:09 +07:00
Dang Dat 30e661403f TF-4827 Upload a file to the Drive Mail folder
Ref: #4848
2026-10-13 13:59:09 +07:00
dab246 e7c0f3ee07 TF-4827 Test the query key encoding of the bridge request 2026-10-13 13:59:09 +07:00
dab246 9e78aee4a2 TF-4827 Test the trailing-slash platform URL of the bearer request 2026-10-13 13:59:09 +07:00
dab246 8d83cceeb4 TF-4827 Test the transfer wiring of the bearer request 2026-10-13 13:59:09 +07:00
Dang Dat 276c590169 TF-4827 One workplace request executor for both access modes
Ref: #4848
2026-10-13 13:59:08 +07:00
Dat Dang 3be2c51eff TF-4827 Rename the workplace access mode (#4957)
Ref: #4848
2026-10-13 13:59:01 +07:00
Dat Dang de880a8b5c Implement fetchJson for workplace web (#4804) 2026-09-09 17:01:57 +07:00
Dang Dat 6f15cfad16 fixup! TF-4728 Drive picker size limit 2026-08-19 19:41:11 +07:00
Dang Dat 7ae77da417 TF-4728 Drive picker size limit 2026-08-19 19:41:11 +07:00
Dat Dang 32740868b1 TF-4728 Delete unused drive picker architecture (#4763) 2026-08-19 11:05:16 +07:00
Dat Dang 7d7ad0f150 TF-4727 [Part-2] Add web OPFS drive file stager and strategy selection (#4746)
* TF-4726 Add web OPFS drive file stager and strategy selection

TF-4727: streams a drive document via fetch()/ReadableStream into an
Origin Private File System temp file, uploaded via raw XHR (the only
upload FileUploader can't do). drive_transfer_strategy_factory_web.dart
picks OPFS vs. the already-merged buffered strategy based on cached
feature detection. Depends only on the drive_transfer interfaces and
the buffered strategy already merged; independent of the IO stager.

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3763755085

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3763755085

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3763760860

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3763760860

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3763766518

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3763766518

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3763775476

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3763775476

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3763839738

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3763839738

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764281232

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764281232

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764291419

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764291419

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764661702

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764661702

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764662457

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764662457

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764620926

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764620926

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764626632

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764626632

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764601732

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764601732

* fixup! TF-4726 Add web OPFS drive file stager and strategy selection

review-comment: 3764608947

https://github.com/linagora/tmail-flutter/pull/4746#discussion_r3764608947
2026-08-12 16:45:58 +07:00
Dat Dang 7cbda0dd0d TF-4727 [Part-1] Drive-transfer sealed types, stager interfaces, buffered stager (#4731)
* TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

Foundation for TF-4727 drive-file-as-attachment download/upload: sealed
StagedDriveFile result types, DriveFileStager/DriveTransferStrategy
interfaces, and the buffered-web strategy as the first concrete
implementation proving the interfaces out. Isolated to workplace/, no
main-app callers yet.

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager

* fixup! TF-4726 Add drive-transfer sealed types, stager interfaces, and buffered stager
2026-08-12 16:44:29 +07:00
Dang Dat 39ddae6ec7 TF-4739 Enable mobile drive picker 2026-07-31 11:39:30 +07:00
Dat Dang 3e9ce7613e TF-4742 Drive picker theme (#4743) 2026-07-30 14:34:47 +07:00
Dat Dang cfe3886cd7 Handle add as attachment in development (#4716) 2026-07-27 14:04:13 +07:00
Dat Dang 7ad09bd2d5 TF-4449 Drive backend integration (#4629) 2026-06-30 13:31:54 +07:00