Commit Graph
42 Commits
Author SHA1 Message Date
Dat Dang ad637aa695 TF-4827 Split FileInfo into one sealed subtype per byte source (#4853) 2026-10-13 13:56:25 +07:00
Dat Dang c36ccffc96 TF-4728 Sentry logging drive attachment failure (#4776) 2026-08-28 17:03:51 +07:00
Dang Dat 34a8c164b1 TF-4728 Log every attachment upload failure, not only unshowable ones
Problem: the failure is logged only when there is no context to toast into, so
the common path leaves no record of which upload failed.
Decision: log first, then toast — the log line is the only durable trace once the
chip is removed.

Addresses: 3859378962
https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3859378962
2026-08-26 17:26:59 +07:00
Dang Dat b9e2802724 TF-4728 Keep in-flight uploads across an attachment refresh
Problem: saving a draft while a drive transfer is waiting rebuilds the attachment
list from the server response, which has no entry for a chip that has no blob yet.
The chip and its cancel token are dropped while the request keeps running, so a
late success has nothing to resolve and the attachment disappears.
Decision: carry not-yet-completed states through the refresh instead of filtering
the server response, so the rule holds for any pending upload, not just drive.

Addresses: 3859504637
https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3859504637
2026-08-26 17:26:59 +07:00
Dang DatandCursor 66e18c5d43 TF-4728 Drive picker jmap implementation
review-comment: 3826784554

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3826784554

review-comment: 3826964437

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3826964437

review-comment: 3827029379

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827029379

review-comment: 3827067099

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827067099

review-comment: 3827112203

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827112203

review-comment: 3827153966

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827153966

review-comment: 3828671202

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3828671202

review-comment: 3828857602

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3828857602

review-comment: 5391955302

https://github.com/linagora/tmail-flutter/pull/4767#issuecomment-5391955302

review-comment: 3841473359, 3841484408

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841473359

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841484408

review-comment: 3841580769

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841580769

review-comment: 3841909306

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841909306

fixup! TF-4728 Drive picker jmap implementation

Fixes toast suppression regression surfaced by the test added in
81b6e05faf63aecf81ae4e97980f9e48bb67e916
https://github.com/linagora/tmail-flutter/commit/81b6e05faf63aecf81ae4e97980f9e48bb67e916

Claude-Session: https://claude.ai/code/session_01H7h265h6rRmMivviyMbNVh

review-comment: 3842242663

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842242663

review-comment: 3842324987

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842324987

review-comment: 3842341155

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842341155

review-comment: 3842447793

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842447793

review-comment: 3842492984

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842492984

(test) some edge cases for concurrency runner

(test) mixed pick should toast when transfer cannot start

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:26:59 +07:00
Dat DangandDat H. Pham 20cf265069 TF-4726 Composable validator (#4729)
* TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! fixup! TF-4726 Composable validator

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-08-12 16:43:49 +07:00
Dat Vu 54ffff4e1d Hotfix: Second Save as Draft Fails for Draft Emails with Attachments or Inline Images (#4505) 2026-05-14 17:11:45 +07:00
dab246 3fb8b32726 TF-4473 Remove object not used
Signed-off-by: dab246 <tdvu@linagora.com>
2026-05-11 16:38:23 +07:00
dab246 4d825d2425 TF-4473 Fix stale blobId races in mobile auto-save 2026-05-11 16:38:23 +07:00
dab246 972b20ec16 TF-4050 Preview and download uploaded file in composer on web 2025-11-11 17:48:33 +07:00
dab246 ff0ac57c1d Standardize button actions in confirm dialog 2025-08-27 16:06:26 +07:00
DatDang 9e7298bc76 TF-3953 Close several modals when click outside 2025-08-22 11:24:38 +07:00
DatDang 4fd0931c9e TF-3586: Upgrade Flutter to 3.27.4 2025-07-30 15:24:57 +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 89a3743eaf Apply new design for all confirm dialog
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-31 21:22:11 -07:00
dab246 ae0c847960 Hot fix update new UI for confirm dialog
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-16 21:55:19 -07:00
dab246 a258dec4ee TF-3410 Use TextTheme apply almost text style for text widget
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-12 20:17:15 -07:00
dab246 b78aea6103 TF-3514 Add unit test for getMediaTypeFromBase64ImageTag method
Signed-off-by: dab246 <tdvu@linagora.com>

Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-10 03:02:19 -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 778c138a10 TF-3427 Collapse side features of the composer in a side menu
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-05 03:00:08 -08:00
DatDang b4e9ca3e74 TF-2769 Remove stacktrace of exception from UI 2024-09-10 18:10:57 +07:00
DatDang b2c92388f2 TF-2901 Implement caching composer on log out 2024-07-05 05:07:02 +02:00
dab246 797a14c483 TF-2532 Invoke request focus editor when insert inline image 2024-07-02 13:06:10 +02:00
dab246 82b51082fc TF-2919 Fix memory leak when attach files in composer 2024-06-13 16:03:42 +07:00
dab246 e232514f6b TF-2667 Show sending message dialog when click send button 2024-06-11 13:59:12 +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 ea30322cbd TF-2644 Display warning dialog when drag from other email exceeded maximum size in composer
Signed-off-by: dab246 <tdvu@linagora.com>
2024-06-11 13:59:12 +07:00
dab246 4350a2bd3a TF-2644 Display warning dialog when pick file exceeded maximum size in composer 2024-06-11 13:59:12 +07:00
DatDang 4c4a02ce7a TF-2533 resolve file picker memory leak 2024-04-15 10:23:33 +07:00
dab246 49a3f7b70f TF-2597 Handles the ability to click the editor close button only once
Signed-off-by: dab246 <tdvu@linagora.com>
2024-02-29 14:45:53 +07:00
dab246 fb47832225 TF-2311 Sync use variables in BaseController to avoid wasting memory
Signed-off-by: dab246 <tdvu@linagora.com>

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 21ac80615f)
2023-11-21 16:54:33 +07:00
dab246 913b546ed5 TF-2245 Upload image with cid when drag n drop image
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 68f7eff3b2)
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 8b20e9e1d4 TF-2118 Handle drop n drop file as attachment
(cherry picked from commit cb1f15dcba)
2023-10-09 12:12:24 +07:00
dab246 e63a8f7d7f TF-2116 Insert image at mouse cursor position
(cherry picked from commit cb347e5077)
2023-10-09 12:12:24 +07:00
dab246 133b04b11c TF-1613 Implement handleSuccessViewState and handleFailureViewState for all controller
(cherry picked from commit 35e727e795)
2023-04-14 17:12:34 +07:00
dab246 4e17813e1a TF-1594 Use only one class TmailToast to display the message.
(cherry picked from commit 379c34b32b)
2023-03-24 19:40:48 +07:00
dab246 459b1995a7 TF-1323 Fix can not attach image on mobile and web 2023-02-06 12:04:30 +07:00
dab246 e050042e2c TF-761 Implement reduce image size when add inline image 2022-07-29 14:04:23 +07:00
dab246 d416f858c7 TF-725 Handle upload inline image to server 2022-07-21 14:47:11 +07:00
dab246 3b1f92344f TF-332 Persist attachments when forward email 2022-07-12 09:32:00 +07:00
dab246 91bc3018ea TF-675 Add UploadController to handle upload attachment 2022-07-11 11:02:30 +07:00