1
0
Fork 0
gitea/services
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
..
archiver
auth
comments
externalaccount
forms Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
gitdiff Use gitea logging module for git module (#16243) 2021-06-25 17:54:08 +01:00
issue
lfs
mailer
mirror
pull Append to existing trailers in generated squash commit message (#15980) 2021-06-25 13:01:43 -04:00
release
repository Fixed issues not updated by commits (#16254) 2021-06-26 10:13:51 +01:00
webhook Refactor Webhook + Add X-Hub-Signature (#16176) 2021-06-27 20:21:09 +01:00
wiki