2547 Commits

Author SHA1 Message Date
xyt
6161040c67
fix: Dismiss google one tap after logged in by setting disableCancelOnUnmount to false (#2854)
* fix: Google One Tap should be hidden after logged in

* Change the call location for google.accounts.id.cancel()

* fix: hide google one tap after login by set disableCancelOnUnmount to false
v1.591.1
2024-04-05 23:39:33 +08:00
xyt
1d785e61c6
feat: Google One Tap should be hidden after logged in (#2853)
* fix: Google One Tap should be hidden after logged in

* Change the call location for google.accounts.id.cancel()
v1.591.0
2024-04-05 20:10:13 +08:00
Yang Luo
0329d24867 feat: add isUsernameLowered to config v1.590.0 2024-04-02 21:54:16 +08:00
Yang Luo
fb6f3623ee feat: add requireProviderPermission() v1.589.0 2024-03-30 23:24:59 +08:00
DacongDA
eb448bd043
fix: fix permission problem in provider (#2848) 2024-03-30 23:18:03 +08:00
xyt
ea88839db9
feat: add back button in forget password page (#2847)
* feat: add back button in forget password page

* fix: can't step back when directly entering forgot password page

* feat: forget password page always return to login page

* feat: if has history then go back to history & change style

* Update ForgetPage.js

* fix: reset button position

* Update ForgetPage.js

* Update ForgetPage.js

---------

Co-authored-by: Eric Luo <hsluoyz@qq.com>
2024-03-30 23:17:47 +08:00
Yang Luo
cb95f6977a fix: fix PasswordModal error when changing username v1.588.1 2024-03-30 12:28:55 +08:00
Eric Luo
9067df92a7
feat: revert "feat: Support metamask mobile login" (#2845)
This reverts commit bfa2ab63ad62e1dad6a9a40c2c91fecda9fced8f.
v1.588.0
2024-03-30 00:36:25 +08:00
HGZ-20
bfa2ab63ad
feat: Support metamask mobile login (#2844) v1.587.0 2024-03-30 00:08:52 +08:00
DacongDA
505054b0eb
feat: use minWidth for a better display effect in org select (#2843) v1.586.0 2024-03-29 15:47:27 +08:00
Yang Luo
f95ce13b82 fix: support "Email or Phone" in signup table v1.585.1 2024-03-29 09:07:37 +08:00
xyt
5315f16a48
feat: can specify UI theme via /?theme=default and /?theme=dark (#2842)
* feat: set themeType through URL parameter

* Update App.js

---------

Co-authored-by: Eric Luo <hsluoyz@qq.com>
v1.585.0
2024-03-29 00:52:18 +08:00
Will.Feng
d054f3e001
feat: The /login/oauth/access_token api supports the token and id_token grant types. (#2836)
* In the response of the /api/get-captcha endpoint, add the parameters "owner" and "name" because these two parameters will be used when calling the /api/verify-captcha endpoint.

* The /login/oauth/access_token api supports the token and id_token grant types.
v1.584.0
2024-03-28 00:41:54 +08:00
Yang Luo
b158b840bd Add "new-user" to webhook event list v1.583.1 2024-03-27 15:23:06 +08:00
Yang Luo
b16f1807b3 fix: fix bug in "new-user" record 2024-03-27 15:15:40 +08:00
Yang Luo
d0cce1bf7a Order by "id" in GetPaginationRecords() 2024-03-27 15:14:41 +08:00
Yang Luo
9892cd20ab Improve erorr message in CheckVerificationCode() 2024-03-27 15:14:20 +08:00
Yang Luo
d1f31dd327 feat: fix linter v1.583.0 2024-03-26 23:24:53 +08:00
Yang Luo
94743246a1 Improve "%{user.friendlyName}" handling 2024-03-25 21:26:36 +08:00
Yang Luo
39ad1bc593 Add signup's object in AfterRecordMessage() 2024-03-25 21:20:33 +08:00
Will.Feng
d97f833d2a
feat: Add 'owner' and 'name' Parameters to /api/get-captcha Response for /api/verify-captcha Usage (#2834) v1.582.0 2024-03-25 16:34:42 +08:00
Yang Luo
948fa911e2 feat: add users to getGroups() and getGroup() APIs v1.581.0 2024-03-22 23:32:30 +08:00
Yang Luo
6073a0f63d Rename GroupListPage and GroupEditPage 2024-03-22 23:14:05 +08:00
Yang Luo
91268bca70 Improve enableAutoSignin option UI 2024-03-22 22:55:10 +08:00
DacongDA
23dbb0b926
feat: add response to Records page (#2830)
* feat: add response to Records page

* feat: improve AddRecord

* feat: remove log and return err

* feat: improve record in signup and record deny

* fix: filter will generate 403 record correctly
v1.580.0
2024-03-22 14:53:38 +08:00
pfeak
97cc1f9e2b
fix: delete duplicate err check in utils/validation.go (#2831) v1.579.1 2024-03-21 18:17:38 +08:00
Yang Luo
8c415be7c7 feat: upgrade goth to v1.79.0 v1.579.0 2024-03-20 19:57:15 +08:00
Yang Luo
e87165cfc8 Upgrade go.mod versions 2024-03-20 19:51:56 +08:00
DacongDA
fc4fa2e8b6
feat: add verification list page and related API (#2822)
* feat: add verification list page and relevant api

* feat: improve code format

* fix: fix timestamp display error
v1.578.0
2024-03-19 19:10:52 +08:00
Yaodong Yu
44ae76503e
feat: add default user mapping in custom oauth2 provider (#2819) v1.577.0 2024-03-18 23:01:17 +08:00
Yang Luo
ae1634a4d5 feat: fix user cannot logout issue about bug in GetSessionToken() v1.576.0 2024-03-18 02:11:39 +08:00
HGZ-20
bdf9864f69
fix: add FaceIdSigninBegin() to verify user information before face login (#2815)
* feat: add FaceIdSigninBegin() to verify user information before face login

* Update face.go

---------

Co-authored-by: Eric Luo <hsluoyz@qq.com>
v1.575.1
2024-03-18 00:04:12 +08:00
Yang Luo
72839d6bf5 feat: fix TokenFormat error in get-account API v1.575.0 2024-03-17 23:03:50 +08:00
Will.Feng
2c4b1093ed
fix: Correct expiresIn calculation for WeChat Mini Program token. (#2814) v1.574.1 2024-03-17 22:20:21 +08:00
Yang Luo
d1c55d5aa7 fix: improve error message in token_cas.go v1.574.0 2024-03-17 22:01:49 +08:00
SamYSF
c8aa35c9c6
feat: add token to the page for Chrome extension (#2804)
* feat: add token to the page for Chrome extension

* Update token_oauth.go

---------

Co-authored-by: Eric Luo <hsluoyz@qq.com>
2024-03-17 22:01:28 +08:00
Yang Luo
6037f37b87 feat: add default token format for built-in app v1.573.0 2024-03-17 20:46:01 +08:00
Yang Luo
1b478903d8 feat: fix login page error cannot show bug v1.572.0 2024-03-17 11:39:12 +08:00
Yang Luo
4f5ac7a10b Fix Face IDs label 2024-03-17 09:56:24 +08:00
Yang Luo
e81ba62234 Improve Face ID signin method UI 2024-03-17 09:56:23 +08:00
Ron
a19060c7cb
fix: missing parameter type_token_hint in IntrospectToken() (#2812)
* fix: missing parameter type_token_hint in IntrospectToken(); fix key token type
v1.571.1
2024-03-17 01:39:04 +08:00
HGZ-20
96812f676b
fix: "fs" module not found issue in face-api.js for browser usage (#2810) 2024-03-17 01:35:43 +08:00
HGZ-20
04f0458b5c
feat: improve handleCameraError() and camera call logic (#2809)
add i18n for face recognition
v1.571.0
2024-03-16 22:52:57 +08:00
Yang Luo
fd0bcd9a17 Improve getObject() for "/api/get-policies" 2024-03-16 21:42:00 +08:00
Yang Luo
01a5958307 Improve error text in RequireAdmin() 2024-03-16 21:14:19 +08:00
Yang Luo
be88b00278 feat: improve RequireAdmin() logic v1.570.0 2024-03-16 20:49:17 +08:00
Yang Luo
1bd0245e7a Improve CheckVerificationCode() error message, add receiver to index 2024-03-16 18:16:29 +08:00
Yang Luo
cc84bd37cf Add object field in RecordListPage 2024-03-16 16:57:04 +08:00
Yang Luo
8302fcf805 Improve handleCameraError() 2024-03-16 09:55:55 +08:00
HGZ-20
391a533ce1
feat: add "Face ID" login method (#2782)
Face Login via face-api.js
v1.569.0
2024-03-16 09:04:00 +08:00