Dat H. Pham
4669ad3916
Prove each display rule fails when its mechanism is broken
2026-10-08 17:15:56 +07:00
Dat H. Pham
e0cf658b60
Check each fixture against the display behaviours its sidecar expects
2026-10-08 17:15:56 +07:00
Dat H. Pham
bb6fd6730c
Check generic display rules on every fixture, viewer and pane width
2026-10-08 17:15:56 +07:00
Dat H. Pham
9b569b05fc
Render display fixtures through production viewers in a Chrome harness
2026-10-08 17:15:56 +07:00
Dat H. Pham
b22b1101c2
fixup! Record the empty-reply XSS gap in the pipeline registry until it is fixed
...
x
2026-10-08 17:15:56 +07:00
Dat H. Pham
1016675f8f
Record the empty-reply XSS gap in the pipeline registry until it is fixed
2026-10-08 17:15:28 +07:00
Dat H. Pham
579f49ff30
Build viewer HTML documents in one tested builder; name plain-text pipeline
2026-10-08 17:12:36 +07:00
Dat H. Pham
9bcf091a2b
Lock HTML sanitizer policy and transform pipelines with golden files
2026-10-08 17:12:36 +07:00
Dat H. Pham
fb11f070bc
Assert corpus layout and content survive HtmlTransform
2026-10-08 17:12:36 +07:00
Dat H. Pham
a2f2d7565d
Cover every HTML pipeline from one registry
2026-10-08 17:12:36 +07:00
Dat H. Pham
57e5498d9d
Add quote-wrap, provenance, viewer, and Chrome layout tests
2026-10-08 08:55:48 +07:00
Dat H. Pham
8b557659f5
Cover untested HTML DOM transformers and corpus structure
2026-10-08 08:55:48 +07:00
Dat H. Pham
3c568354f4
Add TransformConfiguration input-trust contract tests
2026-10-08 08:55:48 +07:00
Dat Dang
9aa422b860
2509 Sanitize nested CSS at-rules and drop remote url() inside them ( #4952 )
2026-10-05 14:44:18 +07:00
dab246
704ecd84b2
TF-4809 Part 3: Align Sentry startup and reporting consent
2026-10-05 12:22:17 +07:00
dab246
e6e9ed633c
TF-4809 Part 3: Add web Sentry fallback and denied consent
2026-10-05 12:22:17 +07:00
dab246
eec2fbab39
TF-4809 Part 3: Harden Sentry ecosystem consent handling
2026-10-05 12:22:17 +07:00
Dat Vu and Dat H. Pham
c0eb30d2d6
TF-4809 Part 1-C: Apply consent in iOS notification extension ( #4836 )
...
* TF-4809 Part C: Apply consent in iOS notification extension
* TF-4809 Part C: Apply consent in iOS notification extension
* TF-4809 Part C: Harden NSE consent persistence
* TF-4809 Part C: Fix duplicate Mockito mock generation
* TF-4809 Part C: Use rethrow for Sentry errors
* TF-4809 Part C: Fix analyzer warnings
* TF-4809 Move Sentry cleanup to session teardown
* TF-4809 Fix BaseController test isolation
* TF-4809 Add tests for consent reset on session cleanup
* TF-4809 Reset Sentry consent on session cleanup
---------
Co-authored-by: Dat H. Pham <dphamhoang@linagora.com >
2026-10-05 12:15:05 +07:00
dab246
9f3665eb47
TF-4809 Part A: Gate Sentry SDK lifecycle by consent
2026-10-05 12:15:04 +07:00
Đặng Đạt
8615e7a240
2509 Let ExternalLinkPolicy decide which link schemes survive sanitizing
2026-10-05 10:20:52 +07:00
Đặng Đạt
770bd30dfc
2509 Cover the noopener decision for links opened from the EML previewer
...
Addresses: 621393, 622054
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_621393
https://ci.linagora.com/tddang/tmail-flutter/-/merge_requests/5#note_622054
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
Dang Dat
f541de05de
2509 Route AppUtils.launchLink and ICS conference links through the scheme allow-list
...
AppUtils.launchLink was the one shared entry point for opening links
externally, but it launched any URL/scheme unguarded, including its own
Safari<17 branch which called window.open directly and skipped
url_launcher_web's own scheme block and noopener/noreferrer. Route both
paths through ExternalLinkPolicy (now also allowing mailto, since
launchLink already had legitimate mailto callers) and restore
noopener/noreferrer on the Safari branch.
The calendar invite's video-conference extension fields
(X-OPENPAAS-VIDEOCONFERENCE / X-GOOGLE-CONFERENCE) are attacker-controlled
and only checked for non-empty values before reaching the same launch
path via the "join" button; filter them through the same allow-list at
the source.
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
1fed16f270
2509 Parameterize attachment-name escaping tests over link variants
...
Addresses: 4152637345, 4152677749
https://github.com/linagora/tmail-flutter/pull/4913#discussion_r4152637345
https://github.com/linagora/tmail-flutter/pull/4913#discussion_r4152677749
2026-10-01 15:49:46 +07:00
Dang Dat
9e4152639f
2509 Escape header fields in the EML preview and remove the unused PDF viewer
...
The EML / full-message preview and the print page build their header
as an HTML string. Subject, sender, recipients, date, attachment names
and the attachment link were inserted unescaped, so a crafted header
value became markup in a same-origin page.
DownloadManager.openDownloadedFileWeb loaded pdf.js/pdfobject from a
CDN and put the file name unescaped into a blob page. Nothing calls it.
PreviewEmlFileUtils and PrintUtils escape every text field at the sink.
Callers pass raw strings and no longer pre-escape them. The attachment
link is attribute-escaped and built with Uri, so file names survive the
round-trip. The inline-image alt and id attributes are attribute-escaped.
openDownloadedFileWeb, its CDN loaders and js_interop_stub.dart are
removed, and DownloadManager no longer takes DeviceInfoPlugin.
2026-10-01 15:49:46 +07:00
dab246
fdcec1e35c
fix: support domainPart in URL templates
2026-09-29 12:35:41 +07:00
dab246
17fba1bc2a
TF-4672 Reject malformed URL templates
2026-09-29 12:35:41 +07:00
dab246
7711f9e89d
TF-4672 Reduce WebUriParser primitive arguments
2026-09-29 12:35:41 +07:00
dab246
243e289e35
TF-4672 Harden calendar URL template resolution
2026-09-29 12:35:41 +07:00
dab246
4e412c37d6
TF-4672 Add calendar event links to orange bar
2026-09-29 12:35:41 +07:00
vttran
0145eed197
TF-4802 Update Twake Calendar footer separator ( #4846 )
2026-09-23 10:05:08 +07:00
Dat Vu
3debda2ba1
TF-4799 Fix HTML Mail be truncated in width ( #4806 )
2026-09-09 05:02:09 +07:00
Benoit TELLIER
1353436253
Hide Twake Calendar visio section when rendering ICS description ( #4803 )
2026-09-07 09:42:08 +07:00
Huy Quang Nguyen
b4b73554ed
TF-4744: Inherit typography from design system TwakeInter ( #4749 )
2026-08-14 14:33:17 +07:00
Dat Vu
e9b412dbfa
TF-4664 Fix can't set my break line in my answer where I want ( #4734 )
2026-08-06 18:07:03 +07:00
Dat Vu
45604434ef
TF-4720 Fix signature is not well displayed ( #4725 )
2026-07-29 16:24:19 +07:00
Dat Dang
129733d6d3
TF-4684 Add drive card hover close button ( #4690 )
2026-07-24 11:51:59 +07:00
Dat Dang
828f64ec34
Optimize Drive link UI ( #4719 )
2026-07-21 18:18:53 +07:00
Dat Dang
082efd797b
HOTFIX Drive link card UI ( #4709 )
2026-07-21 12:02:49 +07:00
Dat Dang
38c1c22759
TF-4661 Improve drive link UI ( #4676 )
2026-07-14 19:39:53 +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
dab246
2c5f4075b9
fix: use const instead of final for string literal in test
2026-06-10 19:25:01 +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
431a4f1ec2
TF-4482 Add tests for ResponsiveTableCellTransformer coverage and pipeline coexistence
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
4208b530f3
TF-4532 Add tests for CSS cascade order and dedup loop proof
2026-05-21 14:24:56 +07:00
dab246
d134f823bc
TF-4532 Add unit tests for height stabilization and CSS override
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