stable

Clone or download

Read-only

story #9181 [Plugin Git] CI build status

Add an api to allow ci to send build status updates Add a token mechanism to authentify the CI Add a view in git repo settings to view the CI token and regenerate it Add an event which will be raised when the api is called Change-Id: I4808e4c3cb5abe0662020f4be27bc2ea00765cf1

Modified Files

Name
M plugins/git/db/install.sql +1 −0 Go to diff View file
A plugins/git/db/mysql/updates/2016/201606081054_add_ci_token_to_git_table.php +59 −0 Go to diff View file
A plugins/git/include/CIToken/Dao.php +42 −0 Go to diff View file
A plugins/git/include/CIToken/Manager.php +57 −0 Go to diff View file
A plugins/git/include/CIToken/Presenter.php +47 −0 Go to diff View file
M plugins/git/include/Git.class.php +19 −2 Go to diff View file
M plugins/git/include/GitActions.class.php +11 −1 Go to diff View file
A plugins/git/include/GitViews/RepoManagement/Pane/CIToken.class.php +67 −0 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/RepoManagement.class.php +2 −0 Go to diff View file
M plugins/git/include/Git_Exec.class.php +13 −2 Go to diff View file
A plugins/git/include/REST/v1/BuildStatusPOSTRepresentation.php +63 −0 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +78 −0 Go to diff View file
M plugins/git/include/autoload.php +7 −2 Go to diff View file
M plugins/git/include/constants.php +12 −1 Go to diff View file
M plugins/git/include/gitPlugin.class.php +4 −1 Go to diff View file
M plugins/git/site-content/en_US/git.tab +5 −0 Go to diff View file
M plugins/git/site-content/fr_FR/git.tab +5 −0 Go to diff View file
A plugins/git/templates/ci-token-pane.mustache +9 −0 Go to diff View file
M plugins/git/tests/GitActionsTest.php +9 −5 Go to diff View file
M plugins/git/tests/GitTest.php +2 −1 Go to diff View file
M plugins/git/tests/Git_ExecTest.php +40 −0 Go to diff View file
M src/www/include/utils.php +24 −0 Go to diff View file