1104 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 Vu 56db1436e7 TF-5022 T-14 Start the mobile app on the last shown account (#5168) 2026-11-26 15:20:22 +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 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
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 d9de1d23bc TF-5095 Limit attachment file names to 255 UTF-8 bytes (#5149) 2026-11-25 13:49:46 +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
c72f5421c2 TF-5099 Prevent StringConvert from corrupting plain entries matching (#5141)
* TF-5099 Prevent StringConvert from corrupting plain entries matching Base64 and URL patterns

- Only decode Base64 strings when decoded output contains '@' and raw input does not
- Wrap Uri.decodeComponent in try-catch to preserve addresses with literal '%'
- Add regression tests in string_convert_test.dart

* refactor: extract _decodeInputIfNeeded to reduce cognitive complexity

* TF-5099 Cover percent and base64 address extraction with more tests

* Update core/lib/utils/string_convert.dart

Co-authored-by: Dat Vu <datx1995@gmail.com>

* refactor: flatten URL decode condition and add regression test for percent-escaped addresses

* TF-5099 Cover invalid percent and partial-encode address pins

* TF-5099 Pin behavior for mixed and quoted partially encoded addresses

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
Co-authored-by: Dat Vu <datx1995@gmail.com>
Co-authored-by: dab246 <80730648+dab246@users.noreply.github.com>
2026-11-17 05:23:19 +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
dab246 341f678982 TF-4985 Test hasNoTextContent on a tag whose name only starts with img 2026-11-05 10:07:57 +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
dab246 7063c6b148 TF-4985 Cover upper-case images, bare nbsp and escaped markup in hasNoTextContent tests 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 H. Pham 67fa909722 Fix/composer embed code xss (#5070) 2026-11-02 11:05:37 +07:00
Dat Dang 5807b75604 2509 Sanitize composer reply/forward, mailto and pasted content (#5069) 2026-10-29 15:15:29 +07:00
Dat Dang 94869ef006 Check every HTML pipeline on its own viewer with named rule sets (#5020) 2026-10-22 13:04:45 +07:00
Dat H. Pham fe148f2f81 Test HTML email display rules on every viewer and pane width (#4966) 2026-10-21 05:01:30 +07:00
Dat H. Pham 57d1dabb12 Name the empty-reply test for what it checks: the signature is blocked 2026-10-20 10:03:55 +07:00
dab246 66edc914d0 Test that the mobile responsive layout applies only when the view opts in 2026-10-20 10:03:55 +07:00
Dat H. Pham 1ae14aa53b Find every pipeline, reject sidecar typos, and keep one HTML corpus in core 2026-10-20 10:03:55 +07:00
dab246 484d7f020e Lay out RTL corpus fixtures right to left in the Chrome layout test 2026-10-20 10:03:55 +07:00
dab246 61f1a74832 Test that the web viewer acts only on messages posted by its own iframe 2026-10-20 10:03:55 +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 05ae9e4ce3 Cover pipeline call sites and quote escaping; drop tests that prove nothing 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
dab246 107a42231c Test that the web viewer loads the document built from its own options 2026-10-20 10:03:55 +07:00
Dat H. Pham f4c7f927aa fixup! Lock HTML sanitizer policy and transform pipelines with golden files 2026-10-20 10:03:55 +07:00
Dat H. Pham fda6d8a0a2 fixup! Cover every HTML pipeline from one registry 2026-10-20 10:03:55 +07:00
Dat H. Pham 75d41a05c3 fixup! Cover untested HTML DOM transformers and corpus structure 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 0e43aa01d8 fixup! Add a generated HTML email corpus for display regression 2026-10-20 10:03:55 +07:00
Dat H. Pham 54834fa2f1 fixup! Assert corpus layout and content survive HtmlTransform 2026-10-20 10:03:55 +07:00
Dat H. Pham 7759388e20 fixup! Record the empty-reply XSS gap in the pipeline registry until it is fixed
x
2026-10-20 10:03:55 +07:00
Dat H. Pham b7bf0d5cc4 Record the empty-reply XSS gap in the pipeline registry until it is fixed 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 047adddcf4 Lock HTML sanitizer policy and transform pipelines with golden files 2026-10-20 10:03:55 +07:00
Dat H. Pham 26b6139e76 Assert corpus layout and content survive HtmlTransform 2026-10-20 10:03:55 +07:00
Dat H. Pham 9ddb4d4ee7 Add a generated HTML email corpus for display regression 2026-10-20 10:03:55 +07:00
Dat H. Pham 5a689001b0 Cover every HTML pipeline from one registry 2026-10-20 10:03:55 +07:00
Dat H. Pham 62a67bd10f Add quote-wrap, provenance, viewer, and Chrome layout tests 2026-10-20 10:03:55 +07:00