Yousong Zhou
31cea0a736
logclient: convert const val to use latin chars
2020-09-21 15:20:46 +08:00
Yousong Zhou
7f90da555e
logclient: move ws list to separate file
2020-09-21 15:20:45 +08:00
Yousong Zhou
ee7b9e2877
logclient: separate lines
2020-09-21 15:20:45 +08:00
Yousong Zhou
d21c262c14
httputils: preserve format val types
2020-09-21 10:12:57 +08:00
yunion-ci-robot
e805d0be45
Merge pull request #7975 from swordqiu/hotfix/qj-dell-idrac-jnlp-revisit
...
fix: get jnlp xml from dell idrac6,7,9
2020-09-21 10:12:18 +08:00
Qiu Jian
b5f01171dd
fix: reset user password without check
2020-09-19 00:48:53 +08:00
Qiu Jian
eea88ffbe6
fix: get jnlp xml from dell idrac6,7,9
2020-09-18 23:45:24 +08:00
Qiu Jian
5a91ae8863
fix: omit empty fail reason
2020-09-16 01:53:29 +08:00
wanyaoqi
945fac0a4b
fix host error output
2020-09-07 21:06:59 +08:00
Qiu Jian
f6eb9fc195
fix: compatiblity fixes with lenovo RD620 and huawei 2288
2020-09-03 11:55:22 +08:00
Qu Xuan
f251559c39
feature: add dns interface
2020-09-02 16:30:05 +08:00
Jian Qiu and Qiu Jian
d0842c62cc
fix: http error limit request body length ( #7699 )
...
fix: http error limit request body length
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-09-01 10:21:39 +08:00
wanyaoqi
f255e8fcd0
fix mount fetcher fs ( #7656 )
2020-08-28 12:06:33 +08:00
zhaoxiangchun
dd8a07f364
metric describe 接口 ( #7381 )
...
* metric describe 接口
1.初始化influxdb measurement和field到本地
2.更新measurement和field的display_name,以及unit等信息
description api modify:
3.增加初始化json文件
4.统一查询的list接口信息增加description信息,并为description子集
5.增加measurement的权限的过滤
* 统一监控功能:
1.模版调整:
1)修改email template
2)格式化消息结构中的报警value,增加单位,同时可以转换为合适的单位
3)简化消息体中的tag信息:name,ip,brand,value
2.增加报警历史记录
1)记录每条报警规则的,报警信息
2020-08-26 13:44:34 +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
Yousong Zhou
c2bca8ab39
Feature/yousong text ( #7487 )
...
* notify: log with context info
* region: guests: log with context info
* region: hosts: log with context info
* region: misc: remove redundant log
* region: skus: use NewInternalServerError instead of NewGeneralError
* appsrv: dispatcher: preserve text id
* appsrv: dispatcher: remove commented-out code
* cloudcommon: db_dispatcher: note errors that won't be translated
* cloudcommon: db: rbac: preserve text id
* cloudcommon: caller: preserve text id
* treewide: fix fmt string
* region: guest_actions: preserve text id
* region: guest_actions: fix fmt string
* region: usages: fix fmt string
* mcclient: hosts: remove redundant return value
* cloudcommon: fetch: preserve text id
* region: guest_template: preserve text id
* cloudcommon: db: db_dispatcher: preserve text id
* region: guest_actions: preserve text id
* httperrors: add funcs for wrap lang tag into context
* vendor: golang.org/x/text
* httperrors: error with context
* httperrors: HTTPError
* treewide: fix typo
* treewide: use en in source code
* locales: initial version
2020-08-25 15:26:31 +08:00
Zexi Li
479d7e2be1
Merge pull request #7615 from swordqiu/hotfix/qj-get-default-http-client-always-new-instance
...
fix: GetDefaultClient always return a new http client instance
2020-08-24 22:17:41 +08:00
wanyaoqi
a4b27a3cf3
feature:host image fetcher fs ( #7606 )
...
* temp
* fix host image, add fetcherfs
* make mod
* add make rpm for fetcherfs
remove temp code
2020-08-24 22:09:33 +08:00
Qiu Jian
3762df8087
fix: GetDefaultClient always return a new http client instance
2020-08-22 20:07:09 +08:00
Jian Qiu and Qiu Jian
7bab39daf9
fix: 1. remove Azure OIDC extra user scope 2. yunionauth cookie missing ( #7599 )
...
sometimes
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-08-21 10:53:17 +08:00
Qiu Jian
92f05be309
feature: cloudid saml support phase1 -- framework and api
2020-08-18 01:21:56 +08:00
屈轩 and Qu Xuan
d5524d1ea1
fix: 支持自定义权限 ( #7565 )
...
Co-authored-by: Qu Xuan <quxuan@yunionyun.com >
2020-08-17 10:59:53 +08:00
Yousong Zhou
e01f0ce2a2
Bugfix/yousong hostman routes ( #7563 )
...
* netutils2: SNetInterface: add GetGatewayRoutes
* hostman: use GetGatewayRoutes
* iproute2: route: add and use AddNetlinkRoute
* iproute2: route: List4 use RouteSpec
* netutils2: SNetInterface: rename GetRoutes to getRoutes
* netutils2: SNetInterface: add GetRouteSpecs
* netutils2: SNetInterface: add GetGatewayRouteSpecs
* hostman: hostbridge: SetupRoutes with iproute2.RouteSpec
* hostman: hostinfo: move also other routes
* netutils2: SNetInterface: remove now unused methods
* iproute2: route: RouteGetByDst: use RouteSpec as return value
2020-08-14 20:28:47 +08:00
Jian Qiu and Qiu Jian
604b6b7fff
feature: OpenID Connect provider support ( #7490 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-08-06 12:10:15 +08:00
Jian Qiu and Qiu Jian
c63230f377
fix: do not search response key if empty json returned ( #7495 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-08-06 11:51:16 +08:00
Jian Qiu and Qiu Jian
0e775e68ec
feature: OpenID Connect provider support ( #7446 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-08-04 13:09:05 +08:00
Qu Xuan
598e8a9248
fix: avoid parse json err nil pointer
2020-07-30 11:30:38 +08:00
Jian Qiu and Qiu Jian
ba292dfedc
fix: use json to store task error message ( #7351 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-07-30 10:34:32 +08:00
Zexi Li
785c698f7f
Merge pull request #7319 from ioito/hotfix/qx-account-update
...
fix: 单独添加更新账单文件日志
2020-07-27 15:52:42 +08:00
屈轩 and Qu Xuan
a67f3e5481
fix: 避免status_code>=400并且resp为空时err为nil ( #7264 )
...
Co-authored-by: Qu Xuan <quxuan@yunionyun.com >
2020-07-27 04:42:26 +08:00
Qu Xuan
c6df1944c8
fix: 单独添加更新账单文件日志
2020-07-24 14:29:05 +08:00
wanyaoqi
cd5d317632
fix snapshot clean pending usage
2020-07-23 11:33:26 +08:00
Qiu Jian
0967843896
feature: unified sso login framework
2020-07-21 16:13:18 +08:00
wanyaoqi
7f8be7d4b1
fix error output
2020-07-19 12:30:54 +08:00
Zexi Li
fc7bb7327b
Merge pull request #7158 from yousong/bugfix/yousong-iproute2-idempo
...
iproute2: address: make Exact idempotent
2020-07-15 10:34:23 +08:00
Yousong Zhou
05b72a9d02
iproute2: address: make Exact idempotent
...
Idempotence against address not available for Exact is not a bad idea if
we look at the name of that func
This should accomodate the race condition where keepalived will remove
vips should the primary address used for vrrp comms is removed, causing
later addr del to fail with "cannot assign requested address"
2020-07-14 16:40:15 +08:00
Zexi Li
b203286ce9
Merge pull request #7151 from wanyaoqi/bugfix/wyq/disable-procutils-print-error-info
...
bugfix: disable procutils print error info
2020-07-14 14:54:21 +08:00
wanyaoqi
66064a4c47
disable procutils print error info
2020-07-14 11:35:01 +08:00
rainzm
014540e4df
fix guest template health check
2020-07-13 21:27:51 +08:00
Zexi Li
1a68bde939
Merge pull request #7071 from swordqiu/hotfix/qj-orderedstring-improvements
...
fix: orderedstring add performance improvements
2020-07-07 14:47:49 +08:00
Qu Xuan
5e50740b3f
fix: json request 支持自定义匹配err
2020-07-07 10:16:05 +08:00
Qiu Jian
f0c3b96274
fix: orderedstring add performance improvements
2020-07-07 01:30:36 +08:00
Qiu Jian
7ba3945d86
feature: apigateway store auth state in cookie instead of sqlite
2020-07-03 16:15:23 +08:00
Qiu Jian
182c96a160
update vendor
2020-07-03 16:15:23 +08:00
Qiu Jian
2183490a53
feature: keystone add support for OpenID Connection idp
2020-07-03 16:15:23 +08:00
wanyaoqi
1d59ceb5d9
fix deploy backup server order
2020-06-30 22:00:34 +08:00
Qiu Jian
889a35bc7a
feature: 1. idp as domain resource 2. keystone support SAML IDP
2020-06-24 17:41:33 +08:00
Qiu Jian
c302622415
add known sp metadata xml
2020-06-22 20:09:36 +08:00
Qiu Jian
3b32f0a4d9
sp support
2020-06-22 09:52:58 +08:00
Qiu Jian
3b7a1e9467
feature: support SAML idp
2020-06-22 09:52:58 +08:00