bench-forgejo/routers
KN4CK3R 1887c95254
Decouple HookTask from Repository (#17940)
At the moment a repository reference is needed for webhooks. With the
upcoming package PR we need to send webhooks without a repository
reference. For example a package is uploaded to an organization. In
theory this enables the usage of webhooks for future user actions.

This PR removes the repository id from `HookTask` and changes how the
hooks are processed (see `services/webhook/deliver.go`). In a follow up
PR I want to remove the usage of the `UniqueQueue´ and replace it with a
normal queue because there is no reason to be unique.

Co-authored-by: 6543 <6543@obermui.de>
2022-10-21 18:21:56 +02:00
..
api Decouple HookTask from Repository (#17940) 2022-10-21 18:21:56 +02:00
common Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
install Fix read system configuration bug when installing (#21489) 2022-10-18 23:16:58 +08:00
private log real ip of requests from ssh (#21216) 2022-10-11 16:57:37 +08:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
web Decouple HookTask from Repository (#17940) 2022-10-21 18:21:56 +02:00
init.go Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00