44 Commits
Author SHA1 Message Date
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
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 f28cce5a16 TF-4473 Add implement respository/datasource of composer persistent cache
Signed-off-by: dab246 <tdvu@linagora.com>
2026-05-11 13:32:26 +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 437c46f5ff fix(sentry): resolve minified exception types on web release 2026-03-10 11:06:16 +07:00
dab246 6f87058459 Remove async function for SessionStorageManager
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-17 10:57:43 +07:00
dab246 9a2f0aa356 Handle web finger to get token in HomeController
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-17 10:57:43 +07:00
dab246 223fdbf1fb TF-3278 Handle open app via deep link at MailboxDashboard screen 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 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 00bfadbfe7 TF-2311 Sync session hive cache id name
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 353a895032)
2023-11-21 16:54:33 +07:00
dab246 d5cac4058a TF-1933 Trigger to handle hive database in main isolate when work manager changed
(cherry picked from commit 714806a751)
2023-07-07 22:45:26 +07:00
dab246 6d96a1109e TF-1923 Fix new email offline mode not working
(cherry picked from commit c1c48e93d5)
2023-06-26 22:02:30 +02:00
dab246 45aa20d314 TF-1899 Implement store session to hive
(cherry picked from commit e42b61f67a)
2023-06-13 10:17:45 +07:00
dab246 44bc6b2084 TF-1899 Add SessionHiveObj to store session
(cherry picked from commit de5c6f2c76)
2023-06-13 10:17:45 +07:00
dab246 e2397b3b43 TF-1839 Clean IncomingEmailed in cache
(cherry picked from commit 005bfe41a1)
2023-06-13 10:17:45 +07:00
dab246 0b6195f02a TF-1812 Add SendingEmailHiveCache to store sending email
(cherry picked from commit 7ff4c951b8)
2023-06-13 10:17:45 +07:00
HuyNguyen 953894e3a9 TF-1869: Double check email have been duplicated and remove it
(cherry picked from commit d1d4485022)
2023-06-05 11:02:20 +07:00
HuyNguyen 109ea54204 TF-1869: Duplicate check for OpenedEmail and DetailedEmail when get contents
(cherry picked from commit 674312c3dd)
2023-06-05 11:02:20 +07:00
HuyNguyen 48f5a8b51f TF-1809: Handle sync data from cache and network when get email contents
(cherry picked from commit 896059cd5b)
2023-06-05 11:02:20 +07:00
HuyNguyen 63f375a29c TF-1808: Hanlde store email when opening email
(cherry picked from commit 2c895379f8)
2023-06-05 11:02:20 +07:00
HuyNguyen 28d75ce384 TF-1808: Create func store email when opening in data layer
(cherry picked from commit a24b4698ee)
2023-06-05 11:02:20 +07:00
dab246 d357358341 TF-1810 Implement store detailed email to cache
(cherry picked from commit 6be6d69ad8)
2023-06-05 11:02:20 +07:00
dab246 892fceb037 TF-1810 Add StoreDetailedEmailToCacheInteractor to store detailed email to cache
(cherry picked from commit 60a91537f7)
2023-06-05 11:02:20 +07:00
dab246 d6a5c88281 TF-1810 Create DetailedEmailCacheManager to manage store/get/delete cache
(cherry picked from commit b2678ba89f)
2023-06-05 11:02:20 +07:00
dab246 006326fe05 TF-1810 Create DetailedEmailHiveCacheClient to handle hive database
(cherry picked from commit 835ccef598)
2023-06-05 11:02:20 +07:00
dab246 eb855f859e TF-1810 Add hive cache object for detailed email
(cherry picked from commit 0a8b283820)
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 1b7ce6b37a Store mailbox cache by AccountId
(cherry picked from commit 7804f19d27)
2023-05-08 13:03:51 +07:00
dab246 2b71aba278 TF-1487 Apply linter rule 2023-03-10 21:10:36 +07:00
HuyNguyen dd6079385d TF-1289: [Data] implement storeSubscription in fcm datasource 2023-01-04 10:10:30 +07:00
dab246 d990426c8e TF-439 Delete all class not used 2022-12-02 16:13:47 +07:00
ManhNTX d2da7f23b1 TF-1205: rename class 2022-12-02 16:13:47 +07:00
ManhNTX f94cfe7ee8 TF-1202: Configure FCM 2022-12-02 16:13:47 +07:00
Ms Thuỷ 6cf86b0edf TF-1068 implement data layer save recent login username & get all login username 2022-10-25 14:03:25 +07:00
dab246 87839351f2 TF-1068 Implement save recent login url 2022-10-21 13:56:05 +07:00
sherlockvn 36e3634c71 TF-1068 add recent url 2022-10-21 13:56:05 +07:00
dab246 6018cd383a TF-886 Store encryptionKey in Hive database 2022-09-07 15:47:01 +07:00
dab246 c0b3017239 TF-886 Create AuthenticationInfoCache object 2022-09-07 15:47:01 +07:00
Dat PHAM HOANG 8c96a486d1 TF-571 Injection and configuration for Hive cache 2022-06-01 14:31:58 +07:00
dab246 3513c363ff TF-524 Create RecentSearchCache and TypeAHeadQuickSearch widget 2022-05-26 15:17:52 +07:00
dab246 f5874a7e49 TF-145 Create object EmailCache 2021-10-11 09:31:49 +07:00