191 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 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 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
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 H. Pham e0df685a14 Cherry pick/v0.40.x fixes to master (#5082) 2026-11-02 16:24:00 +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 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 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
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