Commit Graph
27 Commits
Author SHA1 Message Date
mhf 48ecb6934d fix(notify): fix server/create bug 2023-01-14 16:22:33 +08:00
Jian QiuandQiu Jian 13d882d8d9 feature: webhook support notification of user update (#14912)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-04 05:04:11 +08:00
Jian QiuandQiu Jian 598d0800dd fix: support huawei sms service (#14895)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-01 14:49:17 +08:00
Jian QiuandQiu Jian 872feb5484 feature: verify user with sms code (#14858)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 15:39:18 +08:00
Qiu Jian be2c26ad99 feature: verify user with sms code 2022-08-28 12:28:24 +08:00
rainzm 021fc5647e fix(notify): real delete for email and mobile 2021-12-24 18:52:23 +08:00
Jian QiuandQiu Jian 1b5ec22599 fix: cleanup compile warnings (#12620)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:35 +08:00
rainzm 8d70077da4 fix(notify): repull subcontact correctly when creating or deleting config 2021-09-27 11:04:00 +08:00
rainzm edcd98e5fe fix(notify): optimization of print log
1. remomve unnecessary log
2. reduce the level of some logs, such as info -> debug
2021-08-03 17:06:55 +08:00
zhaoxiangchun 8fa4e577dd feat(cloudmon): add cloudmon component 2021-07-16 12:20:52 +08:00
rainzm 311d0efb80 feat(notify,region): improvement of news subscription 2021-06-24 10:30:01 +08:00
rainzm 1d1bb6c381 feat(notify): advanced notify config and robot
1. Notify config has now become a domain resource, so that each domain can have its own configuration about notify.
   The domains has no configuration will use system config.
2. Robot separates from config and becomes a shared project resource. Sending information to robot can
   choose which robot to send to.
2021-06-24 10:29:35 +08:00
rainzm b45edf2f18 feat: support EventNotify 2021-02-18 11:16:57 +08:00
rainzm 195e3c5c63 feat(notify): verification email style optimization 2021-02-02 16:09:27 +08:00
rainzm 7175e124e4 fix(notify): panic for err 2021-01-14 14:19:09 +08:00
rainzm 349ac011e7 fix(notify): set status after sending 2021-01-13 15:41:42 +08:00
rainzm 76e7aa4018 feat(notify): send notifications of different templates according to language 2021-01-11 19:41:23 +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