0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 18:14:24 +01:00
gitea/templates/repo
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
..
branch
diff Fix spelling (#16179) 2021-06-16 23:56:43 +02:00
editor Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
graph
issue review comments: break-word for long file names (#16272) 2021-06-27 17:21:19 +02:00
migrate Add Status Updates whilst Gitea migrations are occurring (#15076) 2021-06-16 18:02:24 -04:00
projects
pulls
release Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
settings Refactor Webhook + Add X-Hub-Signature (#16176) 2021-06-27 20:21:09 +01:00
wiki
activity.tmpl
blame.tmpl
branch_dropdown.tmpl Fix extra curly brace breaking release compare (#15988) 2021-05-26 21:07:39 -04:00
clone_buttons.tmpl Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
create.tmpl
empty.tmpl
forks.tmpl
graph.tmpl
header.tmpl Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
home.tmpl
icon.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl
upload.tmpl Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watchers.tmpl