15 Commits
Author SHA1 Message Date
rainzm 755e00750a feat: support EventNotify 2021-02-18 11:45:15 +08:00
rainzm 304248ce18 feat(notify): verification email style optimization 2021-02-02 16:19:14 +08:00
rainzm 36853a6cf2 fix(notify): panic for err 2021-01-14 14:25:35 +08:00
rainzm 9a9c9acb8e fix(notify): set status after sending 2021-01-13 15:48:44 +08:00
rainzm ebc32e693d feat(notify): send notifications of different templates according to language 2021-01-11 19:43:18 +08:00
rainzm 54ed4b6194 fix(notify): avoid deadlock 2020-12-14 15:02:19 +08:00
rainzm 75998a132b fix(notify): repull subcontact after changing config 2020-12-10 10:15:19 +08:00
rainzm 3ba52355b8 feat(notify): permit admin sending notification via contact
In this way, you can easily send notification to non-existent receiver.
2020-11-30 17:45:48 +08:00
rainzm 2e094a310a feat(notify): allow empty receivers for robot or webhook contact type 2020-10-19 11:56:50 +08:00
rainzm 1517ed79f2 fix(notify): pull contact for workwx, dingtalk and feishu 2020-09-10 14:33:09 +08:00
rainzm e179191dd3 feat(notify): Support trigger-verify for feishu, dingtalk and workwx 2020-09-03 15:08:13 +08:00
rainzm 3e982ab79a feat(notify): Add VerifiedNote for SSubContact
VerifiedNote will be 'ok' if SSubContact verified successfully.
Otherwise, there will be there value for VerifiedNote:
1. no such mobile: mobile is not exist, change and try again.
2. incomplete config: tell admin to improve the configuration.
3. service exceptions: try again or connect to admin.
2020-09-03 15:08:13 +08:00
rainzm 8a80f96d62 refactor(notify): hide SSunContact webconsole
Every receiver has webconsole type contact that is equal with
receiverid.
Now, make webconsole invisible, and it does exist.
2020-09-03 15:08:13 +08:00
rainzm 9978f19542 fix(notify): use AfterSend for contact with succuessful sending 2020-09-03 15:08:13 +08:00
Rain Zheng 853153c739 Refactor for Notify (#7611)
* refactor(notify): ALL

* feat(climc): Notify v2

* feat: support notify for codegen.py

* delete deprecated code and Maintain SDK compatibility

* Adjust the template for mail validation to support captcha

* fix: The issue of notify refactoring

* add copyright for notifyv2 cli

* Adjust according to the advice of make check

* Remove utils package in notify

* fix import format

* remove redundant Template module

* fix validateCreate and validateUpdate of notifytemplate

* fix update issues of receivers

* fix: Add SetStageComplete in tasks
2020-08-25 17:19:02 +08:00