Commit Graph

1364 Commits

Author SHA1 Message Date
yubo b2baef0643
Auth with SSO (#387)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state

* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file

* add username to sms-code api

* disable captcha by default in rdb.yml
2020-11-10 13:23:37 +08:00
yubo 2d1a2fd187
M3db (#385)
* support openID2.0

* generate UUID if it's not set

* add m3db support

* add test shell

* update transfer.yml

* remove klog

* use remote m3 repo

* remove some file
2020-11-09 19:52:44 +08:00
Ulric Qin 6d02d8876a Merge branch 'master' of github.com:didi/nightingale 2020-11-07 08:18:52 +08:00
Ulric Qin 712d0051d9 code refactor 2020-11-07 08:18:33 +08:00
UlricQin e64a892275 add cleaner config 2020-11-06 17:25:14 +08:00
alick-liming 2e8a8966d7
rdb资源数量统计接口增加容器和交换机 (#383)
* rdb 资源cate分类统计接口

* 代码调节

* rdb:rabbitmq资源操作名称统一

* rdb控制台资源统计增加交换机,弹性云服务器

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-06 10:16:05 +08:00
alick-liming f9b3db4058
rdb:rabbitmq资源操作名称统一 (#382)
* rdb 资源cate分类统计接口

* 代码调节

* rdb:rabbitmq资源操作名称统一

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-05 19:25:31 +08:00
alick-liming 633f224be6
rdb资源cate分类统计接口 (#380)
* rdb 资源cate分类统计接口

* 代码调节

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-05 14:06:57 +08:00
DemoLiang 79501b46fe
[FIX] 修复告警策略配置不发送告警恢复的逻辑判断跟注释不相符的问题,当前告警策略定义的是0 发送告警恢复,1不发送告警恢复,而实际代码逻辑上现在判断的是0不发送告警恢复,修改为1 不发送告警恢复的判断 (#373) 2020-11-05 12:32:17 +08:00
yubo df55398100
add checkPassword to reset password by sms code (#378)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state

* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file

* add username to sms-code api
2020-11-05 12:20:02 +08:00
alick-liming 2bcb20d710
rdb:资源解除注册,统一成单个uuid来处理 (#376)
* im wechat

* im wechat

* im add wechat_robot dingtalk_robot

* metaq 资源解除注册改为单个解除方式

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-04 22:29:37 +08:00
UlricQin 79ae96f15d add some api 2020-11-04 21:47:55 +08:00
UlricQin ac6d269d90 code refactor 2020-11-03 12:18:17 +08:00
UlricQin a4026e8c25 code refactor 2020-11-03 12:17:17 +08:00
UlricQin b448dad860 Merge branch 'master' of https://github.com/didi/nightingale 2020-11-03 12:11:32 +08:00
yubo 17762d9daa
merge login & v1Login (#375)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state

* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file
2020-11-02 15:54:15 +08:00
UlricQin 205201668c check password more strict 2020-11-02 13:44:14 +08:00
UlricQin 522cfca0af login fail, check your username and password 2020-11-02 13:27:23 +08:00
yubo 9bef8ddee3
login with sso,captcha,sms-code (#374)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state
2020-11-02 12:47:41 +08:00
UlricQin 7999c1fbe5 render user json do not return uuid 2020-11-02 12:38:22 +08:00
dujiashu bec893d662
validate hosts unique (#371)
* support tt automation by job

* format

* import order

* use map to avoid repetition

Co-authored-by: dujiashu <dujiashu@didiglobal.com>
2020-11-01 11:07:17 +08:00
dujiashu 6f999f6a87
support tt automation by job (#370)
* support tt automation by job

* format

* import order

Co-authored-by: dujiashu <dujiashu@didiglobal.com>
2020-10-31 23:13:28 +08:00
710leo 10fef82225 modify node specification 2020-10-30 13:27:44 +08:00
710leo ebbcfa3157 upgrade 3.2.0 2020-10-29 18:15:08 +08:00
qinyening 313144bebf
agent支持metrics指标采集能力 (#368) 2020-10-29 16:54:48 +08:00
yubo c6b5a5b400
feature: support reset password by sms code (#365)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code
2020-10-29 07:03:57 +08:00
yubo 1fdcbd848c
Dev (#361)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code
2020-10-27 17:51:39 +08:00
UlricQin e63e741ad6 job api for tt 2020-10-27 09:57:58 +08:00
Ulric Qin 282aede691 upgrade 3.1.6 2020-10-25 20:20:10 +08:00
Ulric Qin e5b95921cf add some validator for hostFieldNew 2020-10-25 20:06:46 +08:00
Ulric Qin 8c6726800f host field management done 2020-10-25 20:00:08 +08:00
Ulric Qin 6987b3b4d4 add host fields 2020-10-25 19:33:34 +08:00
Ulric Qin 28a2196143 use ips when recycle and del hosts 2020-10-25 18:16:20 +08:00
yubo 5b9a03a261
add OAuth2.0 callback/authorize V2 for UI (#353)
* support openID2.0

* generate UUID if it's not set

* change OAuth2 callback method to API style
2020-10-23 15:22:06 +08:00
710leo 228ffcfbc9 Merge branch 'master' of https://github.com/didi/nightingale 2020-10-22 21:23:59 +08:00
710leo cc3b3575b6 sync from internal 2020-10-22 21:23:39 +08:00
Ulric Qin ecacc71596 pack script 2020-10-22 17:50:32 +08:00
Ulric Qin b2ad4b6995 upgrade 3.1.5 2020-10-22 17:49:15 +08:00
710leo 86929d8f69 fix monapi clean stra 2020-10-22 11:26:56 +08:00
710leo 39fa7e3e17 refactor /v1/rdb/node/:id/resources 2020-10-21 17:43:35 +08:00
Ulric Qin 70bc909565 code refactor 2020-10-19 22:29:09 +08:00
UlricQin 9ebe967e28 code refactor 2020-10-19 10:04:20 +08:00
Ulric Qin 93c35fd0ec upgrade 3.1.4 2020-10-18 10:17:39 +08:00
qinyening 2e80e82fc4
change hbs api & change perm point (#344)
* change hbs api & change perm point
2020-10-17 17:32:15 +08:00
UlricQin 2d19a1e86a code refactor 2020-10-15 20:29:06 +08:00
yubo 91700ab93e
[ADD] generate UUID if it's not set (#338)
* support openID2.0

* generate UUID if it's not set
2020-10-14 15:02:58 +08:00
yubo ecc736be8b
support openID2.0 (#337) 2020-10-14 13:30:53 +08:00
Ulric Qin 8feb2287cc code refactor 2020-10-13 13:14:38 +08:00
Ulric Qin e8d907156c upgrade 3.1.3 2020-10-13 13:09:02 +08:00
Ulric Qin 744980f119 cannot modify node-category to tenant 2020-10-13 09:35:34 +08:00