summaryrefslogtreecommitdiffstats
path: root/services/webhook/dingtalk_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Move webhook into models/webhook/ (#17579)Lunny Xiao2021-11-101-2/+2
|
* Open the DingTalk link in browser (#17084)wxiaoguang2021-09-181-12/+23
| | | | | | | | | https://developers.dingtalk.com/document/app/message-link-description To open the link in browser, we should use this URL: `"dingtalk://dingtalkclient/page/link?pc_slide=false&url=" + url.QueryEscape(singleURL)` Otherwise the page is displayed inside DingTalk client, it makes users very difficult to visit non-public URLs in DingTalk webhook messages.
* Add tests for all webhooks (#16214)KN4CK3R2021-06-201-12/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Added tests for MS Teams. * Added tests for Dingtalk. * Added tests for Telegram. * Added tests for Feishu. * Added tests for Discord. * Added tests for closed issue and pullrequest comment. * Added tests for Matrix. * Trim all spaces. * Added tests for Slack. * Added JSONPayload tests. * Added general tests. * Replaced duplicated code. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Move webhook type from int to string (#13664)Lunny Xiao2020-12-081-0/+31
* Move webhook type from int to string * rename webhook_services * finish refactor * Fix merge * Ignore unnecessary ci Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>