Commit Graph
132 Commits
Author SHA1 Message Date
rainzm 6b1f63efc9 fix(notify): be compatible with robots and webhooks 2021-03-19 11:02:32 +08:00
rainzm c3b4cbef59 fix(notify): enable filter of contact type 'email' and 'mobile' 2021-03-06 01:06:17 +08:00
Qiu Jian c68c3f17a2 fix(keystone): ensure comparing id with non-utf8 string 2021-02-25 02:28:50 +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 3719b8b7f1 feat(notify): add subscription in notify 2021-02-18 11:14:58 +08:00
rainzm f352cf4e31 feat(cloudcommon): add rolecache
rolecache 在原有cache的基础上,使用了 watch
的功能,所以数据的过期时间可以调的高一些,这里使用
roleCacheExpireHours 进行控制,默认设置为24小时。
2021-02-18 11:14:58 +08:00
rainzm 195e3c5c63 feat(notify): verification email style optimization 2021-02-02 16:09:27 +08:00
rainzm 95de795c8b fix(notify): be compatible with member's permission changes
every user can create, modify and delete their own receiver info
2021-01-29 20:09:41 +08:00
Zexi Li dffeb37260 Merge pull request #10008 from rainzm/notify/area_code
feat(notify): support international mobile
2021-01-28 17:24:50 +08:00
Zexi Li ed33cd4464 Merge pull request #9944 from rainzm/notify/index
fix(notify): add index fro receiver_notification
2021-01-27 09:05:34 +08:00
rainzm 019e70f602 feat(notify): support international mobile 2021-01-22 20:01:43 +08:00
Zexi Li 960cf2a8b0 Merge pull request #9981 from rainzm/notify/webconsole_lang
fix(notify): send websocket messages according to language preference
2021-01-21 21:32:55 +08:00
rainzm 09337d9231 fix(notify): send websocket messages according to language preference 2021-01-21 19:42:39 +08:00
rainzm 5b79ad3156 fix(notify): choose template in NotifyFilter 2021-01-21 18:54:03 +08:00
rainzm 26192eac3b fix(notify): add index fro receiver_notification 2021-01-19 14:32:53 +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 9db54d1dd1 fix(notify): remote 'lang' filter when contact type is 'mobile' 2021-01-17 19:36:43 +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 f6a2bbe9b4 feat(notify): mandatory update of VERIFY and USER_LOGIN_EXCEPTION templates 2021-01-14 17:07:19 +08:00
rainzm beb6ad8601 feat(notify): change default verify expire interval 5m => 2m 2021-01-14 14:22:23 +08:00
rainzm 89d604a26c fix(notify): update receiver's lang when update event occurs 2021-01-14 14:21:28 +08:00
rainzm 7175e124e4 fix(notify): panic for err 2021-01-14 14:19:09 +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
Zexi Li 4370db008e Merge pull request #9862 from rainzm/notify/bigfix
fix(notify): set status after sending
2021-01-13 16:10:33 +08:00
rainzm 349ac011e7 fix(notify): set status after sending 2021-01-13 15:41:42 +08:00
rainzm 479e1e2f33 fix(notify): set ModelManager in Receiver() 2021-01-13 09:52: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 d12185d43a fix(notify): loose phone number rules in updating receiver 2021-01-09 11:29:38 +08:00
rainzm 64e79a934a fix(notify): loose mobile phone number matching rules 2021-01-08 11:51:57 +08:00
rainzm cfae818d04 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-28 16:25:52 +08:00
rainzm 4f386fea1a fix(notify): fit correctly when send notification via contact 2020-12-23 17:46:48 +08:00
rainzm 54ed4b6194 fix(notify): avoid deadlock 2020-12-14 15:02:19 +08:00
Zexi Li 3f194b4ccf Merge pull request #9325 from rainzm/notify/config_change
Try to repull contacts when changing notify config
2020-12-10 17:22:06 +08:00
rainzm 75998a132b fix(notify): repull subcontact after changing config 2020-12-10 10:15:19 +08:00
rainzm 5bc847f052 fix(notify): check for changes before updating config 2020-12-10 10:11:22 +08:00
rainzm aabb200585 refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:09:41 +08:00
rainzm 6ed0b5e9fa feat(notify): add intellij-get for receiver 2020-12-09 16:45:23 +08:00
rainzm 8aeda8f841 feat(notify): add webconsole in enabled contact types 2020-12-07 19:10:30 +08:00
Zexi Li 5d63c907cf Merge pull request #9104 from rainzm/notify/second_try
fix(notify): return the result of the second attempt to execute the rpc call
2020-12-01 21:03:11 +08:00
rainzm 4135b3729b fix(notify): return the result of the second attempt to execute the rpc call 2020-12-01 14:35:04 +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 a4dc42e69a feat(notify): enable watching user in keystone 2020-11-17 16:34:08 +08:00
rainzm 7ed99506a5 fix(notify): be compatible with keystone's UsersV3.GetById
Fill UsersV3.GetById with user's name, it will return user's info.
2020-11-17 16:15:06 +08:00
rainzm fbc951330c fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType 2020-10-20 20:29:21 +08:00
rainzm 2e094a310a feat(notify): allow empty receivers for robot or webhook contact type 2020-10-19 11:56:50 +08:00