Commit Graph
3875 Commits
Author SHA1 Message Date
Dang Dat 845161cb62 HOTFIX Sentry disable default replay 2026-05-07 15:33:14 +07:00
Dat Vu 3b47b799fe Implement not include events filter for search (#4451) 2026-05-05 11:04:48 +07:00
Dat Vu ba1ac18314 fix(logger): Reduce Sentry noise with targeted error logging (ADR-0076) (#4467) 2026-05-05 11:01:45 +07:00
Dat Dang 5e4ffcba41 TF-4475 Fix mobile misplaced inline when picked (#4476) 2026-05-04 09:29:01 +07:00
dab246 1b4723ef05 fix(logging): restore per-call webConsoleEnabled as first-class flag
webConsoleEnabled was deprecated in favour of a global constructor flag,
but that removed the ability to force specific log calls visible on web
in release/profile mode — a legitimate need for auth and Sentry init
diagnostics.

Carry webConsoleEnabled through the full pipeline:
LogRecord → buildLogRecord → _dispatch → public log functions.
ConsoleLogHandler reads the flag from the record rather than from its
constructor, so per-call opt-in works independently of build mode.

On web:
- handles() always returns true (filter deferred to handle())
- handle() prints only when record.webConsoleEnabled || isDebugMode

Existing call sites (authorization_interceptors, sentry_config) that
pass webConsoleEnabled: true are preserved and functional again.
2026-04-28 11:31:12 +07:00
dab246 f2048b2503 refactor(logger): centralize handler registration in registerLogHandlers (ADR-0078) 2026-04-28 11:31:12 +07:00
dab246 9876db67f8 feat(logger): add SentryEventHandler and SentryBreadcrumbHandler (ADR-0078)
refactor(logger): register Sentry handlers at startup for mobile and web (ADR-0078)
2026-04-28 11:31:12 +07:00
dab246 bebffa7196 refactor(logger): register ConsoleLogHandler at app startup (ADR-0078) 2026-04-28 11:31:12 +07:00
Dat Vu 746ebe8a23 TF-4363 [Thread] Display by collapsed thread in search (#4364) 2026-04-23 18:20:10 +07:00
dab246 0295334d8a TF-4269 Fix Sentry release version sync across platforms
Use --dart-define=SENTRY_RELEASE=<full-tag> in Fastlane so the app
reports the same version string to Sentry as CI uses when uploading
symbols, bypassing iOS CFBundleShortVersionString stripping.

- Android Fastfile: add --dart-define=SENTRY_RELEASE (build-name unchanged)
- iOS Fastfile: pass DART_DEFINES via xcargs (increment_version_number unchanged)
- Dart: read SENTRY_RELEASE dart-define first, fall back to PackageInfo.version
- NSE/Web unaffected: NSE reads from Keychain, Web falls back to PackageInfo
2026-04-22 15:41:28 +07:00
dab246 0ec37d998c TF-4269 Fix Sentry
release version: keep full version including -rc suffix

      Use full pubspec version (e.g. 0.28.3-rc08) as SENTRY_RELEASE for both
      Android and iOS, matching the version the app reports at runtime.
      Validation still compares base versions only (strips -rc suffix) to
      allow rc tags to match the base version in pubspec.
2026-04-22 15:41:28 +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
Dat Dang b18813a096 Patrol web POC (#4450)
* Patrol POC add UIKeys to production widgets for web testability

Add semantic UIKeys to composer widgets, login controller, mailbox
dashboard, thread view, and web finger extension to enable reliable
widget targeting in Patrol web integration tests.

* Patrol POC add web login and send email Patrol integration test scenarios

Add web-specific test scenarios (login with basic auth, send email),
a new web_send_email_test entry point, and a web tag in TestTags.
Update test_base, requires_login_mixin, composer_robot, and
thread_robot to support web platform.

* Patrol POC add Patrol web integration test workflow and scripts

Add GitHub Actions workflow for running Patrol web integration tests.
Add patrol-web-integration-test-with-docker.sh and
patrol-web-local-integration-test-with-docker.sh scripts.
Minor fix to patrol-local-integration-test-with-docker.sh.

* Patrol POC update gitignore and web/index.html for Patrol web support

* poc: implement cross-platform robot factory architecture

Introduces Abstract Factory + conditional export infrastructure from
ADR-0081. Platform selection resolved at compile time via dart.library.html
— no if/else in any logic class.

New structure:
- factories/: RobotFactory, Mobile/WebRobotFactory, conditional provider
- robots/abstract/: AbstractLogin/Thread/ComposerRobot interfaces
- robots/mobile/: thin wrappers over existing robots
- robots/web/: WebComposerRobot overrides addContent for web
2026-04-21 14:34:47 +07:00
Dat Vu a693ceb456 [Part 2] TF-4308 Add Create new label button in ChooseLabelModal (#4457) 2026-04-17 16:51:49 +07:00
dab246 a80de79537 TF-4301 Deduping before append label to list
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-17 11:58:53 +07:00
dab246 5938df395c TF-4301 Ensure that CreateNewLabelInteractor and EditLabelInteractor are always non-null before using them.
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-17 11:58:53 +07:00
dab246 8ac68ed1a5 TF-4301 Replace LabelModalMixin with direct methods in LabelController 2026-04-17 11:58:53 +07:00
dab246 2fd890f488 TF-4301 Block barrier dismissal while label creation is in progress
Wrap CreateNewLabelModal with PopScope(canPop: false) while the
creation request is in flight so that tapping the barrier
(barrierDismissible: true) cannot dispose the modal and cancel
the stream subscription before the result is delivered.
2026-04-17 11:58:53 +07:00
dab246 660c4f40e2 TF-4301 Address code review comments on label feature
- Make LabelModalMixin interactor getters non-nullable; remove force-unwraps at call sites
- Show positiveLabel and add semanticLabel in progressing button for accessibility
- Use timestamp-based label name in E2E scenario to prevent flakiness on reused accounts
- Guard labelAs action with isLabelAvailable check in SingleEmailController
- Don't pop back on label creation failure so users can retry without losing context
- Block modal dismissal while label creation request is in flight
- Null-guard email.id before toggling label in ThreadView::onCreateANewLabelAction
- Log stackTrace and rethrow in DialogRouter to distinguish errors from user cancel
2026-04-17 11:58:53 +07:00
dab246 232987ae0c TF-4301 Extract onMoreActionClick callback into dedicated method in ThreadView 2026-04-17 11:58:53 +07:00
dab246 1b62990f28 TF-4301 Add E2E tests for label creation and tagging from email view 2026-04-17 11:58:53 +07:00
dab246 190ccc7bc3 TF-4301 Add "Create a new label" button in Label As menus and wire up tagging in email view 2026-04-17 11:58:53 +07:00
dab246 061793846e fixup! TF-4308 Add NoLabelYetWidget for choose label modal
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-17 10:22:32 +07:00
dab246 35b46ff21b TF-4308 Add NoLabelYetWidget for choose label modal
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-17 10:22:32 +07:00
Dat Vu c5eb4a011d Cherry pick commit fix issue #4292 to master (#4454)
* Add folder info when open mail list from Label

(cherry picked from commit de0bb4ee02)

* Add unit test for `hasMailboxLabel` function in BaseEmailItemTile mixin

(cherry picked from commit 18f8d1847a)

* TF-4292 Add E2E test for test case `Add folder info when open mail list from Label` on mobile

(cherry picked from commit 1c209e3335)
2026-04-16 15:45:45 +07:00
Dat Dang 6fc88f780c TW-4308 Add labels for several messages part 2 (#4431)
Add ChooseLabelModal, delegate, and update label UI components

Wire add-labels action across Thread, Search, and Dashboard
2026-04-15 14:25:37 +07:00
Dang Dat 77c2ef745f TF-4308 add domain state, interactor, model extensions, and localization 2026-04-14 17:16:10 +07:00
Dang Dat 979ba0f671 TF-4308 add data layer for addListLabelToListEmails 2026-04-14 17:16:10 +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
Dat Vu cb5d43630a TF-4284 Fix refreshing causes "virtual mailboxes" to be hidden (#4290) 2026-04-10 15:29:04 +07:00
Dat Vu c9e2e5db80 TF-4358 Remove mail in trash by default in search result (#4361) 2026-04-10 15:15:53 +07:00
Dat Dang 61530b61c6 Reduce worker_manager memory allocation (#4435) 2026-04-09 18:26:19 +07:00
dab246 dd77b2d53a fixup! TF-4268 Initialize Sentry from Linagora Ecosystem configuration
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-09 14:16:41 +07:00
dab246 d2566dd9aa TF-4268 Initialize Sentry from Linagora Ecosystem configuration 2026-04-09 14:16:41 +07:00
dab246 2a666056c2 TF-4268 Refactor app runner: split web/mobile runners, add platform error handlers 2026-04-09 14:16:41 +07:00
Dat Vu 20f59da386 TF-4425 Fix load more not triggered on iOS 18 when fast scrolling to bottom (#4428) 2026-04-08 10:06:49 +07:00
dab246 2a3325ab7a TF-4265 Add integration test for attachment reminder on mobile 2026-04-07 13:20:25 +07:00
dab246 74c0c75023 TF-4265 Refactor: Move Regex pattern generation to Main Thread to leverage static caching and reduce Isolate initialization overhead. 2026-04-07 13:20:25 +07:00
dab246 55e27c78ed TF-4265 Additional config for include and exclude keywords 2026-04-07 13:20:25 +07:00
dab246 42fb24e6e5 TF-4265 Add include list to support custom keywords detection 2026-04-07 13:20:25 +07:00
dab246 1071bb49cf TF-4265 Add exclude list support to AttachmentTextDetector 2026-04-07 13:20:25 +07:00
dab246 772a5e3219 TF-4265 Update logic matchedKeywordsUnique method and add some keywords file, files, file., file?, .... 2026-04-07 13:20:25 +07:00
dab246 c5401561ca Add Keyboard shortcuts dictionary for close email detail view in Setting 2026-04-06 15:29:16 +07:00
Martin KaskandClaude Opus 4.5 f78f78c659 Add ESC keyboard shortcut to close email detail view
Adds the ability to close the email detail/thread detail view by pressing
the ESC key, following the same pattern used for closing the composer.

Changes:
- Add closeThreadDetail to MailViewActionShortcutType enum
- Map ESC key to closeThreadDetail in AppShortcutManager
- Handle closeThreadDetail action in HandleMailShortcutActionsExtension

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-06 15:29:16 +07:00
Bùi Trung Hiếu ea7b9fed33 [bugfix] TF-2316 Can not delete folder when its children are hidden (#2519) 2026-04-06 13:18:34 +07:00
Dat Vu bc0f6a4ac6 TF-4356 Add filter event mail in search (#4357)
* Add `Events` filter checkbox in Advanced Search form
* Perform search email by `Events` filter in Advanced Search form
* Add `Event` quick search button in Search view
* Use `keywords` replace to `headers` for search event filter
2026-04-03 07:16:03 +02:00
Dat H. Phamandcoderabbitai[bot] fb0553bd9c Update lib/l10n/intl_ru.arb
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-01 18:58:07 +07:00
Dat H. Pham aaed3b9407 Fix translation for Label 2026-04-01 18:58:07 +07:00
Dat H. Pham 2f4445c4ba Add translation for Label 2026-04-01 18:58:07 +07:00
Dat H. Pham 8c502451b5 Fix translation wrong in Fr 2026-04-01 18:58:07 +07:00