stable

Clone or download

Read-only

Display status of the webhooks

This is part of story #9083: trigger webhooks on git push Everytime a webhook is triggered, we store the status. Those statuses appear in logs modal, and the last entry is displayed on the main webhook table (last push column). Only the last 30 logs are displayed. Change-Id: I51046819366d58879d812730c7299fb82ed9dcd8

Modified Files

Name
M plugins/git/db/install.sql +7 −0 Go to diff View file
A plugins/git/db/mysql/updates/2016/201605241434_add_plugin_git_webhook_log_table.php +54 −0 Go to diff View file
M plugins/git/db/uninstall.sql +1 −0 Go to diff View file
M plugins/git/hooks/post-receive.php +3 −1 Go to diff View file
M plugins/git/include/Git/Hook/WebHookDao.php +25 −0 Go to diff View file
M plugins/git/include/Git/Hook/WebHookRequestSender.php +17 −3 Go to diff View file
A plugins/git/include/Git/Hook/WebHookResponseReceiver.php +53 −0 Go to diff View file
M plugins/git/include/Git/Webhook/WebhookPresenter.php +10 −6 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/Pane/Hooks.class.php +47 −3 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/RepoManagement.class.php +4 −1 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M plugins/git/templates/settings/hooks.mustache +2 −2 Go to diff View file
M plugins/git/tests/Git/Hook/WebHookRequestSenderTest.php +2 −1 Go to diff View file
M plugins/git/www/themes/default/css/style.scss +1 −0 Go to diff View file
M plugins/hudson_git/include/HudsonGit/JenkinsWebhooksPresenter.php +2 −2 Go to diff View file