zhaoxiangchun
c0eae040a8
bugfix:scoperesource FilterByOwner
...
1.调度标签 和 优化建议 FilterByOwner 逻辑调整
2020-10-10 14:50:00 +08:00
Qiu Jian
4e4ea5e6b5
fix: revert filter-by-owner changes of scoped resource
2020-09-30 11:32:06 +08:00
yunion-ci-robot
392849b6e4
Merge pull request #8007 from rainzm/task/withLang
...
Fix & Feat of Notify or Lang
2020-09-24 10:43:19 +08:00
Qiu Jian
4a27d49123
fix: scope resource filter by owner
2020-09-23 21:21:07 +08:00
rainzm
e45ddaeb99
feat: inherit lang from ctx fro Task
2020-09-23 21:19:57 +08:00
Yousong Zhou
9fd0f3088f
db: IModel: add GetI18N() method
2020-09-21 15:20:46 +08:00
Yousong Zhou
642a90146e
opslog: move const to separate file
2020-09-21 15:20:45 +08:00
Yousong Zhou
1c1dcbde45
i18n: move out from httperrors pkg
2020-09-21 10:12:57 +08:00
Zexi Li
1af48dc73d
cloudcommon: get joint model should aware fieldname
2020-09-16 20:49:51 +08:00
Qiu Jian
1a3acbd056
fix: enable generate name caused compability issue
2020-09-16 01:32:03 +08:00
Zexi Li
a47553a7a2
cloudcommon: joint model list should add field_name into query
2020-09-14 21:32:31 +08:00
Yousong Zhou
6415de33d3
treewide: DeleteFailReason as an object with translated details
2020-09-07 18:51:29 +08:00
Zexi Li
723a8a3547
Merge pull request #7751 from ioito/hotfix/qx-cloudid-optimized
...
Hotfix/qx cloudid optimized
2020-09-04 10:33:15 +08:00
Qu Xuan
ce032ecf17
fix: optimzed sync
2020-09-03 21:10:29 +08:00
Qiu Jian
64f5bc748c
fix: search by chs projectname or domainname
2020-09-03 18:36:28 +08:00
Qu Xuan
f251559c39
feature: add dns interface
2020-09-02 16:30:05 +08:00
Jian Qiu and Qiu Jian
3ccf78ae7d
fix: server purge may fail ( #7696 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-09-01 10:18:37 +08:00
Jian Qiu and Qiu Jian
34ee80f011
feature: use informer to update endpoint, policy and service configs ( #7596 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-08-25 17:45:33 +08:00
Yousong Zhou
c2bca8ab39
Feature/yousong text ( #7487 )
...
* notify: log with context info
* region: guests: log with context info
* region: hosts: log with context info
* region: misc: remove redundant log
* region: skus: use NewInternalServerError instead of NewGeneralError
* appsrv: dispatcher: preserve text id
* appsrv: dispatcher: remove commented-out code
* cloudcommon: db_dispatcher: note errors that won't be translated
* cloudcommon: db: rbac: preserve text id
* cloudcommon: caller: preserve text id
* treewide: fix fmt string
* region: guest_actions: preserve text id
* region: guest_actions: fix fmt string
* region: usages: fix fmt string
* mcclient: hosts: remove redundant return value
* cloudcommon: fetch: preserve text id
* region: guest_template: preserve text id
* cloudcommon: db: db_dispatcher: preserve text id
* region: guest_actions: preserve text id
* httperrors: add funcs for wrap lang tag into context
* vendor: golang.org/x/text
* httperrors: error with context
* httperrors: HTTPError
* treewide: fix typo
* treewide: use en in source code
* locales: initial version
2020-08-25 15:26:31 +08:00
Jian Qiu and Qiu Jian
777059648b
fix: opslog filter by owner_project_ids and owner_domain_ids ( #7600 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-08-21 10:57:23 +08:00
屈轩 and Qu Xuan
a23a94714c
fix: member user only can get user & domain resource ( #7597 )
...
Co-authored-by: Qu Xuan <quxuan@yunionyun.com >
2020-08-20 20:53:17 +08:00
Qiu Jian
016b65a4b1
fix: dns record create ignore is_public field
2020-08-18 01:06:08 +08:00
Zexi Li
c672521ce2
cloudcommon: remove query for fetchitem when not GET ( #7551 )
2020-08-11 19:46:44 +08:00
Zexi Li
9af25a2aa9
cloudcommon: remove unnecessary joint interface ( #7524 )
2020-08-10 16:16:46 +08:00
Qiu Jian
9bdf2c75e1
fix: avoid generated codes having duplicate PerformSetScope methods
2020-08-01 17:34:54 +08:00
Qu Xuan
6477e0e140
fix: avoid nil pointer
2020-07-30 11:23:36 +08:00
Jian Qiu and Qiu Jian
f0f406c243
fix: adjust API input field names according to spec ( #7382 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-07-30 10:51:00 +08:00
Jian Qiu and Qiu Jian
ba292dfedc
fix: use json to store task error message ( #7351 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-07-30 10:34:32 +08:00
Jian Qiu and Qiu Jian
984bfeb6e8
fix: change owner should check required domain list ( #7375 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2020-07-29 17:32:01 +08:00
Zexi Li
d5f8855cc2
Merge pull request #7143 from wanyaoqi/feature/wyq/kvm-misc
...
auto switch to backup server
2020-07-24 10:48:02 +08:00
Qiu Jian
8d8acab903
fix: domain resource domain share to system when
...
non_default_domain_projects off
2020-07-23 16:51:02 +08:00
wanyaoqi
a677f24351
- add precheck for perform action
...
- auto switch to backup
- add sync cleand schedule cache
- add reconcile with backup
- add manual reconcile backup
2020-07-22 20:38:36 +08:00
Qiu Jian
ce3d0906b0
fix: quota usage not updated after disk resizing
2020-07-19 13:16:07 +08:00
Qu Xuan
34aa551141
fix: 修复cloudid get权限问题
2020-07-15 11:07:04 +08:00
Zexi Li
fc7f0f2423
Merge pull request #7166 from ioito/hotfix/qx-cloudid-fix
...
Hotfix/qx cloudid fix
2020-07-15 10:35:49 +08:00
Qu Xuan
4cd67270a1
fix: azure 支持权限
2020-07-14 21:22:15 +08:00
Zexi Li
c777793d96
db_dispatcher: pass query for fetchItem
2020-07-14 17:46:42 +08:00
Qu Xuan
dccf685f66
fix: 修复cloudid用户列表权限问题
2020-07-14 17:43:52 +08:00
wanyaoqi
e2043d6bcc
- fix local storage init local man
...
- fix rbd set storage info
2020-07-10 14:41:59 +08:00
Zexi Li
dd90c7c145
Merge pull request #7102 from swordqiu/hotfix/qj-opslog-show-operators-log-only
...
fix: opslog show the owners operation logs only
2020-07-09 14:18:34 +08:00
Qiu Jian
d59bff3361
fix: opslog show the owners operation logs only
2020-07-09 11:20:04 +08:00
Qu Xuan
4b0bfa7342
fix: cloudid 异常修复
2020-07-08 20:57:35 +08:00
Zexi Li
9ab1caee86
Merge pull request #7017 from ioito/hotfix/qx-cloudid-sync
...
fix: 修复cloudid同步问题
2020-07-03 11:39:00 +08:00
Qu Xuan
02bf5b76d7
fix: 公有云子账号加域属性
2020-07-03 11:11:37 +08:00
Zexi Li
7aa3c9ddec
monitor: suggestsysalert add ignore action
2020-07-02 21:19:14 +08:00
Zexi Li
df5e61ee7b
Merge pull request #6998 from ioito/hotfix/qx-filter-by-external-id
...
fix: manager_id资源隔离获取
2020-07-02 20:20:00 +08:00
Qu Xuan
9bb4eb5d44
fix: manager_id资源隔离获取
2020-07-02 10:17:38 +08:00
Zexi Li
7a9662c6f5
monitor: support suggest rule alert config and add snapshot_unused
...
driver
2020-07-01 19:31:50 +08:00
Yousong Zhou
de1e1b1008
cloudcommon: taskman: fix table insert
...
Fix the following error
run error: reflect: NumField of non-struct type *taskman.STask
Fixes 08cd41b60d ("cloudcommon: taskman: SetModelManager")
Reported-by: Qu Xuan <quxuan@yunionyun.com >
2020-06-30 11:54:41 +08:00
Zexi Li
29cbe29ede
Merge pull request #6947 from swordqiu/hotfix/qj-disable-domain-shareing-if-non-default-domain-project-turned-off
...
fix: disable domain sharing if non_default_domain_projects turned off
2020-06-30 10:48:03 +08:00