155 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 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
Dat H. Pham 285e926a0d fix: InvalidStateError in IndexDatabase prevent state be updated (#4717) 2026-07-27 14:06:54 +07:00
Dat H. Pham fa325f5b3f add more log and try to write token before prune safety for update token (#4605) 2026-06-11 22:05:18 +07:00
dab246 6db72c0c03 refactor: move Riverpod providers to correct architecture layers 2026-06-10 19:25:01 +07:00
dab246 e3e1d3128b refactor: adopt @riverpod codegen for composer cache provider chain 2026-06-10 19:25:01 +07:00
dab246 9ee1ba7fc5 Fix silent failure and stale adapter guard reset 2026-05-21 13:25:43 +07:00
dab246 985e968c5e Remove redundant null assertions where flow analysis proves non-null 2026-05-21 13:25:43 +07:00
dab246 be7c5506a6 Simplify HiveCacheConfig adapter registration using generated HiveRegistrar extension 2026-05-21 13:25:43 +07:00
Dat H. Pham 86c4b4ca2f fix: show orphaned inline attachments in email attachment panel
When a received email contains an inline attachment with a CID but no
matching img[src="cid:..."] in the HTML body, tmail previously hid it
completely — not shown in the body (no img tag) and not in the attachment
panel (isOutsideAttachment returned false due to hasCid+isDispositionInlined).

In GetEmailContentInteractor, extract referenced CIDs from the raw HTML
before transformation, then split allInlineImages into referenced (rendered
in body) and orphaned (no body reference). Orphaned attachments are promoted
to the attachment panel so users can see and download them.
2026-05-15 13:13:29 +07:00
Dat H. Pham bb3ac0161d TF-4473 Fixup rabbit comment 2026-05-11 13:32:26 +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
Dang Dat 845161cb62 HOTFIX Sentry disable default replay 2026-05-07 15:33:14 +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 437c46f5ff fix(sentry): resolve minified exception types on web release 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 ed7a07c36f TF-4274 Persist encryption key hive avoid broken data 2026-01-29 18:00:36 +07:00
dab246 8fc5affb36 TF-4274 Make folder deletions best-effort for both paths. 2026-01-29 18:00:36 +07:00
dab246 4b3a0692a9 TF-4274 Clear encryption keys with account cache. 2026-01-29 18:00:36 +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 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 363fe0aa58 fix(cnb): delete all cache before execute logout
(cherry picked from commit 7aa346984f)
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 612fc75f02 TF-3977 Add disable spam banner in preferences setting 2025-09-17 11:30:18 +07:00
dab246 0194594b9f TF-4016 Upgrade hive database version to 21 2025-09-16 09:36:33 +07:00
dab246 44c17bc762 TF-3964 Upgrade hive database version to 20
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-22 11:19:11 +07:00
dab246 15f8ab7d7c TF-3918 Upgrade hive database version to 19
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-31 16:41:29 +07:00
DatDang 58a576adeb TF-3643 Thread Detail get emails meta data method
TF-3643 Thread Detail cache email with thread id

TF-3643 Thread Detail view thread detail

TF-3643 Thread Detail [Part 2 fixup] remove ThreadDetailController dependency from MailboxDashboardController

TF-3643 Thread Detail [Part 2 fixup] remove EmailSupervisorController dependency from ThreadDetailController

TF-3643 Thread Detail [Part 2 fixup] move isSearchRunning check into ThreadDetailController

TF-3643 Thread Detail [Part 2 fixup] ensure GetEmailsByIdsInteractor performance

TF-3643 Thread Detail [Part 2 fixup] unit test loadMoreThreadDetailEmails

TF-3643 Thread Detail [Part 2 fixup] unit test getEmailIdsToLoad

TF-3643 Thread Detail [Part 2 fixup] optimize ThreadDetailBinding bindingsDataSource

TF-3643 Thread Detail [Part 2 fixup] optimize getThreadDetailLoadingView

TF-3643 Thread Detail [Part 2 fixup] readd unique ValueKey for HtmlContentViewerOnWebWidget

TF-3643 Thread Detail [Part 2 fixup] unit test initializeThreadDetailEmails

TF-3643 Thread Detail [Part 3 fixup] Update private action button methods

TF-3643 Thread Detail [Part 4 fixup] Collapsed email preview 65 characters max

TF-3643 Thread Detail [Part 4 fixup] Remove personal scripts

TF-3643 Thread Detail move EmailInThreadStatus into PresentationEmail

TF-3643 Thread Detail refactor toggle collapse expand

TF-3643 Thread Detail EmailViewAppBarWidget required parameters

TF-3643 Thread Detail tap avatar toggle expansion

TF-3643 Thread Detail fix cannot open single email

TF-3643 Thread Detail fix open thread first time blank view

TF-3643 Thread Detail fix thread detail UI

TF-3643 Thread Detail fix round bottom view

TF-3643 Thread Detail fix round bottom view

TF-3643 Thread Detail bottom actions depend on current expanded email

TF-3643 Thread Detail hide next previous actions

TF-3643 Thread Detail fix load more show initial loading view

TF-3643 Thread Detail fix cannot view single email

TF-3643 Thread Detail fix bottom place holder not aligned

TF-3643 Thread Detail fix back to search view

TF-3643 Thread Detail fix display 65 character preview collapsed email

TF-3643 Thread Detail fix search not work

TF-3643 Thread Detail fix bottom place holder UI

TF-3643 Thread Detail fix expand view

TF-3643 Thread Detail jump to top of last email view

TF-3643 Thread Detail remove toMe condition of filtering thread

TF-3643 Thread Detail fix sort thread detail

TF-3643 Thread Detail fix assert not work in release

TF-3643 Thread Detail add load more test case <20

TF-3643 Thread Detail remove the use of currentThreadId

TF-3643 Thread Detail remove the use of selectedEmail in SingleEmailController

TF-3643 Thread Detail fix unit test SingleEmailController calendar

TF-3643 Thread Detail disable 2 way scroll control

TF-3643 Thread Detail allow thread to load sent email incase thread only contains 1 email

TF-3643 Thread Detail disable single email page view

TF-3643 Thread Detail update emailsNotLoadedCount name

TF-3643 Thread Detail remove collapsed email char limit

TF-3643 Thread Detail fix CI

TF-3643 Thread Detail unit test handleGetEmailIdsByThreadIdSuccess

TF-3643 Thread Detail make _currentEmailId private

TF-3643 Thread Detail fix search click users

TF-3643 Thread Detail fix scroll jump

TF-3643 Thread Detail fix scroll jump

TF-3643 Thread Detail fix web back action

TF-3643 Thread Detail round bottom actions

TF-3643 Thread Detail fix tablet large empty email

TF-3643 Thread Detail fix email subject selectable

TF-3643 Thread Detail fix email single view with top divider

TF-3643 Thread Detail fix email cache threadId missing

TF-3643 Thread Detail fix filter sent email in thread details

TF-3643 Thread Detail fix select text

TF-3643 Thread Detail fix subject alignment

TF-3643 Thread Detail fix subject alignment

TF-3643 Thread Detail fix tablet large empty email

TF-3643 Thread Detail add nullcheck for _jumpScrollViewToTopOfEmail

TF-3643 Thread Detail decouple ThreadDetailController from SingleEmailController

TF-3643 Thread Detail combine emailIds to emailIdsPresentation

TF-3643 Thread Detail remove currentEmailLoaded obx listener of SingleEmailController

TF-3643 Thread Detail replace threadAction with an email ui action

TF-3643 Thread Detail fix top and bottom bar delay displaying

TF-3643 Thread Detail update ReplyForwardBottomBarAction to PerformEmailActionInThreadDetailAction

TF-3643 Thread Detail use getOwnEmailAddress in ThreadDetailAppBar

TF-3643 Thread Detail add TextOverflow.ellipsis to EmailSubjectWidget

TF-3643 Thread Detail fix round border threadDetailLoadingView
2025-07-21 05:34:53 +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 28ea8aec76 Remove migrate boxes Mailbox, Email, DetailEmail, State
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +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 000a2e3985 Add unit test for combineEmailCache method
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 a02435c9f5 TF-3767 Upgrade Hive database to version 16
Signed-off-by: dab246 <tdvu@linagora.com>
2025-06-16 10:34:21 +07:00
dab246 42fbb01847 TF-3767 Should not clean recent search in log out
Signed-off-by: dab246 <tdvu@linagora.com>
2025-06-16 10:34:21 +07:00
dab246 80dff51c77 TF-3685 Fix From field is displayed incorrectly in Drafts on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
2025-05-13 23:40:12 -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
Florent Azavant 89d80fe142 TF-3189 new option to enable/disable subaddressing for a personal folder 2025-02-19 02:34:29 -08: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
Dat Vu 3205e00d65 Standardize HTML sanitizing when preview email (#3223) 2024-10-24 15:56:48 +07:00
Dat PHAM HOANG adaab2198d Close hive boxes in Background (notificaiton) 2024-08-07 06:32:45 +02:00
Dat Vu ca4cf68f87 TF-825 Download email as EML file (#2854) 2024-05-16 15:50:01 +07:00