forked from gitea/gitea
1
0
Fork 0
gitea/templates/repo/settings/webhook
KN4CK3R 9b1b4b5433
Refactor Webhook + Add X-Hub-Signature ()
This PR removes multiple unneeded fields from the `HookTask` struct and adds the two headers `X-Hub-Signature` and `X-Hub-Signature-256`.

## ⚠️ BREAKING ⚠️ 

* The `Secret` field is no longer passed as part of the payload.
* "Breaking" change (or fix?): The webhook history shows the real called url and not the url registered in the webhook (`deliver.go`@129).

Close 
Fixes 
Fixes 

Co-authored-by: zeripath <art27@cantab.net>
2021-06-27 20:21:09 +01:00
..
base.tmpl Add class to page content to unify top margin () 2020-11-30 23:00:14 -05:00
base_list.tmpl Prevent webhook action buttons from shifting () 2021-06-25 13:00:09 -04:00
delete_modal.tmpl Update JS dependencies () 2021-03-22 05:04:19 +01:00
dingtalk.tmpl Implement Default Webhooks () 2019-03-18 22:33:20 -04:00
discord.tmpl Update discord domain () 2020-11-29 18:33:33 +01:00
feishu.tmpl Add feishu webhook support () 2020-02-12 08:48:28 +00:00
gitea.tmpl Comment box tweaks and SVG dropdown triangles () 2020-10-31 18:15:11 -04:00
gogs.tmpl Comment box tweaks and SVG dropdown triangles () 2020-10-31 18:15:11 -04:00
history.tmpl Refactor Webhook + Add X-Hub-Signature () 2021-06-27 20:21:09 +01:00
list.tmpl Merge default and system webhooks under one menu () 2021-01-15 01:24:03 +02:00
matrix.tmpl Enforce tab indentation in templates () 2021-04-10 23:46:37 -04:00
msteams.tmpl Add support for MS Teams webhooks () 2019-04-19 10:18:06 -04:00
new.tmpl Rename StaticUrlPrefix to AssetUrlPrefix () 2021-05-08 16:27:25 +02:00
settings.tmpl Merge default and system webhooks under one menu () 2021-01-15 01:24:03 +02:00
slack.tmpl Implement Default Webhooks () 2019-03-18 22:33:20 -04:00
telegram.tmpl Enforce tab indentation in templates () 2021-04-10 23:46:37 -04:00