You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
3 years ago
..
archiver Rework repository archive (#14723) 3 years ago
auth Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 3 years ago
comments Enhance Ghost comment mitigation Settings (#14392) 3 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
forms Add Visible modes function from Organisation to Users too (#16069) 3 years ago
gitdiff Use gitea logging module for git module (#16243) 3 years ago
issue Fixed assert statements. (#16089) 3 years ago
lfs Rewrite of the LFS server (#15523) 3 years ago
mailer Localize Email Templates (#16200) 3 years ago
mirror Add push to remote mirror repository (#15157) 3 years ago
pull Append to existing trailers in generated squash commit message (#15980) 3 years ago
release Add tag protection (#15629) 3 years ago
repository Fixed issues not updated by commits (#16254) 3 years ago
webhook Refactor Webhook + Add X-Hub-Signature (#16176) 3 years ago
wiki Fix individual tests (addition to #15802) (#15818) 3 years ago