71 Commits
Author SHA1 Message Date
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 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
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 3b045a7205 refactor(notification): rename to getExcludedMailboxesForNotification and verify network fallback in tests 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
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 8a21e35d1e fix: Prefer reusing AppBaseException instead of redefining the exception contract CacheException and RemoteException 2026-03-10 11:06:16 +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
dab246 8d83650f33 Migrate Hive box To IsolatedHive box
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 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 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 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
dab246 223fdbf1fb TF-3278 Handle open app via deep link at MailboxDashboard screen 2025-02-05 03:00:08 -08:00
dab246 b7b6b0f7fa TF-3416 Handle download attachment in EML previewer on web 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
dab246 4d045bbf1a Hotfix conflict role Spam/Junk 2024-08-16 12:00:20 +07:00
dab246 7b5c0d5a75 TF-2871 Block notification on folders Sent, Outbox, Drafts, Spam and Trash 2024-08-07 06:32:45 +02:00
dab246 9ffd20f1a7 TF-2871 Write unit test for KeychainSharingManager 2024-08-07 06:32:45 +02:00
dab246 43732a66d9 Sort notification list in order of last received date 2024-05-13 19:12:10 +07:00
dab246 82956378e5 TF-2611 Get for maximum 5 latest email in Email/changes on FCM
Signed-off-by: dab246 <tdvu@linagora.com>

clea# Please enter the commit message for your changes. Lines starting
2024-02-20 11:33:04 +07:00
dab246 dd8c6e96d7 TF-2464 Remove save email delivery state in dart code
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 6209b3550d)
2024-02-19 15:55:17 +07:00
dab246 1835e9fad7 TF-2464 Fix can not auto refresh list email when switch background mode to foreground mode
(cherry picked from commit 34b09c0aea)
2024-02-19 15:55:13 +07:00
dab246 274e01d113 TF-2464 Save both EmailDelivery and EmailState in the keychain
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit a37fe7ea8b)
2024-02-19 15:55:12 +07:00
dab246 eb3e22b467 TF-2536 Write unit test for getAllMailbox method repository
Signed-off-by: dab246 <tdvu@linagora.com>
2024-02-19 15:55:06 +07:00
dab246 d8bfb83e89 TF-2536 Change the logic to get all mailbox
Signed-off-by: dab246 <tdvu@linagora.com>
2024-02-19 15:55:01 +07:00
dab246 987b018bb7 Fix: Update EmailDeliveryState to Keychain
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit ac72825c7b)
2024-01-12 13:49:03 +07:00
dab246 b1b2bb90a5 TF-2384 Handle refresh token when token expired in NSE
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit c8a39bb427)
2024-01-08 14:25:26 +01:00
dab246 940cc2f315 TF-2384 Create KeychainSharingManager to manage data push notification
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit f4b8396428)
2024-01-08 14:25:26 +01:00
dab246 bfcdda6b67 TF-2298 Always get token when open app
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit fae6398d87)
2024-01-08 14:25:26 +01:00
dab246 f5d878012d TF-2298 Update expires time when old token has expired
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit fb26afe8f5)
2024-01-08 14:25:26 +01:00
dab246 09f213ebb6 TF-1710 Move all method of PresentationMailbox object to extension to sync
(cherry picked from commit 408fb1840d)
2023-08-18 21:29:50 +07:00
dab246 bf902d79ee TF-1813 Add log stackTrace in ExceptionThrower
(cherry picked from commit a1634ad255)
2023-06-13 10:17:45 +07:00
dab246 7e0f338fa0 TF-1810 Add GetNewReceiveEmailFromNotificationInteractor to get new receive email from notification
(cherry picked from commit df7a84a932)
2023-06-05 11:02:20 +07:00
dab246 5b01715dcd TF-1810 Move all hive clients to a separate folder
(cherry picked from commit c72e16b576)
2023-06-05 11:02:20 +07:00
dab246 876cc368b0 Use TupleKey(ObjectKey-AccountId-UserName) to store data to hive
(cherry picked from commit e0ace535d5)
2023-05-08 13:03:51 +07:00
dab246 550752a2a4 Store and get fcm cache by AccountId
(cherry picked from commit e327dff45a)
2023-05-08 13:03:51 +07:00
dab246 6189edd777 Get all mailbox cache by AccountId
(cherry picked from commit 8a7ccbf5d7)
2023-05-08 13:03:51 +07:00
dab246 9dac861baa TF-1599 Handle remove notification when email mask as read or delete permanent
(cherry picked from commit 1abcc61474)
2023-04-14 17:12:34 +07:00
dab246 8467db2689 TF-1600 Add list mailboxes allow push notifications
(cherry picked from commit f38a7945f0)
2023-04-14 17:12:34 +07:00
dab246 4c64fefe75 TF-1600 Implement GetMailboxesNotPutNotificationsInteractor
(cherry picked from commit ba849b288e)
2023-04-14 17:12:34 +07:00
HuyNguyen 8a28225e05 TF-1604: Add requiredCapabilities support TeamMailbox for GetEmailMethod
(cherry picked from commit 3922303e63)
2023-03-24 19:40:48 +07:00
dab246 2b71aba278 TF-1487 Apply linter rule 2023-03-10 21:10:36 +07:00