githaven/services/webhook
KN4CK3R cad9adeff4
Display total commit count in hook message (#21400)
Fixes #21379

The commits are capped by `setting.UI.FeedMaxCommitNum` so
`len(commits)` is not the correct number. So this PR adds a new
`TotalCommits` field.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-10-17 00:22:34 +08:00
..
deliver_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
deliver.go Use queue instead of memory queue in webhook send service (#19390) 2022-04-25 20:03:01 +02:00
dingtalk_test.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
dingtalk.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
discord_test.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
discord.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
feishu_test.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
feishu.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
general_test.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
general.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
main_test.go Use queue instead of memory queue in webhook send service (#19390) 2022-04-25 20:03:01 +02:00
matrix_test.go Fix formatted link for PR review notifications to matrix (#21319) 2022-10-07 22:06:34 +01:00
matrix.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
msteams_test.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
msteams.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
packagist_test.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
packagist.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
payloader.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
slack_test.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
slack.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
telegram_test.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
telegram.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
webhook_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
webhook.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
wechatwork.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00