212 Commits
Author SHA1 Message Date
Dat Vu 56db1436e7 TF-5022 T-14 Start the mobile app on the last shown account (#5168) 2026-11-26 15:20:22 +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
dab246 76166f945e TF-5022 T-07 Keep the open WebSocket in WebSocketController.initialize and take its label push types from my own label setting only 2026-11-13 17:22:42 +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
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
dab246 65c31dfc2c TF-4809 Part B: Reuse Sentry for unchanged FCM config 2026-10-05 12:15:05 +07:00
dab246 e78120abb6 TF-4809 Part B: Harden Sentry FCM consent 2026-10-05 12:15:05 +07:00
dab246 fdda202292 TF-4809 Part B: Persist consent for FCM background 2026-10-05 12:15:05 +07:00
Dang Dat 6f0995c723 2509 Escape notification text and use private lock-screen visibility 2026-10-02 09:57:23 +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
Dat H. Pham 1b92966f1e [Sentry] fix UnsupportedError FixedLengthListMixin.clear (#4653) 2026-06-30 17:09:43 +07:00
Dat H. Pham 426b166ce9 fix: bound Email/changes pagination to stop self-inflicted request storm (#4582) 2026-06-04 13:47:09 +07:00
dab246 938494d1eb fix(notification): use exponential backoff for FCM token retry and test null receivedAt ordering 2026-05-25 16:45:57 +07:00
dab246 3b045a7205 refactor(notification): rename to getExcludedMailboxesForNotification and verify network fallback in tests 2026-05-25 16:45:57 +07:00
dab246 e98b311977 fix(notification): retry FCM token fetch on SERVICE_NOT_AVAILABLE 2026-05-25 16:45:57 +07:00
dab246 aacbafa2a4 feat(notification): cap notifications at 20 per burst 2026-05-25 16:45:57 +07:00
dab246 d3ca649cc9 refactor(notification): unify mailbox cache lookup for notification exclusion 2026-05-25 16:45:57 +07:00
dab246 7f96b8420b fix(notification): store FCM delivery state during foreground sync 2026-05-25 16:45:57 +07:00
dab246 47f8713012 fix(notification): guard removeNotification against PlatformException 2026-05-25 16:45:57 +07:00
Dat Vu 52dddfb027 Hotfix: Double-slash path normalization for JMAP session endpoints (#4511)
* Fix double-slash path normalization for JMAP session endpoints

Some server instances return session URLs with double slashes in the
path (e.g. http://host//upload/{accountId}), causing 404 errors.
Normalize path slashes for upload, download, WebSocket ticket, and
download-all capability endpoints.

* Add ADR-0087 for double-slash path normalization on JMAP session endpoints
2026-05-13 11:57:37 +07:00
dab246 230cbf647f TF-4269 Integrate Sentry into iOS NSE and automate dSYM upload in CI 2026-04-22 15:41:28 +07:00
dab246 eeaab49e93 TF-4268 Cache Sentry config and user for FCM background re-initialization
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-10 16:05:02 +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
Dat H. Pham 3e39f59f20 Fixup Constant some token exception 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 b2338a1160 feat(Label): Use capability-aware label availability in websocket injection. 2026-03-05 10:32:56 +07:00
dab246 2e6e1fcdc8 feat(Label): Add depend on settings to register websocket for label 2026-03-05 10:32:56 +07:00
dab246 41817091c1 feat: Fix loop uses sinceState instead of newSinceState, causing infinite loops. 2026-03-05 10:32:56 +07:00
dab246 9c211c05ef feat: Auto sync label from web socket 2026-03-05 10:32:56 +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 9d4f6e73d2 fix(cnb): Cannot clear email state cache when reload page
(cherry picked from commit a901206a78)
2026-01-29 18:00:36 +07:00
dab246 a23d15a9ca TF-4136 refactor(logging): replace logError with logWarning for non-critical cases 2026-01-06 13:53:22 +07:00
DatDang 4fd0931c9e TF-3586: Upgrade Flutter to 3.27.4 2025-07-30 15:24:57 +07:00
dab246 8d83650f33 Migrate Hive box To IsolatedHive box
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 15c8ce2111 Fix missing GetStoredEmailStateInteractor
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 45cd1c3613 Use Hive CE database to replace Hive database
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 23019ae030 Auto refresh mails when resume app from background
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 4bd5ecc5d4 Remove store state to refresh in FCM
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 b6f179532d Increase debounce time receive FCM background message to 30s
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 02c2e08e40 Remove closeBox when open box in hive database
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 8bb428b8b9 TF-3719 Fix error Too many items in an email read at level FULL in Email/get
Signed-off-by: dab246 <tdvu@linagora.com>
2025-05-16 09:59:49 -07:00
dab246 712bc26402 TF-3507 Fix offline cache prevents updating email query view cache
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-14 04:01:05 -07:00
dab246 51c95bbc69 Upgrade hive database version to 14
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-08 23:43:53 -07:00
dab246 7342bbc11d TF-3601 View entire message on dialog
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-03 02:38:48 -07:00
dab246 535a862777 TF-3493 Ensures that a URI always uses wss:// or ws://, helping avoid the error Unsupported URL scheme 'https'
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-23 22:40:30 -08:00
Florent Azavant 327af38fb0 TF-2305 Fixed getUploadUri and getDownloadUri not working with Cyrus 2025-02-16 20:52:47 -08:00
dab246 223fdbf1fb TF-3278 Handle open app via deep link at MailboxDashboard screen 2025-02-05 03:00:08 -08:00
dab246 412431ceaa TF-3323 Fix web socket still not reconnect when network disconnected 2025-02-05 03:00:08 -08:00