This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/templates/repo/settings/webhook
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
..
base.tmpl
base_list.tmpl Prevent webhook action buttons from shifting (#16087) 2021-06-25 13:00:09 -04:00
delete_modal.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
dingtalk.tmpl
discord.tmpl
feishu.tmpl
gitea.tmpl
gogs.tmpl
history.tmpl Refactor Webhook + Add X-Hub-Signature (#16176) 2021-06-27 20:21:09 +01:00
list.tmpl Merge default and system webhooks under one menu (#14244) 2021-01-15 01:24:03 +02:00
matrix.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
msteams.tmpl
new.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
settings.tmpl Merge default and system webhooks under one menu (#14244) 2021-01-15 01:24:03 +02:00
slack.tmpl
telegram.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00