Qiu Jian
732dcdcb61
feature: system resource domainize
2020-03-27 01:20:29 +08:00
Qiu Jian
e11ceb4c4b
feature: allow list/export/sort/distict metadata
2020-03-13 13:12:45 +08:00
Qiu Jian
3c9b368c43
feature: fix region list filters round 3
2020-03-12 20:55:22 +08:00
Qiu Jian
cf5498ac24
feature: recode structuralized GetExtraDetails and ListItemFilter
2020-03-04 14:01:25 +08:00
Qu Xuan
366cbd4e36
统一 details -> isList
2020-02-07 17:54:48 +08:00
Qu Xuan
76d974f6d8
feature: api -> response struct
2020-02-03 10:22:44 +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
Qiu Jian
14c1ddaccb
feature: cloudprovider capability filter and listinput recode
2020-01-13 13:19:47 +08:00
Qiu Jian
4a8a79a786
bug fixes
2020-01-03 13:58:05 +08:00
Qu Xuan
3875ac219d
fix: metadata-list通用化所有资源标签
2019-12-31 11:15:11 +08:00
Qiu Jian
9d6d28b36a
clean usages when resource deleted
2019-12-12 11:31:47 +08:00
Qiu Jian
3dba5360d7
quota recode
2019-12-12 11:31:41 +08:00
Qu Xuan
06bc27527e
fix: 结构化network create list 参数
2019-12-03 11:54:55 +08:00
Qu Xuan
4e10a80dd2
fix: 抽离disable delete,避免删除账号失败
2019-11-27 20:30:51 +08:00
wanyaoqi
ad0e1004c2
fix qemu args
2019-10-12 17:40:55 +08:00
ioito
1a78a8b229
feature: 支持名称重复数据
2019-09-27 15:43:31 +08:00
wanyaoqi
c648b823b0
misc fix
...
- optimize batch create validate
2019-09-17 14:42:39 +08:00
Qiu Jian
d745c01313
fix: optimize logger query time
2019-09-04 00:47:25 +08:00
wanyaoqi
2051e618f5
support get model distinct field
2019-08-01 21:34:33 +08:00
Yousong Zhou
8848a04e0d
modelbase: 若GetIModelManager()不符合预期则panic
...
便于定位
2019-07-27 05:41:31 +00:00
Qiu Jian
93b8bac5bb
s3gateway round 2
2019-07-24 21:28:41 +08:00
wanyaoqi
fa370a7c6d
- live migrate filter cpu model
...
- fix list export keys
2019-06-26 13:01:11 +08:00
Qiu Jian
1dbb998844
fix: 1. sync delete projects and related quota&usage data
...
2. sync delete user/group/domain for ldap driver
3. ModelManager add OrderByExtraFields
2019-06-22 17:05:27 +08:00
Qiu Jian
013a439e6d
fix: 1. user-project-list 404 2. check quotas of all projects when set
...
domain quota 3. host.cpu shows negative number
2019-06-20 00:03:17 +08:00
Qiu Jian
b685ef1498
fix: image-show missing can-delete/can-update fields
2019-06-10 02:20:03 +08:00
Qiu Jian
74c6a131a4
fix: numerous incorrect privilege issues
2019-06-06 03:23:03 +08:00
Qiu Jian
a6207a8ac7
hotfix: support scope list filter, resolve filter conflict
2019-06-04 23:27:55 +08:00
Qiu Jian
b7027934db
feature: 3-level policies, system/domain/project
2019-05-31 13:56:02 +08:00
Qiu Jian
5a660987e6
feature: keystone support phase 1
2019-05-17 13:53:45 +08:00
Jian Qiu
316335267a
improve server-list performance ( #193 )
...
* improve server-list performance
FetchCustomizeColumns that fetch extra fields for all rows 3. separate
read and write http request session
* update vendor
* update: optimize multi-column indexes
2019-04-03 20:24:28 +08:00
Qiu Jian
004d9b6f95
update copyright headers of all source
2019-03-29 14:47:48 +08:00
Yousong Zhou
c6e4fff0d0
lb: 不记录来自lbagent的GET查询请求
...
要求
- _orig=lbagent
- userCred.HasSystemAdminPrivilege()
2019-03-12 03:39:20 +00:00
Zexi Li
1fe2bbe0e0
baremetal: host convert failed
2019-02-13 15:10:10 +08:00
Qiu Jian
924ae176b8
fix: recode host convert codes to fix scheduler failure issues
2019-02-13 14:51:05 +08:00
Qiu Jian
606802b582
修正:1. attach权限校验总是false 2. 增加climc user
...
default_project_id相关方法
2019-01-09 20:49:26 +08:00
Qiu Jian
e5aa26f0af
修正:1. storagecache.CacheImage接口需要指定format 2.
...
PerformAction默认返回ActionNotFound Error
2019-01-04 17:36:54 +08:00
Qiu Jian
cd3f46871a
minor fixes
2018-12-27 00:05:57 +08:00
Qiu Jian
2e587bd6ab
glance重构 update 1
...
Conflicts:
Gopkg.lock
pkg/appsrv/appsrv.go
pkg/cloudcommon/options.go
pkg/compute/models/hosts.go
pkg/compute/models/quotas.go
pkg/compute/service/service.go
pkg/mcclient/mcclient.go
2018-12-26 22:52:13 +08:00
Qiu Jian
e18302866b
1. GetShortDesc()改为GetShortDesc(ctx context.Context)
...
2.
VirtualResource的GetShortDesc()中增加owner_tenant_id和owner_tenant两个字段
2018-12-13 23:55:51 +08:00
Qiu Jian
e42f1a7744
recode
2018-12-01 12:05:41 +08:00
Qiu Jian
bc02b3b433
1.
...
取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred
2. 在应用启动时候,必须设置 SetServiceType,否则退出
2018-11-30 23:00:11 +08:00
Qiu Jian
d00dd6c42a
Merge branch 'release/2.2.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-resolve-conflict-20181109-2.3.0
...
Conflicts:
Gopkg.lock
pkg/cloudcommon/db/modelbase.go
2018-11-09 12:37:21 +08:00
wanyaoqi
721ac4b912
optimize export list
...
make dep
2018-11-09 11:55:31 +08:00
邱剑
918f047cff
Automatic merge from release/2.2.0 -> release/2.3.0
...
* commit '557d28244c144ac079fa3b5e12b2822c8988069a':
support export filter
2018-10-31 19:50:31 +08:00
wanyaoqi
3151e782e9
support export filter
2018-10-31 19:48:10 +08:00
邱剑
926fc3a3dd
Merge pull request #369 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-rbac-support to release/2.3.0
...
* commit '5a8bd4848509782e3ce953e9faae864ee09a0d8b':
改进:rpc支持
make fmt
remove slice nil check
fix quota check rbac check logic
增加 usages get 和 quotas get/update 的RBAC检查
JointModel support
改进:model资源支持rbac认证,需要打开enable_rbac选项,默认关闭。非model资源还不支持
2018-10-29 22:22:31 +08:00
Qiu Jian
d0fef591f1
改进:model资源支持rbac认证,需要打开enable_rbac选项,默认关闭。非model资源还不支持
2018-10-27 14:34:09 +08:00
Zexi Li
2cbf21655d
region: make CustomizeFilterList logically
2018-10-27 14:29:08 +08:00
wanyaoqi
6d21c7e0d2
baremetal ops
...
some bugfix
make dep
2018-10-23 21:01:00 +08:00