rainzm
2fd40396c4
feat(keystone): more specific error return during authentication
...
add error class UserNotFound, UserLocked, UserDisabled and WrongPassword
2021-01-28 10:08:35 +08:00
Qu Xuan
acedb4a4f4
fix(region): restore password validate condition
2020-12-08 17:45:42 +08:00
Qu Xuan
35544a7c2f
fix(region): validate invalid character for password
2020-12-07 10:07:58 +08:00
Qu Xuan
c6a474e036
fix: support azure policy
2020-04-11 15:43:06 +08:00
Yousong Zhou
a6b8477785
httperrors: fix passing "params" argument
2020-03-23 16:40:31 +08:00
Qiu Jian
afbafb1e29
feature: metric data collector for aliyun&huawei
2019-11-27 03:14:14 +08:00
Qiu Jian
53c0d3b29f
fix: recode error handling to make conform with error handling standard
2019-11-11 10:55:01 +08:00
Yousong Zhou
1416a1fe98
httperrors: 支持从msgTmpl转换为带%s的msgFmt
2019-06-28 15:09:13 +00:00
Jian Qiu
1d7fd20df4
misc bugfix ( #1296 )
2019-06-19 02:45:52 +08:00
Qiu Jian
004d9b6f95
update copyright headers of all source
2019-03-29 14:47:48 +08:00
屈轩
58ee33c3f0
修正一些错误信息描述
2019-03-07 16:48:15 +08:00
Yousong Zhou
191dd8259a
httperrors: 增加NewResourceNotFoundError2(keyword, id)
2018-11-28 07:26:09 +00:00
TangBin
6dc3d879c7
add test cases
2018-11-21 11:32:36 +08:00
TangBin
26cd847262
add tranlation
2018-11-20 15:27:17 +08:00
邱剑
56dad60718
Merge pull request #252 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/baremetal-control to release/2.3.0
...
* commit '6d21c7e0d2501a385438c01522ad98a6709b19b7':
baremetal ops some bugfix make dep
2018-10-24 21:26:30 +08:00
Qiu Jian
3ac638239b
Merge branch 'release/2.1.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-resolve-conflict-20180824-2.2.0
...
Conflicts:
pkg/httperrors/httperrors.go
2018-10-24 12:07:23 +08:00
Qiu Jian
350f4e4db9
修正:保护系统默认创建的default资源,不允许删除
2018-10-24 12:00:53 +08:00
wanyaoqi
6d21c7e0d2
baremetal ops
...
some bugfix
make dep
2018-10-23 21:01:00 +08:00
Qiu Jian
0dbc93725d
修正:利用context.Timeout,appsrv支持processTimeout,避免yunionapi由于后端卡住导致yunionapi卡住
2018-10-20 22:32:43 +08:00
Yousong Zhou
935d5a85b8
httperrors: fix formating error messages
...
Fixes 65880ff8 ("mcclient error")
Before and after
JSONClientError: certificate 55858afc-de3f-4d14-8e09-3de7cd9b8e2c is still referred to by 1 loadbalancerlisteners%!(EXTRA []interface {}=[])
JSONClientError: certificate 55858afc-de3f-4d14-8e09-3de7cd9b8e2c is still referred to by 1 loadbalancerlisteners
2018-09-20 02:14:01 +00:00
TangBin
65880ff857
mcclient error
2018-09-18 14:50:45 +08:00
Qiu Jian
8c2250517f
修正:1. 主机创建/rebuild root密码设置问题 2. climc 密码设置问题 3.
...
billing_type字段为空导致创建主机失败问题
2018-09-15 00:31:58 +08:00
Qiu Jian
f4f2d8fb97
浮动IP支持
2018-09-04 23:04:29 +08:00
TangBin
57c1766568
errors add variable params
2018-08-23 18:15:06 +08:00
TangBin
a85f3d7176
错误返回新增data字段
2018-08-23 16:31:23 +08:00
Zexi Li
090a9c5e86
Merge branch 'release/2.0.0' of ssh://git.yunion.io/~lizexi/onecloud into release/2.1.0
2018-08-11 15:11:24 +08:00
Zexi Li
22411ffb53
path move: github.com/yunionio -> yunion.io/x
2018-08-11 14:28:18 +08:00
屈轩
9d0608378e
add disk-op code
2018-08-02 14:52:24 +08:00
Zexi Li
b5275a0c29
- mv mcclient to pkg/mcclient
...
- vendor update
2018-08-01 14:13:23 +08:00