Commit Graph
687 Commits
Author SHA1 Message Date
Dat Dang 9da48308d6 TF-4449 [Part 1] Add postMessage handlers for external drive (#4587) 2026-06-23 12:51:00 +07:00
Dat Dang 9ab0a8e2d8 TF-4583 External drive attachment button visibility (#4609) 2026-06-19 08:51:56 +07:00
dab246 d0c0ecd419 TF-4540 Fix left margin of email truncated on email view
Signed-off-by: dab246 <tdvu@linagora.com>
2026-06-11 15:22:03 +07:00
Dat Vu 6b9dd5336f Fix: Calendar event HTML description rendered as plain text (#4558) 2026-05-28 15:27:33 +07:00
dab246 24b75ed9da TF-4482 Use declaration-aware regex for overflow-wrap detection and expand test coverage 2026-05-25 15:50:47 +07:00
dab246 f7e871220b TF-4482 Fix invitation email content overflowing on narrow mobile screens 2026-05-25 15:50:47 +07:00
dab246 acc43e8332 TF-4532 Fix infinite ResizeObserver loop in HTML email viewer 2026-05-21 14:24:56 +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 736548a59a Sentry-373586 Add mounted checks after awaits in QuickSearchSuggestionList 2026-05-18 15:30:52 +07:00
Dang Dat a113d11c4b Sentry-373586 Null handling _animationController QuickSearchSuggestionList 2026-05-18 15:30:52 +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
Dat Dang 3851df15c6 Patrol isolate Android tests (#4469)
* Patrol POC replace Firebase Test Lab with local Android emulator

Replace GCloud auth, Firebase Test Lab, and ngrok with a local Android AVD via
reactivecircus/android-emulator-runner on CI. The backend runs in Docker and is
reachable from the emulator at the QEMU host alias 10.0.2.2.

CI / scripts:
- Remove Google Cloud auth, Firebase run step, and ngrok tunnel
- Add KVM, Gradle, and AVD cache setup; shard tests across 4 parallel runners
- Scripts: drop ngrok, point jmap.properties to 10.0.2.2, manage cleanup via trap
- prebuild.sh: parallelize module builds, suppress noisy output
- provisioning.sh: parallelize james-cli/curl calls, fix hardcoded container IP

Backend reset for test isolation:
- Add backend-reset-server.py: HTTP server that restarts tmail-backend and
  re-runs provisioning on POST /reset, so each test starts with a clean state
- Add BackendResetClient.dart: Dart client called in patrolTearDown
- Reduce visibleTimeout 30s → 10s; allow insecure connections in debug mode

* Patrol POC fix flaky tests

Replace fixed pumpAndSettle delays with waitUntilVisible/waitUntilExists so
tests react to actual UI state rather than arbitrary timeouts.

- Add PatrolFileExtensions.toFileInfo() and use it in composer robot/scenario utils
- Guard MobileEditorWidget.dispose() under isIntegrationTesting to prevent teardown crash
- Fix scroll direction (AxisDirection.down) in calendar attendee button scroll
- Add scrollTo() before tap in label modal robot and edit-tag scenario
- Wait on EmailTileBuilder (not label name) after email provisioning — more reliable
- Inline image: wait for HtmlContentViewer to contain base64 data before asserting
- Use native platform wait for inline image in upload scenario
- Remove unnecessary Future.delayed and extra pumpAndSettle calls
- Pre-select English before switching language to ensure deterministic starting state
- Fix app_grid back-press sequence
2026-05-11 08:09:31 +07:00
Dat Dang e3dfadce34 Upgrade Patrol to 4.5.0 (#4446) 2026-04-17 20:50:22 +07:00
Dat Dang 77e2381ca9 Upgrade Flutter to 3.38.9 (#4455) 2026-04-17 17:39:29 +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 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 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 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
Dat Vu c9e2e5db80 TF-4358 Remove mail in trash by default in search result (#4361) 2026-04-10 15:15:53 +07:00
dab246 4c837ed9cf TF-4370 Add Description field to Create new Label modal 2026-03-25 19:45:46 +07:00
Théo Poizat 09fe002d3c Use proper icons and styles for bottomsheet icons in Scribe 2026-03-25 11:52:35 +07:00
Théo Poizat b6959a5ab6 Add an animated AI icon for Scribe in desktop web
I moved the previous static icon in its own component and created a component that manage the loading of the appropriate icon: static or dynamic.
2026-02-09 23:29:43 +07:00
dab246 2001ed158f TF-4306 Update icon for Label in left menu 2026-02-05 22:59:55 +07:00
dab246 69c3d32e3c TF-4233 Fix the response success check to use key presence instead of value nullness. 2026-01-26 09:13:54 +07:00
dab246 7b250f911b TF-4233 Correctly set current label color on edit dialog open 2026-01-26 09:13:54 +07:00
dab246 03b3d1181f TF-4195 Add Label as to email context menu 2026-01-19 11:34:43 +07:00
dab246 95831054b2 TF-4178 Fix Nitpick comments from coderabbit 2026-01-19 11:34:43 +07:00
dab246 6c959fcf81 TF-4178 Implement create new label 2026-01-19 11:34:43 +07:00
dab246 8f1da20e54 TF-4178 Add color picker modal 2026-01-19 11:34:43 +07:00
dab246 d3029ec4de TF-4178 Add create new label modal 2026-01-19 11:34:43 +07:00
dab246 e2fe0a0676 TF-4179 Display tag list in sidebar 2026-01-19 11:34:43 +07:00
dab246 31ed2feae4 TF-4171 Display tag in mailbox list 2026-01-19 11:34:43 +07:00
dab246 6f455cc728 fix(mu): email content not displayed due to sanitize html
(cherry picked from commit 2f06e52d81)
2026-01-12 05:16:02 +07:00
dab246 0e49c18f9d TF-4141 Add Action required folder to left menu 2026-01-11 22:55:49 +07:00
dab246 61b8c95123 TF-4141 Show AI action tag in list emails 2026-01-11 22:55:49 +07:00
dab246 a23d15a9ca TF-4136 refactor(logging): replace logError with logWarning for non-critical cases 2026-01-06 13:53:22 +07:00
Dang Dat 060416292f fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat a8f90ec700 fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat 86dec27d67 fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat 2b909aeb1c TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat a286dd5dd8 [Memory leak] Remove listener and dispose 2025-12-29 10:11:56 +07:00
dab246 57bfb4f88f feat(ai-scribe): Fix when using multiple composer, get multiple overlay icons 2025-12-19 19:03:39 +07:00
dab246 1a1b8f489f feat(ai-scribe): Improve UI for AI Scribe suggestion modal 2025-12-19 19:03:39 +07:00
dab246 582b1ebe97 feat(ai-scribe): reorganize abstractions and update dialog modal UI 2025-12-19 19:03:39 +07:00
Théo Poizat fb31488c99 Add sparkle icon 2025-12-19 19:03:39 +07:00
dab246 aba3cbbe4c TF-4152 Fix tooltip stay out of screen in Email View 2025-11-20 11:03:54 +07:00
Dat Vu 8f034105a5 TF-4148 Add link to common settings in mobile application (#4149) 2025-11-17 22:32:48 +07:00
dab246 fa0ba5d689 TF-4142 Close link overlay when click email content view 2025-11-17 11:43:18 +07:00
dab246 249520b711 TF-4142 Implement hyperlink insertion 2025-11-17 11:43:18 +07:00