gitea/services/webhook
oliverpool c81b26b0e5
refactor webhook *NewPost (#20729)
* refactor webhook *NewPost

* remove empty values

* always show errs.Message

* remove utils.IsValidSlackChannel

* move IsValidSlackChannel to services/webhook package

* binding: handle empty Message case

* make IsValidSlackChannel more strict
2022-08-11 17:48:23 +02: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
dingtalk.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
discord_test.go
discord.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
feishu_test.go
feishu.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
general_test.go
general.go fix(telegram): fix link bot to release tag (#19830) 2022-05-28 16:44:51 -04: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(telegram): fix link bot to release tag (#19830) 2022-05-28 16:44:51 -04:00
matrix.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
msteams_test.go
msteams.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
packagist_test.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
packagist.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
payloader.go
slack_test.go refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
slack.go refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
telegram_test.go fix(telegram): fix link bot to release tag (#19830) 2022-05-28 16:44:51 -04:00
telegram.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
webhook_test.go
webhook.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
wechatwork.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00