Commit Graph

47 Commits

Author SHA1 Message Date
Qiu Jian
8fad5086f0 fix: 1. parameter duplicate error due to missing name filter 2.
infras_quota setKeys error
2020-04-07 20:54:18 +08:00
Qiu Jian
09bc348c66 feature: recode cloudcommon policy default/resource codes 2020-03-30 19:35:55 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Qiu Jian
45849355e6 fix: list documentation improvements 2020-01-14 04:17:15 +08:00
Yousong Zhou
8ba5986d83 goimports: first run 2019-10-28 06:22:17 +00:00
Yousong Zhou
80b4dba528 yunionconf: 改正启动失败问题 2019-07-27 05:33:13 +00:00
Qiu Jian
9670446a21 fix: 1. zone/region capability containts by domain 2. yunionconf query
scope fixes
2019-06-11 01:31:59 +08:00
Qiu Jian
292c2a141c fix: bugs in scope support 2019-06-04 23:27:55 +08:00
Qiu Jian
a6207a8ac7 hotfix: support scope list filter, resolve filter conflict 2019-06-04 23:27:55 +08:00
TangBin
dd4c5b282d parameter model GetOwnerId fix 2019-06-03 19:06:55 +08:00
TangBin
f2ceea4fe8 parameter create fix && itsm add quick complete method 2019-06-03 19:00:10 +08:00
TangBin
1b54c012ed parameter create fix 2019-06-03 17:43:46 +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
802b3b0d21 bugfixes 2019-05-31 13:56:02 +08:00
Qiu Jian
b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
TangBin
b21943cc32 yunionconf parameter serivce bugfix 2019-05-29 15:05:50 +08:00
Qiu Jian
2efc5e641e fix: add keystone initialization procedures 2019-05-17 13:54:29 +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
wanyaoqi
e0ee2b8c59 fix package dependence 2019-03-15 11:45:56 +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
Qiu Jian
605cbb2558 Merge branch 'release/2.7.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-sync-with-lock 2019-03-04 01:42:39 +08:00
邱剑
87c0e0b898 Automatic merge from release/2.5.0 -> release/2.6.0
* commit '08285e415710357952daf77c48e7a0c9b8eda5ee':
  parameter create fix
2019-02-26 19:37:03 +08:00
TangBin
ecc653f0a1 parameter create fix 2019-02-26 18:29:32 +08:00
邱剑
0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
Qiu Jian
4c6f196ec5 Merge branch 'release/2.6.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-image-p2p-distribution
Conflicts:
	pkg/appsrv/appsrv.go
	pkg/cloudcommon/policy/defaults.go
	pkg/util/sysutils/sysutils.go
2019-02-15 22:46:01 +08:00
Qiu Jian
0e3f2e160c temp commit 2019-01-30 21:06:48 +08:00
Qiu Jian
f413e9c6b4 修正image和yunionconf默认权限 2019-01-01 00:48:04 +08:00
Qiu Jian
88566645e0 add doc.go && make ParseOptions changes
Conflicts:
	pkg/cloudcommon/options.go
	pkg/compute/service/service.go
	pkg/webconsole/service/service.go
	pkg/yunionconf/service/service.go
2018-12-26 22:59:08 +08:00
Yousong Zhou
603e1be98c treewide: 重新组织cloudcommon options
将cloudcommon.Options从cloudcommon.DBOptions中拿出来,并改名为CommonOptions
2018-12-23 15:31:11 +00:00
Qiu Jian
a6b865e7a2 修正:1. sql.Rows使用后未关闭,导致占用db链接 2.
服务启动后,调用AppDBInit方法设置db连接池上限,避免耗尽mysql连接
3.
app和workmanager增加db属性,用来标示该worker和app是否使用数据库,从而估计需要设置的数据库连接的上限
2018-12-21 17:10:34 +08:00
Qiu Jian
965e84ea36 update 2018-12-07 02:57:58 +08:00
TangBin
a543901e2f yunionconfig build error fix 2018-12-01 14:52:01 +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
唐斌
62a7711002 Automatic merge from release/2.2.0 -> release/2.3.0
* commit 'b2320988c3916da37ebd491dc5d267f0ba0f5e9a':
  yunionconf: make qunar happy
2018-11-05 16:34:06 +08:00
Yousong Zhou
5299fd63c3 yunionconf: make qunar happy 2018-11-05 08:30:41 +00:00
TangBin
66865ef36b bugfix db option 2018-11-01 11:26:16 +08:00
Qiu Jian
125f70fe45 upgrade to go1.11 2018-10-18 21:00:39 +08:00
邱剑
219015d50c Merge pull request #287 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-keypair-improvment to release/2.3.0
* commit 'cfa4f5db945dcef09137c712370edcb3d8e33593':
  server show expired_at column
  修正:1. 阿里云自动设置Import/Export image ram授权,不再需要手动授权 2. 修正公有云注入userdata的问题
  Update vendor
  Update format
  Force format before build
  minor updates
  Update vendor
  改进:1. 部署VM时注入全局和项目公钥 2. 完善keypair的创建和导入功能 3. 其他
2018-10-15 18:20:30 +08:00
Qiu Jian
b17b24b232 Update format 2018-10-12 12:13:35 +08:00
TangBin
1ae56de927 bugfix 2018-10-09 21:04:48 +08:00
TangBin
56a6c16aa8 return json value 2018-09-20 17:45:25 +08:00
TangBin
96713696b8 add auth complete callback 2018-09-13 14:59:10 +08:00
TangBin
b7ca29581f add yunionconf service 2018-09-13 14:24:20 +08:00