Commit Graph

49 Commits

Author SHA1 Message Date
dab246 5e1d99125e TF-4265 Exclude our signature by add removeTMailSignature option to extractPlainText method 2026-04-07 13:20:25 +07:00
dab246 fedb8fed93 TF-4136 Apply early exit to prevent string operation in log 2026-01-15 09:46:51 +07:00
dab246 ec75bb3cab TF-4136 Add config Sentry 2026-01-15 09:46:51 +07:00
dab246 ad768f1552 TF-4223 Fix welcome email is not well displayed 2026-01-12 05:16:02 +07:00
dab246 6f455cc728 fix(mu): email content not displayed due to sanitize html
(cherry picked from commit 2f06e52d81864a62d6e588bb24a6845e20371bf4)
2026-01-12 05:16:02 +07:00
Dang Dat 060416292f fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat b4fdc55a07 fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat 7b8e95de9a fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat 9f1373c7e5 fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat 782d21d796 fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat 8e0276114e fixup! TF-4224 Reduce ReDoS vulnerability 2026-01-06 10:16:26 +07:00
Dang Dat 3d08fc9e5f 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
Théo Poizat e7405051d1 fixup! Use html parser instead of regex to clean composer input
Improve efficiency and add more tests in convertHtmlContentToTextContent
2025-12-19 19:03:39 +07:00
Théo Poizat a9cfe86a59 Use html parser instead of regex to clean composer input
Before sending input to the LLM, we clean the composer input to
remove html tags. We relied on regex that we not complete enough and
could be bypassed easily. So let's use the html parser available in
Dart instead.

I also added some tests.
2025-12-19 19:03:39 +07:00
dab246 d6e959c4d9 TF-4145 Create paywall url from workplaceFqdn 2025-11-17 14:24:30 +07:00
dab246 14ab5352a3 TF-4145 Use generateWebLink for paywall url 2025-11-17 14:24:30 +07:00
dab246 8b5fb2f030 TF-4145 Add generateWebLink and safeGenerateWebLink with FQDN validation 2025-11-17 14:24:30 +07:00
dab246 17b48d947b TF-4139 Add more test case for extractPlainText function 2025-11-12 13:36:55 +07:00
dab246 9600b169cc TF-4054 Add comprehensive tests for wrapPlainTextLinks 2025-10-13 13:21:56 +07:00
dab246 aa710113b0 TF-4054 Fix link detection 2025-10-13 13:21:56 +07:00
dab246 1f83484998 TF-4009 Display a attachment reminder warning modal 2025-09-16 11:04:26 +07:00
dab246 f9aa844d7e TF-4016 Add unit test for sanitize html with supress_time_adjustment tag 2025-09-16 09:36:33 +07:00
dab246 b91486be8e TF-3964 Fix text is not well displayed when preview email
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-22 11:19:11 +07:00
dab246 aeeb47a6f8 TF-3864 Support pasting multiple address with multiple format mixed
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-19 15:07:55 +07:00
dab246 f1ae5b58b2 TF-3864 Support pasting address with display name
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-19 15:07:55 +07:00
DatDang f86392c854 TF-3720 Thread Detail Collapse quote reply
Revert "fixup! TF-3720 Thread Detail Collapse quote reply"

This reverts commit 2104530977664f892702fba5e5bc6fb3e5768b19.

TF-3720 Thread Detail adjust receiver size

TF-3720 Thread Detail refactor email receiver alignment
2025-07-21 05:34:53 +07:00
dab246 ac569387d4 TF-3691 Support HTML escaping in search snippets
Signed-off-by: dab246 <tdvu@linagora.com>
2025-05-04 23:04:10 -07:00
dab246 51c95bbc69 Upgrade hive database version to 14
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-08 23:43:53 -07:00
dab246 868ec1bc8e Check if text is a table (Markdown or ASCII art format) when email content is text/plain
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-08 23:43:53 -07:00
dab246 998ff1972e TF-3539 Support separator list email with space character
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-10 21:24:20 -07:00
dab246 36a9117e00 Fix cannot auto create tag when paste list email and switch focus
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-10 21:24:20 -07:00
dab246 b78aea6103 TF-3514 Add unit test for getMediaTypeFromBase64ImageTag method
Signed-off-by: dab246 <tdvu@linagora.com>

Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-10 03:02:19 -07:00
Florent Azavant 2a56764214 TF-3189 composer now correctly encodes subaddresses 2025-02-19 02:34:29 -08:00
dab246 223fdbf1fb TF-3278 Handle open app via deep link at MailboxDashboard screen 2025-02-05 03:00:08 -08:00
dab246 338262b4b5 TF-3315 Fix TMail web could not display embedded table correctly 2025-02-05 03:00:08 -08:00
DatDang ac91cae0db TF-3267 Implement HTML attachment preview 2025-02-05 03:00:08 -08:00
dab246 68b9291e68 TF-3344 Handle separator when pasting list of mail addresses 2025-02-05 03:00:08 -08:00
dab246 d3aaf47e2c TF-3253 Write unit test for section tag html 2024-11-11 05:21:06 +07:00
Dat Vu 3205e00d65 Standardize HTML sanitizing when preview email (#3223) 2024-10-24 15:56:48 +07:00
DatDang c42a913d82 TF-3042 Create PublicAsset and display after pick image 2024-08-14 10:01:34 +07:00
dab246 439d40af86 TF-2893 Write unit test for application_manager 2024-08-08 09:46:09 +02:00
dab246 70986542ee TF-2667 Write unit test for Domain & MailAddress class 2024-06-11 13:59:12 +07:00
dab246 dbbbf7d856 TF-2667 Validate email in recipient form before send email 2024-06-11 13:59:12 +07:00
dab246 967015d0df Add lazy loading for html tag use background-image
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 7f1a3b22ee8973c6756534a2c7da3cc1964ea9de)
2023-10-27 11:18:29 +07:00
HuyNguyen 63f375a29c TF-1808: Hanlde store email when opening email
(cherry picked from commit 2c895379f83b34e9bafb7545b21d790d01d444af)
2023-06-05 11:02:20 +07:00
dab246 892fceb037 TF-1810 Add StoreDetailedEmailToCacheInteractor to store detailed email to cache
(cherry picked from commit 60a91537f7ea1225b5ca67f6dd9ef358b33939da)
2023-06-05 11:02:20 +07:00
HuyNguyen f3429619aa TF-1822: Write test for all func of FileUtils class
(cherry picked from commit 562f151134416c674467e5a59919ea37adbb7e5f)
2023-06-05 11:02:20 +07:00