45 Commits

Author SHA1 Message Date
屈轩
9a88e9afc9 fix(notify): notify receiver (#24288) 2026-02-09 20:42:35 +08:00
屈轩
48e5929ba7 fix(notify): support webhook sign (#24138) 2026-02-02 12:53:35 +08:00
Jian Qiu
2b890dff68 fix: notify receiver update precedure recode (#24099)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-20 00:16:15 +08:00
gouqi11
cc34cce115 fix(notify): clean notificationGroup after send (#19858)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-02 18:40:13 +08:00
gouqi11
14d10c121c fix(commom): setStatus with notify hook (#19405)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-01 20:44:40 +08:00
马鸿飞
0cd8ae2ed6 feat(notify): Allow direct notification sending 2023-10-24 15:21:00 +08:00
马鸿飞
7ff9c8bd7a fix(notify): add group_times for subscriber 2023-09-07 16:37:13 +08:00
马鸿飞
16a9b53621 fix(notify): add option to use template for webhook 2023-08-08 17:37:51 +08:00
马鸿飞
aaacb52164 fix(notify): addNotifyGroup 2023-08-08 11:36:37 +08:00
马鸿飞
0d5d19d2ef fix(notify): alert send 2023-07-26 17:46:47 +08:00
马鸿飞
5a08b8c38b feat(notify): add more config for webhook 2023-07-11 10:05:23 +08:00
马鸿飞
b01b44054e fix(notify): reset notifications 2023-05-23 11:38:54 +08:00
马鸿飞
d799aa1fd1 fix(notify): fix email verify empty error 2023-04-24 16:51:35 +08:00
mhf
696db9307a fix(notify): aliyunSmsdriver 2023-03-13 15:31:46 +08:00
mhf
69f89cdea0 fix(nofiy): mobileAndEmailBug 2023-03-08 15:48:37 +08:00
mhf
ab42fcaade fix(notify): bugFix 2023-02-28 19:35:15 +08:00
mhf
6e42f11024 fix notify 2023-02-24 16:11:24 +08:00
mhf
b60573ff77 fix(notify): 添加消息来源 2023-02-16 11:38:15 +08:00
mhf
48ecb6934d fix(notify): fix server/create bug 2023-01-14 16:22:33 +08:00
Jian Qiu
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 Qiu
598d0800dd fix: support huawei sms service (#14895)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-01 14:49:17 +08:00
Jian Qiu
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 Qiu
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