Commit Graph
110 Commits
Author SHA1 Message Date
Yousong Zhou ab7c5e039f apigateway: try return httperrors 2021-01-11 17:47:09 +08:00
Yousong Zhou 2d1d4f3dcc apigateway: reword error messages 2021-01-11 15:53:15 +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
tangbin d45ee2c0eb go fmt 2020-07-24 18:09:09 +08:00
tangbin e660e25be9 host upload template check 2020-07-24 17:59:52 +08:00
tangbin d10e15ed98 format fix 2020-07-22 17:47:56 +08:00
tangbin d5591001cc fix empty else 2020-07-22 17:30:46 +08:00
tangbin 3ff402f4b6 fix host import 2020-07-22 17:22:57 +08:00
tangbin cea0121625 apigateway host imports data validate 2020-07-22 16:27:33 +08:00
Qiu Jian 0967843896 feature: unified sso login framework 2020-07-21 16:13:18 +08:00
tangbin c1e49d02ca user batch register bugfix 2020-07-13 14:41:28 +08:00
Zexi Li 8c7593d937 Merge pull request #7048 from swordqiu/hotfix/qj-apigateway-return-message-cleanup
fix: cleanup auth error message return by apigateway
2020-07-06 20:20:22 +08:00
Qiu Jian f1bfcfbd98 fix: cleanup auth error message return by apigateway 2020-07-04 19:32:23 +08:00
Qiu Jian 27b3fb5d52 remove obsolete codes from apigateway 2020-07-04 13:49:39 +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 7a9662c6f5 monitor: support suggest rule alert config and add snapshot_unused
driver
2020-07-01 19:31:50 +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