1001 Commits

Author SHA1 Message Date
Yixiang Zhao
fb9b8f1662
fix: skip the duplicated users when sync users (#928)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.77.2
2022-07-30 22:24:23 +08:00
Mikey
2fec3f72ae
fix: check reset phone & email modify rules (#927)
* fix: check reset phone & email modify rules

* Update verification.go

* Update organization.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.77.1
2022-07-30 18:17:13 +08:00
Yang Luo
11695220a8 Use user.GetId() 2022-07-30 17:40:30 +08:00
Resulte Lee
155660b0d7
feat: get user api return roles and permissions (#929) v1.77.0 2022-07-30 17:31:56 +08:00
imp2002
1c72f5300c
feat: fix 'Enable code sign' is not displayed in the login page (#925) v1.76.0 2022-07-28 23:11:33 +08:00
q1anx1
3dd56195d9
fix: fix the problem of link error (#923) v1.75.2 2022-07-28 21:52:10 +08:00
Resulte Lee
8865244262
fix: add oauth login auto close page (#915) v1.75.1 2022-07-26 23:03:55 +08:00
Yixiang Zhao
3400fa1e9c
feat: support local login for non-built-in users (#911)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.75.0
2022-07-26 19:27:24 +08:00
Resulte Lee
bdc5c92ef0
fix: send code missing parameter & show more detail responseError (#910) v1.74.1 2022-07-25 23:46:38 +08:00
SLingyu
4e3eedf246
feat: fix bug that the default permission prevents admin to login in (#907)
* fix:The certs page is displayed incorrectly

* Translations for each language are added

* Replace the variables certificat with Certificat with certificate and Certificate

* Replace the variables certificat with Certificat with certificate and Certificate

* Variable names are more accurate

* Variable names are more accurate

* Modify the variable name

* fix: Default action prevents admin to login in
v1.74.0
2022-07-24 23:36:55 +08:00
SLingyu
8e98fc5a9f
feat: rename all publicKey occurrences to certificate (#894)
* fix:The certs page is displayed incorrectly

* Translations for each language are added

* Replace the variables certificat with Certificat with certificate and Certificate

* Replace the variables certificat with Certificat with certificate and Certificate

* Variable names are more accurate

* Variable names are more accurate

* Modify the variable name
v1.73.0
2022-07-23 09:40:51 +08:00
leoshine
6f6159be07
feat: add GET method of logout API (#903) v1.72.0 2022-07-22 21:13:49 +08:00
Gucheng Wang
3e4dbc2dcb fix: URL bug in getUploadFileUrl function v1.71.5 2022-07-20 17:49:11 +08:00
Yixiang Zhao
48b5b27982
fix: invalid redirect url after sign up (#896)
* fix: invalid redirect url after sign up

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* Update App.js

* Update Setting.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.71.4
2022-07-19 23:31:17 +08:00
q1anx1
1839252c30
chore(web): sort import members (#895) 2022-07-18 20:57:38 +08:00
q1anx1
1fff1db6a7
fix(web): fix the bug of infinity loop animate when unauthorized (#891)
* fix(web): fix the bug of infinity loop when unauthorized

* fix

* fix

* fix

* Update BaseListPage.js

* Update OrganizationListPage.js

* Update OrganizationListPage.js

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.71.3
2022-07-17 18:20:52 +08:00
Yang Luo
a0b0e186b7 Improve i18n code and data. 2022-07-17 17:56:43 +08:00
Yang Luo
8c7f235ee1 Fix bug in uploadFile()'s URL. 2022-07-17 14:29:06 +08:00
waltcow
a0a762aa6f
fix: typo in field tag in BilibiliUserInfo (#890) v1.71.2 2022-07-17 11:31:43 +08:00
Yixiang Zhao
2eec53a6d0
fix: actions initialized to null and model/resources not updated with the owner (#887)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.71.1
2022-07-16 15:00:42 +08:00
Yixiang Zhao
117dec4542
feat: failed to sync keycloak users in the PostgreSQL database (#886)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.71.0
2022-07-16 12:14:35 +08:00
waltcow
895cdd024d
fix: Typo in user model xorm tag (#883) v1.70.1 2022-07-15 12:01:27 +08:00
q1anx1
f0b0891ac9
feat: query user by userId (#879)
* feat: add `getUserByUserId` func

* Update user.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.70.0
2022-07-14 21:46:13 +08:00
Yang Luo
10449e89ab Fix owner bug in GetUser(). 2022-07-13 22:56:35 +08:00
Gucheng Wang
6e70f0fc58 Refactor CheckAccessPermission(). 2022-07-13 00:50:32 +08:00
Yixiang Zhao
2bca424370
feat: implement access control using casbin (#806)
* feat: implement access control using casbin

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* chore: sort imports

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: remove

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* Update auth.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.69.0
2022-07-13 00:34:35 +08:00
Gucheng Wang
de49a45e19 Add escapePath for getUploadFileUrl(). 2022-07-12 23:24:24 +08:00
Gucheng Wang
f7243f879b Fix some JS warnings. v1.68.0 2022-07-12 20:47:11 +08:00
Товарищ программист
7f3b2500b3
feat: support webauthn (#407)
* feat: support webauthn

* Update init.go

* Update user_webauthn.go

* Update UserEditPage.js

* Update WebauthnCredentialTable.js

* Update LoginPage.js

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
2022-07-12 20:06:01 +08:00
Bingchang Chen
208dc11d25
fix: set SessionOn always true (#877)
* fix: set SessionOn always true

* Update adapter.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.67.1
2022-07-11 12:36:20 +08:00
キリサメ qianxi
503d244166
feat(web): add lint (#875)
* feat: add lint

* feat: fix lint error

* chore: add ignore file

* chore: close indent
v1.67.0
2022-07-10 15:45:55 +08:00
Gucheng Wang
475b6da35a Rename session storage item to signinUrl. 2022-07-10 11:50:48 +08:00
leoshine
b9404f14dc
feat: fix bug of using email provider from wrong application (#869) v1.66.0 2022-07-10 00:40:52 +08:00
Bingchang Chen
0baae87390
feat: fix oauth unknown authority in docker (#871) v1.65.0 2022-07-09 17:36:56 +08:00
Gucheng Wang
06759041a8 Fix socks5Proxy config typo. 2022-07-08 23:24:54 +08:00
Bingchang Chen
cf4e76f9dc
feat: add footer to door pages (#868) v1.64.0 2022-07-08 20:36:49 +08:00
Товарищ программист
81f2d01dc1
fix: fix dockerfile (#866) v1.63.2 2022-07-07 16:10:15 +08:00
Bingchang Chen
61773d3173
fix: support user-defined clientId&Secret (#862) v1.63.1 2022-07-06 19:27:59 +08:00
Bingchang Chen
ec29621547
feat: init from configuration file (#858)
* feat: init from configuration file

* Update init_data.json.template

* Update init_data.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.63.0
2022-07-05 00:36:22 +08:00
leoshine
b8e324cadf
fix: azurad provider (#855) v1.62.7 2022-07-04 16:40:23 +08:00
Gucheng Wang
f37fd6ba87 Fix empty arg bug in getPermanentAvatarUrl(). 2022-07-03 19:31:12 +08:00
Товарищ программист
b4bf734fe8
fix: fix cors filter (#847)
* fix: fix cors filter

* Update cors_filter.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
v1.62.6
2022-07-02 13:45:18 +08:00
aecra
f0431701c9
fix: fix OAuth error response (#835)
* fix: fix OAuth error response

* fix: provide more detailed error messages for TokenError
v1.62.5
2022-07-01 14:53:34 +08:00
Yixiang Zhao
aa5078de15
fix: crowdin kept deleting translations (#843)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.62.4
2022-07-01 10:51:40 +08:00
YunShu
9a324b2cca
fix: Update Crowdin link (#841) v1.62.3 2022-06-30 22:05:20 +08:00
aecra
919eaf1df4
fix: fix CORS error after sucessful OPTION (#838) v1.62.2 2022-06-30 21:29:02 +08:00
Atom Pi
cd902a21ba
fix: some minor bugs and make Dockerfile more productive. (#831)
* fix: some minor bugs and make Dockerfile more productive.

* fix: make GitHub CI configuration support build image with STANDARD target.

* fix: Naming the base stage in multi-stage builds with lowercase letters to support various operating systems.

* fix: copy swagger to the image as well.
v1.62.1
2022-06-29 23:21:18 +08:00
Gucheng Wang
fe0ab0aa6f Fix downloadFile()'s google proxy. 2022-06-29 22:01:38 +08:00
Resulte Lee
a0e11cc8a0
feat: add aliyun captcha (#833)
* feat: add aliyun captcha provider

* Rename App key

* fix typo

* Rename HMACSHA1 & Reused clientId2 and clientSecret2

* Update ProviderEditPage.js

* Delete unused import

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
v1.62.0
2022-06-29 11:31:32 +08:00
Yixiang Zhao
8a66448365
feat: support casdoor as saml idp to connect keycloak (#832)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.61.0
2022-06-28 22:05:02 +08:00