gitea/templates
KN4CK3R 9b1b4b5433
Refactor Webhook + Add X-Hub-Signature (#16176)
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 #16115
Fixes #7788
Fixes #11755

Co-authored-by: zeripath <art27@cantab.net>
2021-06-27 20:21:09 +01:00
..
admin Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
base Fix typo and add TODO notice (#16064) 2021-06-05 14:33:34 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Issue sidebar and misc css fixes (#15524) 2021-05-16 22:18:18 +02:00
mail Fix Nits (#16234) 2021-06-23 19:43:33 +02:00
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
repo Refactor Webhook + Add X-Hub-Signature (#16176) 2021-06-27 20:21:09 +01:00
shared Remove branch URL before IssueRefURL (#15968) 2021-05-25 16:02:37 -04:00
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
swagger Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
user Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00