Commit Graph
58 Commits
Author SHA1 Message Date
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 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
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
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
Qiu Jian 06c1de7c1d fix: apigateway userinfo includes project metadata 2020-09-23 16:03:14 +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
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
Qiu Jian fe0182333d fix: apigateway option to turn off login domain list 2020-08-21 21:18:46 +08:00
Qiu Jian 92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +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
Qiu Jian 0967843896 feature: unified sso login framework 2020-07-21 16:13:18 +08:00
Qiu Jian 7ba3945d86 feature: apigateway store auth state in cookie instead of sqlite 2020-07-03 16:15:23 +08:00
Qiu Jian 2183490a53 feature: keystone add support for OpenID Connection idp 2020-07-03 16:15:23 +08:00
Zexi Li 03d1a0f6d1 Merge pull request #6964 from swordqiu/hotfix/qj-totp-verification-overhead
fix: reduce totp verification overhead
2020-06-30 12:01:30 +08:00
yunion-ci-robot 26b1d225ac Merge pull request #6917 from swordqiu/feature/qj-keystone-saml-sp
feature: 1. idp as domain resource 2. keystone support SAML IDP
2020-06-30 10:55:41 +08:00
Qiu Jian 49cf94abb0 fix: reduce totp verification overhead 2020-06-30 02:28:02 +08:00
Qiu Jian 889a35bc7a feature: 1. idp as domain resource 2. keystone support SAML IDP 2020-06-24 17:41:33 +08:00
Qiu Jian 91f098430c fix: simplify forbidden user login message 2020-06-23 17:45:32 +08:00
Qiu Jian a51d554d74 fix: base64 decode 12-bytes plain text password return nil 2020-06-06 11:06:52 +08:00
Qiu Jian ddc483509a fix: apigateway expose esxiagent service avaiability 2020-06-02 20:30:07 +08:00
Qiu Jian 29283ff118 fix: system privileges user cannot access system console 2020-05-21 18:36:42 +08:00
Qiu Jian 54689d862b fix: fail to explain permission for disabled policy 2020-05-16 00:18:28 +08:00
tangbin 75328cf081 clear yunionauth cookie 2020-05-14 11:34:02 +08:00
Qiu Jian 5c8081b6bf fix: host agent list use baremetalagents model 2020-05-13 21:04:44 +08:00
Qiu Jian 108613bd32 detect bmagent and hostagent service 2020-05-11 17:25:43 +08:00
Qiu Jian c209fdd97d feature: user login into project with highest privilege automatically 2020-05-09 23:52:52 +08:00
tangbin f25bbee903 set cookie domain 2020-05-08 11:54:50 +08:00
tangbin 4e9264cb22 apigateway-yunionauth-domain-setting 2020-05-07 11:33:03 +08:00
Zexi Li efafdbbd46 Merge pull request #6124 from tb365/feature/tb-apigateway-cookies-add-domain-setting
add cookie domain setting option
2020-04-29 21:13:24 +08:00
tangbin 849d1d6699 add cookie domain setting option 2020-04-29 17:35:41 +08:00
Qiu Jian ecb483b9be fix: prevent policy violation 2020-04-28 23:28:29 +08:00
tangbin 32e4ae98ca yunionapi reset password fix 2020-04-26 21:34:32 +08:00
Qiu Jian e0fc57bea1 fix: cloudaccount is created as system shared by default 2020-04-20 22:42:17 +08:00
Qiu Jian f11a978209 fix: decouple getUserInfo at apigateway from capabilities call 2020-04-08 00:02:14 +08:00
Qiu Jian faa507b3ad feature: keystone lock user returns ErrTooManyAttempts 2020-04-01 19:50:25 +08:00
Qiu Jian 6ed124713b fix: user details add password expiration info 2019-11-01 20:07:52 +08:00
Zexi Li 0c2cd60e73 apigateway: fix forbidden login prompt format 2019-09-27 15:50:08 +08:00
Qiu Jian 64ac550109 fix: missing region in cookie cause no service catalog fetched 2019-09-25 21:10:50 +08:00