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.
gitea/services/webhook
Kemal Zebari fb03062478
Only provide the commit summary for Discord webhook push events (#32432)
Resolves #32371.

#31970 should have just showed the commit summary, but
`strings.SplitN()` was misused such that we did not perform any
splitting at all and just used the message. This was not caught in the
unit test made in that PR since the test commit summary was > 50 (which
truncated away the commit description).

This snapshot resolves this and adds another unit test to ensure that we
only show the commit summary.
3 months ago
..
deliver.go Support allowed hosts for migrations to work with proxy (#32025) 5 months ago
deliver_test.go Fix possible data race on tests (#30093) 10 months ago
dingtalk.go Refactor webhook (#31587) 7 months ago
dingtalk_test.go Store webhook event in database (#29145) 11 months ago
discord.go Only provide the commit summary for Discord webhook push events (#32432) 3 months ago
discord_test.go Only provide the commit summary for Discord webhook push events (#32432) 3 months ago
feishu.go Refactor webhook (#31587) 7 months ago
feishu_test.go Store webhook event in database (#29145) 11 months ago
general.go Refactor webhook (#31587) 7 months ago
general_test.go Only provide the commit summary for Discord webhook push events (#32432) 3 months ago
main_test.go make writing main test easier (#27270) 1 year ago
matrix.go Refactor webhook (#31587) 7 months ago
matrix_test.go Store webhook event in database (#29145) 11 months ago
msteams.go Refactor webhook (#31587) 7 months ago
msteams_test.go Store webhook event in database (#29145) 11 months ago
notifier.go Add new event commit status creation and webhook implementation (#27151) 3 months ago
packagist.go Refactor webhook (#31587) 7 months ago
packagist_test.go Store webhook event in database (#29145) 11 months ago
payloader.go Refactor webhook (#31587) 7 months ago
slack.go Refactor webhook (#31587) 7 months ago
slack_test.go Store webhook event in database (#29145) 11 months ago
telegram.go Refactor webhook (#31587) 7 months ago
telegram_test.go Refactor webhook (#31587) 7 months ago
webhook.go Store webhook event in database (#29145) 11 months ago
webhook_test.go Store webhook event in database (#29145) 11 months ago
wechatwork.go Refactor webhook (#31587) 7 months ago