stable

Clone or download

Read-only

List Gitlab projects

This is part of story #17178 reference my gitlab repositories in my tuleap project Before to test: * Have gitlab plugin * Have gitlab account -> With access token [0] * To be git admin How to test: * Go to git * Open the dropdown -> integrate gitlab project * Enter your credentials * Click on 'Fetch Gitlab project' Expected results: * if there is an error during fetching -> It's displayed * Else -> If you haven't any gitlab project on gitlab, a message is displayed -> Else, your gitlab projects are displayed and you can select one -> If you click on 'Integrate the project' -> Nothing append for the moment *> You can click on 'Back' and go to the previous modal [0] Go to https://gitlab.com/-/profile/personal_access_tokens and generate a new token with 'api' checked Change-Id: I29c8a761b21f84b0269a55aec951845e6b29cc41

Modified Files

Name
M plugins/git/scripts/repositories/po/fr.po +12 −3 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/GitlabProjectModal.test.js +5 −5 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/GitlabProjectModal.vue +92 −75 Go to diff View file
A plugins/git/scripts/repositories/src/components/GitlabModal/ListProjectsModal.test.js +111 −0 Go to diff View file
A plugins/git/scripts/repositories/src/components/GitlabModal/ListProjectsModal.vue +128 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/actions.js +29 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/actions.test.js +31 −0 Go to diff View file
M plugins/git/themes/BurningParrot/repositories/_repositories.scss +19 −0 Go to diff View file