Commit Graph

838 Commits

Author SHA1 Message Date
Qiu Jian
c3355e2312 remove debug log 2019-12-24 20:32:42 +08:00
Qiu Jian
e75eae74a9 feature: 1. baremetal server reuse host ip 2. server name use expression 2019-12-24 20:32:41 +08:00
yunion-ci-robot
b74b94f5c9 Merge pull request #4280 from swordqiu/automated-cherry-pick-of-#4257-upstream-release-2.13
Automated cherry pick of #4257: feature: service config update support
2019-12-24 10:25:13 +08:00
Qu Xuan
e089287970 fix: host支持标签 2019-12-23 19:55:46 +08:00
TangBin
41206abdd1 add services query permission 2019-12-23 19:03:09 +08:00
Qiu Jian
40a922ac58 feature: service config update support 2019-12-23 19:02:37 +08:00
TangBin
94dc3ca2fb add services query permission 2019-12-23 18:14:22 +08:00
Qu Xuan
692b1ce3c3 fix: globalvpc属于系统资源 2019-12-19 11:43:33 +08:00
Rain
b19fcf4487 fix(notify): Fix the bugs of user cache and some api's params 2019-12-17 17:21:00 +08:00
Qu Xuan
68d474b88d fix: 标签过滤和框架保持一致 2019-12-17 15:56:44 +08:00
Qiu Jian
cfaf7cf36e feature: allow delete none-default quota fix: cannot set a quota to zero 2019-12-17 13:52:17 +08:00
Qiu Jian
ea2e57cbfd fix: server change config failed due to quota recode 2019-12-16 21:05:11 +08:00
Rain
fc95701f80 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-16 11:07:40 +08:00
yunion-ci-robot
5037c33a80 Merge pull request #4158 from ioito/automated-cherry-pick-of-#4157-upstream-release-2.13
Automated cherry pick of #4157: fix: 标签增强
2019-12-14 12:26:00 +08:00
Jian Qiu
92a0b8878a fix: prevent quota usage from being negative (#4163) 2019-12-14 12:11:38 +08:00
Qu Xuan
aa6e968413 fix: filter by multi value 2019-12-13 20:03:47 +08:00
Zexi Li
defe9225c7 region: fix schedule input project and domain missing 2019-12-13 16:02:41 +08:00
Qiu Jian
07569221dd fix: init quota with negative value and negative quota means unlimited 2019-12-13 13:31:53 +08:00
Qu Xuan
2c7a1a2b8a fix: 避免插入时出现duplicate primary key error 2019-12-13 10:45:40 +08:00
Qiu Jian
284a7f3b70 mergeInputOutputJson for ValidateCreateData and ValidateUpdateData 2019-12-12 11:55:16 +08:00
Qiu Jian
08471d9330 clean usages when resource deleted 2019-12-12 11:53:22 +08:00
Qiu Jian
6c515fc4f2 bufix 20191209 2019-12-12 11:53:22 +08:00
Qiu Jian
f7acf5d7f5 quota recode update 2 2019-12-12 11:53:21 +08:00
Qiu Jian
844c1064cc quota recode 2019-12-12 11:53:20 +08:00
郑雨
c8269e35ad fix: Fix the unexpected json field coverage after GetCustomizeColumns
一般来说一个资源的detail版本的输出会放在 <ResoureName>Details
这样的结构体中,并且这个结构体包含资源本身。不过一般在 details
的处理函数中(比如GetCustomizeColumns)资源本身的结构体都是默认值,
而jsonutils的unmarshal函数会把默认值(零值)的int类型(也可能会有其他类型)
unmarshal到jsonutils.JSONDict中(string类型就不会有这种情况)。
这会导致返回的extraDict会覆盖掉原来的Dict中的一些字段,这种覆盖并不是所期望的。
所以现在暂时改为用后者来覆盖前者,前者是最终输出的全集。
2019-12-10 16:03:48 +08:00
郑雨
c2ca54a1ae feat(region): Support for resuming vm suspended in vmware 2019-12-06 16:38:31 +08:00
Yousong Zhou
eff6c42a67 Merge pull request #4031 from ioito/automated-cherry-pick-of-#3988-upstream-release-2.13
Automated cherry pick of #3988: fix: 结构化network create list 参数
2019-12-06 12:13:39 +08:00
屈轩
e3b0dcce79 fix: 标签添加排序,不统计回收站的资源标签 (#3993) 2019-12-05 16:48:51 +08:00
Qu Xuan
76d3f4ee69 fix: 结构化network create list 参数 2019-12-05 15:22:27 +08:00
Zexi Li
7fc73a6a74 add list input and rewrite codegen use python 2019-11-29 10:18:58 +08:00
Qu Xuan
e068e895b1 hotfix: 添加标签资源列表接口 2019-11-28 18:45:19 +08:00
yunion-ci-robot
5c93c55ebe Merge pull request #3853 from zhasm/automated-cherry-pick-of-#3851-upstream-release-2.13
Automated cherry pick of #3851: 新增 devtool cron manager,用来管理Ansibleserver 的定时任务
2019-11-28 10:14:28 +08:00
Qu Xuan
097137d573 fix: 抽离disable delete,避免删除账号失败 2019-11-27 20:32:02 +08:00
Zhang Dongliang
17b4f46f4c 新增 devtool cron manager,用来管理Ansibleserver 的定时任务 2019-11-27 17:13:53 +08:00
Zexi Li
bcdac6216e fix caller input nil panic 2019-11-27 15:08:09 +08:00
Zexi Li
7f20fe4c06 fix caller parameters missing 2019-11-27 14:08:37 +08:00
Qu Xuan
daf8f96839 fix: stack overflow 2019-11-27 13:44:59 +08:00
Zexi Li
cfa6fc4cfe support generate 2019-11-27 10:20:51 +08:00
Qu Xuan
7150b3f46c fix: rds创建账号所属项目跟随rds实例 2019-11-26 20:38:43 +08:00
Qiu Jian
9457994332 fix: keystone project resource count not set set to zero 2019-11-25 22:33:15 +08:00
Qiu Jian
27d205e00b feature: add network-status methods to change status of on-premise network 2019-11-20 19:04:01 +08:00
Yousong Zhou
f11ff9a40d treewide: 避免使用fmt.Print记录日志 2019-11-19 11:24:31 +00:00
TangBin
4939849cf9 add elastic cache sku default policy 2019-11-18 17:32:51 +08:00
Qiu Jian
42dd5a8de6 feature: cloud account share_mode support 2019-11-15 15:11:15 +08:00
Qiu Jian
2e614d2cea fix: send full reason body for *_fail_reason 2019-11-14 11:35:45 +08:00
yunion-ci-robot
0f54f14fb0 Merge pull request #3599 from ioito/automated-cherry-pick-of-#3598-upstream-release-2.13
Automated cherry pick of #3598: fix: 支持创建时指定多个安全组
2019-11-13 01:31:18 +08:00
yunion-ci-robot
ec5970301f Merge pull request #3616 from yousong/automated-cherry-pick-of-#3523-upstream-release-2.13
Automated cherry pick of #3523: lockman: log bug with Errorf
2019-11-13 00:51:19 +08:00
Yousong Zhou
d8bbf372c5 lockman: test multiple lockman 2019-11-12 13:25:14 +00:00
Yousong Zhou
99e2d93373 cloudcommon: options: new options for etcd lockman 2019-11-12 13:25:14 +00:00
Yousong Zhou
71feb3d0e3 lockman: distributed lockman with etcd 2019-11-12 13:25:13 +00:00