141 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
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
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 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 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 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 e6f9463c61 Allow workplace to refresh jmap token (#4810) 2026-09-15 15:58:43 +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 12f72873e8 TF-4598 Add log to tracing Sentry [Web] - Refresh token invalid grant (#4604) 2026-06-17 14:01:58 +07:00
dab246 4f2831f167 refactor: extract UrgentExceptionHandler as abstract interface 2026-06-15 12:06:07 +07:00
dab246 93736f3bec log: add auth_error_type to forced-logout Sentry events in BaseController 2026-06-11 10:15:35 +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 2a3325ab7a TF-4265 Add integration test for attachment reminder on mobile 2026-04-07 13:20:25 +07:00
Théo Poizat 3ebb9113bc Revert "Cache LinagoraEcosystem to avoid multiple network calls"
This reverts commit 252f34f914fa21f8acf2ef2b5de9ac0ab28a8b4c.
2026-03-25 11:52:35 +07:00
Théo Poizat 6d8d10cf26 Cache LinagoraEcosystem to avoid multiple network calls 2026-03-25 11:52:35 +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 2e6e1fcdc8 feat(Label): Add depend on settings to register websocket for label 2026-03-05 10:32:56 +07:00
dab246 ada44dd5d0 fix(auth): handle 400 error during token refresh flow 2026-02-10 16:58:58 +07:00
dab246 18d9a47431 TF-4274 Avoid clearing all caches on refresh for non‑web platforms 2026-01-29 18:00:36 +07:00
dab246 d827ead3a4 fix(cnb): update logic clear all data
(cherry picked from commit 4853a4f703)
2026-01-29 18:00:36 +07:00
dab246 b3e5ab0df4 fix(cnb): skip local email cache and add safe email/state cache clearing
(cherry picked from commit 0e7f589df5)
2026-01-29 18:00:36 +07:00
dab246 363fe0aa58 fix(cnb): delete all cache before execute logout
(cherry picked from commit 7aa346984f)
2026-01-29 18:00:36 +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 c87d3229ce TF-4186 Implement remember choose organisation server 2025-12-10 17:13:11 +07:00
dab246 972b20ec16 TF-4050 Preview and download uploaded file in composer on web 2025-11-11 17:48:33 +07:00
dab246 5a64ff7e8f TF-3894 Fix blank email content when opening email 2025-09-04 09:30:29 +07:00
DatDang 9e7298bc76 TF-3953 Close several modals when click outside 2025-08-22 11:24:38 +07:00
dab246 25c2eb0ace TF-3717 Allow access settings when own email address is null
Signed-off-by: dab246 <tdvu@linagora.com>
2025-06-09 16:21:20 +07:00
dab246 440ea10aff Fix default browser warning dialog is auto shown when get 401 error
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-15 08:36:30 -07:00
dab246 92a9fe88a5 Reconnect when sending email with error 401
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-15 00:31:13 -07:00
dab246 7678f100ae Fix missing import flutter_svg package
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-15 00:31:13 -07:00
dab246 0a55455321 Hide session expires dialog
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-15 00:31:13 -07:00
dab246 b8d66dc539 Avoid displaying duplicate session expiration dialogs
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-15 00:31:13 -07:00
DatDang 91dddff18d TF-3487 Create retriable failure state and toast 2025-04-09 07:55:42 -07:00
dab246 49fe89a949 TF-3478 Use ComposerManager to open & close single composer
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-17 04:33:44 -07:00
dab246 700e8bc479 TF-3410 Update confirm dialog
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-12 20:17:15 -07:00
Florent Azavant 6720709a2e TF-2305 Session::getOwnEmailAddress method to fetch the user email address from urn:ietf:params:jmap:principals imip mailto property if not present in the session username, which is the case for Cyrus 2025-02-16 20:52:47 -08:00
dab246 b83e092e47 TF-3290 Only show reconnection confirm dialog when composer is opened 2025-02-05 03:00:08 -08:00