stable
Clone or download
part of story #26799 associate a Tuleap project and a GitLab group Note to reviewers: The display of the groups will be done in another commit to avoid this one being too big. Instead, an alert-success is displayed when the retrieval is OK How to test: - Fill the server url input with some text, the token input with a token and submit --> The validators ask you to have a valid url - Fill the server url input with a non-existing GtLb instance (ex: https://example.com), the token input with a token and submit --> An error is displayed - Fill the server url input with a valid url to an existing GitLab instance, provide a valid token, then submit --> A success feedback is shown - Open vue-devtools, go to the pinia tab, pick the groups store --> It should contain the groups you can see on your GitLab instance Change-Id: Id7def9a10be52b28cf6a06d73c7ab182ae85462b
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/fetch-result/src/main.ts | +2 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/package.json | +3 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/pnpm-lock.yaml | +10 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/po/fr_FR.po | +18 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/po/pt_BR.po | +14 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/api/FetchInterface.ts | +22 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/api/GitLabCredentialsFault.ts | +34 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/api/GitlabApiFault.ts | +34 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/api/gitlab-api-querier.test.ts | +163 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/api/gitlab-api-querier.ts | +109 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/api/link-header-helper.test.ts | +47 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/api/link-header-helper.ts | +38 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/src/components/EmptyStateNoGitlabGroupLinked.test.ts | +1 | −1 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/src/components/GitlabGroupLinkWizard.test.ts | +1 | −1 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabServer.test.ts | +138 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabServer.vue | +109 | −3 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/stores/groups.ts | +32 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/src/stores/types.ts | +9 | −0 | Go to diff View file |
R | plugins/gitlab/scripts/gitlab-group-link/src/helpers/global-options-for-tests.ts | Go to diff View file | ||
A | plugins/gitlab/scripts/gitlab-group-link/src/tests/stubs/FetchInterfaceStub.ts | +61 | −0 | Go to diff View file |
A | plugins/gitlab/scripts/gitlab-group-link/src/tests/stubs/GitlabApiQuerierStub.ts | +55 | −0 | Go to diff View file |
M | plugins/gitlab/scripts/gitlab-group-link/src/types.ts | +5 | −0 | Go to diff View file |