stable
Clone or download
Read-only
This task is part of story #9083: trigger webhooks on git push To test it, we have to add by hand data in DB (UI not done yet). You can send a request to newly generated [Requestbin](http://requestb.in/) Change-Id: Ib508e5f58155fd916f00682a662c574f25aed553
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/db/install.sql | +7 | −0 | Go to diff View file |
A | plugins/git/db/mysql/updates/2016/201605191647_add_plugin_git_webhook_url_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 | +10 | −2 | Go to diff View file |
M | plugins/git/include/Git/Hook/PostReceive.class.php | +26 | −8 | Go to diff View file |
A | plugins/git/include/Git/Hook/WebHookDao.php | +37 | −0 | Go to diff View file |
A | plugins/git/include/Git/Hook/WebHookRequestSender.php | +118 | −0 | Go to diff View file |
M | plugins/git/include/autoload.php | +4 | −2 | Go to diff View file |
M | plugins/git/tests/Git/Hook/PostReceiveTest.php | +3 | −1 | Go to diff View file |
A | plugins/git/tests/Git/Hook/WebHookRequestSenderTest.php | +69 | −0 | Go to diff View file |