2416 Commits

Author SHA1 Message Date
DacongDA
3d29e27d54
feat: support multiple SMS providers for different regions (#2914)
* feat: support using different sms provider for different region

* feat: add multiple support for select and remove log

* feat: revert change for countryCode in loginPage

* feat: revert change for countryCode in user_util.go

* feat: revert change for countryCode in auth.go

* Update application_item.go

* Update CountryCodeSelect.js

* Update ProviderTable.js

---------

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2024-05-01 00:40:47 +08:00
filwaline
199f1d4d10
feat: fix Auto-login causing AuthCodeWithPKCE Failures (#2911) v1.603.0 2024-04-30 12:14:50 +08:00
DacongDA
227e938db6
feat: fix error behavior of custom oauth/saml provider in login page in big icon mode (#2900) v1.602.0 2024-04-26 23:33:41 +08:00
Yang Luo
739cfd84ed feat: cannot empty SigninMethodTable now v1.601.0 2024-04-26 21:23:23 +08:00
DacongDA
8dbb041a34
feat: fix empty custom CSS for new rows in signin items table (#2897) v1.600.0 2024-04-24 15:19:30 +08:00
Yang Luo
af2d26daf2 Add object.IsAppUser() 2024-04-24 01:10:38 +08:00
DacongDA
90d502ab2b
feat: add custom css style for signup page and enhance css edit (#2880)
* feat: add custom css style for signup page and enhance css edit in signintable

* feat: change cssStyle to customCss

* feat: auto hide <style> label, fix display problem on providers, remove auto add providers in signup page

* fix: fix indent in signin items customCss and fix providers display in signup items

* fix: fix login replace logical
v1.599.0
2024-04-21 11:56:18 +08:00
MyColorfulDays
d51af3378e
fix: fix init data not saved to database (#2885) (#2886) 2024-04-21 11:55:06 +08:00
Yang Luo
87e2b97813 feat: translate Ukrainian language i18n v1.598.0 2024-04-20 02:14:23 +08:00
Yang Luo
d9e44c1f2d fix: add "Is used" to verification list page v1.597.0 2024-04-20 00:18:52 +08:00
Yang Luo
dfa4503f24 feat: support "mfa_phone_enabled", "mfa_email_enabled" in update-user API 2024-04-20 00:16:45 +08:00
guangwu
f7fb32893b
fix: close file in LocalFileSystemProvider's Put() (#2882) 2024-04-20 00:11:52 +08:00
Yang Luo
66d0758b13 feat: fix DisableVerificationCode bug about empty email and phone v1.596.0 2024-04-19 13:28:13 +08:00
Yang Luo
46ad0fe0be Improve Email Send() logic 2024-04-11 19:09:48 +08:00
Yang Luo
6b637e3b2e feat: fix SendgridEmailProvider error handling, fix send-email template v1.595.0 2024-04-11 00:18:39 +08:00
DacongDA
3354945119
feat: add SendGrid Email provider (#2865)
* feat: add support for email provider send grid

* feat: rename send grid to sendgrid

* feat: rename send grid to sendgrid

* feat: change logo url of send grid
v1.594.0
2024-04-09 22:16:01 +08:00
DacongDA
19c4416f10
feat: degrade the ant-design/cssinjs version to fix the Chrome 87 broken UI issue (#2861) v1.593.0 2024-04-09 09:15:39 +08:00
Yang Luo
2077db9091 fix: fix bug in VerificationListPage v1.592.1 2024-04-07 15:39:25 +08:00
无别
800f0ed249
feat: add tzdata package in Dockerfile to fix timezone issue (#2857)
Add tzdata to resolve possible time zone errors
v1.592.0
2024-04-07 14:27:45 +08:00
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