Commit Graph
126 Commits
Author SHA1 Message Date
Qiu Jian 05812fb3f8 fix: apigateway request api_server option directly from keystone 2021-10-28 23:55:03 +08:00
tb365 c4e41a412f fix(apigateway): totp passcode verify error code fix 2021-08-06 10:58:03 +08:00
tb365 285b0f2523 fix(keystone): user not found error fix 2021-07-12 13:54:22 +08:00
Qiu Jian 9630e1b7db fix: host detach wire not update netinterface 2021-07-09 10:45:28 +08:00
Qu Xuan ebe101d9ab feat(apigateway): support export dict keys 2021-06-08 16:24:05 +08:00
Qiu Jian 1dbe7b930a fix: get apigateway auth/regions with error of illegal mix of collations 2021-05-28 09:39:53 +08:00
Qiu Jian d80d9f13b7 fix: init cloud shell by apigateway 2021-05-09 01:34:30 +08:00
Qiu Jian a17c84613f fix: require password for imported user 2021-04-28 01:13:50 +08:00
Yousong Zhou 39c1695821 apigateway: handler: add cloudproxy 2021-04-06 11:55:58 +08:00
Qiu Jian 2990e5d478 fix(apigateway): use info response service type of console endpoints 2021-03-22 13:59:27 +08:00
Jian QiuandQiu Jian 31854889db fix(apigateway): add auth/stats api to retrieve system info (#10182)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-06 22:41:32 -03:00
Jian QiuandQiu Jian 43e858265c fix(apigateway): add enable_quota_check and return-domain-list attributes to fe params (#10159)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:57:09 +08:00
Jian QiuandQiu Jian f5f02b5e09 fix(apigateway): ignore fetch IDP errors in getRegions (#10071)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-29 02:35:01 +08:00
rainzm 4762afc32b feat(apigateway): differentiate error messages when logging in 2021-01-27 19:58:42 +08:00
Qiu Jian 6549d886c9 fix(apigateway): getRegions return value of api_server 2021-01-22 10:26:24 +08:00
rainzm 9c4fd94d7a feat(keystone,apigateway): return a readable message when the user is locked or disabled 2021-01-19 17:33:24 +08:00
Yousong Zhou 1d1a5c327a apigateway: try return httperrors 2021-01-11 17:50:13 +08:00
Yousong Zhou 583d1889f7 apigateway: reword error messages 2021-01-11 17:50:12 +08:00
Qiu Jian d2caac95df fix(apigateway): allow logout by get method
All visit logout URL by GET method
2020-12-04 01:10:53 +08:00
Qu Xuan d4edbbb610 feature: saml for cloudid 2020-11-17 18:02:37 +08:00
TangBin 3ceec3aa1e batch user create bugifx 2020-11-10 16:46:40 +08:00
Qiu Jian ae327021db fix: save sso login status in cookie 2020-11-04 16:40:57 +08:00
Qiu Jian 178e1ab8fc feature: auto create domain for sso idp 2020-11-02 13:59:50 +08:00
Zexi Li 81da6c5775 apigateway: disable influxdb service query proxy 2020-10-31 12:44:53 +08:00
Qiu Jian 01d4c2a1c7 feature: support scoped policy that manage ui policies for
domains&projects
2020-10-26 23:58:02 +08:00
Qiu Jian 2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
Qiu Jian 2a6445c31b feature: allow session level yunion_auth cookie 2020-10-11 03:09:11 +08:00
Qiu Jian be4a76b253 fix: oidc response user's info 2020-09-30 11:54:57 +08:00
yunion-ci-robot b42280f4bf Merge pull request #8031 from wanyaoqi/feature/wyq/support-mutli-params
apigateway: support mutli params
2020-09-23 23:13:23 +08:00
Qiu Jian 06c1de7c1d fix: apigateway userinfo includes project metadata 2020-09-23 16:03:14 +08:00
wanyaoqi f4c1a3ea59 support mutli params 2020-09-17 23:18:12 +08:00
TangBin 88838bb538 pex register add optional column mac_access 2020-09-04 15:54:01 +08:00
Qiu Jian ef138c05d4 fix: remove redundant auth cookie in sso login 2020-09-03 23:52:12 +08:00
Jian QiuandQiu Jian 8ba3f86b55 fix: apigateway user info add is_local attribtue (#7694)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:48:37 +08:00
Jian QiuandQiu 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 QiuandQiu Jian a94f32ed56 fix: limit the length of error message when do idp redirect (#7612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 12:33:36 +08:00
Qiu Jian fe0182333d fix: apigateway option to turn off login domain list 2020-08-21 21:18:46 +08:00
Jian QiuandQiu Jian 7bab39daf9 fix: 1. remove Azure OIDC extra user scope 2. yunionauth cookie missing (#7599)
sometimes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:53:17 +08:00
Qiu Jian 92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
Jian QiuandQiu Jian 320d7cabcd fix: user with sso idp fail to login with password (#7552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-13 11:24:46 +08:00
Jian QiuandQiu Jian a02611db12 fix: oidc auth callback url not complete (#7545)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 19:56:45 +08:00
tb365andTangBin 280039ab38 add image upload& s3 upload api (#7514)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-10 10:21:44 +08:00
Jian QiuandQiu Jian b0505ba5fd Hotfix/qj password login wrong idp (#7511)
* fix: role assignment code to include group info for group users

* fix: password authentication may choose wrong idp backend

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-07 14:19:34 +08:00
Qiu Jian 60eec6440b fix: preserve state while doing sso redirect 2020-08-06 21:49:16 +08:00
Jian QiuandQiu Jian 604b6b7fff feature: OpenID Connect provider support (#7490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 12:10:15 +08:00
Jian QiuandQiu Jian 0e775e68ec feature: OpenID Connect provider support (#7446)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:09:05 +08:00
tb365andtangbin 9acc8c629d make rpc handle exportable (#7367)
Co-authored-by: tangbin <tangbin@yunion.cn>
2020-07-28 19:53:57 +08:00
Zexi Li 360b48703d Merge pull request #7327 from tb365/bugfix/tb-huawei-client-fix
huawei fetch regions&projects fix
2020-07-27 15:14:46 +08:00
tangbin 1583da57fe go fmt 2020-07-24 18:14:39 +08:00