* TF-4925 Submit EditTextDialogBuilder on Enter through _onPositiveAction
* TF-4925 Add RenamePersonalFolderWithEnterScenario and share CoreRobot.pressEnterOnFocusedField
* 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
* 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>
* 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
* 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
* 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>
The fork gate looked up the pull request head on GitHub after the checkout,
and accepted it when it was the checked out commit or that commit's second
parent. The contributor chooses the parents of the commits they push: a
commit whose second parent is an approved one, pushed back to that approved
commit right after the checkout, passed the gate while its own tree was
built. Reading the head after the checkout also left a race open.
Once a member's approval of the head commit is confirmed, the gate now
checks that commit out, cleans the workspace, and merges the target branch
as fetched from this repository when there is one, before any code of the
pull request runs. Whatever the branch did meanwhile, the approved tree is
the one built. If the approved commit is not in the workspace, the build
fails and asks for a re-run, as before.
The same block is in the Jenkinsfiles of twake-contacts-frontend,
twake-calendar-frontend, twake-calendar-side-service, webadmin-proxy,
tmail-flutter, esn-sabre, tmail-backend and twake-mail-admin.
* ci: fail a fork build whose pinned revision is not the approved commit
Checking out the approved commit in place of the pinned revision built the
right tree, but Jenkins still reported the build status on the revision it
pinned: a passing build could mark a commit nobody reviewed as green.
The gate no longer changes the checkout. It accepts it when HEAD is the
approved commit, or when HEAD is the merge Jenkins made of the approved
commit with the target branch: its first parent is the approved commit, and
so is the pull request revision Jenkins fetched as origin/<BRANCH_NAME>.
Otherwise the build fails and asks for a re-run.
* ci: compare the tree of a fork merge build with the approved merge
The merge case of the fork gate trusted HEAD^1 once origin/<BRANCH_NAME> was
the approved commit. That ref is fetched apart from the revision Jenkins
checks out, so it does not prove which one was pinned, and a single-parent
child of the approved commit passed.
A checkout other than the approved commit is now accepted only as the merge
Jenkins makes: two parents, the approved commit then origin/<CHANGE_TARGET>,
and a tree equal to that merge redone in a scratch worktree outside the
workspace. A commit the contributor shaped like that merge but with a tree
of their own is refused.
* ci: apply the fork gate fix to JenkinsfileMobile
The mobile pipeline carries the same fork gate block as the Jenkinsfile and
still accepted the approved commit as HEAD^2 of the checkout. It now uses the
same pullRequestHead and requireApprovedCheckout.
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.
* Bump tmail-backend docker image to 1.0.23.1
* Synchronize the pool backend image tag with the main Compose configuration
---------
Co-authored-by: Software Factory <software-factory@linagora.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* 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
* 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
* 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>