Commit Graph
541 Commits
Author SHA1 Message Date
1f321d0f5f 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 10:01:57 +07:00
dab246 26152277cc TF-5022 Address review comments on the per-account WebSocket, FCM batch and NSE fetch 2026-11-13 10:01:57 +07:00
dab246 adc27802e8 TF-5022 T-03 Filter WebSocket and FCM state changes per account with StateChangeAccountFilter, merge debounced changes per account in WebSocketController, FcmMessageController and EmailChangeListener, and read delegatedAccounts in the iOS notification extension 2026-11-13 10:01:57 +07:00
dab246 e22ad77bb0 TF-5022 Point composer, identities and me-matching at the shown account (T-02.5) 2026-11-13 10:01:57 +07:00
dab246 a842a68b75 TF-5022 Stamp the Retry action of showRetryToast through ShownAccountStateConsumer.retryActionOf, so a Retry tapped after another account is shown never loads the account shown before 2026-11-13 10:01:56 +07:00
dab246 176b1e2812 TF-5022 Replace ActiveAccountBridge with ActiveAccountSource and ActiveAccountWriter, and watch the shown account through watchShown in MailboxController and QuotasController 2026-11-13 09:53:18 +07:00
dab246 6df782cdd3 TF-5022 Explain why _clearAllData also clears the ActiveAccountBridge 2026-11-13 09:53:18 +07:00
dab246 38f65a04e6 TF-5022 Read the shown account in the folder list, folder search and the dashboard 2026-11-13 09:53:17 +07:00
dab246 6b3cb419b9 TF-5022 Add ActiveAccountBridge and the ActiveAccountReader mixin, registered for the app lifetime and cleared on logout 2026-11-13 09:52:39 +07:00
dab246 7885558a3a TF-5022 Handle logout during account switching 2026-11-13 09:52:39 +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
Dang Dat 6d342c5f72 TF-4985 Add an e2e scenario for saving a vacation with an empty message
Addresses: 6462231092
https://github.com/linagora/tmail-flutter/pull/5050#issuecomment-6462231092
2026-11-05 10:07:57 +07:00
Dat H. Pham e0df685a14 Cherry pick/v0.40.x fixes to master (#5082) 2026-11-02 16:24:00 +07:00
Dat Vu c9c418fc42 TF-4858 Always keep space for a new recipient after the chips (#5009) 2026-10-21 15:37:59 +07:00
dab246 84a5b9931b TF-4849 Add web e2e for hiding sign out in the Twake Workplace profile menu 2026-10-20 15:29:41 +07:00
dab246 c96528c20d TF-4849 Add HideInsideCozyWidget to hide actions Twake Workplace already owns 2026-10-20 15:29:41 +07:00
dab246 ab811b0f59 TF-4898 test(labels): cover going back to Inbox when deleting the open label in e2e 2026-10-15 13:38:50 +07:00
dab246 77789647c1 test(labels): add e2e for adding labels repeatedly from the email more menu on mobile and web 2026-10-13 17:11:15 +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 aecb0fc1db 2509 Allow sms, webcal and geo links and warn when a link is refused
Addresses: 621394
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_621394
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 2cf6226e1e TF-4838 Resolve Workplace FQDN from the Linagora ecosystem fallback (#4841) 2026-09-22 13:35:54 +07:00
Dat Dang e6f9463c61 Allow workplace to refresh jmap token (#4810) 2026-09-15 15:58:43 +07:00
dab246 31899e3429 TF-4817 Replace PaywallController with premiumCtaProvider and EcosystemProviderListenerDelegate 2026-09-15 10:35:21 +07:00
dab246 494ecf036b TF-4817 Harden premium CTA flows outside storage settings 2026-09-15 10:35:21 +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 98525e323d TF-4678 feat(mailbox): integrate linagora sidebar menu 2026-08-26 10:12:55 +07:00
dab246 a9fa13e77f test(search): add e2e test for responsive action state sync 2026-08-21 14:47:03 +07:00
Dat Vu 42053d2200 TF-4646 SSOT Part 5.1 — PR 2 — Route web results through the central executor + search SSOT (#4706) 2026-08-10 16:22:45 +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 23d097c4b1 TF-4644 Route web search through single SearchFilterNotifier 2026-08-10 16:22:45 +07:00
Dat H. Pham 285e926a0d fix: InvalidStateError in IndexDatabase prevent state be updated (#4717) 2026-07-27 14:06:54 +07:00
Dat Vu 551a428bb0 TF-4546 Fix Android selection handles overlapping composer menu (#4689) 2026-07-10 16:17:12 +07:00
dab246 5ed3d70292 Add UrgentExceptionHandlerService for urgent exceptions in Riverpod flows 2026-07-08 12:21:24 +07:00
Rene Cordier c0e66a4a28 [E2E] Mobile test with firebase test lab (#4602) 2026-07-01 15:49:07 +07:00
Dat Vu 2c579e3d0a [Cherry-pick v0.29.x → master] Fix some issue search (#4651) 2026-06-30 11:42:41 +07:00
dab246 7d9fd4b6b5 TF-4479 Add integration tests for clear trash subfolders
Signed-off-by: dab246 <tdvu@linagora.com>
2026-06-22 15:11:40 +07:00
Dat Dang 9ab0a8e2d8 TF-4583 External drive attachment button visibility (#4609) 2026-06-19 08:51:56 +07:00
Dat Vu 12f72873e8 TF-4598 Add log to tracing Sentry [Web] - Refresh token invalid grant (#4604) 2026-06-17 14:01:58 +07:00
Dat H. Pham 947a5878c9 fix: handle urgent exception on provider 2026-06-15 12:06:07 +07:00
dab246 4f2831f167 refactor: extract UrgentExceptionHandler as abstract interface 2026-06-15 12:06:07 +07:00
Dat Dang bd1e722977 TF-4429 Update label selection in search (#4572) 2026-06-12 17:15:04 +07:00
Dat H. Pham 8bb8b2f2cb fix: more log in reloadable_controller and authorization_interceptor 2026-06-11 10:15:35 +07:00
dab246 93736f3bec log: add auth_error_type to forced-logout Sentry events in BaseController 2026-06-11 10:15:35 +07:00
Dang Dat b350a652fa Patrol Web Download all attachments 2026-05-28 10:31:25 +07:00
Dat H. Pham 5233a65c82 Handle refreshToken failed for web (#4559) 2026-05-27 09:23:42 +07:00
Dat Dang 0ddbce9065 TF-4426 Add warning when detect reject rule filter (#4536) 2026-05-22 14:15:23 +07:00
Dat Dang bdf59ce9e3 TF-4081 Prevent network error log user out on mobile (#4531) 2026-05-22 14:12:33 +07:00