stable

Clone or download

Read-only

feat: Disabled token modal

Part of story #26799 associate a Tuleap project and a GitLab group How to test: - Either complete the wizard or call the POST REST route manually to link a Project and a Group. - When you go to the Git Administration tab, the "Update token" button is now active. When you click it, it opens a modal with a field to update the group link's access token. The modal submit is disabled. Notes: Submit of the modal has been split to reduce the size of this commit. It will be done separately. Change-Id: I9d097cbf0b89aebbc0f2c6ac58666d75241915fe

Modified Files

Name
M plugins/gitlab/include/Admin/GitLabLinkGroupController.php +9 −1 Go to diff View file
M plugins/gitlab/include/Admin/LinkedGroupPresenter.php +3 −1 Go to diff View file
A plugins/gitlab/include/Group/GitlabServerURIDeducer.php +39 −0 Go to diff View file
M plugins/gitlab/include/Group/GroupLinkCredentialsRetriever.php +7 −7 Go to diff View file
M plugins/gitlab/include/REST/v1/GitlabGroupResource.php +2 −1 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +2 −1 Go to diff View file
A plugins/gitlab/scripts/linked-group/src/TokenModal.test.ts +70 −0 Go to diff View file
A plugins/gitlab/scripts/linked-group/src/TokenModal.ts +47 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/main.ts +2 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/themes/main.scss +0 −1 Go to diff View file
M plugins/gitlab/site-content/fr_FR/LC_MESSAGES/tuleap-gitlab.po +12 −0 Go to diff View file
M plugins/gitlab/site-content/pt_BR/LC_MESSAGES/tuleap-gitlab.po +12 −0 Go to diff View file
M plugins/gitlab/templates/admin/linked-group-information.mustache +62 −1 Go to diff View file
M plugins/gitlab/tests/unit/Admin/GitLabLinkGroupControllerTest.php +3 −0 Go to diff View file
A plugins/gitlab/tests/unit/Admin/LinkedGroupPresenterTest.php +62 −0 Go to diff View file
A plugins/gitlab/tests/unit/Group/GitlabServerURIDeducerTest.php +42 −0 Go to diff View file
M plugins/gitlab/tests/unit/Test/Builder/GroupLinkBuilder.php +18 −0 Go to diff View file
A tests/unit/tests/Builders/URIInterfaceBuilder.php +37 −0 Go to diff View file