83 Commits
Author SHA1 Message Date
Dat Dang cab851c4fe Speed up the Patrol integration suites with a backend per test, web workers and FTL shards (#5068) 2026-11-06 15:32:36 +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 78b1ec8c64 TF-4827 Take FileInfo at the picker boundary (#4855)
* TF-4827 Take FileInfo at the picker boundary

Ref: #4848

* TF-4827 Make inline image insertion awaitable and catch unreadable bytes

Addresses: 4101206556, 4101303069, 4101327416, 4101331213
https://github.com/linagora/tmail-flutter/pull/4855#discussion_r4101206556
https://github.com/linagora/tmail-flutter/pull/4855#discussion_r4101303069
https://github.com/linagora/tmail-flutter/pull/4855#discussion_r4101327416
https://github.com/linagora/tmail-flutter/pull/4855#discussion_r4101331213

* TF-4827 Reject a picked signature image with no readable bytes

Addresses: 4101349979, 4101365078
https://github.com/linagora/tmail-flutter/pull/4855#discussion_r4101349979
https://github.com/linagora/tmail-flutter/pull/4855#discussion_r4101365078

* TF-4827 Assert no image is inserted for unreadable or empty bytes

Addresses: 4102537971
https://github.com/linagora/tmail-flutter/pull/4855#discussion_r4102537971
2026-10-13 13:56:25 +07:00
Dat Dang 129733d6d3 TF-4684 Add drive card hover close button (#4690) 2026-07-24 11:51:59 +07:00
Dat Dang 5e4ffcba41 TF-4475 Fix mobile misplaced inline when picked (#4476) 2026-05-04 09:29:01 +07:00
dab246 28d5036667 TF-4378 Migrate scribe-mobile branch to master branch 2026-03-25 11:52:35 +07:00
Théo Poizat be7f28f270 Fix Scribe mobile issues
- Fix Scribe replace on mobile when opened from menu bar (to be complete
this fix needs this PR https://github.com/Enough-Software/enough_html_editor/pull/37)
- Ensure all mobile editor call are awaited
- Do not clear text if a selection has been restored (which mean we replace a selection)
- Avoid collapseToEnd crash
2026-03-25 11:52:35 +07:00
Théo Poizat 752f42dc7d Ensure editor is focused before calling insert HTML
enough_html_editor uses execCommand to insert HTML. However
execCommand only works if the contenteditable element is focused. So
inserting or replacing Scribe result do not work if the user did not
click before in the composer.

Here we manually focus the contenteditable element to fix this before
inserting content.
2026-03-25 11:52:35 +07:00
Dat Dang 1b29b481c0 HOTFIX Integration test 0.24.8 (#4298) 2026-02-03 12:12:44 +07:00
Dat Dang de8de6c83f HOTFIX Create identity memory leak (#4295) 2026-02-02 19:46:11 +07:00
dab246 a23d15a9ca TF-4136 refactor(logging): replace logError with logWarning for non-critical cases 2026-01-06 13:53:22 +07:00
dab246 fa0ba5d689 TF-4142 Close link overlay when click email content view 2025-11-17 11:43:18 +07:00
dab246 2e54493a69 TF-4082 Setup text formatting menu state from user's preferences in composer 2025-11-14 22:34:50 +07:00
dab246 64f4096340 Fix cannot scroll editor when disable code view in composer 2025-10-03 15:03:41 +07:00
DatDang c09a2c92b2 TF-3631 E2E log out 2025-09-16 10:03:59 +07:00
Dat Dang ab55c9e96f HOTFIX Composer cursor blink (#3983) 2025-08-28 08:42:48 +07:00
dab246 a4b0885477 Close color picker when click outside in composer 2025-08-27 16:06:26 +07:00
dab246 5423a9096c TF-3956 Add font size in toolbar of vacation editor
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-18 15:47:34 +07:00
dab246 d2f0d9e180 TF-3177 Fix drag and dropping images sometimes breaks UI in composer on web
Signed-off-by: dab246 <tdvu@linagora.com>
2025-06-27 09:02:55 +07:00
dab246 c6bb268a75 TF-3622 Synchronize all style attributes in html and write E2E for it.
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-14 01:55:26 -07:00
dab246 0b9bb3530c Fix appear save draft dialog when reload editing composer
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-01 04:40:13 -07:00
dab246 248b6b6ac4 TF-3399 Fix can not click on body of composer in Samsung A3 2025-02-05 03:00:08 -08:00
dab246 fc4ca58d4e TF-2475 Add onSubjectTextListener for subject focus node 2024-07-02 13:06:10 +02:00
dab246 e139e1ec94 TF-2475 Handle format style rich text in composer 2024-07-02 13:06:10 +02:00
dab246 4ccebb8a55 TF-2584 Remove toolbox buttons in keyboard header and move to app bar of composer in mobile 2024-07-02 13:06:10 +02:00
dab246 797a14c483 TF-2532 Invoke request focus editor when insert inline image 2024-07-02 13:06:10 +02:00
dab246 36ab6b1ccc Only create and use the correct rich text controller for each platform 2024-06-11 13:59:12 +07:00
dab246 6b82027090 TF-2667 Fix width size inline image in email view after send email 2024-06-11 13:59:12 +07:00
dab246 ae6341532c TF-2667 Handle save message to cache when reload page 2024-06-11 13:59:12 +07:00
dab246 145a49d728 TF-2644 Handle total size exceeded maximum size when drag & drop multiple file to composer 2024-06-11 13:59:12 +07:00
DatDang b63d212af4 TF-2533 Fix composer memory leak when reply and forward 2024-04-11 11:57:01 +07:00
dab246 3c4fa63970 TF-2774 Fix big image dimension in signature 2024-04-05 14:54:42 +07:00
dab246 ebd62ab78f TF-2520 Create some class to handle html
Signed-off-by: dab246 <tdvu@linagora.com>
2024-03-08 13:40:12 +07:00
dab246 9e5e6af9ce TF-1831 Handle system back button in setting view
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 5f00c1adcb)
2024-01-08 14:25:26 +01:00
dab246 82f42aa805 TF-2401 Fix cannot upload svg image as signature
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit d3fbecbf63)
2024-01-08 14:25:26 +01:00
dab246 b6be0dcf3a TF-2245 Only use bytes when insert image in identity creator on web
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit d879dbaf7e)
2023-10-27 11:18:29 +07:00
dab246 913b546ed5 TF-2245 Upload image with cid when drag n drop image
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 68f7eff3b2)
2023-10-27 11:18:29 +07:00
dab246 ba651b3610 TF-1301 Handle select font size while compose email
Signed-off-by: dab246 <tdvu@linagora.com>

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 194ccd3a0c)
2023-10-27 11:18:29 +07:00
dab246 c9f329d9a8 Fix some file with mimeType is empty cannot drag n drop attachment
(cherry picked from commit ad223e1e9d)
2023-10-09 12:12:24 +07:00
dab246 25b26acc42 TF-2118 Handle drop n drop image as inline
(cherry picked from commit 2eb6ad6a05)
2023-10-09 12:12:24 +07:00
dab246 56fac29e55 TF-2116 Persist new signature when open draft email
(cherry picked from commit 4bf72a6e31)
2023-10-09 12:12:24 +07:00
dab246 e63a8f7d7f TF-2116 Insert image at mouse cursor position
(cherry picked from commit cb347e5077)
2023-10-09 12:12:24 +07:00
dab246 11dcc38fab TF-2116 Apply new design for web composer
(cherry picked from commit 1295eb59b2)
2023-10-09 12:12:24 +07:00
dab246 ce14267928 TF-1486 Add insert image in signature on mobile/tablet
(cherry picked from commit 3411ecf28c)
2023-07-14 16:24:47 +07:00
dab246 d072f6a243 TF-1486 Add insert image in signature on web
(cherry picked from commit 50f0e54b2a)
2023-07-14 16:24:47 +07:00
dab246 32adfb3581 TF-1877 Use execSummernoteAPI to format text style
(cherry picked from commit 6c81bef9a0)
2023-07-07 22:45:26 +07:00
dab246 68145165be TF-1878 Fix font family not changed correctly in composer
(cherry picked from commit a4c72a79ab)
2023-06-26 22:02:30 +02:00
dab246 36a09827cf Fix select font style always default when changed
(cherry picked from commit 886a08892a)
2023-06-15 18:02:17 +07:00
dab246 5fde461d44 TF-1851,1852 Fix selected "rich text menu" do not match current text status
(cherry picked from commit b21db2511a)
2023-06-13 10:17:45 +07:00