Commit Graph
476 Commits
Author SHA1 Message Date
Dat Dang 9ab0a8e2d8 TF-4583 External drive attachment button visibility (#4609) 2026-06-19 08:51:56 +07:00
Dang Dat 46f6175ffd TF-4507 Composer mailto focus fix 2026-06-17 19:36:23 +07:00
Dat Vu 12f72873e8 TF-4598 Add log to tracing Sentry [Web] - Refresh token invalid grant (#4604) 2026-06-17 14:01:58 +07:00
Dat Dang 0f5a6829a4 Modularize preferences (#4610) 2026-06-15 12:43:29 +07:00
dab246 14479e4241 test: strengthen deleteMultipleMailbox cache-throws error passthrough 2026-06-15 12:06:07 +07:00
dab246 496c4b5d60 fix: attach provider delegates only once.
Signed-off-by: dab246 <tdvu@linagora.com>
2026-06-15 12:06:07 +07:00
dab246 1f06b63ef5 fix: correct emptyFolderProvider reference in notifier and strategy tests 2026-06-15 12:06:07 +07:00
dab246 30fa55bb40 refactor: remove adapter layer replaced by strategy and delegate pattern 2026-06-15 12:06:07 +07:00
dab246 4f2831f167 refactor: extract UrgentExceptionHandler as abstract interface 2026-06-15 12:06:07 +07:00
dab246 663cb61f73 fix: suppress re-insert failure after clear in _persistAtKey to prevent key divergence 2026-06-13 05:39:00 +07:00
dab246 c9217b5e4e fix: store repair token at accountCacheKey to prevent logout on restart 2026-06-13 05:39:00 +07:00
dab246 6c07c56bce fix: address CodeRabbit review — guard currentToken, Object over dynamic, assert AccountRequest in tests 2026-06-13 05:39:00 +07:00
dab246 22b211afc9 fix: re-persist fallback token to repair storage after box corruption in export interactors 2026-06-13 05:39:00 +07:00
dab246 84d1d92aa4 test: add unit tests for ExportAttachmentInteractor and ExportAllAttachmentsInteractor 2026-06-13 05:39:00 +07:00
dab246 8315ded4df fix: add OIDC fallback token support to ExportAttachmentInteractor and ExportAllAttachmentsInteractor 2026-06-13 05:39:00 +07:00
dab246 8bbc77ba9e fix: remove unnecessary null assertion operators in StubTokenOidcCacheClient 2026-06-13 05:39:00 +07:00
dab246 8e4bc5e760 refactor: collapse stub cache clients into single configurable class to fix CodeScene Primitive Obsession 2026-06-13 05:39:00 +07:00
dab246 4322f2f7c8 refactor: extract stub cache clients to separate file to fix CodeScene Primitive Obsession 2026-06-13 05:39:00 +07:00
dab246 71698c8272 fix: limit persistOneTokenOidc recovery scope to _removeStaleTokens 2026-06-13 05:39:00 +07:00
dab246 0396ebc75e test: extend TokenOidcCacheManager tests with persistOneTokenOidc corrupted box recovery scenario 2026-06-13 05:39:00 +07:00
dab246 027bdee4c6 fix: DownloadController passes failure.exception to exportAttachmentFailureAction and exportAllAttachmentsFailureAction 2026-06-13 05:39:00 +07:00
Dat Dang bd1e722977 TF-4429 Update label selection in search (#4572) 2026-06-12 17:15:04 +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 2574798771 fix: keep session on PlatformException(token_failed) network failure in AuthorizationInterceptors 2026-06-11 10:15:35 +07:00
dab246 6db72c0c03 refactor: move Riverpod providers to correct architecture layers 2026-06-10 19:25:01 +07:00
dab246 307249da41 fix: guard post-await state mutations with mounted in ComposerAutoSaveNotifier 2026-06-10 19:25:01 +07:00
dab246 8e2b883906 refactor: migrate ComposerAutoSaveNotifier from StateNotifierProvider.family to @riverpod Notifier 2026-06-10 19:25:01 +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 b6f1eed3ab TF-4529 Fix email subject not copyable on mobile 2026-05-29 17:16:26 +07:00
dab246 da2b04f531 refactor: replace EmptyPreferencesConfig sentinel with nullable in _parseConfig 2026-05-29 11:11:16 +07:00
dab246 4bcb162c21 refactor: add PreferencesOptionType exhaustiveness tests and clean up PreferencesSettingManager 2026-05-29 11:11:16 +07:00
dab246 91f83cad9c refactor: stabilize loadPreferences key order and add unit tests 2026-05-29 11:11:16 +07:00
Dat Vu 6b9dd5336f Fix: Calendar event HTML description rendered as plain text (#4558) 2026-05-28 15:27:33 +07:00
Dat Vu 6f4076fa28 TF-4520 Team mailbox folder should be sorted correctly (#4562) 2026-05-28 15:03:12 +07:00
dab246 880dbeb521 fix: handle collapseThreads partial-page in auto-load-more 2026-05-27 16:10:47 +07:00
dab246 b978c7980b fix: add more test case for load more
Signed-off-by: dab246 <tdvu@linagora.com>
2026-05-27 16:10:47 +07:00
dab246 c011b71cc6 Fix widget test: Load More button requires full page response 2026-05-27 16:10:47 +07:00
dab246 9a11b23ba9 Extract AutoLoadMorePolicy 2026-05-27 16:10:47 +07:00
dab246 2f22b08ce8 Fix auto-load-more over-trigger on web large-screen browser
Extract shouldAutoLoadMoreByEstimatedHeight as a testable static method
and use strict < instead of <= so an estimated height equal to the
viewport no longer triggers a redundant load — actual rendered height
is likely larger than the 40 px estimate and already overflows.
2026-05-27 16:10:47 +07:00
dab246 f7b5e76d5c Fix auto-load-more infinite loop on non-web large screens
Use maxScrollExtent <= 0 instead of maxScrollExtent <= viewportDimension
so auto-load only triggers when the list has not yet filled the viewport.
Also set canLoadMore based on page-size comparison to avoid showing the
Load More button when the server has returned the final partial page.
2026-05-27 16:10:47 +07:00
Dat H. Pham 5233a65c82 Handle refreshToken failed for web (#4559) 2026-05-27 09:23:42 +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 Dang bdf59ce9e3 TF-4081 Prevent network error log user out on mobile (#4531) 2026-05-22 14:12:33 +07:00
Dat Vu 77fb2f2deb TF-4400 Enable collapse threads on Force Query path (#4422) 2026-05-19 13:33:18 +07:00
Dat Vu 6cfdef0fcf TF-4524 Fix blank plain-text email caused by backslash-hex false-positive in HTML sanitizer (#4527) 2026-05-18 16:35:54 +07:00
Dat H. Pham 91bbfbfc4c Sentry-373586 Remove redundant mounted check after _getListRecent in non-empty query path 2026-05-18 15:30:52 +07:00
Dat H. Pham 14066c830d fix: cleanup code style 2026-05-15 13:13:29 +07:00
Dat H. Pham 6e62dc8c53 fix: codescene comment 2026-05-15 13:13:29 +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