forgejo/services/webhook
Giteabot d8583edfe7
Fix release URL in webhooks (#27182) (#27184)
Backport #27182 by @jolheiser

Resolves #27180

`URL` points to the API URL, `HTMLURL` points to the web page.

Notably, however, for PRs they are the same URL. I switched them to use
HTMLURL to match the rest of the codebase terminology.

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-09-21 23:59:27 +00:00
..
deliver.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
deliver_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
dingtalk.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
dingtalk_test.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
discord.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
discord_test.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
feishu.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
feishu_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
general.go Add branch_filter to hooks API endpoints (#26599) (#26632) 2023-08-21 12:17:19 +00:00
general_test.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
main_test.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
matrix.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
matrix_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
msteams.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
msteams_test.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
notifier.go For API attachments, use API URL (#25639) (#25814) 2023-07-10 12:56:16 +00:00
packagist.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
packagist_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
payloader.go New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
slack.go Fix release URL in webhooks (#27182) (#27184) 2023-09-21 23:59:27 +00:00
slack_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
telegram.go Add ThreadID parameter for Telegram webhooks (#25996) (#26480) 2023-08-14 08:55:17 +08:00
telegram_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
webhook.go Warn instead of reporting an error when a webhook cannot be found (#26039) (#26211) 2023-07-29 14:47:46 +00:00
webhook_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
wechatwork.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00