Commit Graph
236 Commits
Author SHA1 Message Date
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
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
dab246 7e1ad6e094 TF-5022 T-09 Explain in ADR-0114 why a share or mailto intent composes on mine 2026-11-17 10:42:08 +07:00
dab246 2e4e8253bb TF-5022 T-07 Update ADR-0114 for autocomplete, read receipts and Send on the shown account and the WebSocket re-enable of T-12 2026-11-13 17:22:42 +07:00
dab246 d541d8ccce TF-5022 T-07 Update ADR-0114 for capabilities of the shown account, the Drive oversize fallback and the WebSocket label push 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 66aad8d5ef TF-5022 T-07 Hide DashboardVacationBanner while a delegated account is shown via ShownAccountCapabilities.showsMyVacationBanner 2026-11-13 17:22:41 +07:00
dab246 0ddf405f04 TF-5022 T-06 Drop redundant experimental hide and clarify ADR toggle-off ownership 2026-11-13 17:22:21 +07:00
dab246 4eec612f4f TF-5022 T-06 Renumber ADR-0114 tickets for happy path first 2026-11-13 17:22:21 +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 Vu 081438fb61 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 17:22:03 +07:00
Dat VuandDat H. Pham 0204e80544 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 17:22:03 +07:00
dab246 718d945c58 TF-5022 Add SwitchAttemptStamp and ShownAccountStateConsumer.consumeShownAccountState, which drop the view results of an ended switch attempt 2026-11-13 17:22:03 +07:00
dab246 6e693d58c9 TF-5022 Suggest the contacts of the shown account in SearchEmailController and AdvancedFilterController and update ADR-0114 2026-11-13 17:22:03 +07:00
dab246 c702abd4fc TF-5022 Add the update date to ADR-0092 2026-11-13 17:22:03 +07:00
dab246 b87cd2dedd TF-5022 Name RiverpodActiveAccountSource, ActiveAccountSource and ActiveAccountWriter in the ADR-0092 exception and drop the fixed call-site count 2026-11-13 17:22:03 +07:00
dab246 7061ad66e2 TF-5022 Add ActiveAccountBridge and the ActiveAccountReader mixin, registered for the app lifetime and cleared on logout 2026-11-13 17:22:02 +07:00
Dat Vu 7405c072bc Drop unsafe-inline from the web CSP with a per-request script nonce (#5135) 2026-11-13 16:51:45 +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