1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
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
..
2021-04-01 19:41:09 +02:00
2021-06-17 23:56:46 +02:00
2021-06-07 07:27:09 +02:00
2021-04-19 18:25:08 -04:00
2021-04-19 18:25:08 -04:00
2021-06-23 17:12:38 -04:00
2021-04-17 10:27:25 +01:00
2020-10-02 23:37:53 -04:00
2021-04-12 10:49:26 -04:00
2021-04-25 21:48:12 +03:00
2021-06-07 07:27:09 +02:00
2018-11-04 22:20:00 -05:00
2021-05-03 13:24:24 -04:00
2019-06-12 15:41:28 -04:00
2021-06-07 07:27:09 +02:00
2020-04-05 07:20:50 +01:00
2021-06-25 16:28:55 +02:00