Commit Graph

53 Commits

Author SHA1 Message Date
马鸿飞
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
马鸿飞
455e367db5 fix(notify): drop event notification default receiver 2023-07-28 10:20:41 +08:00
马鸿飞
0d5d19d2ef fix(notify): alert send 2023-07-26 17:46:47 +08:00
马鸿飞
1b31a815b2 fix(notify): remove topic_tbl.advance_days 2023-06-19 17:09:08 +08:00
马鸿飞
b01b44054e fix(notify): reset notifications 2023-05-23 11:38:54 +08:00
Jian Qiu
23a907319a fix: policy tag filters not effect for shared resources (#17004)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-11 11:00:07 +08:00
mhf
69f89cdea0 fix(nofiy): mobileAndEmailBug 2023-03-08 15:48:37 +08:00
mhf
682e962d28 fix(notify): alert notification 2023-03-06 10:27:52 +08:00
mhf
6e42f11024 fix notify 2023-02-24 16:11:24 +08:00
gouqi11
3db8a61d16 fix(notify): add server_panic topic (#15826) 2023-01-18 23:34:18 +08:00
mhf
48ecb6934d fix(notify): fix server/create bug 2023-01-14 16:22:33 +08:00
Jian Qiu
9654b2c2c4 fix: simplify and accelerate query of notification (#15734)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-08 09:29:38 +08:00
Jian Qiu
21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
Jian Qiu
df373cdaf6 feature: api for sending emails with attachments (#15201)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-17 14:30:03 +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
rainzm
c3d1caa1e6 feat(notify): add topic_type in notification details 2022-04-13 15:58:12 +08:00
rainzm
68bb344201 feat(notify): filter notification by topic_type
之前的模型,消息和Event是一一对应的,一个Event可以和多个Topic对应,
为了支持通过Topic Type过滤消息,现在Event和Topic是一一对应的。
2022-04-12 13:52:55 +08:00
rainzm
75aeacef8e fix(notify): enable websocket notifications defaultly for event notify 2022-04-02 18:50:21 +08:00
Qiu Jian
1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
rainzm
a71d30cfa6 fix: close it after using sql.Rows 2021-11-25 17:39:50 +08:00
rainzm
2a3dccfe15 feat(notify): add WebconsoleDisable for topic 2021-10-29 19:33:15 +08:00
rainzm
635423218e fix(notify): be compatible with Chinese when generating names 2021-10-28 17:06:07 +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
Qu Xuan
fa5d5a6eb9 fix(region): update swagger api 2021-07-27 11:46:31 +08:00
Qu Xuan
20b151fbc2 fix(region): remove debug info 2021-07-13 17:25:58 +08:00
rainzm
311d0efb80 feat(notify,region): improvement of news subscription 2021-06-24 10:30:01 +08:00
rainzm
04d930ab2b feat(notify): topic and subscriber at the domain level 2021-06-24 10:29:35 +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
ioito
f9f0c8f3cb fix: 优化同步,避免长时间加锁 2021-04-23 18:55:02 +08:00
rainzm
6b1f63efc9 fix(notify): be compatible with robots and webhooks 2021-03-19 11:02:32 +08:00
rainzm
c7b8d88d75 feat(notify): be compatible with mobile in event notify 2021-02-18 11:21:25 +08:00
rainzm
b45edf2f18 feat: support EventNotify 2021-02-18 11:16:57 +08:00
rainzm
09337d9231 fix(notify): send websocket messages according to language preference 2021-01-21 19:42:39 +08:00
rainzm
36bae206ac feat(notify): clean data for receiver_notifications 2021-01-18 19:42:47 +08:00
rainzm
a23cd05762 fix(notify): add a time limit for resending notifications 2021-01-18 11:09:44 +08:00
rainzm
4ef01d4329 feat(notify): delete the notification 1 month ago and remove the data migration 2021-01-18 11:07:11 +08:00
rainzm
052b017cf8 feat(notify): show only users under the domain in the recipient details of the message 2021-01-14 18:15:10 +08:00
rainzm
4269a482b8 fix(notify): be compatible with webconsole type hack 2021-01-14 18:14:22 +08:00
rainzm
51f0e6f10a feat(notify): add params for create notification
1. tag, usually used to filter
2. metadata
3. ignore_nonexistent_receiver
2021-01-13 19:36:49 +08:00
rainzm
76e7aa4018 feat(notify): send notifications of different templates according to language 2021-01-11 19:41:23 +08:00
rainzm
07114b53d9 fix(notify): avoid duplication of notification names 2021-01-09 18:42:54 +08:00
rainzm
4f386fea1a fix(notify): fit correctly when send notification via contact 2020-12-23 17:46:48 +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
0879278714 fix(notify): modify name of notification to avoid duplication 2020-09-22 20:17:39 +08:00
rainzm
0a9a73587e feat(notify): Allow use topic to filter notification 2020-09-03 21:15:38 +08:00
rainzm
9af0fe1fe9 fix(notify): Set default priority 'normal' when creating notification 2020-09-03 15:08:13 +08:00