Qu Xuan
685b27c020
fix: 忽略无权限的资源标签
2020-02-10 16:43:43 +08:00
Qu Xuan
366cbd4e36
统一 details -> isList
2020-02-07 17:54:48 +08:00
Qiu Jian
91711a1321
feature: fix customized API documents for authenticate and quota
2020-02-06 01:45:15 +08:00
Qu Xuan
76d974f6d8
feature: api -> response struct
2020-02-03 10:22:44 +08:00
Qiu Jian
ee9573c786
fix: increment paging list order by multiple columns
2020-01-19 17:03:42 +08:00
Yousong Zhou
3cd8049222
cloudcommon: db: allow sysadmin to list deleted resources
...
The query arg name cannot be "deleted" to avoid collide with resource
field name.
2020-01-17 17:46:08 +08:00
Yousong Zhou
770a6d194d
cloudcommon: extend interface for fetching metadata
2020-01-17 17:46:07 +08:00
Yousong Zhou
e9e8cd1519
models: guard against nil memory access
2020-01-17 17:41:06 +08:00
Qiu Jian
45849355e6
fix: list documentation improvements
2020-01-14 04:17:15 +08:00
Qiu Jian
750cd9d4dc
fix: ServerCreateInput add deprecated sku field for backward
...
compatibility
2020-01-13 13:19:48 +08:00
Qiu Jian
29c9d05b5f
refine auto-gen swagger documentation
2020-01-13 13:19:47 +08:00
Qiu Jian
14c1ddaccb
feature: cloudprovider capability filter and listinput recode
2020-01-13 13:19:47 +08:00
yunion-ci-robot
0eec98d1f8
Merge pull request #4712 from tb365/feature/tb-support-update-skus-manually
...
cloud account support manually sync skus
2020-01-10 20:05:58 +08:00
TangBin
5fd512cf11
cloud account support manually sync skus
2020-01-09 11:07:33 +08:00
Qiu Jian
3f148f78e7
fix: misc quota bugs
...
1. snapshot pending usage not cleaned after created
2. server-attach-network error
3. loadbalancer fail to set cloudregion_id
2020-01-08 18:44:07 +08:00
Qu Xuan
1d6cf71cfc
fix: add api docs
2020-01-08 11:54:57 +08:00
Qu Xuan
1514c4ace7
fix: next marker format
2020-01-07 17:55:47 +08:00
Qu Xuan
2b6c95d690
fix: 避免仅删除value时,行为演变为删除标签
2020-01-04 22:14:15 +08:00
Qiu Jian
307689b3e7
fix: domain quota-list include domain's own quota
2020-01-04 17:07:19 +08:00
TangBin
bdb943c552
InitPendingUsagesInContext fix
2020-01-04 12:40:17 +08:00
Qiu Jian
940f6c84de
automatically save pendingUsage in context
2020-01-03 15:18:19 +08:00
Qiu Jian
4a8a79a786
bug fixes
2020-01-03 13:58:05 +08:00
Qiu Jian
bc7f62a2ad
scheduler schedule according to quota limit
2020-01-03 13:58:04 +08:00
Qu Xuan
3875ac219d
fix: metadata-list通用化所有资源标签
2019-12-31 11:15:11 +08:00
Zexi Li
e91811558f
Merge pull request #4352 from swordqiu/hotfix/qj-quota-usage-refresh-timeout
...
fix: refresh quota usage may timeout
2019-12-27 15:58:48 +08:00
yunion-ci-robot
a3db9b1311
Merge pull request #4291 from yousong/feature/yousong-guest-ipmac
...
Feature/yousong guest ipmac
2019-12-27 01:06:36 +08:00
Qiu Jian
8fcd3ef46d
fix: refresh quota usage may timeout
2019-12-26 22:16:23 +08:00
Yousong Zhou
2ce3925344
guests: add modify-src-check support
2019-12-25 12:09:50 +08:00
Qiu Jian
096448fa17
remove debug log
2019-12-24 20:19:04 +08:00
Qiu Jian
b31bc7fa3d
feature: 1. baremetal server reuse host ip 2. server name use expression
2019-12-24 19:04:41 +08:00
Qu Xuan
965e0297a0
fix: host支持标签
2019-12-23 19:43:08 +08:00
Qu Xuan
e282459679
fix: 标签过滤和框架保持一致
2019-12-17 15:55:24 +08:00
yunion-ci-robot
f5a0c6d6b3
Merge pull request #4167 from swordqiu/hotfix/qj-allow-delete-quota
...
feature: allow delete none-default quota
2019-12-17 14:00:03 +08:00
Qiu Jian
bdfa99b0b6
fix: server change config failed due to quota recode
2019-12-16 21:03:52 +08:00
Qiu Jian
dc34a66d00
feature: allow delete none-default quota
...
fix: cannot set a quota to zero
2019-12-14 23:34:17 +08:00
Rain
2222c7779c
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-14 16:49:26 +08:00
yunion-ci-robot
1d90fcfaef
Merge pull request #4157 from ioito/feature/metadata-fix
...
fix: 标签增强
2019-12-14 12:24:59 +08:00
Jian Qiu
489c8b3ca9
fix: prevent quota usage from being negative ( #4162 )
2019-12-14 12:11:21 +08:00
Qu Xuan
043de63bff
fix: filter by multi value
2019-12-13 19:45:41 +08:00
Qiu Jian
c8a07c87ad
fix: init quota with negative value and negative quota means unlimited
2019-12-13 13:00:41 +08:00
Qu Xuan
c97fe6b74f
fix: 避免插入时出现duplicate primary key error
2019-12-13 10:43:34 +08:00
Qiu Jian
110c6bc611
mergeInputOutputJson for ValidateCreateData and ValidateUpdateData
2019-12-12 11:31:47 +08:00
Qiu Jian
9d6d28b36a
clean usages when resource deleted
2019-12-12 11:31:47 +08:00
Qiu Jian
0d487cd601
bufix 20191209
2019-12-12 11:31:47 +08:00
Qiu Jian
39de0f0ee7
quota recode update 2
2019-12-12 11:31:46 +08:00
Qiu Jian
3dba5360d7
quota recode
2019-12-12 11:31:41 +08:00
郑雨
40d98c08f9
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 15:58:22 +08:00
郑雨
15edc45030
feat(region): Support for resuming vm suspended in vmware
2019-12-06 16:35:37 +08:00
yunion-ci-robot
f5d19c5e1d
Merge pull request #3988 from ioito/hotfix/qx-network-create-list
...
fix: 结构化network create list 参数
2019-12-06 11:40:35 +08:00
Qu Xuan
061b3872be
fix: 标签添加排序,不统计回收站的资源标签
2019-12-05 10:51:47 +08:00