Commit Graph
1742 Commits
Author SHA1 Message Date
lvyangyang 8c29c53961 add:bucket ops const i18n 2020-11-16 15:28:37 +08:00
lvyangyang da4150e5ca qcloud bucket task 2020-11-16 12:06:32 +08:00
Qiu Jian 0beee87db3 feature: allow specify offset in name pattern 2020-11-05 16:48:43 +08:00
Qiu Jian 354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
yunion-ci-robot 128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
Qiu Jian 2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
Qiu Jian adbf513167 fix: missing authenticate action log for user web login 2020-10-19 11:53:26 +08:00
Qu Xuan 65582cab95 fix: hostname for instance 2020-10-16 17:12:17 +08:00
Zexi Li f0cc1d3d1a stringutils2: add RemoveUtf8Strings func 2020-10-15 19:33:18 +08:00
wanyaoqi dcdf45d184 add interface freeze virtual resource 2020-10-10 20:07:11 +08:00
Qiu Jian be4a76b253 fix: oidc response user's info 2020-09-30 11:54:57 +08:00
Yousong Zhou ca8fcb3364 logclient: i18n: en for const 2020-09-21 15:20:46 +08:00
Yousong Zhou 08ef1728d6 logclient: i18n: cn for const 2020-09-21 15:20:46 +08:00
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 QiuandQiu 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
wanyaoqi 7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +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 QiuandQiu 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
屈轩andQu 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 QiuandQiu 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 QiuandQiu 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 QiuandQiu 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 QiuandQiu 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
屈轩andQu 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