Commit Graph

54 Commits

Author SHA1 Message Date
Qiu Jian
f966aecf51 fix: server change owner did not change disk's owner 2019-07-18 14:01:54 +08:00
ioito
7c694b17d3 metadata permission 2019-07-09 22:43:33 +08:00
ioito
c13b4803c4 optimized tag filter 2019-07-05 10:23:20 +08:00
ioito
09d1833ee6 add without_user_meta filter 2019-07-04 14:29:11 +08:00
Qiu Jian
bcb5fc06ea fix: replace all ext metadata 2019-06-30 01:11:49 +08:00
Qiu Jian
acae166062 fix: 1. ldap sync remove domain/user errors 2. esxi compatibility issues 2019-06-29 14:20:38 +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
wanyaoqi
6ac7699b46 fix shared projects 2019-06-16 20:57:04 +08:00
Qiu Jian
a6207a8ac7 hotfix: support scope list filter, resolve filter conflict 2019-06-04 23:27:55 +08:00
Jian Qiu
72c13b8e39 3level priviliges bufixes 20190603 (#1036) 2019-06-03 12:30:58 +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
ioito
5263a4dee5 避免使用错误方法损坏id 2019-05-15 14:16:18 +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
Zhang Dongliang
a5774f4fd1 删除底层的 action log 2019-03-28 22:32:40 +08:00
屈轩
43daa1ceb4 用户自定义标签加前缀user: 2019-03-19 11:26:33 +08:00
屈轩
ee62f5d153 限制key必须是中英文、数字或者_ 2019-03-15 14:06:04 +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
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
屈轩
8a117aac75 更新成功后才添加日志记录 2019-03-07 17:22:01 +08:00
邱剑
0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
邱剑
220df08a48 Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'ab97a01b9ccaaa1b2af46fd9bc744e256ccea69e':
  log日志记录external_id
2019-02-15 12:11:55 +08:00
屈轩
2d7a17464c log日志记录external_id 2019-02-15 11:56:12 +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
Yousong Zhou
9fc85e4df6 standalone: 将ExternalId设置为list:"user"
ExternalId已经可以通过接口从别处获取,不必再限制为admin only
2018-12-06 07:51:12 +00:00
邱剑
293a43ee27 Merge pull request #653 in YUNIONIO/onecloud from ~LIZEXI/onecloud:bugfix/lzx-baremetal-api to release/2.4.0
* commit '5dceb2685ca3a3c078f303ad8328c90ca43d6c8b':
  region: fix host enable not clean sched cache
  fix BaremetalSyncAllGuestsStatusTask
  region: baremetal api compatible
  region: baremetal api compatible
2018-12-04 20:44:43 +08:00
Yousong Zhou
273f26848b cloudcommon: models: 注册modelMan时检查crud tag值 2018-12-03 13:44:46 +00:00
Zexi Li
1b3d33986b region: baremetal api compatible 2018-12-03 20:04:30 +08:00
wanyaoqi
ecc750107b fix conflict 2018-12-01 16:18:11 +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
Yousong Zhou
49382934e5 treewide: 保留httperrors的格式 2018-11-28 07:33:22 +00:00
邱剑
950c1c6197 Automatic merge from release/2.2.0 -> release/2.3.0
* commit '98552290141f3bc37845b0456776952cb48bcf6c':
  避免因中文问题导致同步时出现相同的Azure资源
2018-10-24 10:43:37 +08:00
屈轩
a5be2a406a 避免因中文问题导致同步时出现相同的Azure资源 2018-10-24 10:33:17 +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
17175bc0a4 改进:1. 部署VM时注入全局和项目公钥 2. 完善keypair的创建和导入功能 3.
其他
2018-10-11 23:04:42 +08:00
邱剑
9c8ad6fc82 Automatic merge from release/2.1.0 -> release/2.2.0
* commit '53e1f07f18062d249a88da0fa274c3af11daa21e':
  允许list description
2018-10-11 12:02:18 +08:00
屈轩
d25f48f1de 允许list description 2018-10-10 20:01:21 +08:00
屈轩
93be70e9ac Merge branch 'release/2.2.0' of ssh://git.yunion.io/~quxuan/onecloud into feature/qx-azure 2018-09-18 21:19:37 +08:00
Qiu Jian
f7769ef1e3 修正:1. 阿里云rebuild root重构 2. 其他一些fix 2018-09-14 01:15:41 +08:00
Zexi Li
22411ffb53 path move: github.com/yunionio -> yunion.io/x 2018-08-11 14:28:18 +08:00
Qiu Jian
b979ce9c45 Update fmt 2018-08-08 00:11:02 +08:00