Commit Graph
56 Commits
Author SHA1 Message Date
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
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
yunion-ci-robot 7b917b248d Merge pull request #881 from wanyaoqi/feature/wyq/snapshot-policy
feature: snapshot policy
2019-05-25 17:33:17 +08:00
wanyaoqi 9722654ff4 misc fix:
- fix undeploy backup guest
- fix host service cron job
- task add recover
2019-05-23 18:35:59 +08:00
wanyaoqi 52b2699615 snapshot policy 2019-05-22 17:16:16 +08:00
Qiu Jian dd13a991c0 fix: misc bug fixes. add usage and event log API 2019-05-17 13:54:29 +08:00
yunion-ci-robot 7f9848b1d9 Merge pull request #746 from wanyaoqi/feature/wyq/image-do-probe-on-upload
featrue: Image probe info on upload
2019-05-16 17:34:34 +08:00
wanyaoqi f4dd38a0f3 fix guest delele backup log event 2019-05-13 11:08:41 +08:00
wanyaoqi 1f1a23acae optimize image upload and probe 2019-05-08 17:06:27 +08:00
wanyaoqi f0810bbe88 guest import from libvirt (#11)
* import servers from libvirt

* dep add libvirt-go-xml

* fix code

* fix code
2019-04-01 23:07:41 +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 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
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 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
Qiu Jian cb23c9c1a1 Merge branch 'release/2.7.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-sync-with-lock 2019-03-06 00:11:44 +08:00
屈轩 10d4ca66c0 init 2019-03-04 16:36:47 +08:00
Qiu Jian 62ebc90f2a feature: allow auto sychrnoization of cloud account 2019-03-04 01:09:34 +08:00
邱剑 0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
Qiu Jian ddc42ce54e add action-show admin mode parameter 2019-02-12 16:29:26 +08:00
Qiu Jian eaeb41a2d7 fix misc logger bugs 2019-02-12 14:50:58 +08:00
Qiu Jian b215c199df minor fixes 2019-02-09 06:23:23 +08:00
屈轩 53b03c1d59 添加监听同步配置操作 2019-01-25 15:00:05 +08:00
Qiu Jian c9a6bfa9e0 改进:1. 创建主机时可以绑定指定eip,或者新建eip并且绑定。2.
取消绑定eip时候可以自动删除eip
2019-01-23 12:26:48 +08:00
邱剑 a6e3d788cb Automatic merge from release/2.4.0 -> release/2.5.0
* commit '0dabca78396cdd8dc0339acc3f2049422e417d2f':
  add network merge split
2019-01-07 21:49:32 +08:00
wanyaoqi 33120a005a add network merge split 2019-01-05 22:37:21 +08:00
屈轩 fcdf62a4d6 支持同步公有云负载均衡信息同步 2018-12-15 13:58:18 +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 75701657d0 fix bugs 2018-12-07 21:18:52 +08:00
Qiu Jian 965e84ea36 update 2018-12-07 02:57:58 +08:00
Qiu Jian 3e87c17e72 support prepaid server create and renew 2018-12-05 00:40:15 +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 334f3605ba minor fixes 2018-12-01 00:42:29 +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
邱剑 00e001d981 Merge pull request #471 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/guest-disks-backup to release/2.4.0
* commit 'e64b71818b9f32f49ece1accce7adf011d12a4e1':
  region: support create backup guest; scheduler: support backup guest schedule
2018-11-26 13:45:08 +08:00
Qiu Jian 46b67e9dc9 minor updates 2018-11-23 15:03:22 +08:00
Qiu Jian f2522b980c 1. resize opslog notes to VARCHAR(2048) 2. cloudaccount sync status
check
2018-11-23 09:48:50 +08:00
wanyaoqi e64b71818b region: support create backup guest;
scheduler: support backup guest schedule
2018-11-20 21:29:43 +08:00
邱剑 cedcfc1748 Automatic merge from release/2.1.0 -> release/2.2.0
* commit '18484b96308ca6a1e654826894a5d62bc56e15e4':
  添加EIP sync日志
2018-11-02 13:13:58 +08:00
屈轩 ccc934c20f 添加EIP sync日志 2018-11-02 12:22:13 +08:00
wanyaoqi fb330c98be disk reset
minor fixs
2018-09-12 19:59:00 +08:00
Qiu Jian 1a30516b0f minor fixes 2018-09-12 01:14:33 +08:00
Qiu Jian 45f7f6febe Merge branch 'release/2.1.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-elastic-ip 2018-09-04 23:46:43 +08:00
Qiu Jian f4f2d8fb97 浮动IP支持 2018-09-04 23:04:29 +08:00
邱剑 fa50e68031 Merge pull request #150 in YUNIONIO/onecloud from feature/rex-logclient-20180822-1018 to release/2.1.0
* commit '4249e2486a04bd080218b59fc12ffe1f416ad6fa':
  阿里云服务器同步、全量同步操作日志。
  阿里云解绑
  rm log
  日志接口重构;阿里云修改密码、变更配置加日志
  阿里云变更配置增加日志
  更改项目
  接口重构,与OpsLog.LogEvent 保持一致
  阿里云重装系统、开机关机、同步状态日志
  阿里云虚机删除日志
  阿里云创建虚机失败时记录 actionlog
  增加logclient; aliyun server crud 操作
  增加logclient
2018-09-03 21:13:41 +08:00
屈轩 4f024ad282 添加同步log信息 2018-09-03 10:53:19 +08:00