0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 20:53:00 +01:00
gitea/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
deliver.go
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
discord.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
feishu_test.go
feishu.go
general_test.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
general.go
main_test.go
matrix_test.go
matrix.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
msteams_test.go
msteams.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
packagist_test.go
packagist.go
payloader.go
slack_test.go
slack.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
telegram_test.go
telegram.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
webhook_test.go
webhook.go
wechatwork.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00