Commit Graph
529 Commits
Author SHA1 Message Date
Jian Qiu 0a0a44b48d fix: anonymous user may have admin priviliges (#124) 2019-03-31 15:24:41 +08:00
Qiu Jian 2519ef5551 fix: ni usercred cause rbac check panic 2019-03-29 22:08:26 +08:00
Qiu Jian fefdb706f3 fix: the default policy for actions not matching any rule defaults to allow 2019-03-29 20:45:38 +08:00
屈轩 2583b4ed83 避免续费时未刷新虚拟机状态 2019-03-29 18:36:43 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Qiu Jian 8ef19141a2 add more optimization 2019-03-29 00:42:23 +08:00
Zhang Dongliang a5774f4fd1 删除底层的 action log 2019-03-28 22:32:40 +08:00
Qiu Jian c969de28cb fix: sync project may sync empty project ID 2019-03-25 19:53:28 +08:00
李泽玺 29ff559f9d Merge pull request #1319 in YUNIONIO/onecloud from ~LIZEXI/onecloud:bugfix/lzx-shcedtag-policy to release/2.8.0
* commit '3ba6d4186cb9b69fec7e7c978cc3483d66768bea':
  dynamic schedule support resource type
2019-03-25 11:18:11 +08:00
Zexi Li 3ba6d4186c dynamic schedule support resource type 2019-03-23 19:31:28 +08:00
李泽玺 f2a4181f0e Merge pull request #1317 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-metadata-log-duplicate to release/2.8.0
* commit '05196aacaa3d9a57d27dae994a57b145a2bcbbc2':
  metadata日志:避免对比更新后的value
2019-03-23 15:52:17 +08:00
屈轩 05196aacaa metadata日志:避免对比更新后的value 2019-03-23 15:13:55 +08:00
Zexi Li 4a9477b9d7 resolve conflict 2019-03-22 15:59:42 +08:00
屈轩 56f8d57428 添加普通用户查看metadata权限 2019-03-22 11:54:33 +08:00
屈轩 4ee31813b4 避免mysql _ 是特殊字符问题 2019-03-22 11:35:41 +08:00
Zexi Li 18db5cbc32 fix: ServerCreateInput keypair and secgroup wrong json tag 2019-03-22 09:20:39 +08:00
邱剑 d573c041ef Merge pull request #1289 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-metadata-fix to release/2.8.0
* commit '6eacd8196c26239a6c53a6192d19f4138edb17cb':
  不截断系统metadata key
2019-03-21 18:37:47 +08:00
屈轩 6eacd8196c 不截断系统metadata key 2019-03-21 17:09:50 +08:00
邱剑 2310be389b Automatic merge from release/2.7.0 -> release/2.8.0
* commit '430df17dd3cefe0f25328ce69bf8d8b0d0e95253':
  fix: SyncOnce should invalidate policy cache
  fix: refine policy match conditions
  minor updates
  fix: simplify rbac policy condition to match projects and roles
2019-03-21 11:31:11 +08:00
邱剑 430df17dd3 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '07304221c0e4f4fa1f75438d24a8feece7202c9f':
  fix: SyncOnce should invalidate policy cache
  fix: refine policy match conditions
  minor updates
  fix: simplify rbac policy condition to match projects and roles
2019-03-21 11:31:11 +08:00
Qiu Jian 78faed91a4 fix: SyncOnce should invalidate policy cache 2019-03-21 11:29:30 +08:00
Qiu Jian 9d966e9959 minor updates 2019-03-21 01:06:33 +08:00
Qiu Jian 06ae94ebe3 fix: simplify rbac policy condition to match projects and roles 2019-03-21 01:03:51 +08:00
Zexi Li 1ed92bd176 fix: gpu server not work 2019-03-20 20:07:43 +08:00
邱剑 e211643333 Automatic merge from release/2.7.0 -> release/2.8.0
* commit '648875e7b7319dcb9e9a4d1ee6c65fe83a071c05':
  fix: make virtual interface pointer more general
  fix: 1. abstract baseagent, 2. extend baseagent to baremetalagent
2019-03-20 15:10:41 +08:00
邱剑 648875e7b7 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '4213db3eb605217796850dd42a266dd0372a7e85':
  fix: make virtual interface pointer more general
  fix: 1. abstract baseagent, 2. extend baseagent to baremetalagent
2019-03-20 15:10:41 +08:00
Zexi Li 076ad985cc move consts to apis 2019-03-20 12:08:15 +08:00
Zexi Li 6df6880501 define scheduler apis output and input structs 2019-03-20 12:03:29 +08:00
Qiu Jian 2c022cd0ef fix: make virtual interface pointer more general 2019-03-19 20:18:48 +08:00
邱剑 116067b02a Merge pull request #1223 in YUNIONIO/onecloud from ~QUXUAN/onecloud:feature/qx-tag to release/2.8.0
* commit '43daa1ceb420d8b6176e92ee7c023d51c9c8e962':
  用户自定义标签加前缀user:
  同步公有云key加上前缀
  限制key必须是中英文、数字或者_
  允许只传key进行过滤
  取消key以_开头key限制
  metadata返回列表使用复数
  支持server disk 过滤
  支持标签
2019-03-19 15:59:46 +08:00
Qiu Jian 090984f9d2 fix: 1. abstract baseagent, 2. extend baseagent to baremetalagent 2019-03-19 12:28:21 +08:00
屈轩 43daa1ceb4 用户自定义标签加前缀user: 2019-03-19 11:26:33 +08:00
邱剑 ef058a61f1 Automatic merge from release/2.7.0 -> release/2.8.0
* commit '65a8a7bd82a30cd51b3ca17e6100bae75ea76393':
  默认创建的project_src为local
2019-03-18 20:55:32 +08:00
屈轩 4b6ddfc3cf 默认创建的project_src为local 2019-03-18 20:13:53 +08:00
wanyaoqi 53ece34f3b merge const pkg from cloudcommon to compute 2019-03-17 11:21:17 +08:00
屈轩 ee62f5d153 限制key必须是中英文、数字或者_ 2019-03-15 14:06:04 +08:00
wanyaoqi e0ee2b8c59 fix package dependence 2019-03-15 11:45:56 +08:00
Qiu Jian a9bbdddc15 fix: qcloud startVM do not retry implicitly 2019-03-14 16:51:34 +08:00
Qiu Jian bc50179bbe Merge branch 'hotfix/qj-resolve-conflict-20190314-2.7.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-recode-cloud-account-create-options 2019-03-14 16:21:39 +08:00
屈轩 5d5cd9833b 允许只传key进行过滤 2019-03-14 15:43:46 +08:00
屈轩 46d5120a35 取消key以_开头key限制 2019-03-14 15:43:45 +08:00
屈轩 9bcaf1ec84 metadata返回列表使用复数 2019-03-14 15:43:45 +08:00
屈轩 2d0cc14835 支持server disk 过滤 2019-03-14 15:43:21 +08:00
屈轩 703ce13f67 支持标签 2019-03-14 15:42:46 +08:00
Yousong Zhou 4e3925be5b Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-update-diffs-270 2019-03-14 07:39:01 +00:00
Qiu Jian 6e8e415235 Merge branch 'release/2.7.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-recode-cloud-account-create-options 2019-03-14 12:11:54 +08:00
Qiu Jian e74f31b7c0 fix: cleanup project sync codes 2019-03-14 09:46:29 +08:00
Yousong Zhou 098d62bdc5 treewide: 改进opslog记录update diff
action为ACT_UPDATE,仅当len(UpdateDiffs) > 0时才记录
2019-03-13 14:20:54 +00: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