Commit Graph

9 Commits

Author SHA1 Message Date
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
rainzm
b45edf2f18 feat: support EventNotify 2021-02-18 11:16:57 +08:00
rainzm
36bae206ac feat(notify): clean data for receiver_notifications 2021-01-18 19:42:47 +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
Rain
2222c7779c feat(notify): Available uname in api & Unified template management
1. Uname is availbale now in api via adding "uname=true" in query.
So we can use uname in climc which is much more visual and use uid in
web client which avoid time-consuming remote calls that may occur.

2. Previously, the template for the message was managed by the
individual sending components. Now, these templats was managed uniformly
by Notify Service so that we can easily add and remove.

3. Now, failure to send a validation message will trigger a notification
to the user via websocket.
2019-12-14 16:49:26 +08:00
Rain
dc68d23ff6 support Secondary authority management for contact and notification
rpc=>grpc, go=>workerMan

pull dingtalk auto

grpc
2019-09-24 15:33:53 +08:00
Qiu Jian
a177f8c2af fix: use policy match weight to override less specific policy 2019-08-23 21:14:47 +08:00
Rain
0a75f97d68 notify module in Go finished. 2019-08-16 18:54:49 +08:00