Commit Graph
5758 Commits
Author SHA1 Message Date
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 3a5a1359d2 Add offline EML-to-fixture converter and typed sidecar fields 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 e607ec15af Add a generated HTML email corpus for display regression 2026-10-08 17:12:36 +07:00
Dat H. Pham f7ba858eec Require review when HTML transform or display fixtures change 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 H. Pham 0b5276f423 Extract named HTML transform configs for preview and attachments 2026-10-08 08:55:48 +07:00
dab246 a51c36998e TF-4883 test(composer): cover ColorPickerDialogBuilder #RRGGBB display, copy and typed input 2026-10-08 08:19:29 +07:00
Benoit TELLIERandClaude Opus 5.5 5d9d0f24e9 TF-4883 fix(composer): show color picker value as #RRGGBB
The ColorCodeField defaulted to ColorPickerCopyFormat.dartCode, leaking
the Flutter 0xAARRGGBB literal in both the field prefix and the copied
value. Use the web-standard #RRGGBB format instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 08:19:29 +07:00
dab246 0ef5aabf2d TF-4894 test(labels): cover desktop « Label as » click in ThreadDetailController.onThreadDetailMoreActionClick 2026-10-08 08:12:40 +07:00
dab246 5d2a111d22 TF-4894 test(labels): cover desktop « Label as » click in EmailActionReactor.handleMoreEmailAction 2026-10-08 08:12:40 +07:00
Benoit TELLIERandClaude Opus 5.5 a9fbd227a8 TF-4894 fix(labels): open label picker on « Label as » click in reading pane
On desktop web, clicking « Label as » in the reading pane more menu
closed the menu without doing anything: the click was deliberately
ignored in favor of a hover submenu, which is not reliably shown.
Handle the click on every platform so the label chooser modal opens,
keeping the hover submenu as a shortcut.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 08:12:40 +07:00
dab246 aa6455da92 TF-4867 Test that '/' stays allowed in folder names 2026-10-08 07:10:16 +07:00
dab246 1d6f505262 TF-4867 Wrap folder name errors on up to three lines in create and rename inputs 2026-10-08 07:10:16 +07:00
dab246 6a3e150e9a TF-4867 Validate folder name on confirm in rename dialogs instead of relying on the debounced check 2026-10-08 07:10:16 +07:00
Benoit TELLIERandClaude Opus 5.5 e87bb005df TF-4867 Stabilize web e2e email opening by periodically refreshing the email list
Provisioned emails are delivered asynchronously; the single refresh done
right after provisioning can miss them, making download_all_attachments_test
(and other web scenarios opening a freshly provisioned email) time out.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 07:10:16 +07:00
Benoit TELLIERandClaude Opus 5.5 288f961a9b TF-4867 Reject '.' in folder names client-side with an explicit localized message
The server rejects mailbox names containing '.' (hierarchy delimiter),
which surfaced as a raw English toast. Validate it client-side and
replace the generic 'special characters' error with a message listing
the forbidden characters.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 07:10:16 +07:00
Dat H. Pham e7f287473c [MCP Marionette] Use MCP to drive the UI (#4916) 2026-10-07 11:37:30 +07:00
dab246 151f026eb3 TF-4871 Add e2e test that the rule move picker hides Outbox, Drafts and Templates 2026-10-07 09:44:38 +07:00
dab246 dc7255a8fa TF-4871 Test rule target filtering in DestinationPickerController 2026-10-07 09:44:38 +07:00
dab246 f67d96986a TF-4871 Share team system-named folder setup in rule target tests 2026-10-07 09:44:38 +07:00
dab246 f87e1dd2ec TF-4871 Exclude subfolders of Outbox, Drafts and Templates from rule targets 2026-10-07 09:44:38 +07:00
Benoit TELLIERandClaude Opus 5.5 9b599f2c75 TF-4871 Only exclude first-level team Outbox/Drafts/Templates from rule targets
Team system folders are matched case-insensitively and only at first
level, so nested team folders with those names remain selectable.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:44:38 +07:00
Benoit TELLIERandClaude Opus 5.5 b70b532b90 TF-4871 Exclude Outbox, Drafts and Templates from rule move targets
Filing incoming mail into Outbox/Drafts/Templates is never meaningful
and risky (Outbox content may be picked up for sending).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:44:38 +07:00
dab246 09cbd4b0fb TF-4864 Split getHeaderEmailQuoted tests into top-level helpers to shrink main 2026-10-07 09:42:31 +07:00
dab246 aa93aceb1e TF-4864 Translate quote header date and time joiner for shipped locales 2026-10-07 09:42:31 +07:00
dab246 94e914ef4c TF-4864 Test display name without email address is not re-cased 2026-10-07 09:42:31 +07:00
dab246 6a17cf8e22 TF-4864 Test reply and forward quote header date and wording in en and fr 2026-10-07 09:42:31 +07:00
Benoit TELLIERandClaude Opus 5.5 066f8039f7 TF-4864 Stabilize empty trash thread view assertion on web
waitUntilVisible only pumps frames and does not yield to the browser event
loop, so the email reload following an empty-trash action may never be
processed. Poll with waitForCondition + pump, as other web robots do.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:42:31 +07:00
Benoit TELLIERandClaude Opus 5.5 e992445b96 TF-4864 Localize reply quote header date and keep sender name casing
- Format the quoted date with locale-aware skeletons (yMMMd + jm) joined
  by a localized 'at' (fr: 'à') instead of the hardcoded US pattern
- Use the 'wrote:' phrasing (fr: 'a écrit :')
- Stop re-casing the sender display name in quote headers

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:42:31 +07:00
Benoit TELLIERandClaude Opus 5.5 aa1e9bbb7a TF-4862 Do not re-apply an already expanded signature on web content load
When the loaded content already holds a top-level .tmail-signature,
restoreCollapsibleSignatureButton re-applied it, which consumed the one-shot
draft hash synchronization before the identity signature got inserted. The
baseline hash could then differ from the content and closing the unmodified
composer prompted to save.

Also drop the stray .hee-tmp gitlink accidentally committed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:40:26 +07:00
Benoit TELLIER ffa12b0d7f WIP: salvaged from an unfinished claude session
The session ended before committing this work, so the monitor committed it
as-is. It is unreviewed and may be incomplete.
2026-10-07 09:40:26 +07:00
Benoit TELLIERandClaude Opus 5.5 6c613abf19 TF-4862 Resynchronize draft hash on inserted signature, not on removed signature button
Since TF-4034 the identity signature is inserted with allowCollapsed: false,
so the editor produces a top-level .tmail-signature without any
.tmail-signature-button. synchronizeInitEmailDraftHash still waited for the
button, so on web the baseline hash was never re-taken once the signature
landed and closing an unmodified composer always prompted to save.

Detect the top-level .tmail-signature instead, ignoring signatures nested in
quoted content.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:40:26 +07:00
Benoit TELLIERandClaude Opus 5.5 e4c6422443 TF-4862 Do not prompt to save draft when closing unmodified reply/forward composer
Reply, reply all and reply to list were never given a baseline draft
hash, so closing them always prompted.

On web, the identity signature is inserted asynchronously into the
editor, after the baseline hash has been computed. The re-baseline
done on signature insertion was limited to compose, so any
reply/forward/edit-as-new with a signature was seen as modified.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:40:26 +07:00
Benoit TELLIERandClaude Opus 5.5 20e4c575cd TF-4862 Init draft hash for edit-as-new with preselected identity on web
When the identity is restored from the email header, setupSelectedIdentity
returned early without calling onCompleteSetupComposer on web, leaving the
saved draft hash unset for editAsNewEmail.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:40:26 +07:00
Benoit TELLIERandClaude Opus 5.5 a8396a9ee0 TF-4862 Do not prompt to save draft when closing unmodified forward/edit-as-new composer
initEmailDraftHash only set a baseline hash for compose and editDraft,
leaving it null for forward and editAsNewEmail. Any close was therefore
considered a modification and triggered the save-to-drafts dialog.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:40:26 +07:00
Dat H. Pham b596006335 Bump version to v0.39.1 v0.39.1 2026-10-06 13:34:27 +07:00
Dat H. Pham fd1a80378f Translate vi, ru, fr, mn 2026-10-06 13:34:14 +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