forgejo/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.go Use queue instead of memory queue in webhook send service (#19390) 2022-04-25 20:03:01 +02:00
deliver_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dingtalk.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dingtalk_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
discord.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
discord_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
feishu.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
feishu_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
general.go fix(telegram): fix link bot to release tag (#19830) 2022-05-28 16:44:51 -04:00
general_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -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.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
matrix_test.go fix(telegram): fix link bot to release tag (#19830) 2022-05-28 16:44:51 -04:00
msteams.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
msteams_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
packagist.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
packagist_test.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
payloader.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
slack.go refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
slack_test.go refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
telegram.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
telegram_test.go fix(telegram): fix link bot to release tag (#19830) 2022-05-28 16:44:51 -04:00
webhook.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
webhook_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
wechatwork.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00