forgejo/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.go
deliver_test.go
dingtalk.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
dingtalk_test.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
discord.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
discord_test.go
feishu.go
feishu_test.go
general.go
general_test.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
main_test.go
matrix.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
matrix_test.go
msteams.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
msteams_test.go
packagist.go
packagist_test.go
payloader.go
slack.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
slack_test.go
telegram.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
telegram_test.go
webhook.go
webhook_test.go
wechatwork.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00