stable

Clone or download

Read-only

Allow user to update the artifact closure value

This is part of story #17183 close artifacts from commit messages How to test: - Click on the cog in the gitlab integration card - Click on the new menu 'Allow artifact closure' => the checkobox should be selected (or not) according the 'allow_artifact_closure' value - Update the value and 'Save' - Close an artifact by commiting some content which use the closure keyword => According to the saved value, it will close (or not) the concerned artifact Change-Id: Ib6edea28c21489fbcc6d626ed6f3a8fed7468dec

Modified Files

Name
M plugins/git/scripts/repositories/po/fr.po +16 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/App.vue +3 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitRepository.test.js +25 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitRepository.vue +22 −0 Go to diff View file
A plugins/git/scripts/repositories/src/components/GitlabModal/ArtifactClosureModal/ArtifactClosureModal.test.ts +187 −0 Go to diff View file
A plugins/git/scripts/repositories/src/components/GitlabModal/ArtifactClosureModal/ArtifactClosureModal.vue +214 −0 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-api-querier.ts +3 −3 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-repository-formatter.ts +1 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/gitlab/actions.ts +37 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/gitlab/mutations.ts +11 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/gitlab/state.ts +4 −0 Go to diff View file
M plugins/git/scripts/repositories/src/type.ts +3 −0 Go to diff View file