553 Commits
Author SHA1 Message Date
Dat Vu 36163609c5 TF-5227 Refuse other-domain and team mailbox delegates in the add delegates dialog (#5230) 2026-12-04 12:15:57 +07:00
Dat Vu 6e61a05504 TF-5228 Close the account avatar menu on Esc and return focus to the avatar (#5229) 2026-12-03 17:06:55 +07:00
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 VuandDat H. Pham 777dfacc3f TF-5023 T-18 Remove a delegate from a confirm dialog in Settings › Delegation › By me (#5185)
* TF-5023 T-18 Remove a delegate from a confirm dialog in Settings › Delegation › By me

* TF-5023 T-18 Test urgent remove failures and the dialog after a failed remove

* TF-5023 T-18 Skip the toast and reload after an urgent remove failure and close RemoveDelegateDialog when the delegate is gone

* TF-5023 T-18 Test RemoveDelegateDialog closes once and stays open during a retry

* TF-5023 T-18 Test the remove progress button and closing with other delegates left

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-27 10:44:11 +07:00
Dat Vu 3c27f64c35 TF-5023 T-17 Add delegates from a one-step dialog in Settings › Delegation › By me (#5183)
* TF-5023 T-17 Add delegates from a two-step dialog in Settings › Delegation › By me

* TF-5023 T-17 Pick the typed address on Next in AddDelegatesDialog

* TF-5023 T-17 Expect MyDelegatesNotifier to keep its list as data while reloading

* TF-5023 T-17 Enable Next for a typed address with no chip yet in AddDelegatesDialog

* TF-5023 T-17 Add delegates from a one-step AddDelegatesDialog with an avatar on every chip

* TF-5023 T-17 Refuse a delegate pick in AddDelegatesNotifier while the add request runs

* TF-5023 T-17 Skip the toast and reload in AddDelegatesDialog after an urgent add failure
2026-11-26 22:45:28 +07:00
Dat VuandDat H. Pham a050e7348b TF-5023 T-16 Show my delegates in a By me tab of Settings › Delegation (#5179)
* TF-5023 T-16 Show my delegates in a By me tab of Settings › Delegation with a disabled Add button

* TF-5023 T-16 Register delegate cleanup before seeding and name the By me tab in MyDelegatesSection

* TF-5023 T-16 Test that a read finishing after the By me tab closes is dropped

* TF-5023 T-16 Test that re-reading my delegates keeps the current list

* TF-5023 T-16 Keep the current list while MyDelegatesNotifier reloads

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-26 14:17:21 +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
Dat Vu 1861b186a5 TF-5022 T-13 Notify delegated mailboxes and open a notification tap in its account (#5166) 2026-11-25 11:53:27 +07:00
Dat Vu 5df49491e2 TF-5022 T-11 Add Settings › Delegation with "Delegated to me" and "Remove your access" (#5147)
* TF-5022 T-11 Send the session request to the JMAP URL in DynamicUrlInterceptors so a session reload no longer hits the API URL

* TF-5022 T-11 Add Settings › Delegation with DelegatedToMeNotifier and DelegatedToMeSection to list mailboxes delegated to me and remove my access

* TF-5022 T-11 Drop stale or signed-out session re-reads in DelegatedToMeNotifier and open a delegation link once the local settings load

* TF-5022 T-11 Share the pending re-read setup of the sign-out and user-change tests in DelegatedToMeNotifier tests

* TF-5022 T-11 Keep Delegation selected in ManageAccountMenuController when the quota loads after a deferred delegation link opens

* TF-5022 T-11 Clear the stored Delegation selection in ManageAccountMenuController when Delegation becomes hidden

* TF-5022 T-11 Clear the pending delegation link in ManageAccountDashBoardController.selectSettings when the user picks a settings page
2026-11-19 07:16:29 +07:00
dab246 1a482345d0 TF-5022 T-07 Add the stand-alone web e2e hiding my vacation banner, Recover deleted messages and Create a rule while a delegated mailbox is shown 2026-11-13 17:22:42 +07:00
dab246 6ec7a681ca TF-5022 T-07 Replace the ViewingOwnerBanner below the ThreadView search bar with CompactAccountSwitcher in MobileAppBarThreadWidget on non-desktop web 2026-11-13 17:22:41 +07:00
dab246 c8774e767f TF-5022 T-07 Add account switcher helpers toast sections and Viewing chrome capability 2026-11-13 17:22:41 +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 65995ed408 TF-5022 Address review comments on the per-account WebSocket, FCM batch and NSE fetch 2026-11-13 17:22:04 +07:00
dab246 012bc1b069 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 17:22:04 +07:00
dab246 b1ff88710d TF-5022 Point composer, identities and me-matching at the shown account (T-02.5) 2026-11-13 17:22:03 +07:00
dab246 e6c9f6e760 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 17:22:03 +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 798eba1b98 TF-5022 Explain why _clearAllData also clears the ActiveAccountBridge 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
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