stable

Clone or download

Read-only

Create modal to remove Gitlab integrations

This is part of story #17178 reference my gitlab repositories in my tuleap project How to test: * Have plugin gitlab * To be Git Admin * Have a gitlab instance [0] * Add row in 'plugin_gitlab_repository' table * Add row in 'plugin_gitlab_repository_project' table with the generated id in 'plugin_gitlab_repository' => Go to your project that contains the gitlab repository Expected results: => If you are Git admin, you should see a trash instead of settings in the top right of the card => When you click on the trash, a modal shoulds open and asks you to confirm unlink => The confirmation message contains the name of the repository /!\ For the moment, when you click on "unlink the repository" nothing appends [0] - Run docker-compose up - d gitlab - Go in the container and get the ip - Add row in /etc/hosts: your_ip gitlab.local - Go https://gitlab.local/admin/application_settings/network#js-outbound-settings -> Add "tuleap-web.tuleap-aio-dev.docker" in allowed local domains Change-Id: I6ab9cdcb94f26de25a56ef06d19da1a291ad4d24

Modified Files

Name
M plugins/git/package-lock.json +13 −0 Go to diff View file
M plugins/git/package.json +1 −0 Go to diff View file
M plugins/git/scripts/repositories/po/fr.po +13 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/App.vue +4 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitRepository.test.js +4 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitRepository.vue +40 −1 Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/CredentialsFormModal.test.js Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/CredentialsFormModal.vue Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/GitlabRepositoryModal.test.js Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/GitlabRepositoryModal.vue Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/ListRepositoriesModal.test.js Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/ListRepositoriesModal.vue Go to diff View file
A plugins/git/scripts/repositories/src/components/GitlabModal/UnlinkGitlabRepositoryModal/UnlinkRepositoryGitlabModal.test.js +73 −0 Go to diff View file
A plugins/git/scripts/repositories/src/components/GitlabModal/UnlinkGitlabRepositoryModal/UnlinkRepositoryGitlabModal.vue +115 −0 Go to diff View file
M plugins/git/scripts/repositories/src/index.js +2 −1 Go to diff View file
M plugins/git/scripts/repositories/src/store/actions.js +5 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/mutations.js +6 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/state.js +2 −0 Go to diff View file
M plugins/git/themes/BurningParrot/repositories/_repository-card.scss +4 −0 Go to diff View file