750 Commits
Author SHA1 Message Date
Dat Vu 75d524f3ff TF-5226 Show contact names in delegation and the account switcher (#5231) 2026-12-04 23:02:18 +07:00
Dat Vu 113def869b TF-4925 Submit the rename folder dialog on Enter (#5222)
* TF-4925 Submit EditTextDialogBuilder on Enter through _onPositiveAction

* TF-4925 Add RenamePersonalFolderWithEnterScenario and share CoreRobot.pressEnterOnFocusedField
2026-12-03 10:55:03 +07:00
Dat VuandDat H. Pham 777dfacc3f TF-5023 T-18 Remove a delegate from a confirm dialog in Settings › Delegation › By me (#5185)
* TF-5023 T-18 Remove a delegate from a confirm dialog in Settings › Delegation › By me

* TF-5023 T-18 Test urgent remove failures and the dialog after a failed remove

* TF-5023 T-18 Skip the toast and reload after an urgent remove failure and close RemoveDelegateDialog when the delegate is gone

* TF-5023 T-18 Test RemoveDelegateDialog closes once and stays open during a retry

* TF-5023 T-18 Test the remove progress button and closing with other delegates left

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-27 10:44:11 +07:00
Dat H. Pham b9c31ba2b1 TF-5096 Drop relative email hrefs loaded into the composer by Edit as new (#5178) 2026-11-26 14:27:28 +07:00
Dat Vu 11514a0c20 TF-5097 Autolink large plain-text bodies in linear time (#5153) 2026-11-26 07:16:57 +07:00
Dat Vu ec94c11228 TF-5096 Drop email hrefs the browser reads as relative or without a host (#5152) 2026-11-25 14:03:44 +07:00
Dat Vu 5df49491e2 TF-5022 T-11 Add Settings › Delegation with "Delegated to me" and "Remove your access" (#5147)
* TF-5022 T-11 Send the session request to the JMAP URL in DynamicUrlInterceptors so a session reload no longer hits the API URL

* TF-5022 T-11 Add Settings › Delegation with DelegatedToMeNotifier and DelegatedToMeSection to list mailboxes delegated to me and remove my access

* TF-5022 T-11 Drop stale or signed-out session re-reads in DelegatedToMeNotifier and open a delegation link once the local settings load

* TF-5022 T-11 Share the pending re-read setup of the sign-out and user-change tests in DelegatedToMeNotifier tests

* TF-5022 T-11 Keep Delegation selected in ManageAccountMenuController when the quota loads after a deferred delegation link opens

* TF-5022 T-11 Clear the stored Delegation selection in ManageAccountMenuController when Delegation becomes hidden

* TF-5022 T-11 Clear the pending delegation link in ManageAccountDashBoardController.selectSettings when the user picks a settings page
2026-11-19 07:16:29 +07:00
dab246 5fd6167f9a TF-5022 T-07 Reclaim mail-list focus after account switch teardown 2026-11-13 17:22:41 +07:00
Dat Vu 7405c072bc Drop unsafe-inline from the web CSP with a per-request script nonce (#5135) 2026-11-13 16:51:45 +07:00
Dat Dang 66674f33bc TF-4827 Move composer toolbar actions into More menu on narrow screens (#5114) 2026-11-13 16:50:40 +07:00
Dat Vu 54fee9ffb5 Chore: upgrade Flutter to 3.47.9 (#5083) 2026-11-11 17:21:45 +07:00
Dat Dang 1907657ba7 TF-5094 Keep top-level signature visible when reopening a draft (#5125) 2026-11-11 14:05:42 +07:00
Dat Dang 8ce45c2b55 Sandbox the web mail viewer iframe (#5112) 2026-11-09 09:16:23 +07:00
dab246 19395f6d4a TF-4678 Use LinagoraSidebarSectionStyleOverride.drawer and design system sidebar symbols in BaseMailboxView 2026-11-05 14:31:34 +07:00
Dang Dat 5d453a061e TF-4985 Drop the redundant nbsp replace in hasNoTextContent
Addresses: 4397522287
https://github.com/linagora/tmail-flutter/pull/5050#discussion_r4397522287
2026-11-05 10:07:57 +07:00
Dang Dat f1bc60bddc TF-4985 Make hasNoTextContent linear on an unclosed angle bracket
Addresses: 4397522269
https://github.com/linagora/tmail-flutter/pull/5050#discussion_r4397522269
2026-11-05 10:07:57 +07:00
Dang Dat fecbefaf40 TF-4985 Reject a vacation message with no text content
Ref: https://github.com/linagora/tmail-flutter/issues/4985
2026-11-05 10:07:57 +07:00
Dat Dang 5807b75604 2509 Sanitize composer reply/forward, mailto and pasted content (#5069) 2026-10-29 15:15:29 +07:00
Dat H. Pham 8d8ed10a6c Build the web link click scripts from one template each 2026-10-20 10:03:55 +07:00
Dat H. Pham 49255f6b69 Drop the unread iframe sandbox constant and its test 2026-10-20 10:03:55 +07:00
Dat H. Pham af1a2793e9 fixup! Build viewer HTML documents in one tested builder; name plain-text pipeline 2026-10-20 10:03:55 +07:00
Dat H. Pham fab93b0678 Build viewer HTML documents in one tested builder; name plain-text pipeline 2026-10-20 10:03:55 +07:00
Dat H. Pham 1339e4674a Extract named HTML transform configs for preview and attachments 2026-10-20 10:03:55 +07:00
dab246 410977d67a TF-4874 fix(html): drop scheme-added hrefs that SanitizeUrl fails to decode 2026-10-14 16:23:21 +07:00
dab246 07c3d7e1f7 TF-4874 fix(html): keep www. and protocol-relative hrefs as https links, drop them when SanitizeUrl rejects 2026-10-14 16:23:21 +07:00
Benoit TELLIERandClaude Opus 5.5 28dc354bce TF-4874 fix(html): drop relative hrefs instead of rewriting them to a bogus host
SanitizeUrl prefixed any scheme-less href that looked like a domain
with https://, so <a href="page.html"> became https://page.html.
Relative links cannot be resolved since <base> is stripped: remove
their href to make them inert. In-page fragments are kept.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 16:23:21 +07:00
dab246 c8632a5aba TF-4892 Keep folder tree parent semantics stable when expanding 2026-10-14 15:25:25 +07:00
Benoit TELLIERandClaude Opus 5.5 69e588e824 TF-4877 Prompt for password when previewing encrypted PDF
pdfrx supports a PasswordProvider but TwakePdfPreviewer does not expose
it, so encrypted PDFs failed with "No password supplied by
PasswordProvider". Render the PDF through a password-aware previewer
that reuses the upstream building blocks, prompt for the password with
retry and a localized error on wrong password, and show a localized
message (download stays available) when the prompt is cancelled.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 08:20:53 +07:00
dab246 f846395db1 TF-4878 fix(attachment): search extension-keeping candidates separately in MiddleEllipsisText 2026-10-13 05:42:13 +07:00
dab246 efcc2e2a9f TF-4878 fix(attachment): apply the system text scale when measuring MiddleEllipsisText 2026-10-13 05:42:13 +07:00
dab246 bd9d7da1d4 TF-4878 fix(attachment): measure MiddleEllipsisText with the style Text renders 2026-10-13 05:42:13 +07:00
Benoit TELLIERandClaude Opus 5.5 a58df341f1 TF-4878 fix(attachment): keep full file extension in middle-ellipsis chips
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 05:42:13 +07:00
Benoit TELLIERandClaude Opus 5.5 5d9d0f24e9 TF-4883 fix(composer): show color picker value as #RRGGBB
The ColorCodeField defaulted to ColorPickerCopyFormat.dartCode, leaking
the Flutter 0xAARRGGBB literal in both the field prefix and the copied
value. Use the web-standard #RRGGBB format instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 08:19:29 +07:00
dab246 1d6f505262 TF-4867 Wrap folder name errors on up to three lines in create and rename inputs 2026-10-08 07:10:16 +07:00
dab246 6a3e150e9a TF-4867 Validate folder name on confirm in rename dialogs instead of relying on the debounced check 2026-10-08 07:10:16 +07:00
Đặng Đạt 8615e7a240 2509 Let ExternalLinkPolicy decide which link schemes survive sanitizing 2026-10-05 10:20:52 +07:00
Đặng Đạt 9510b710aa 2509 Declare webcal and geo schemes and report links no app can open
Addresses: 622656
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_622656
2026-10-05 10:20:52 +07:00
Đặng Đạt aecb0fc1db 2509 Allow sms, webcal and geo links and warn when a link is refused
Addresses: 621394
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_621394
2026-10-05 10:20:52 +07:00
Đặng Đạt 0eaa08f236 2509 Gate every content-link launch through ExternalLinkPolicy only
Addresses: 621391, 621392
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_621391
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_621392
2026-10-05 10:20:52 +07:00
Dang Dat 72cdf9900d 2509 Restrict which links open externally from email content
Links inside the EML preview opened new windows/tabs with plain
window.open, with no noopener and no scheme check. Pass
noopener,noreferrer and only open http, https and mailto targets.

Add ExternalLinkPolicy (http/https/tel allow-list) and route the mobile
email WebView's external-navigation handler through it, refusing the
app's own custom schemes so a link in received content can no longer
relaunch another app or the app itself.
2026-10-05 10:20:52 +07:00
Dang Dat 90095166dd 2509 Strip bidi and control characters from attachment names 2026-10-02 12:32:16 +07:00
Benoit TELLIER 2f31e31879 TF-4859 fix(html-viewer): validate iframe message shape before handling (#4860) 2026-09-28 16:55:38 +07:00
dab246 bd97e3c947 TF-4623 Preserve event card behavior and remove legacy code 2026-09-18 18:36:17 +07:00
Dang Dat 2c79c89ae7 TF-4678 fix(mailbox): size sidebar header search and plus icons to design
TF-4678
2026-09-17 15:53:22 +07:00
Dang Dat 8719205a43 TF-4805 Clear iframes only when the SelectableRegion node itself takes focus
Addresses: 3966812189
https://github.com/linagora/tmail-flutter/pull/4813#discussion_r3966812189
2026-09-11 09:27:57 +07:00
Dang Dat 5143429237 TF-4805 Add mount check and console log
Addresses: 3966741053, 3966750340
https://github.com/linagora/tmail-flutter/pull/4813#discussion_r3966741053
https://github.com/linagora/tmail-flutter/pull/4813#discussion_r3966750340
2026-09-11 09:27:57 +07:00
Dang Dat cad041050c TF-4805 Coordinate Flutter and iframe selection at DOM level 2026-09-11 09:27:57 +07:00
Dat Vu 3debda2ba1 TF-4799 Fix HTML Mail be truncated in width (#4806) 2026-09-09 05:02:09 +07:00
Dat Vu e6c6e5759a fix: restore legacy icons for mailbox actions (#4807) 2026-09-04 10:44:33 +07:00
dab246 4c5fc122c5 TF-4728 Set border radius 6px for Drive Picker dialog
Signed-off-by: dab246 <tdvu@linagora.com>
2026-08-26 17:26:59 +07:00