stable

Clone or download

Read-only

Do not serve the wizard app when a group is already linked

part of story #26799 associate a Tuleap project and a GitLab group This commit aims to provide a way to block the "link group" wizard when a GitLab group is already linked to the current project. How to test: - Link a group to your project --> You are redirected on a pane saying "A group is already linked to this project" - refresh the page --> You should still land on the same page, and not on the configuration wizard UI Change-Id: If851ccd1ef9308977d4fbf6b682554c3cb1570fe

Modified Files

Name
M plugins/gitlab/include/Admin/GitLabLinkGroupController.php +7 −1 Go to diff View file
M plugins/gitlab/include/Admin/GitLabLinkGroupPanePresenter.php +1 −0 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +2 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/po/fr_FR.po +0 −3 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/po/pt_BR.po +0 −3 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabConfiguration.vue +1 −6 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/gitlab-group-link.ts +7 −2 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/router/router.ts +4 −8 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/stores/root.ts +4 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/stores/types.ts +1 −0 Go to diff View file
M plugins/gitlab/site-content/fr_FR/LC_MESSAGES/tuleap-gitlab.po +6 −0 Go to diff View file
M plugins/gitlab/site-content/pt_BR/LC_MESSAGES/tuleap-gitlab.po +6 −0 Go to diff View file
M plugins/gitlab/templates/admin/git-administration-gitlab-link-group.mustache +22 −6 Go to diff View file
M plugins/gitlab/tests/unit/Admin/GitLabLinkGroupControllerTest.php +21 −8 Go to diff View file