Commit Graph
6062 Commits
Author SHA1 Message Date
Dang Dat 281bc510e3 ci: stop a hung Android memory check on silence and keep logcat
The first Android run hung for 39 min between two tests and was only
cancelled by the 60 min job limit. Kill patrol after 4 min without output
once the tests start (10 min during the Gradle build), print Flutter logs
and save logcat on failure. Android job limit is 35 min.
2026-11-06 15:40:29 +07:00
Dang Dat 2bc85d5d99 ci: run the memory leak check on release tags and memory-check PRs
Run the check on web and Android in profile mode against a local backend, in
parallel with the security scan on tags. Add the Android profile build type
and the docs.

Refs #4365
2026-11-06 15:40:29 +07:00
Dang Dat 4707aa7188 ci: add memory sidecar and leak report
The sidecar takes heap snapshots over CDP on web. The report applies rules
R1-R5 to the before and after samples and always renders a summary.

Refs #4365
2026-11-06 15:40:29 +07:00
Dang Dat 8faef64d05 test: add memory leak scenarios for email, composers and identity
Open a heavy inline-image email, send composers with a heavy inline image and
attachment, and create and delete an identity with a heavy signature image.
Each flow runs once to warm up and once measured.

Refs #4365
2026-11-06 15:40:29 +07:00
Dang Dat 7af4869bed test: add memory test tag, heavy image and memory probe
Add the memory tag (excluded from the normal Patrol runs), a per-test timeout,
a generated 5 MB PNG, inline-image provisioning and a probe that samples the
Dart heap on Android and the sidecar on web.

Refs #4365
2026-11-06 15:40:29 +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
dab246 19395f6d4a TF-4678 Use LinagoraSidebarSectionStyleOverride.drawer and design system sidebar symbols in BaseMailboxView 2026-11-05 14:31:34 +07:00
Dat H. Pham 6660627b5f Fix NSE empty-list loop by paging Email/changes and advancing state (#5089) 2026-11-05 13:15:20 +07:00
dab246 fce61c8828 TF-4985 Test saveVacation rejects an empty web editor 2026-11-05 10:07:57 +07:00
dab246 d29b77f1c7 TF-4985 Assert the vacation save never ran instead of waiting for the empty-message toast 2026-11-05 10:07:57 +07:00
Dang Dat 19a61e5bb0 TF-4985 Wait for the vacation editor document before tapping Save
Addresses: 4398352188
https://github.com/linagora/tmail-flutter/pull/5050#discussion_r4398352188
2026-11-05 10:07:57 +07:00
Dang Dat 26a52bef57 TF-4985 Move empty-message save assertions into VacationAssertionRobot
Addresses: 4408445319
https://github.com/linagora/tmail-flutter/pull/5050#discussion_r4408445319
2026-11-05 10:07:57 +07:00
dab246 1f3e6f53cc TF-4985 Add web e2e for saving a vacation whose stored message is blank 2026-11-05 10:07:57 +07:00
dab246 341f678982 TF-4985 Test hasNoTextContent on a tag whose name only starts with img 2026-11-05 10:07:57 +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 c94797540c TF-4985 Reject a blank vacation message even after the view unmounts
Addresses: 4384677594
https://github.com/linagora/tmail-flutter/pull/5050#discussion_r4384677594
2026-11-05 10:07:57 +07:00
Dang Dat 5d453a061e TF-4985 Drop the redundant nbsp replace in hasNoTextContent
Addresses: 4397522287
https://github.com/linagora/tmail-flutter/pull/5050#discussion_r4397522287
2026-11-05 10:07:57 +07:00
Dang Dat f1bc60bddc TF-4985 Make hasNoTextContent linear on an unclosed angle bracket
Addresses: 4397522269
https://github.com/linagora/tmail-flutter/pull/5050#discussion_r4397522269
2026-11-05 10:07:57 +07:00
dab246 35f0679165 TF-4985 Add VacationController saveVacation tests for an empty mobile editor 2026-11-05 10:07:57 +07:00
dab246 7063c6b148 TF-4985 Cover upper-case images, bare nbsp and escaped markup in hasNoTextContent tests 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 H. Pham 4f776e5572 fix(ci): pass SENTRY_AUTH_TOKEN as BuildKit secret, not build-arg (#5088) 2026-11-03 17:32:33 +07:00
Dat Dang 8b00548822 Show the LLM section of the security report unfolded (#5087) 2026-11-03 14:02:49 +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 e1210bf334 Bump version to v0.41.0 v0.41.0 2026-11-02 17:27:16 +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
dependabot[bot] 8969fb7a8c Build(deps): Bump setuptools from 84.0.0 to 84.1.0 in /.github/security (#5074)
Bumps [setuptools](https://github.com/pypa/setuptools) from 84.0.0 to 84.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v84.0.0...v84.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 84.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-28 20:56:42 +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 Dang e1a7587c1e TF-4980 Fix Android composer keyboard input (#5021) 2026-10-26 14:01:31 +07:00
Benoit TELLIER 4a3c0fad1f Bump tmail-backend docker image to 1.0.22.2 (#5033) 2026-10-26 09:35:10 +07:00
Dat H. Pham 97363fe58b Build(deps): pick up receive_sharing_intent cache-path hardening (#5027) 2026-10-23 09:15:09 +07:00
Dat Vu fc740d2d21 [ADR] Use the mailboxes delegated to me (ADR-0114) and switch to a team mailbox (ADR-0116) (#5013) 2026-10-23 09:13:21 +07:00
Dat Dang 94869ef006 Check every HTML pipeline on its own viewer with named rule sets (#5020) 2026-10-22 13:04:45 +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
dependabot[bot] 149fb754a3 Build(deps): Bump uv from 0.11.17 to 0.13.4 in /.github/security (#5019)
Bumps [uv](https://github.com/astral-sh/uv) from 0.11.17 to 0.13.4.
- [Release notes](https://github.com/astral-sh/uv/releases)
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/uv/compare/0.11.17...0.13.4)

---
updated-dependencies:
- dependency-name: uv
  dependency-version: 0.13.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-21 10:55:38 +07:00
dependabot[bot] 89b506e331 Build(deps): Bump certifi in /.github/security (#5018)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2026.7.22 to 2026.10.19.
- [Commits](https://github.com/certifi/python-certifi/compare/2026.07.22...2026.10.19)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2026.10.19
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-21 10:54:48 +07:00
Dat Dang 9c025709df Pass secrets to the release security scan (#5014) 2026-10-21 10:48:27 +07:00
Dat H. Pham fe148f2f81 Test HTML email display rules on every viewer and pane width (#4966) 2026-10-21 05:01:30 +07:00
Dang Dat cf7959c6b6 fix(ci): pin web integration test runner to ubuntu-24.04
Playwright does not support chromium on ubuntu-26.04, which ubuntu-latest now resolves to.
2026-10-20 15:40:06 +07:00
dab246 16644194ac TF-4849 Wait for insideCozyProvider to resolve inside before asserting sign out is hidden 2026-10-20 15:29:41 +07:00
dab246 31f586a994 TF-4849 Create WebWorkplaceProfileMenuRobot in the web-only scenario instead of the shared mailbox menu robots 2026-10-20 15:29:41 +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