0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 10:24:25 +01:00
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
explore
mail Fix Nits (#16234) 2021-06-23 19:43:33 +02:00
org
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
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
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl