gitea/modules
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
..
analyze
auth Add asymmetric JWT signing (#16010) 2021-06-17 23:56:46 +02:00
avatar
base
cache
charset
context Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
convert Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
cron
csv
doctor Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
emoji Run processors on whole of text (#16155) 2021-06-17 11:35:05 +01:00
eventsource
generate Add asymmetric JWT signing (#16010) 2021-06-17 23:56:46 +02:00
git Limit stdout tracelog to actual stdout (#16258) 2021-06-26 13:47:56 +01:00
gitgraph
graceful
hcaptcha
highlight Replace ARCCache with TwoQueueCache to avoid patent issue (#16240) 2021-06-24 14:37:07 -04:00
httpcache
httplib
indexer Use git log name-status in get last commit (#16059) 2021-06-21 01:00:46 +03:00
lfs
log
markup Add sanitizer rules per renderer (#16110) 2021-06-23 17:09:51 -04:00
matchlist
metrics
migrations Add Status Updates whilst Gitea migrations are occurring (#15076) 2021-06-16 18:02:24 -04:00
nosql
notification Improve notifications for WIP draft PR's (#14663) 2021-06-23 00:14:22 -04:00
options
password
pprof
private Small refactoring of modules/private (#15947) 2021-06-23 15:38:19 -04:00
process
public
queue
recaptcha
references Improve efficiency in FindRenderizableReferenceNumeric and getReferences (#16251) 2021-06-26 01:11:33 +02:00
repofiles
repository
secret
session
setting Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
ssh
storage Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
structs Refactor Webhook + Add X-Hub-Signature (#16176) 2021-06-27 20:21:09 +01:00
svg
sync
task Add Status Updates whilst Gitea migrations are occurring (#15076) 2021-06-16 18:02:24 -04:00
templates
test
timeutil
translation
typesniffer
upload
uri
user
util
validation Added support for gopher URLs. (#14749) 2021-06-25 18:38:27 -04:00
web Add tag protection (#15629) 2021-06-25 16:28:55 +02:00