54 Commits
Author SHA1 Message Date
Dat Vu 3d861da453 TF-5023 T-19 Keep delegation email links across sign-in with SignInEmailLink (#5195) 2026-11-27 16:59:46 +07:00
Dat Dang d764ec2391 Keep the basic-auth login out of the Hive box (secure storage on mobile, session storage on web) (#5163) 2026-11-26 10:47:48 +07:00
f89449dea0 TF-5022 T-04 Keep delegated mail out of offline storage (#5118)
* TF-5022 T-04 Keep delegated mail out of offline storage and delete local data when access ends

* TF-5022 Extend AccountCacheClient in MemoryAccountCacheClient and drop unused imports in delegation tests

* TF-5022 Read CacheAccountKey from the last username part, keep EndedDelegationStoreImpl content rows when file cleanup fails, match notification emailId exactly and remove delegated composer snapshots in logoutToSignInNewAccount

* TF-5022 Guard sessionStorage access in EndedDelegationStoreImpl so blocked web storage no longer aborts logout or delegated cleanup

* test(delegation): report unsent mail lost in a partially failed cleanup

* TF-5022 Address review on cleanup counts, cache key order, Hive key scans and composer client lookup

* test(delegation): check sign-in screens pass session origin to dashboard

* test(caching): cover empty user, empty account and mismatched keys

* test(delegation): cover read failure, nothing to delete and delegated writes

* test(delegation): share no-cleanup asserts and count lost only after delete

---------

Co-authored-by: Dang Dat <tddang@linagora.com>
Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-13 17:22:04 +07:00
dab246 2205d7843b TF-5022 Replace ActiveAccountBridge with ActiveAccountSource and ActiveAccountWriter, and watch the shown account through watchShown in MailboxController and QuotasController 2026-11-13 17:22:03 +07:00
dab246 226051e6f0 TF-5022 Read the shown account in the folder list, folder search and the dashboard 2026-11-13 17:22:02 +07:00
dab246 7061ad66e2 TF-5022 Add ActiveAccountBridge and the ActiveAccountReader mixin, registered for the app lifetime and cleared on logout 2026-11-13 17:22:02 +07:00
dab246 1b56c05e7a TF-5022 Handle logout during account switching 2026-11-13 17:22:02 +07:00
Dat H. Pham 7b98cf93d8 fix(login): confirm deep-link sign-in account and DNS-discovered server (#5117) 2026-11-06 17:35:42 +07:00
Dat H. Pham e0df685a14 Cherry pick/v0.40.x fixes to master (#5082) 2026-11-02 16:24:00 +07:00
dab246 c96528c20d TF-4849 Add HideInsideCozyWidget to hide actions Twake Workplace already owns 2026-10-20 15:29:41 +07:00
Dat H. Pham 05ae9e4ce3 Cover pipeline call sites and quote escaping; drop tests that prove nothing 2026-10-20 10:03:55 +07:00
dab246 4e599bcecd Test that native and iOS viewers load the document built from their own options 2026-10-20 10:03:55 +07:00
dab246 614ed11bd6 TF-4878 test(attachment): pin preserveFileExtension on attachment chips and keep it off on recipient chips 2026-10-13 05:42:13 +07:00
dab246 1d6f505262 TF-4867 Wrap folder name errors on up to three lines in create and rename inputs 2026-10-08 07:10:16 +07:00
Dat VuandDat H. Pham c0eb30d2d6 TF-4809 Part 1-C: Apply consent in iOS notification extension (#4836)
* TF-4809 Part C: Apply consent in iOS notification extension

* TF-4809 Part C: Apply consent in iOS notification extension

* TF-4809 Part C: Harden NSE consent persistence

* TF-4809 Part C: Fix duplicate Mockito mock generation

* TF-4809 Part C: Use rethrow for Sentry errors

* TF-4809 Part C: Fix analyzer warnings

* TF-4809 Move Sentry cleanup to session teardown

* TF-4809 Fix BaseController test isolation

* TF-4809 Add tests for consent reset on session cleanup

* TF-4809 Reset Sentry consent on session cleanup

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-10-05 12:15:05 +07:00
Đặng Đạt 9510b710aa 2509 Declare webcal and geo schemes and report links no app can open
Addresses: 622656
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_622656
2026-10-05 10:20:52 +07:00
dab246 f30f7c6cd7 2509 Cover the blocked-link callback in the iOS EML previewer dialog 2026-10-05 10:20:52 +07:00
dab246 e28f4dd306 2509 Cover the blocked-link callback forwarded by the calendar event detail 2026-10-05 10:20:52 +07:00
dab246 04adcfa973 2509 Cover the blocked-link toast shown by BaseController 2026-10-05 10:20:52 +07:00
Đặng Đạt d1990bcc9e 2509 Show the blocked-link toast in invite descriptions and HTML attachments
Addresses: 621394, 622055
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_621394
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_622055
2026-10-05 10:20:52 +07:00
dab246 7f05b9bda9 2509 Cover the Android and iOS content viewers' external link guard 2026-10-05 10:20:52 +07:00
dab246 6be0fbcff4 2509 Pass and check the blocked-link callback in the previewer call-site test 2026-10-05 10:20:52 +07:00
dab246 8c56765395 TF-4815 Discard web composer snapshots on explicit logout 2026-10-01 10:42:32 +07:00
Dat Dang e6f9463c61 Allow workplace to refresh jmap token (#4810) 2026-09-15 15:58:43 +07:00
dab246 494ecf036b TF-4817 Harden premium CTA flows outside storage settings 2026-09-15 10:35:21 +07:00
Dat Vu 3debda2ba1 TF-4799 Fix HTML Mail be truncated in width (#4806) 2026-09-09 05:02:09 +07:00
dab246 6656ed79a8 TF-4678 refactor(mailbox): remove sidebar tree horizontal scrolling 2026-08-26 10:12:55 +07:00
dab246 5d26ea8308 TF-4678 feat(mailbox): support deep sidebar tree navigation 2026-08-26 10:12:55 +07:00
dab246 a8b338328e TF-4678 test(mailbox): cover sidebar integration 2026-08-26 10:12:55 +07:00
dab246 a358b4b2d6 TF-4645 Add InteractorConsumer seam and isUrgentException predicate
consumeInteractor centralizes interactor result folding with automatic urgent-exception routing (ADR-0103) for Riverpod notifiers bypassing consumeState. isUrgentException mirrors that routing's resolution so consumers can suppress fallback UI without re-routing.
2026-08-10 16:22:45 +07:00
dab246 5ed3d70292 Add UrgentExceptionHandlerService for urgent exceptions in Riverpod flows 2026-07-08 12:21:24 +07:00
Dat H. Pham 5233a65c82 Handle refreshToken failed for web (#4559) 2026-05-27 09:23:42 +07:00
Dat Dang bdf59ce9e3 TF-4081 Prevent network error log user out on mobile (#4531) 2026-05-22 14:12:33 +07:00
dab246 572bf6ba81 fix: The code parameter must be propagated through the inheritance chain. 2026-03-10 11:06:16 +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 2e8a11e7eb refactor(sentry): standardize exceptions to prevent Sentry minification 2026-03-10 11:06:16 +07:00
dab246 9c211c05ef feat: Auto sync label from web socket 2026-03-05 10:32:56 +07:00
Dat Dang 342d2f295a TF-4282 Fix sort of web search suggestion (#4289) 2026-01-30 11:19:27 +07:00
dab246 8d989c3caa fixup! fixup! TF-4236 Misleading variable name: maxBatches represents batch size, not batch count. 2026-01-27 12:04:11 +07:00
Dat H. Pham 4f27dc53ce fixup! TF-4236 Misleading variable name: maxBatches represents batch size, not batch count. 2026-01-27 12:04:11 +07:00
dab246 833df56cd8 TF-4178 Add more tests for parsing error to cover all case 2026-01-19 11:34:43 +07:00
Dat H. Pham f900a5776c TF-4178 Add test for parsing error 2026-01-19 11:34:43 +07:00
dab246 fedb8fed93 TF-4136 Apply early exit to prevent string operation in log 2026-01-15 09:46:51 +07:00
dab246 fbb79e17a3 TF-3996 Add widget test for PopupMenuActionGroupWidget 2025-11-05 09:48:22 +07:00
dab246 b040509475 TF-3996 Add unit test for groupByCategory function 2025-11-05 09:48:22 +07:00
dab246 b83e092e47 TF-3290 Only show reconnection confirm dialog when composer is opened 2025-02-05 03:00:08 -08:00
dab246 b344062068 TF-3226 Parsing minInputLength from Autocomplete capability in session 2024-11-20 14:51:23 +07:00
dab246 6389403241 Add suggestion for From/To dialog when input is new email address 2024-10-16 11:07:16 +07:00
dab246 095c836ef9 TF-3088 Fix the ending date of custom date range isn't included in the search 2024-09-05 09:54:27 +07:00
dab246 4d045bbf1a Hotfix conflict role Spam/Junk 2024-08-16 12:00:20 +07:00