stable

Clone or download

Read-only

Extract gitlab into a dedicated store

part of request #18836 Convert git repository list to typescript No functional changes, gitlab repositories can be used as usual Change-Id: I00344e68bbc51c29b2bacf1614829dd93b06de66

Modified Files

Name
M plugins/git/scripts/repositories/src/api/rest-querier.test.ts +2 −119 Go to diff View file
M plugins/git/scripts/repositories/src/api/rest-querier.ts +1 −80 Go to diff View file
M plugins/git/scripts/repositories/src/components/AddGitlabRepositoryActionButton.vue +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitRepository.test.js +10 −4 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitRepository.vue +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/CredentialsFormModal.test.ts +2 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/CredentialsFormModal.vue +4 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/GitlabRepositoryModal.vue +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.test.ts +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.vue +6 −3 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/AccessTokenFormModal.test.ts +2 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/AccessTokenFormModal.vue +4 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/ConfirmReplaceTokenModal.test.ts +2 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/ConfirmReplaceTokenModal.vue +4 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/EditAccessTokenGitlabModal.test.ts +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/EditAccessTokenGitlabModal.vue +8 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/RegenerateGitlabWebhookModal/RegenerateGitlabWebhook.test.ts +5 −4 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/RegenerateGitlabWebhookModal/RegenerateGitlabWebhook.vue +9 −4 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/UnlinkGitlabRepositoryModal/UnlinkRepositoryGitlabModal.test.ts +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/UnlinkGitlabRepositoryModal/UnlinkRepositoryGitlabModal.vue +9 −3 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-api-querier.test.ts +120 −1 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-api-querier.ts +80 −3 Go to diff View file
M plugins/git/scripts/repositories/src/store/actions.js +5 −169 Go to diff View file
M plugins/git/scripts/repositories/src/store/actions.test.js +6 −288 Go to diff View file
A plugins/git/scripts/repositories/src/store/gitlab/actions.js +161 −0 Go to diff View file
A plugins/git/scripts/repositories/src/store/gitlab/actions.test.js +266 −0 Go to diff View file
A plugins/git/scripts/repositories/src/store/gitlab/module.js +29 −0 Go to diff View file
A plugins/git/scripts/repositories/src/store/gitlab/mutations.js +40 −0 Go to diff View file
A plugins/git/scripts/repositories/src/store/gitlab/state.js +30 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/index.js +4 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/mutations.js +0 −21 Go to diff View file
M plugins/git/scripts/repositories/src/store/state.js +0 −7 Go to diff View file
A plugins/git/scripts/repositories/src/support/error-handler.test.ts +70 −0 Go to diff View file
A plugins/git/scripts/repositories/src/support/error-handler.ts +41 −0 Go to diff View file