6244 Commits
Author SHA1 Message Date
Dat Vu 75d524f3ff TF-5226 Show contact names in delegation and the account switcher (#5231) 2026-12-04 23:02:18 +07:00
Dat Dang 3ab7f2de3f [ADR] Save attachments to Twake Drive (ADR-0118 to 0121) (#5240) 2026-12-04 14:03:50 +07:00
Dat Vu 36163609c5 TF-5227 Refuse other-domain and team mailbox delegates in the add delegates dialog (#5230) 2026-12-04 12:15:57 +07:00
Dat Vu 6e61a05504 TF-5228 Close the account avatar menu on Esc and return focus to the avatar (#5229) 2026-12-03 17:06:55 +07:00
Dat Vu 113def869b TF-4925 Submit the rename folder dialog on Enter (#5222)
* TF-4925 Submit EditTextDialogBuilder on Enter through _onPositiveAction

* TF-4925 Add RenamePersonalFolderWithEnterScenario and share CoreRobot.pressEnterOnFocusedField
2026-12-03 10:55:03 +07:00
Dat Vu 2ffd0d7f9c TF-4922 Pluralize the star and unstar toasts for selected emails (#5213) 2026-12-03 10:27:28 +07:00
Dat Vu 394bc9148b TF-4923 Close the email view on Escape forwarded from the mail body iframe (#5214) 2026-12-02 14:08:41 +07:00
Dat H. Pham d668e47941 TF-5176 Translate Preferences differently from Settings in vi and mn (#5215) 2026-12-01 11:22:04 +07:00
Dat H. Pham 9f3b244a42 Bump version to v0.43.0 v0.43.0 2026-11-30 16:17:29 +07:00
Dat H. Pham c5b7f41582 Translate vi, ru, fr, mn 2026-11-30 16:17:15 +07:00
Dat Vu edb2c1eec3 TF-5190 Open my Inbox when the account in the URL is malformed (#5199)
* TF-5190 Drop the email, mailbox, label and search targets in RouteUtils for a malformed account parameter

* TF-5190 Rename keepsTargets to isMalformedAccount in RouteUtils and assert the rewritten Inbox URL in the malformed account test
2026-11-30 15:50:53 +07:00
Dat Vu a4f0366daa TF-5188 Refresh the account switcher when a delegation changes while the app runs (#5197) 2026-11-30 15:43:38 +07:00
Dat Vu 056338d8ee TF-5023 Fix the delegation tabs focus ring, switch flash and loading color (#5186) 2026-11-30 13:37:18 +07:00
Dat Vu 296ab382fe TF-5192 Show recover deleted messages in Trash only when the session supports the deleted message vault (#5200) 2026-11-27 20:02:06 +07:00
Dat Vu 19d8f67f26 TF-5193 Show CompactAccountSwitcher in DefaultMobileAppBarThreadWidget inside Cozy Workplace (#5201) 2026-11-27 19:53:39 +07:00
Dat Vu d49bf3fdb8 TF-5187 Dispose the dashboard on a forced sign-out so the search left open is reset (#5196) 2026-11-27 19:34:42 +07:00
Dat Vu 8e83f4bd16 TF-5189 Let the DelegationDialogFrame title wrap instead of cutting it with an ellipsis (#5198) 2026-11-27 18:41:39 +07:00
Dat Vu 3d861da453 TF-5023 T-19 Keep delegation email links across sign-in with SignInEmailLink (#5195) 2026-11-27 16:59:46 +07:00
Dat Dang 39a4a7ca2e TF-5053 Open the folder menu on long press in mobile browsers (#5174) 2026-11-27 13:12:45 +07:00
Dat Dang 87bf42f3e8 TF-3011 Cap maxChanges by maxObjectsInGet (#5167) 2026-11-27 12:15:31 +07:00
Dat VuandDat H. Pham 777dfacc3f TF-5023 T-18 Remove a delegate from a confirm dialog in Settings › Delegation › By me (#5185)
* TF-5023 T-18 Remove a delegate from a confirm dialog in Settings › Delegation › By me

* TF-5023 T-18 Test urgent remove failures and the dialog after a failed remove

* TF-5023 T-18 Skip the toast and reload after an urgent remove failure and close RemoveDelegateDialog when the delegate is gone

* TF-5023 T-18 Test RemoveDelegateDialog closes once and stays open during a retry

* TF-5023 T-18 Test the remove progress button and closing with other delegates left

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-27 10:44:11 +07:00
Dat Vu 3c27f64c35 TF-5023 T-17 Add delegates from a one-step dialog in Settings › Delegation › By me (#5183)
* TF-5023 T-17 Add delegates from a two-step dialog in Settings › Delegation › By me

* TF-5023 T-17 Pick the typed address on Next in AddDelegatesDialog

* TF-5023 T-17 Expect MyDelegatesNotifier to keep its list as data while reloading

* TF-5023 T-17 Enable Next for a typed address with no chip yet in AddDelegatesDialog

* TF-5023 T-17 Add delegates from a one-step AddDelegatesDialog with an avatar on every chip

* TF-5023 T-17 Refuse a delegate pick in AddDelegatesNotifier while the add request runs

* TF-5023 T-17 Skip the toast and reload in AddDelegatesDialog after an urgent add failure
2026-11-26 22:45:28 +07:00
Dat Vu 56db1436e7 TF-5022 T-14 Start the mobile app on the last shown account (#5168) 2026-11-26 15:20:22 +07:00
Dat Vu eb9952ed6e [ADR] Manage my delegates (ADR-0115) (#5016)
* TF-4977 Add ADR-0115 for managing my delegates

* TF-5023 Reorder ADR-0115 owner side tickets so each ships usable UI and drop the confirm step

* TF-5023 Rename the Settings › Delegation tabs to By me and With me in ADR-0115
2026-11-26 14:31:34 +07:00
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 VuandDat H. Pham a050e7348b TF-5023 T-16 Show my delegates in a By me tab of Settings › Delegation (#5179)
* TF-5023 T-16 Show my delegates in a By me tab of Settings › Delegation with a disabled Add button

* TF-5023 T-16 Register delegate cleanup before seeding and name the By me tab in MyDelegatesSection

* TF-5023 T-16 Test that a read finishing after the By me tab closes is dropped

* TF-5023 T-16 Test that re-reading my delegates keeps the current list

* TF-5023 T-16 Keep the current list while MyDelegatesNotifier reloads

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-26 14:17:21 +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 11514a0c20 TF-5097 Autolink large plain-text bodies in linear time (#5153) 2026-11-26 07:16:57 +07:00
Benoit TELLIER c95e0b153b ci: a fork pull request builds the very commit a member approved (#5181)
The fork gate looked up the pull request head on GitHub after the checkout,
and accepted it when it was the checked out commit or that commit's second
parent. The contributor chooses the parents of the commits they push: a
commit whose second parent is an approved one, pushed back to that approved
commit right after the checkout, passed the gate while its own tree was
built. Reading the head after the checkout also left a race open.

Once a member's approval of the head commit is confirmed, the gate now
checks that commit out, cleans the workspace, and merges the target branch
as fetched from this repository when there is one, before any code of the
pull request runs. Whatever the branch did meanwhile, the approved tree is
the one built. If the approved commit is not in the workspace, the build
fails and asks for a re-run, as before.

The same block is in the Jenkinsfiles of twake-contacts-frontend,
twake-calendar-frontend, twake-calendar-side-service, webadmin-proxy,
tmail-flutter, esn-sabre, tmail-backend and twake-mail-admin.

* ci: fail a fork build whose pinned revision is not the approved commit

Checking out the approved commit in place of the pinned revision built the
right tree, but Jenkins still reported the build status on the revision it
pinned: a passing build could mark a commit nobody reviewed as green.

The gate no longer changes the checkout. It accepts it when HEAD is the
approved commit, or when HEAD is the merge Jenkins made of the approved
commit with the target branch: its first parent is the approved commit, and
so is the pull request revision Jenkins fetched as origin/<BRANCH_NAME>.
Otherwise the build fails and asks for a re-run.

* ci: compare the tree of a fork merge build with the approved merge

The merge case of the fork gate trusted HEAD^1 once origin/<BRANCH_NAME> was
the approved commit. That ref is fetched apart from the revision Jenkins
checks out, so it does not prove which one was pinned, and a single-parent
child of the approved commit passed.

A checkout other than the approved commit is now accepted only as the merge
Jenkins makes: two parents, the approved commit then origin/<CHANGE_TARGET>,
and a tree equal to that merge redone in a scratch worktree outside the
workspace. A commit the contributor shaped like that merge but with a tree
of their own is refused.

* ci: apply the fork gate fix to JenkinsfileMobile

The mobile pipeline carries the same fork gate block as the Jenkinsfile and
still accepted the approved commit as HEAD^2 of the checkout. It now uses the
same pullRequestHead and requireApprovedCheckout.
2026-11-25 11:38:18 +01:00
Dat Vu ec94c11228 TF-5096 Drop email hrefs the browser reads as relative or without a host (#5152) 2026-11-25 14:03:44 +07:00
Dat Vu d9de1d23bc TF-5095 Limit attachment file names to 255 UTF-8 bytes (#5149) 2026-11-25 13:49:46 +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 18f5a69d96 TF-4498 Provision e2e test data through a standalone JMAP client instead of GetX (#5165) 2026-11-25 06:12:48 +07:00
dependabot[bot]andgithub-actions[bot] 0156809267 Bump wcmatch from 8.5.2 to 11.2 in /.github/security (#5171)
* Bump wcmatch from 8.5.2 to 11.2 in /.github/security

Bumps [wcmatch](https://github.com/facelessuser/wcmatch) from 8.5.2 to 11.2.
- [Release notes](https://github.com/facelessuser/wcmatch/releases)
- [Commits](https://github.com/facelessuser/wcmatch/compare/8.5.2...11.2)

---
updated-dependencies:
- dependency-name: wcmatch
  dependency-version: '11.2'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Build(deps): Recompile security lockfiles with uv

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-25 06:05:17 +07:00
Benoit TELLIER 0f006234f1 ci: a fork pull request runs no code before a linagora member vouches for it (#5175)
Start the pipeline with the Authorize fork stage of twake-contacts-frontend:
a fork pull request builds only when its owner is a linagora member, or a
member approved its head commit or reviewed it with "Build this please".
Bind the github and dockerHub credentials only around the steps that use
them, Docker Hub in a throwaway Docker config. The helpers are the same
block in the Jenkinsfiles of twake-contacts-frontend, twake-calendar-frontend,
twake-calendar-side-service, webadmin-proxy and tmail-flutter.
2026-11-24 10:11:31 +01:00
Quentin Valmori a8472b30ca Add the decisions log to the agent rules (#5170) 2026-11-20 21:05:02 +01:00
bf4054ef7d Bump tmail-backend docker image to 1.0.23.1 (#5164)
* Bump tmail-backend docker image to 1.0.23.1

* Synchronize the pool backend image tag with the main Compose configuration

---------

Co-authored-by: Software Factory <software-factory@linagora.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-11-20 15:17:59 +01:00
Dat Vu f39fbf41e2 TF-5023 T-15 Add the Delegate/get|set data layer (#5169) 2026-11-20 19:12:02 +07:00
Dat Vu 3d907d91f1 TF-5156 Expose the account switch card as a named dialog to screen readers (#5157)
* TF-5156 Expose AccountSwitchLoadingDialog as a named dialog and hide its avatar initial from screen readers

* TF-5156 Keep AccountSwitchLoadingDialog semantics merged with its Focus node and assert the dialog is focusable
2026-11-20 10:30:15 +07:00
Dat Dang c7dbf06925 TF-5038 Sign a Twake Workplace account out in the sign-in browser on Android (#5161) 2026-11-19 19:47:21 +07:00
Dat Dang 420d0db43d TF-5129 Empty mailbox on Stalwart 1.0: Email/get requests "header:List-Unsubscribe:asText", which RFC 8621 does not allow (#5146) 2026-11-19 14:51:05 +07:00
Dat Vu 5df49491e2 TF-5022 T-11 Add Settings › Delegation with "Delegated to me" and "Remove your access" (#5147)
* TF-5022 T-11 Send the session request to the JMAP URL in DynamicUrlInterceptors so a session reload no longer hits the API URL

* TF-5022 T-11 Add Settings › Delegation with DelegatedToMeNotifier and DelegatedToMeSection to list mailboxes delegated to me and remove my access

* TF-5022 T-11 Drop stale or signed-out session re-reads in DelegatedToMeNotifier and open a delegation link once the local settings load

* TF-5022 T-11 Share the pending re-read setup of the sign-out and user-change tests in DelegatedToMeNotifier tests

* TF-5022 T-11 Keep Delegation selected in ManageAccountMenuController when the quota loads after a deferred delegation link opens

* TF-5022 T-11 Clear the stored Delegation selection in ManageAccountMenuController when Delegation becomes hidden

* TF-5022 T-11 Clear the pending delegation link in ManageAccountDashBoardController.selectSettings when the user picks a settings page
2026-11-19 07:16:29 +07:00
Dat Vu 98309575a4 TF-5022 T-10 Add the delegation package with DelegatedAccount/get and /set and the DelegatedAccountRepository data layer (#5143) 2026-11-18 21:27:48 +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 Danganddab246 5d4937028f TF-4924 Recover deleted messages dialog says "within the last 15 days days" (#5132)
* TF-4924 Pass number of days to recover deleted messages description

* TF-4924 Remove env.file from the change

* TF-4924 Add day boundary tests for restoration horizon

* TF-4924 Rename horizon to restorationDuration

* TF-4924 Add web scenario for recover deleted messages description

Open Trash and tap the toolbar recover button on the desktop layout, then assert the description has no duplicated day unit.

* TF-4924 Add zero day clamp test for getRestorationHorizonInDays

---------

Co-authored-by: dab246 <tdvu@linagora.com>
2026-11-17 15:39:58 +07:00
dependabot[bot]andgithub-actions[bot] 389729f182 Bump opentelemetry-api from 1.37.0 to 1.45.2 in /.github/security (#5155)
* Bump opentelemetry-api from 1.37.0 to 1.45.2 in /.github/security

Bumps [opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python) from 1.37.0 to 1.45.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-python/compare/v1.37.0...v1.45.2)

---
updated-dependencies:
- dependency-name: opentelemetry-api
  dependency-version: 1.45.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Build(deps): Recompile security lockfiles with uv

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-17 14:59:37 +07:00
Dat Dang eab476da45 ci: cancel superseded workflow runs on the same PR (#5151)
* ci: cancel superseded workflow runs on the same PR

* ci: skip test reports for cancelled upstream runs

Addresses: 4583936850, 6931471819
https://github.com/linagora/tmail-flutter/pull/5151#discussion_r4583936850
https://github.com/linagora/tmail-flutter/pull/5151#issuecomment-6931471819

* ci: rely on called workflow concurrency for memory-check label runs

Addresses: 4583936853, 6931471819
https://github.com/linagora/tmail-flutter/pull/5151#discussion_r4583936853
https://github.com/linagora/tmail-flutter/pull/5151#issuecomment-6931471819
2026-11-17 13:53:45 +07:00
Dat H. Pham 2b4bee2101 Add TF-5022 delegation entries to v0.42.1 changelog v0.42.1 2026-11-17 11:19:39 +07:00
Dat H. Pham 12a454bb1d Bump version to v0.42.1 2026-11-17 10:55:39 +07:00
Dat H. Pham 354576f6b6 Translate vi, ru, fr, mn 2026-11-17 10:55:30 +07:00