Commit Graph
60 Commits
Author SHA1 Message Date
Jian QiuandQiu Jian 7c2de32b62 fix: try resolve tenant by project id first (#19276)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-16 22:13:53 +08:00
Qiu Jian 2606a9831a fix: charset mismatch in tenant cache convert_ids 2023-09-22 00:55:29 +08:00
屈轩 d1fbe1f4d8 fix(region): external project (#17996) 2023-09-12 18:54:14 +08:00
ioito 44f8f75203 fix(region): clean tenantcache metadata 2023-09-11 15:19:16 +08:00
Jian QiuandQiu Jian f047629180 fix: util func to convert id or name of tenants to ids (#17950)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 16:52:41 +08:00
Jian QiuandQiu Jian 82d50bb4b6 fix: pending delete identity projects (#17757)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-15 16:54:00 +08:00
Qiu Jian 40adf3009c fix: allow set project-id auto-crate-project of cloudaccount 2023-04-05 16:30:28 +08:00
Jian QiuandQIU Jian 1b52106d11 fix: project duplciate name (#15662)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-12-29 23:33:42 +08:00
Jian QiuandQiu Jian 21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
QIU Jian 293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
ioito 4bcf2cf99b fix(region): ctx lock panic 2022-04-07 14:54:29 +08:00
rainzm 5bec11dc85 feat: add GetAllClassMetadata for tenantcache 2022-02-16 17:31:15 +08:00
屈轩 a7c2c251bf fix(common): tenant cache name (#13366) 2022-01-28 15:28:05 +08:00
Qiu Jian d6476c6374 fix: full sync of project and domain metadata 2022-01-17 21:54:57 +08:00
Qiu Jian 5eac5832b9 minor fixes 2021-12-02 07:43:10 +08:00
Qiu Jian 84a9ae95f6 feature: policy support tags 2021-12-02 07:43:10 +08:00
Jian QiuandQiu Jian e6a7d160e6 feature: support tag tree (#12751)
* feature: support tag tree

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-28 11:58:38 +08:00
Qu Xuan 06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
yunion-ci-robot 734d7e9994 Merge pull request #6648 from zexi/feature/db-resource-informer
implement generic service informer
2020-06-08 14:58:49 +08:00
Zexi Li 9f4d4a450e refactor ITableSpec signature with context 2020-06-08 11:31:00 +08:00
Qu Xuan 8754ef2436 fix: 避免越过tenantcache过期检查 2020-06-02 22:17:28 +08:00
Qiu Jian f54d633258 fix: sysadmin cannot convert host in non-default domain 2020-05-27 21:10:59 +08:00
Qiu Jian c35758dd08 fix: avoid using background context 2020-05-14 16:15:54 +08:00
Qiu Jian 880b0ecf4d fix: list item export recode 2020-04-21 11:45:36 +08:00
Qiu Jian b9a239bd65 fix: sync sharing state 2020-04-11 06:50:48 +08:00
Qiu Jian 258db2cb48 fix updates 2020-03-27 01:20:29 +08:00
Qiu Jian 732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
Qiu Jian 57933d2497 fix: complete keystone/glance list filter 2020-03-09 01:20:25 +08:00
Rain f8642421de fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
1. Query 'scope=system' and 'system=true' is neccessary when fetching all users
   or groups from Keystone.
   Without these, users and groups in other domains (non-caller domains),
   as well as system-level users, cannot be detected.
2. Query 'scope=system' is neccessary when fetching all project from Keystone.
2020-03-06 17:10:58 +08:00
Qiu Jian cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Qu Xuan c97fe6b74f fix: 避免插入时出现duplicate primary key error 2019-12-13 10:43:34 +08:00
Yousong Zhou 8ba5986d83 goimports: first run 2019-10-28 06:22:17 +00:00
wanyaoqi 0d16282d2f add user cache 2019-10-12 16:08:33 +08:00
Rain dc68d23ff6 support Secondary authority management for contact and notification
rpc=>grpc, go=>workerMan

pull dingtalk auto

grpc
2019-09-24 15:33:53 +08:00
Qiu Jian 971a592b09 fix: possible reduce timeout for quota list 2019-07-09 23:36:06 +08:00
ioito 856420f675 fix cache domain tenants 2019-07-05 16:32:57 +08:00
Qiu Jian f184e2d8f9 fix: 1. quota add API 2. tenant cache refresh 3. domain quota not initialize 2019-07-02 03:08:52 +08:00
Qiu Jian aabdb3fa97 fix: misc bugfixes. 2019-06-27 16:36:22 +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 74c6a131a4 fix: numerous incorrect privilege issues 2019-06-06 03:23:03 +08:00
Qiu Jian b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Qiu Jian c969de28cb fix: sync project may sync empty project ID 2019-03-25 19:53:28 +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 abb4181871 skip objects that is undergoing a task 2019-03-04 14:08:15 +08:00
邱剑 0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
屈轩 b9dd5052ca 冲突解决 2019-01-22 16:29:08 +08:00
邱剑 6f732d1edc Automatic merge from release/2.3.0 -> release/2.4.0
* commit '0aafe01ee8d8934f54b75b1c2366c5dd72857101':
  避免project未找到直接返回err
2019-01-22 16:18:37 +08:00
屈轩 3e4b8fed08 避免project未找到直接返回err 2019-01-22 16:17:10 +08:00