You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/webhook
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>
2 years ago
..
deliver.go Decouple HookTask from Repository (#17940) 2 years ago
deliver_test.go format with gofumpt (#18184) 2 years ago
dingtalk.go Display total commit count in hook message (#21400) 2 years ago
dingtalk_test.go Display total commit count in hook message (#21400) 2 years ago
discord.go Display total commit count in hook message (#21400) 2 years ago
discord_test.go Webhook for Wiki changes (#20219) 2 years ago
feishu.go Webhook for Wiki changes (#20219) 2 years ago
feishu_test.go Webhook for Wiki changes (#20219) 2 years ago
general.go Webhook for Wiki changes (#20219) 2 years ago
general_test.go Display total commit count in hook message (#21400) 2 years ago
main_test.go Use queue instead of memory queue in webhook send service (#19390) 2 years ago
matrix.go Display total commit count in hook message (#21400) 2 years ago
matrix_test.go Fix formatted link for PR review notifications to matrix (#21319) 2 years ago
msteams.go Display total commit count in hook message (#21400) 2 years ago
msteams_test.go Webhook for Wiki changes (#20219) 2 years ago
packagist.go Webhook for Wiki changes (#20219) 2 years ago
packagist_test.go Webhook for Wiki changes (#20219) 2 years ago
payloader.go Webhook for Wiki changes (#20219) 2 years ago
slack.go Display total commit count in hook message (#21400) 2 years ago
slack_test.go Webhook for Wiki changes (#20219) 2 years ago
telegram.go Display total commit count in hook message (#21400) 2 years ago
telegram_test.go Webhook for Wiki changes (#20219) 2 years ago
webhook.go Decouple HookTask from Repository (#17940) 2 years ago
webhook_test.go Decouple HookTask from Repository (#17940) 2 years ago
wechatwork.go Display total commit count in hook message (#21400) 2 years ago