264 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 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 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 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 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 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 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 18f5a69d96 TF-4498 Provision e2e test data through a standalone JMAP client instead of GetX (#5165) 2026-11-25 06:12:48 +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 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
dab246 046adca675 TF-5022 T-09 Close Settings from a detail with closeSettingsFromDetail so the web stand-alone setup no longer opens Language & Region 2026-11-17 10:42:08 +07:00
dab246 d675bfa950 TF-5022 T-09 Run the stand-alone account switcher e2e on Android and iOS through a shared AccountSwitcherRobot base 2026-11-17 10:42:08 +07:00
dab246 0267b08c1d TF-5022 T-09 Show CompactAccountSwitcher in DefaultMobileAppBarThreadWidget on Android and iOS 2026-11-17 10:42:08 +07:00
Dat Vu 2b0ebd80e1 TF-5022 T-08: Web Workplace account switcher chip (#5134)
* TF-5022 T-08 Add WorkplaceAccountSwitcher chip in the Workplace header with web e2e

* TF-5022 T-08 Extract CozyHeaderRow and drop the Spacer before WorkplaceAccountSwitcher in MailboxDashBoardView

* TF-5022 T-08 Reuse switchShownAccountOrToastFailure in WorkplaceAccountSwitcher

* TF-5022 T-08 Share AccountSwitchRobotMixin across web account switcher robots and drop unfocus in WebWorkplaceAccountSwitcherAssertionRobot

* TF-5022 T-08 Dispose keyboardShortcutFocusNode after the composer view unmounts in ComposerController.onKeyboardShortcutDispose

* TF-5022 T-08 Switch to the URL account inside Cozy in startOnUrlAccount and drop duplicated PDF keys in intl_messages.arb

* TF-5022 T-08 Point linagora_design_flutter at fix/tf-5022-account-menu-item-key for unique LinagoraAccountMenu row keys

* TF-5022 T-08 Point linagora_design_flutter back to master now that LinagoraAccountMenu row keys are merged
2026-11-13 17:22:42 +07:00
Dat Vu 9f387305f5 TF-5022 T-07.1 Keep the shown delegated account in the web URL (#5137)
* TF-5022 T-07.1 Write the shown delegated account into web URLs and parse it back in RouteUtils and NavigationRouter

* TF-5022 T-07.1 Preview the .eml of the URL account in EmailPreviewerController via SessionDelegationExtension.delegatedAccountIdOrMine

* TF-5022 T-07.1 Reset LabelController.isLabelsLoaded when checkLabelSettingState gets another account

* TF-5022 T-07.1 Start on the URL account via startOnUrlAccount in MailboxController

* TF-5022 T-07.1 Open Inbox instead of the unknown page for missing delegated link targets in MailboxController and ThreadController

* TF-5022 T-07.1 Add the stand-alone web e2e naming the shown delegated account in the URL

* TF-5022 T-07.1 Return no account from RouteUtils.parseAccountId for a malformed account instead of throwing

* TF-5022 T-07.1 Open nested .eml links on the account of the tab in EmailPreviewerController.emlPreviewUriOnAccount

* TF-5022 T-07.1 Ignore a late GetAllLabelFailure of another account in LabelController.handleFailureViewState

* TF-5022 T-07.1 Open Inbox via _switchBackToMailboxDefault in MailboxController.openMissingTargetFromLocationBar

* TF-5022 T-07.1 Leave search to Inbox only on NotFoundEmailException from ThreadAPI.getEmailById in ThreadController

* TF-5022 T-07.1 Keep the shown delegated account in RouteUtils.generateNavigationRoute dashboard paths
2026-11-13 17:22:42 +07:00
dab246 99d04a76ea TF-5022 T-07 Scroll the PreferencesView list in PreferencesRobot._bringPreferenceOnScreen instead of the first Scrollable on screen 2026-11-13 17:22:42 +07:00
dab246 ded67f465c TF-5022 T-07 Route the From picker, identity wait and composer close of SwitchDelegatedMailboxStandaloneScenario through ComposerRecipientRobot and WebAccountSwitcherAssertionRobot 2026-11-13 17:22:42 +07:00
dab246 1a482345d0 TF-5022 T-07 Add the stand-alone web e2e hiding my vacation banner, Recover deleted messages and Create a rule while a delegated mailbox is shown 2026-11-13 17:22:42 +07:00
dab246 38fa4bbe87 TF-5022 T-07 Hide DashboardNavigationBar and StandaloneAccountAvatarMenu inside Twake Workplace with HideInsideCozyWidget 2026-11-13 17:22:41 +07:00
dab246 1e5e48a331 TF-5022 T-07 Add web e2e for stand-alone avatar switcher flows 2026-11-13 17:22:41 +07:00
dab246 543d095022 TF-5022 T-06 Add Preferences e2e for Delegation toggle persist 2026-11-13 17:22:21 +07:00
Dat Vu 54fee9ffb5 Chore: upgrade Flutter to 3.47.9 (#5083) 2026-11-11 17:21:45 +07:00
Dat Dang 1907657ba7 TF-5094 Keep top-level signature visible when reopening a draft (#5125) 2026-11-11 14:05:42 +07:00
Dat Dang 1ca9c82acb Add automated memory leak check for web and Android (#5113) 2026-11-09 09:19:45 +07:00
Dat Dang 8ce45c2b55 Sandbox the web mail viewer iframe (#5112) 2026-11-09 09:16:23 +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 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
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
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 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 9a89aabdf3 TF-4982 Keep the cc and bcc of a mailto link on Android (#5026) 2026-10-26 21:31:06 +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
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