]> source.dussan.org Git - gitea.git/commit
Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953)
authortechknowlogick <matti@mdranta.net>
Wed, 15 May 2019 12:01:53 +0000 (08:01 -0400)
committerLunny Xiao <xiaolunwen@gmail.com>
Wed, 15 May 2019 12:01:53 +0000 (20:01 +0800)
commit5fb1ad70113d3272232c266b4ff58e9f7f646594
tree6264cc7cba7fbff0d12b638764d4f77d07db6707
parent710245e81e0d65c72231dbb3b5c9f860cdc71899
Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953)

* Fix #6951 - logs show proper HTTP Method, and allow change HTTP method
in form

* enforce POST method for webhook

* set default if method is empty
models/webhook.go
routers/api/v1/utils/hook.go
routers/repo/webhook.go
templates/repo/settings/webhook/history.tmpl