Commit Graph
4325 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
dab246 19395f6d4a TF-4678 Use LinagoraSidebarSectionStyleOverride.drawer and design system sidebar symbols in BaseMailboxView 2026-11-05 14:31:34 +07:00
Dang Dat 6d342c5f72 TF-4985 Add an e2e scenario for saving a vacation with an empty message
Addresses: 6462231092
https://github.com/linagora/tmail-flutter/pull/5050#issuecomment-6462231092
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 46f6fe2c26 TF-4827 Show the attaching file bottom sheet on narrow web (#5079) 2026-11-03 13:06:27 +07:00
Dat H. Pham a74e55a507 Translate vi, ru, fr, mn 2026-11-02 17:14:12 +07:00
Dat H. Pham e0df685a14 Cherry pick/v0.40.x fixes to master (#5082) 2026-11-02 16:24:00 +07:00
Dat H. Pham 67fa909722 Fix/composer embed code xss (#5070) 2026-11-02 11:05:37 +07:00
Dat Dang 05ac21dd8d TF-4984 Skip shared files the app cannot read (#5030) 2026-11-02 04:38:21 +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 8be9171f41 Keep CI logs to diagnose flaky Patrol tests (#5029) 2026-10-28 15:31:59 +07:00
Dat Dang aab6a5253a TF-4983 Keep label repository bindings alive after a share-started composer closes (#5028) 2026-10-28 09:44:51 +07:00
Dat H. Pham e6b0b3fbed List each thread once when a folder loads more with thread view on (#5017) 2026-10-28 09:44:22 +07:00
Dat Dang 9a89aabdf3 TF-4982 Keep the cc and bcc of a mailto link on Android (#5026) 2026-10-26 21:31:06 +07:00
Dat Vu c9c418fc42 TF-4858 Always keep space for a new recipient after the chips (#5009) 2026-10-21 15:37:59 +07:00
dab246 84a5b9931b TF-4849 Add web e2e for hiding sign out in the Twake Workplace profile menu 2026-10-20 15:29:41 +07:00
dab246 3f021c23c5 TF-4849 Hide sign out in ProfileSettingMenuOverlay inside Twake Workplace 2026-10-20 15:29:41 +07:00
dab246 c96528c20d TF-4849 Add HideInsideCozyWidget to hide actions Twake Workplace already owns 2026-10-20 15:29:41 +07:00
Benoit TELLIERandClaude Opus 5.5 0d2b8cdad7 Only force auto-load-more on a short first page when threads are collapsed
A first Email/query page shorter than the limit means the mailbox is
exhausted unless collapseThreads is on. Forcing canLoadMore whenever the
list did not fill the viewport sent a useless 'before' Email/query on
every open or refresh of a small folder.

Closes #4943

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 14:57:03 +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
Dat H. Pham d821dbb212 Translate vi, ru, fr, mn 2026-10-19 12:05:03 +07:00
dab246 b24a6677da TF-4623 Improve Mail to attendees button style 2026-10-19 12:00:55 +07:00
Dat H. Pham b70ff101a6 TF-4953 refactor(composer): make the sending check synchronous 2026-10-19 11:14:37 +07:00
Dat H. Pham 0c2db5dbbe TF-4953 fix(composer): block sending on the cached DNS flag, drop the re-fetch 2026-10-19 11:14:37 +07:00
dab246 21efa64558 TF-4953 feat(composer): show the pending domain activation dialog when sending is refused 2026-10-19 11:14:37 +07:00
dab246 bf974af01b TF-4953 feat(composer): re-check a pending domain on a fresh session before sending 2026-10-19 11:14:37 +07:00
dab246 b2c3cf9b9f TF-4953 feat(email): map the forbiddenToSend submission error to ForbiddenToSendException 2026-10-19 11:14:37 +07:00
dab246 39e43fbfdf TF-4953 feat(model): read mailDnsConfigurationValidated from the SaaS capability 2026-10-19 11:14:37 +07:00
dab246 ab811b0f59 TF-4898 test(labels): cover going back to Inbox when deleting the open label in e2e 2026-10-15 13:38:50 +07:00
dab246 0cbe036aba TF-4898 fix(labels): emit the edited label list once so the selected label is not left on edit 2026-10-15 13:38:50 +07:00
Benoit TELLIERandClaude Opus 5.5 98f3fa96ed TF-4898 fix(labels): keep last label snapshot when fetching labels fails
A transient GetAllLabel failure cleared the labels list, which made the
mailbox observer switch away from a still-existing selected label.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 13:38:50 +07:00
Benoit TELLIERandClaude Opus 5.5 0e52630fbc TF-4898 fix(labels): go back to Inbox when the displayed label is deleted
Deleting the label currently displayed left the thread list filtered on a
dead label and kept ?labelId=<deleted id> in the URL.

MailboxController now watches the label list and, when the selected label
mailbox is no longer part of it (deleted locally, via websocket, or labels
disabled), switches back to the Inbox and updates the browser URL, like
folder deletion does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 13:38:50 +07:00
Benoit TELLIERandClaude Opus 5.5 af7e125289 Sort identities with null sortOrder strictly after any defined sortOrder (#4942)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 13:24:08 +07:00
Benoit TELLIERandClaude Opus 5.5 a5cfd2d5aa Preselect the user's own address when creating a new identity (#4942)
- Sort identities with a stable sort so identities sharing the same
  sortOrder keep the server order (Dart's List.sort is not stable and the
  previous comparator never returned 0).
- In the identity creator, default the Email field to the owner email
  address when present, falling back to the first available address.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 13:24:08 +07:00
Benoit TELLIERandClaude Opus 5.5 810d7e0b99 TF-4882 feat(composer): Tab/Shift+Tab nest list items, Enter on empty nested item outdents
Summernote only binds Tab to list nesting when tabDisable is set, and even
then it inserts spaces. Register a keydown handler on the web editor that:
- delegates Tab / Shift+Tab inside a list item to the Summernote
  indent / outdent commands (same as the toolbar buttons);
- outdents an empty nested list item on Enter instead of leaving the list,
  like Gmail. Enter on an empty top-level item still exits the list.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 17:39:25 +07:00
dab246 8b6c3a633b TF-4892 Expand team mailbox root instead of picking it as search scope 2026-10-14 15:25:25 +07:00
Benoit TELLIERandClaude Opus 5.5 2990cf6d2b TF-4892 Allow selecting team mailbox folders in advanced search
The destination picker only exposed team mailboxes for move actions, so the
advanced-search folder-scope picker (MailboxActions.select) could not target
a team mailbox or its folders, neither in the tree nor in folder search.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 15:25:25 +07:00
Benoit TELLIERandClaude Opus 5.5 ceb20112e7 TF-4896 Add unit tests for composer send guards
Cover isEmailBodyNotReady and isEditedEmailContentLoadFailed, including
the EmptyEmailContentException case.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 11:10:16 +07:00
Benoit TELLIERandClaude Opus 5.5 12e105863e TF-4896 fix(composer): refuse to send a restored composer whose content failed to load
Inline image restoration may fail while the saved body is non-empty,
leaving an empty editor. Only EmptyEmailContentException means the
saved body was genuinely empty.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 11:10:16 +07:00
Benoit TELLIERandClaude Opus 5.5 b60393fe30 TF-4896 fix(composer): refuse to send an edited draft whose content failed to load
Sending would replace the draft with the empty editor content and delete it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 11:10:16 +07:00
Benoit TELLIERandClaude Opus 5.5 152b8e2b61 TF-4896 fix(composer): refuse to send while body is loading
Sending a reopened draft before its body has loaded sent an empty mail
and deleted the draft. Block send while the email content is still
loading or the editor is not ready, and tell the user to wait.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 11:10:16 +07:00
Dat H. Pham d758d37a6e Translate vi, ru, fr, mn 2026-10-13 17:21:36 +07:00
dab246 77789647c1 test(labels): add e2e for adding labels repeatedly from the email more menu on mobile and web 2026-10-13 17:11:15 +07:00
dab246 d0ce99d358 fix(labels): create single-email label interactors on the dashboard route so the label modal no longer deletes them 2026-10-13 17:11:15 +07:00
Dat H. Pham 9d0fb5fa17 Send Sentry opt-in log after reporting starts
The toggle log was captured before the new consent was applied, so on
opt-in the SDK was still stopped and the event was dropped. Apply the
consent first and log once the SDK lifecycle transition completes.
2026-10-13 17:11:15 +07:00
Dat H. Pham a35bf9c1de Put sentry log whenever user toggle Sentry 2026-10-13 17:11:15 +07:00
Dang Dat 4359d2e1a0 TF-4827 Show the name Drive stored in the composer file card 2026-10-13 14:03:11 +07:00
Dang Dat 88b24968fc TF-4827 Extend the Drive sheet background under the bottom safe area 2026-10-13 14:03:11 +07:00
Dang Dat e32c498e02 TF-4827 Show the file type icon in Drive upload rows 2026-10-13 14:03:11 +07:00