stable
Clone or download
Read-only
This is part of story #17182: reference tuleap artifacts in gitlab merge requests How to test: - Have 2 gitlab users (A and B) - Have an integrated gitlab repository with a API token of user A - Generated API token for user B in GitLab (your settings->Access tokens->generate token with "api" scope) - To be git admin - Go to git view - In the integrated gitlab |_ cog icon => edit access token |_ insert the new token - Check and valid the new token Expected result: - The db will be updated - If you commit with a reference to Tuleap |_ a comment will be added on the commit with user B (instead of user A) Change-Id: Iff4e81d1a61ff8b9b1e44266be8adc8151439b72
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/scripts/repositories/po/fr.po | +18 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/api/rest-querier.js | +13 | −1 | Go to diff View file |
M | plugins/git/scripts/repositories/src/api/rest-querier.test.js | +29 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/AccessTokenFormModal.test.ts | +6 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/AccessTokenFormModal.vue | +4 | −1 | Go to diff View file |
A | plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/ConfirmReplaceTokenModal.test.ts | +202 | −0 | Go to diff View file |
A | plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/ConfirmReplaceTokenModal.vue | +182 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/EditAccessTokenGitlabModal.test.ts | +93 | −1 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/EditAccessTokenGitlabModal.vue | +53 | −3 | Go to diff View file |
M | plugins/git/scripts/repositories/src/store/actions.js | +16 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/store/actions.test.js | +58 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/type.ts | +6 | −0 | Go to diff View file |