0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-20 15:45:29 +01:00
gitea/routers/web/repo
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
..
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
commit.go
compare.go
download.go Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
editor_test.go
editor.go
find.go
http_test.go
http.go
issue_content_history.go Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
issue_dependency.go
issue_label_test.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
issue_label.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
issue.go
lfs.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects_test.go
projects.go
pull_review.go Dismiss prior pull reviews if done via web in review dismiss (#20197) 2022-07-19 15:20:28 +02:00
pull.go
release_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
release.go
render.go
repo.go
search.go
setting_protected_branch.go
setting.go
settings_test.go
tag.go
topic.go
treelist.go
view_test.go
view.go
webhook.go
wiki_test.go
wiki.go