978 Commits
Author SHA1 Message Date
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 1861b186a5 TF-5022 T-13 Notify delegated mailboxes and open a notification tap in its account (#5166) 2026-11-25 11:53:27 +07:00
Dat Dang 62f5e8fd47 Fix web Patrol flakes and remove dead GitHub nightly Android workflow (#5127) 2026-11-18 18:54:05 +07:00
Dat Vu 2b0ebd80e1 TF-5022 T-08: Web Workplace account switcher chip (#5134)
* TF-5022 T-08 Add WorkplaceAccountSwitcher chip in the Workplace header with web e2e

* TF-5022 T-08 Extract CozyHeaderRow and drop the Spacer before WorkplaceAccountSwitcher in MailboxDashBoardView

* TF-5022 T-08 Reuse switchShownAccountOrToastFailure in WorkplaceAccountSwitcher

* TF-5022 T-08 Share AccountSwitchRobotMixin across web account switcher robots and drop unfocus in WebWorkplaceAccountSwitcherAssertionRobot

* TF-5022 T-08 Dispose keyboardShortcutFocusNode after the composer view unmounts in ComposerController.onKeyboardShortcutDispose

* TF-5022 T-08 Switch to the URL account inside Cozy in startOnUrlAccount and drop duplicated PDF keys in intl_messages.arb

* TF-5022 T-08 Point linagora_design_flutter at fix/tf-5022-account-menu-item-key for unique LinagoraAccountMenu row keys

* TF-5022 T-08 Point linagora_design_flutter back to master now that LinagoraAccountMenu row keys are merged
2026-11-13 17:22:42 +07:00
dab246 986a70451d TF-5022 T-07 Stop ComposerController.handleClickSendButton while the shown account has no submission capability 2026-11-13 17:22:42 +07:00
dab246 00fcc0af8a TF-5022 T-07 Require a Scribe endpoint on the shown account for AI Scribe and cover ComposerController autocomplete on the shown account 2026-11-13 17:22:42 +07:00
dab246 935cf566f8 TF-5022 T-07 Gate shown-mailbox capabilities on the active account and stop delegated accounts inheriting session-level properties 2026-11-13 17:22:42 +07:00
dab246 291becd59f TF-5022 T-07 Hide Recover deleted messages, composer Create a rule and premium offers while a delegated account is shown via ShownAccountCapabilities 2026-11-13 17:22:41 +07:00
dab246 d443c09e22 TF-5022 T-07 Keep server default identities in forComposerFromPicker only for a delegated account via ShownAccountCapabilities.offersServerDefaultIdentities 2026-11-13 17:22:41 +07:00
dab246 bc11684ba9 TF-5022 T-07 Prefer editable identities for composer From after account switch 2026-11-13 17:22:41 +07:00
dab246 3b8df5de44 TF-5022 Skip the always-read-receipt preference in setupEmailRequestReadReceiptFlag while a delegated account is shown 2026-11-13 17:22:04 +07:00
dab246 16c5071a7c TF-5022 Rename me-address helpers to shown-address helpers and QuickSearchFilter.fromMe to fromShown 2026-11-13 17:22:03 +07:00
dab246 b1ff88710d TF-5022 Point composer, identities and me-matching at the shown account (T-02.5) 2026-11-13 17:22:03 +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 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 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 Vu c9c418fc42 TF-4858 Always keep space for a new recipient after the chips (#5009) 2026-10-21 15:37:59 +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
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
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
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 e32c498e02 TF-4827 Show the file type icon in Drive upload rows 2026-10-13 14:03:11 +07:00
Dang Dat 4c8f417f9e TF-4827 Show the Drive busy toast as a warning 2026-10-13 14:03:11 +07:00
Dang Dat a78c31128e TF-4827 Toast when an oversize batch is denied while another runs
Addresses: 4217349749, 4244656811
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4217349749
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4244656811
2026-10-13 14:03:11 +07:00
Dang Dat 1c1666c2c7 TF-4827 Decline Drive recovery for any failure other than the size limit
Addresses: 4230523342, 4244464113
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4230523342
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4244464113
2026-10-13 14:03:11 +07:00
Dang Dat 66aad3da5b TF-4827 Cancel a Drive oversize batch whose dialog was removed and keep it off the next batch 2026-10-13 14:03:11 +07:00
Dang Dat f66f263748 TF-4827 Log Drive recovery errors with stack, editor refusal as a trace
Addresses: 4244029521, 4244029605
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4244029521
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4244029605
2026-10-13 14:03:11 +07:00
Dang Dat 212ea6d76c TF-4827 Route a dead session during Drive oversize upload to the urgent handler
Addresses: 4217349780
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4217349780
2026-10-13 14:03:11 +07:00
Dang Dat 867aae5ce6 TF-4827 Keep a running Drive oversize batch when another oversize file arrives
Addresses: 4217349749
https://github.com/linagora/tmail-flutter/pull/4968#discussion_r4217349749
2026-10-13 14:03:11 +07:00
Dang Dat 5e9f51c335 TF-4827 Share the Workplace OIDC token getter and refresh across providers
Addresses: 4216771160
https://github.com/linagora/tmail-flutter/pull/4962#discussion_r4216771160
2026-10-13 14:02:48 +07:00
Dang Dat 0d3d0d3715 TF-4827 Treat the domain upload cancel as a cancelled row in Drive recovery
Follows the TF-4827 cancel mapping in the Drive upload datasource.
2026-10-13 14:02:48 +07:00
Dang Dat c2680ef350 TF-4827 Route inline files to the Drive recovery
Addresses: 4182803889
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4182803889
2026-10-13 14:02:48 +07:00
Dang Dat 2d19b86254 TF-4827 Upload oversize attachments to Drive
Ref: #4848
2026-10-13 14:02:48 +07:00
Dat Dang c317bae063 TF-4827 Read dropped files lazily (#4908) 2026-10-13 13:59:00 +07:00
Dat Dang 9b05ef5a6c TF-4827 Upgrade file_picker to 13 (#4904) 2026-10-13 13:57:44 +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 ad637aa695 TF-4827 Split FileInfo into one sealed subtype per byte source (#4853) 2026-10-13 13:56:25 +07:00
Benoit TELLIERandClaude Opus 5.5 a58df341f1 TF-4878 fix(attachment): keep full file extension in middle-ellipsis chips
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 05:42:13 +07:00