Commit Graph
37 Commits
Author SHA1 Message Date
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
Dang Dat d96e75abcf TF-4827 Stop a blob upload when the adapter is force-closed mid-resolve
Addresses: 4129898235
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4129898235
2026-10-13 13:57:32 +07:00
Dang Dat 0ccad307f9 TF-4827 Keep the blob resolve failure's cause on the DioException
Addresses: 4129806494
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4129806494
2026-10-13 13:57:32 +07:00
Dang Dat 090d163a1a TF-4827 Wrap stock Dio adapter with a package:web blob upload path
Addresses: 4129097119, 4118166494, 4118166501, 4118166511, 4129109149, 4129114671, 4129125476
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4129097119
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4118166494
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4118166501
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4118166511
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4129109149
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4129114671
https://github.com/linagora/tmail-flutter/pull/4902#discussion_r4129125476
2026-10-13 13:57:31 +07:00
Dang Dat d854b83c5e TF-4827 Send web uploads as the picked blob
Ref: #4848
2026-10-13 13:56:25 +07:00
Dat Dang c864e3afcc TF-4827 Replayable upload body (#4850) 2026-10-13 13:56:25 +07:00
Dat Dang ad637aa695 TF-4827 Split FileInfo into one sealed subtype per byte source (#4853) 2026-10-13 13:56:25 +07:00
dab246 61bd84f9fe TF-4790 Scrub upload exception data 2026-09-05 16:10:10 +07:00
dab246 7ac9848416 TF-4790 Guard the upload body source, web file access and charset probe in FileUploader 2026-09-05 16:10:10 +07:00
dab246 7af02ab425 TF-4790 Run attachment upload on the root DioClient instead of a worker isolate 2026-09-05 16:10:10 +07:00
e300fea934 TF-4728 Drive picker data layer (#4764)
* TF-4728 Drive picker data layer

* fixup! TF-4728 Drive picker data layer

* fixup! TF-4728 Drive picker data layer

review-comment: 3818227574

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227574

* fixup! TF-4728 Drive picker data layer

review-comment: 3818227592

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227592

* fixup! TF-4728 Drive picker data layer

review-comment: 3818227604

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227604

* fixup! TF-4728 Drive picker data layer

review-comment: 3818227608

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227608

* fixup! TF-4728 Drive picker data layer

review-comment: 3820850595

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3820850595

* fixup! TF-4728 Drive picker data layer

review-comment: r3826862549

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826862549

* fixup! TF-4728 Drive picker data layer

review-comment: r3826914510

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826914510

* fixup! TF-4728 Drive picker data layer

review-comment: r3826922420

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826922420

* fixup! TF-4728 Drive picker data layer

review-comment: r3827010446, r3826926449, r3826947008

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3827010446

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826926449

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826947008

* fixup! TF-4728 Drive picker data layer

review-comment: r3827015957

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3827015957

* fixup! TF-4728 Drive picker data layer

review-comment: 5365193125

https://github.com/linagora/tmail-flutter/pull/4764#issuecomment-5365193125

* test: pin upload-from-url URI gate, hive persist, and empty-body POST

Co-authored-by: Cursor <cursoragent@cursor.com>

* fixup! TF-4728 Drive picker data layer

review-comment: 3829217029

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3829217029

* fixup! TF-4728 Drive picker data layer

review-comment: 3829254358

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3829254358

* fixup! TF-4728 Drive picker data layer

review-comment: 3829298409

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3829298409

* fixup! TF-4728 Drive picker data layer

review-comment: 3840752770, 3840801835

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3840752770

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3840801835

* fixup! TF-4728 Drive picker data layer

review-comment: 3841010607

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010607

* fixup! TF-4728 Drive picker data layer

review-comment: 3841010610

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010610

* fixup! TF-4728 Drive picker data layer

review-comment: 3841010614

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010614

* fixup! test: pin upload-from-url URI gate, hive persist, and empty-body POST

review-comment: 3841010619

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010619

* fixup! test: pin upload-from-url URI gate, hive persist, and empty-body POST

review-comment: 3841010623

https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010623

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 10:15:13 +07:00
Dat Dang 61530b61c6 Reduce worker_manager memory allocation (#4435) 2026-04-09 18:26:19 +07:00
dab246 8a21e35d1e fix: Prefer reusing AppBaseException instead of redefining the exception contract CacheException and RemoteException 2026-03-10 11:06:16 +07:00
dab246 437c46f5ff fix(sentry): resolve minified exception types on web release 2026-03-10 11:06:16 +07:00
dab246 2e8a11e7eb refactor(sentry): standardize exceptions to prevent Sentry minification 2026-03-10 11:06:16 +07:00
dab246 ec75bb3cab TF-4136 Add config Sentry 2026-01-15 09:46:51 +07:00
dab246 a23d15a9ca TF-4136 refactor(logging): replace logError with logWarning for non-critical cases 2026-01-06 13:53:22 +07:00
dab246 3ecb0a36ee Fix do not show session expires dialog when add inline image & attachment
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-15 00:31:13 -07:00
dab246 4765921a35 TF-3514 Detect base64 image to transfer it to cid attachment
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-10 03:02:19 -07:00
dab246 2739a284d8 TF-2602 Set charset for attachment with mimeType=text/plain when sent email on web 2024-09-17 15:50:49 +07:00
dab246 514bc578ec TF-2602 Set charset for attachment with mimeType=text/plain when sent email on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
2024-09-17 15:50:49 +07:00
DatDang 7bc466bea3 TF-2769 Catch upload attachment error to modify exception 2024-09-10 18:10:57 +07:00
dab246 145a49d728 TF-2644 Handle total size exceeded maximum size when drag & drop multiple file to composer 2024-06-11 13:59:12 +07:00
dab246 017c7135d3 TF-2310 Use singleton for HiveCacheConfig to avoid creating multiple instance 2024-04-15 15:08:31 +07:00
dab246 7f1f9b58df TF-2280 Call BackgroundIsolateBinaryMessenger.ensureInitialized on cross-platform
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit c2bcbd604f)
2023-10-31 19:48:03 +07:00
dab246 b383939082 TF-2280 Fix upload attachment when token expired on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 320a758414)
2023-10-31 19:48:03 +07:00
dab246 59dfef3928 TF-2245 Fix upload attachment when token expired on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit f866a38303)
2023-10-27 11:18:29 +07:00
dab246 14047c9ccc TF-2245 Fix upload attachment when token expired on web
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 0b2ab3c6ff)
2023-10-27 11:18:29 +07:00
dab246 143503c52d TF-2129 Fix cannot attach file on mobile
(cherry picked from commit b35f09069d)
2023-09-14 16:58:31 +07:00
dab246 96145aae7a Sync all use PlatformInfo to check platform while runtime
(cherry picked from commit 514fec1f2f)
2023-06-15 16:43:58 +07:00
dab246 2b71aba278 TF-1487 Apply linter rule 2023-03-10 21:10:36 +07:00
dab246 459b1995a7 TF-1323 Fix can not attach image on mobile and web 2023-02-06 12:04:30 +07:00
ManhNTX f8b5ddc227 TF-851 [iOS] Share image with TMail app 2022-08-31 10:54:25 +07:00
ManhNTX 36bec1c9d5 TF-867 [Android] Share image with TeamMail app but image is not add to inline image 2022-08-31 10:54:25 +07:00
dab246 e050042e2c TF-761 Implement reduce image size when add inline image 2022-07-29 14:04:23 +07:00
dab246 68cf78dc80 TF-675 Add AttachmentUploadDataSource and implement upload attachment 2022-07-11 11:02:30 +07:00
dab246 ad1c6f55c5 TF-675 Handle upload attachment use isolate 2022-07-11 11:02:30 +07:00