159 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
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
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 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 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
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
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 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 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 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
Florent Azavant 327af38fb0 TF-2305 Fixed getUploadUri and getDownloadUri not working with Cyrus 2025-02-16 20:52:47 -08:00
dab246 412431ceaa TF-3323 Fix web socket still not reconnect when network disconnected 2025-02-05 03:00:08 -08:00
dab246 0ce99c745c TF-3416 Persist preview EML content when make reload page action 2025-02-05 03:00:08 -08:00
dab246 d304083b2e TF-3416 Implement preview EML attachment 2025-02-05 03:00:08 -08:00
dab246 1689f709b5 TF-3323 Make sure that web socket connection can be reconnected in some case 2025-02-05 03:00:08 -08:00
Dat PHAM HOANG e386848af8 TF-3334 Add more concurrence test cases for WebSocketQueueHandler 2025-02-05 03:00:08 -08:00
dab246 ba93e7b514 TF-3334 Dispose web socket when close controller 2025-02-05 03:00:08 -08:00
dab246 dfd622d7ec TF-3334 Use queue to handle multiple refresh changes mailbox from incoming websocket 2025-02-05 03:00:08 -08:00
DatDang ea58e3297b TF-3341 Enable web socket for mobile 2025-02-05 03:00:08 -08:00
DatDang 414718141e TF-3336 Make Echo ping of web socket optional 2025-02-05 03:00:08 -08:00
dab246 e9547c780c TF-3349 Escape messages when print email 2025-02-05 03:00:08 -08:00
DatDang b76e8bb725 TF-3157 Remove unnecessary background service worker 2024-11-06 21:32:34 +07:00
DatDang 7d59982cc9 TF-3157 Update web socket with background service worker
TF-3157 Stub BroadcastChannel for mobile build
2024-11-06 21:32:34 +07:00
DatDang c4d0c27603 TF-3157 Implement web socket push 2024-11-06 21:32:34 +07:00
Dat PHAM HOANG adaab2198d Close hive boxes in Background (notificaiton) 2024-08-07 06:32:45 +02:00
dab246 501d4d38d9 TF-2871 Handle click notification to open detailed email on iOS 2024-08-07 06:32:45 +02:00