913 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 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 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 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 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 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 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 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
dab246 f9ef0dabbe TF-5022 T-09 Resolve the composer opener before switching to mine in openComposerFromSharedFiles so ignored intents never switch 2026-11-17 10:42:08 +07:00
dab246 35c9d10fb1 TF-5022 T-09 Switch to mine before a share or mailto intent with showMineBeforeIntent and drop it on a refused switch 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 da6f6bed73 TF-5022 T-07 Revert the EML preview account= of EmailPreviewerController, owned by T-07.1 2026-11-13 17:22:42 +07:00
dab246 ca19a917fb TF-5022 T-07 Carry account= in the EML preview URL of a delegated account and read it in EmailPreviewerController 2026-11-13 17:22:42 +07:00
dab246 986a70451d TF-5022 T-07 Stop ComposerController.handleClickSendButton while the shown account has no submission capability 2026-11-13 17:22:42 +07:00
dab246 6822444594 TF-5022 T-07 Send read receipts in SingleEmailController only while the shown account has MDN 2026-11-13 17:22:42 +07:00
dab246 072817994e TF-5022 T-07 Set up contact autocomplete of the shown account in GetXAccountSwitchDashboard and create the Needs Action folder only while it has AI 2026-11-13 17:22:42 +07:00
dab246 00fcc0af8a TF-5022 T-07 Require a Scribe endpoint on the shown account for AI Scribe and cover ComposerController autocomplete on the shown account 2026-11-13 17:22:42 +07:00
dab246 76166f945e TF-5022 T-07 Keep the open WebSocket in WebSocketController.initialize and take its label push types from my own label setting only 2026-11-13 17:22:42 +07:00
dab246 935cf566f8 TF-5022 T-07 Gate shown-mailbox capabilities on the active account and stop delegated accounts inheriting session-level properties 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 9c7c2e6965 TF-5022 T-07 Cover the From picker refetch, create rule, avatar menu actions and focus, loading dialog unmount, label setting failure and navigation bar profileMenu 2026-11-13 17:22:42 +07:00
dab246 83809939d3 TF-5022 T-07 Drop the CompactAccountSwitcher unfocus that LinagoraAccountSwitcher overrides by returning focus to its chip 2026-11-13 17:22:42 +07:00
dab246 8830db8b8f TF-5022 T-07 Trim recent searches once per dashboard start by dropping cleanupRecentSearch from MailboxDashBoardController._setUpComponentsFromSession 2026-11-13 17:22:42 +07:00
dab246 a8803f0703 TF-5022 T-07 Drop late label results of a previously shown account in LabelController and reload the label setting in catchUpAccount 2026-11-13 17:22:42 +07:00
dab246 0cad551bcf TF-5022 T-07 Wrap the StandaloneAccountAvatarMenu menu and its barrier in PointerInterceptor so the web composer editor does not take their clicks 2026-11-13 17:22:41 +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 b09d6d9838 TF-5022 T-07 Save, read and trim recent searches of the shown account in SearchEmailController, SearchInputFormWidget and cleanupRecentSearch 2026-11-13 17:22:41 +07:00