Commit Graph
226 Commits
Author SHA1 Message Date
dab246 16e1435e2c TF-5022 T-06 Drop redundant experimental hide and clarify ADR toggle-off ownership 2026-11-13 10:01:58 +07:00
dab246 1904d7d4ed TF-5022 T-06 Renumber ADR-0114 tickets for happy path first 2026-11-13 10:01:58 +07:00
dab246 e22ad77bb0 TF-5022 Point composer, identities and me-matching at the shown account (T-02.5) 2026-11-13 10:01:57 +07:00
Dat Vu 17ae5d76c9 TF-5022 T-02.4 Hide Settings while a delegated account is shown (#5078)
* TF-5022 Add ShownAccountCapabilities.canOpenSettings, shownAccountCapabilitiesProvider and ActiveAccountReader.shownAccountCapabilities

* TF-5022 Refuse goToSettings and goToVacationSetting and add SettingsRouteGuard on /settings while a delegated account is shown

* TF-5022 Hide Manage account, the mobile mailbox bar avatar and the vacation setting link while a delegated account is shown, extract DashboardNavigationBar and CozyProfileSettingIcon

* TF-5022 Point the dashboard reader scan comments at T-02.5 for the composer, identities and labels

* TF-5022 Name ShownAccountCapabilities.canOpenSettings in ADR-0114 Settings and keep mobile Sign out reachable in T-09

* TF-5022 Extract DashboardVacationBanner from the vacation banners of the dashboard, email, thread and thread detail views

* TF-5022 Keep mobile Sign out hidden with Settings while a delegated account is shown in ADR-0114

* TF-5022 Add ShownAccountCapabilities.canCreateFilter and route the rule filter entries through it instead of ActiveAccountReader.isDelegatedAccountShown
2026-11-13 10:01:57 +07:00
Dat VuandDat H. Pham a2edefd617 TF-5022 T-02.3 Run the switch view steps in the dashboard (#5073)
* TF-5022 Report the folder and email list loads of a switch attempt to ShownAccountLoadTracker and reload the shown account through watchShownReload

* TF-5022 Implement AccountSwitchView in DashboardAccountSwitchView with ShownMailboxSelection, the shown account input blocker and the closing of open popups

* TF-5022 Close every route above the dashboard in DashboardAccountSwitchView.blockInput, count the mobile composer route in DashboardShownMailboxSelection.hasOpenComposer, and test the email list report order with the real MailboxController and ThreadController

* TF-5022 Gate T-02.6 on T-06 delegationEnabledProvider in ADR-0114

* TF-5022 Test that a switch closes menu submenus and drops mail list shortcuts

* TF-5022 Keep key presses from the dashboard while a switch blocks its input

* TF-5022 Count a load as failed in ShownAccountStateSubscription when onDone throws

* TF-5022 Rename ShownMailboxSelection to AccountSwitchDashboard with resetForNewAccount and GetXAccountSwitchDashboard

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-13 10:01:57 +07:00
dab246 ed331ed707 TF-5022 Add SwitchAttemptStamp and ShownAccountStateConsumer.consumeShownAccountState, which drop the view results of an ended switch attempt 2026-11-13 10:01:56 +07:00
dab246 7b72aa8185 TF-5022 Suggest the contacts of the shown account in SearchEmailController and AdvancedFilterController and update ADR-0114 2026-11-13 09:53:18 +07:00
dab246 f5bfefd88b TF-5022 Add the update date to ADR-0092 2026-11-13 09:53:18 +07:00
dab246 c446d973d8 TF-5022 Name RiverpodActiveAccountSource, ActiveAccountSource and ActiveAccountWriter in the ADR-0092 exception and drop the fixed call-site count 2026-11-13 09:53:18 +07:00
dab246 6b3cb419b9 TF-5022 Add ActiveAccountBridge and the ActiveAccountReader mixin, registered for the app lifetime and cleared on logout 2026-11-13 09:52:39 +07:00
Dat Dang 1ca9c82acb Add automated memory leak check for web and Android (#5113) 2026-11-09 09:19:45 +07:00
Dat VuandDat H. Pham d043c98431 Move inline web scripts to files and enforce the nginx page policy (#5115)
* Move inline web scripts to files and enforce the nginx page policy

* Render CSP_* through the nginx image entrypoint and allow blob: in connect-src

* Allow CSP_IMG_SRC and document nginx add_header inheritance and connect-src ports

* Keep a read-only logo mount from stopping nginx and add optional CSP_REPORT_URI

* fix: start nginx when the root or a logo mount is read-only

* docs: document the web CSP variables and upgrade steps

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-08 10:54:57 +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 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 8be9171f41 Keep CI logs to diagnose flaky Patrol tests (#5029) 2026-10-28 15:31:59 +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 e1a7587c1e TF-4980 Fix Android composer keyboard input (#5021) 2026-10-26 14:01:31 +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 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
Dat Dang c936325076 2509 Add release security scan workflow (#4958) 2026-10-19 11:15:28 +07:00
Dang Dat e00be37ad6 TF-4827 State the exchange retry in the per-call exchange count
Addresses: 4214672710
https://github.com/linagora/tmail-flutter/pull/4962#discussion_r4214672710
2026-10-13 13:59:26 +07:00
Dang Dat 76149e78cb TF-4827 Replace the two bridge flags with one BridgePolicy enum
Addresses: 4216453602
https://github.com/linagora/tmail-flutter/pull/4962#discussion_r4216453602
2026-10-13 13:59:18 +07:00
Dang Dat dbd771067f TF-4827 Document the opt-in bearer replay in ADR-0108
Addresses: 4203292673
https://github.com/linagora/tmail-flutter/pull/4962#discussion_r4203292673
2026-10-13 13:59:18 +07:00
Dang Dat 6db4615efa TF-4827 Add a recovery seam to the size-rejection path
Ref: #4848

TF-4827 Route inline files to the upload recovery

Addresses: 4182803889
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4182803889

TF-4827 Skip the upload recovery when a rejection carries no files

Addresses: 4191301057
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191301057

TF-4827 Document the upload recovery contract

Addresses: 4191300814, 4191300935, 4191301151
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191300814
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191300935
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191301151

TF-4827 Align ADR-0109 with inline files reaching the recovery

Addresses: 4191308467
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191308467
2026-10-13 13:59:01 +07:00
Dat H. Pham e7bde6aa51 Record the three-layer test strategy for HTML email display 2026-10-13 11:14:36 +07:00
Dat H. Pham e7f287473c [MCP Marionette] Use MCP to drive the UI (#4916) 2026-10-07 11:37:30 +07:00
dab246 704ecd84b2 TF-4809 Part 3: Align Sentry startup and reporting consent 2026-10-05 12:22:17 +07:00
dab246 5399267098 TF-4809 Part 3: Restore web Sentry after consent is re-enabled 2026-10-05 12:22:17 +07:00
dab246 e6e9ed633c TF-4809 Part 3: Add web Sentry fallback and denied consent 2026-10-05 12:22:17 +07:00
dab246 eec2fbab39 TF-4809 Part 3: Harden Sentry ecosystem consent handling 2026-10-05 12:22:17 +07:00
Dat VuandDat H. Pham c0eb30d2d6 TF-4809 Part 1-C: Apply consent in iOS notification extension (#4836)
* TF-4809 Part C: Apply consent in iOS notification extension

* TF-4809 Part C: Apply consent in iOS notification extension

* TF-4809 Part C: Harden NSE consent persistence

* TF-4809 Part C: Fix duplicate Mockito mock generation

* TF-4809 Part C: Use rethrow for Sentry errors

* TF-4809 Part C: Fix analyzer warnings

* TF-4809 Move Sentry cleanup to session teardown

* TF-4809 Fix BaseController test isolation

* TF-4809 Add tests for consent reset on session cleanup

* TF-4809 Reset Sentry consent on session cleanup

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-10-05 12:15:05 +07:00
dab246 e78120abb6 TF-4809 Part B: Harden Sentry FCM consent 2026-10-05 12:15:05 +07:00
dab246 fdda202292 TF-4809 Part B: Persist consent for FCM background 2026-10-05 12:15:05 +07:00
dab246 9f3665eb47 TF-4809 Part A: Gate Sentry SDK lifecycle by consent 2026-10-05 12:15:04 +07:00
dab246 882b499bac TF-4815 Save web composer snapshot synchronously in beforeunload and keep it after restore 2026-10-01 10:42:32 +07:00
Dat Dang 2cf6226e1e TF-4838 Resolve Workplace FQDN from the Linagora ecosystem fallback (#4841) 2026-09-22 13:35:54 +07:00
Dat Dang 061827469e TF-4827 docs(adr): migrate to file_picker 13 for streamed picks (#4842) 2026-09-22 08:47:08 +07:00
Dang Dat a1e45e1976 State the gate logs a recovery throw and blocks send while a transfer runs
Addresses: 4059306032, 4059306036
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4059306032
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4059306036
2026-09-22 08:46:44 +07:00
Dang Dat 577125ed98 Pin when the recovery contract completes and what a throw means
Addresses: 4046173362, 4046173371
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4046173362
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4046173371
2026-09-22 08:46:44 +07:00
Dang Dat ec78f3ab0c State the Drive preference gates the oversize upload
Addresses: 4044699615
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699615
2026-09-22 08:46:44 +07:00
Dang Dat 62d39d2ddd State the recovery contract is awaited
Addresses: 4044699600
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699600
2026-09-22 08:46:44 +07:00
Dang Dat 08ad04aa8d State which files an oversize recovery takes
Addresses: 4044699575, 4044699584, 4044699607
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699575
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699584
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699607
2026-09-22 08:46:44 +07:00
Dang Dat ce8e683bf3 Drop the magic-folder open question from ADR 0109
Addresses: 4043489296
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043489296
2026-09-22 08:46:44 +07:00
Dang Dat b4d902c709 State the web heap ceiling on the shared file body reader
Addresses: 4043475832
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043475832
2026-09-22 08:46:44 +07:00
Dang Dat c856ee07fc Scope the recovery seam to size rejections on picked files
Addresses: 4034661133, 4043492871, 4043481991
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4034661133
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043492871
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043481991
2026-09-22 08:46:44 +07:00
Dang Dat 34577c7e22 docs(adr): add ADR 0109 for the oversize attachment recovery seam 2026-09-22 08:46:44 +07:00
Dat Dang cc849294eb ADR Preparation for upload heavy attachments (#4830)
* ADR Preparation for upload heavy attachments

* State how an upload recovery is registered in ADR 0108

Addresses: 4023574066
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4023574066

* Drop the reusability inventory from ADR 0108

Addresses: 4023601065
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4023601065

* State runner ownership and per-action token exchange in ADR 0108

Addresses: 4024992364, 5221483896
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992364
https://github.com/linagora/tmail-flutter/pull/4830#pullrequestreview-5221483896

* Add the file body reader decision to ADR 0108

Addresses: 4024992369
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992369

* docs(adr): narrow ADR 0108 to the Workplace call transport

* Declare bridge support per Workplace action in ADR 0108

Addresses: 4033218043, 4024992351
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4033218043
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992351

* Fail a bridge-supported action instead of replaying it over the bearer token

Addresses: 4034521006, 4024992351
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4034521006
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992351
2026-09-18 09:34:54 +07:00