Commit Graph

36 Commits

Author SHA1 Message Date
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
76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
Qu Xuan
75c22ea603 fix: 修复未赋予keypair scheme值问题 2020-01-17 14:11:08 +08:00
Qiu Jian
8154999c05 update server listinput comments 2020-01-13 15:42:10 +08:00
Qiu Jian
877fdf90d9 fix: resolve compilation errors after merge 2020-01-13 13:19:48 +08:00
Qiu Jian
14c1ddaccb feature: cloudprovider capability filter and listinput recode 2020-01-13 13:19:47 +08:00
Qu Xuan
1d6cf71cfc fix: add api docs 2020-01-08 11:54:57 +08:00
Qiu Jian
3dba5360d7 quota recode 2019-12-12 11:31:41 +08:00
wanyaoqi
0d16282d2f add user cache 2019-10-12 16:08:33 +08:00
Zexi Li
c393c1deb3 fix: services model incorrect nullable define 2019-10-08 22:22:54 +08:00
Qiu Jian
a6207a8ac7 hotfix: support scope list filter, resolve filter conflict 2019-06-04 23:27:55 +08:00
Jian Qiu
81b9cac556 fix: misc 3level priviliges bugfixes (#1026)
* fix: misc 3level priviliges bugfixes

* misc bugfixes

* misc bugfixes
2019-06-02 08:05:11 +08:00
Qiu Jian
b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Qiu Jian
a95c0bac62 update query.Count to query.CountWithError 2019-04-23 12:02:35 +08:00
Qiu Jian
29c1fd3855 fix: clearn up codes that impacted by query.Count return value changes 2019-04-23 11:32:16 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Yousong Zhou
4c82dae39b Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-goimports-270 2019-03-13 13:33:51 +00:00
Yousong Zhou
8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
邱剑
0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
周有松
793300f1cb Merge pull request #860 in YUNIONIO/onecloud from ~ZHOUYOUSONG/onecloud:bugfix/yousong-lb-cloudregion-optional to release/2.5.0
* commit 'ddbae418a61ef26748ec1954cc22741037d2d51e':
  compute: models: 改正default、required标签使用
  loadbalancers: cloudregion_id字段API兼容
2018-12-29 20:19:33 +08:00
Yousong Zhou
ddbae418a6 compute: models: 改正default、required标签使用 2018-12-29 09:42:24 +00: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
TangBin
cd3ac3333f 限定只允许创建RSA格式密钥 2018-12-18 18:03:38 +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
0b17fe3547 增加keystone policy资源,格式化代码 2018-10-20 21:29:52 +08:00
Qiu Jian
b17b24b232 Update format 2018-10-12 12:13:35 +08:00
Qiu Jian
17175bc0a4 改进:1. 部署VM时注入全局和项目公钥 2. 完善keypair的创建和导入功能 3.
其他
2018-10-11 23:04:42 +08:00
Qiu Jian
1a30516b0f minor fixes 2018-09-12 01:14:33 +08:00
Zexi Li
22411ffb53 path move: github.com/yunionio -> yunion.io/x 2018-08-11 14:28:18 +08:00
Qiu Jian
e2ad53cebe 修正:keypair owner_id长度不足,导致新建keypair的用户ID不能正确保存 2018-08-01 15:10:16 +08:00
Zexi Li
b5275a0c29 - mv mcclient to pkg/mcclient
- vendor update
2018-08-01 14:13:23 +08:00
Qiu Jian
fcee2de326 修正:1. 由于系统盘大小设置单位未转换,导致阿里云创建主机失败 2.
伪删除阿里云主机后,detach了系统盘,导致主机恢复后无系统盘 3.
修正一些格式错误 4. 补充一些climc命令
2018-07-31 00:42:18 +08:00
Zexi Li
37624f11e2 Add region service. 2018-07-30 12:27:27 +08:00
Zexi Li
8ba5ffe1b4 compute models added. 2018-07-27 20:44:26 +08:00