Eric Luo
599ab9aae8
Revert "feat: fix OIDC address field ( #3013 )"
...
This reverts commit 2f48d457730ece630405b555ec9253333648df3a.
2024-06-25 16:13:51 +08:00
Husile
2f48d45773
feat: fix OIDC address field ( #3013 )
...
* feat:add fields of sync-database
* feat:add fields of sync-database
* feat: add several fields related to the OIDC specification address
* feat: add the field Address to Address structure in UserWithoutThirdIdp
* fix: delete redundant fields
* fix: add Address struct and delete redundant fields
2024-06-25 11:54:34 +08:00
Grégoire
cff0c7a273
feat: support "Use Email as username" in org ( #3002 )
...
Signed-off-by: Grégoire Bélorgey <gregoire@jianda.fr>
2024-06-22 16:52:11 +08:00
DacongDA
793a7d6cda
feat: add free charge price mode for product buy page ( #3015 )
...
* feat: add free charge price mode for product buy page
* fix: improve code format
2024-06-22 14:05:53 +08:00
DacongDA
e5f9aab28f
feat: support resetting password on first login ( #2980 )
...
* feat: support reset password in first login
* feat: disable needUpdatePassword when user haven't email and phone and mfa
2024-06-02 01:00:55 +08:00
Yang Luo
7d05b69aac
feat: remove useless code
2024-05-28 20:33:55 +08:00
Husile
40ad3c9234
feat: support MFA fields in syncer ( #2966 )
...
* feat:add fields of sync-database
* feat:add fields of sync-database
2024-05-27 01:06:59 +08:00
DacongDA
af2a9f0374
feat: get phone number and country from Google OAuth provider ( #2965 )
...
* feat: get phone number and country from Google OAuth provider
* feat: fix i18n
2024-05-23 00:42:36 +08:00
DacongDA
6efec6b4b5
feat: support "label" field for signin item table ( #2956 )
2024-05-19 03:07:36 +08:00
DacongDA
2daf26aa88
feat: use lowercase username when isUsernameLowered is enabled ( #2952 )
...
* feat: auto trim username during login and lowercase when isUsernameLowered enabled in conf
* fix: fix linter error
* fix: fix linter error
* fix: fix linter error
2024-05-17 11:43:19 +08:00
DacongDA
21c151bcf8
feat: fix password not updated bug when updating syncer ( #2945 )
2024-05-13 00:12:35 +08:00
DacongDA
b6b0b7d318
feat: support checking whether send-webhook API has error ( #2944 )
...
* feat: add webhook response for record
* refactor: refactor SendWebhook and use readall to read response body
* fix: improve code format
* fix: improve code format
* fix: improve code format
2024-05-12 20:30:15 +08:00
Yang Luo
0ecc1d599f
feat: fix bug in AddUsersInBatch()
2024-05-11 16:59:33 +08:00
DacongDA
c302dc7b8e
fix: fix bug when init plan and pricing and record ( #2934 )
...
* fix: fix potential bugs in init data
* fix: improve code format
* fix: fix bug when init plan and pricing and record
2024-05-07 23:33:01 +08:00
DacongDA
d24ddd4f1c
feat: fix potential bugs in init_data.go ( #2932 )
...
* fix: fix potential bugs in init data
* fix: improve code format
2024-05-07 23:11:08 +08:00
Yang Luo
572616d390
fix: fix bug in ProviderItem.CountryCodes
2024-05-07 17:17:45 +08:00
Yang Luo
2187310dbc
feat: fix bug in initDefinedOrganization()
2024-05-06 13:57:08 +08:00
DacongDA
26345bb21b
feat: add sms provider sendcloud ( #2927 )
2024-05-06 13:38:55 +08:00
DacongDA
e0455df504
feat: improve record content masking ( #2923 )
...
* feat: hide password in record
* feat: improve code format
* feat: improve code format
2024-05-05 12:42:09 +08:00
DacongDA
1dfbbf0e90
feat: fix bug that fails to import built-in org via init_data.json ( #2922 )
2024-05-05 01:06:15 +08:00
Yang Luo
3a45a4ee77
fix: rename to countryCodes
2024-05-01 09:47:44 +08:00
Yang Luo
43393f034b
feat: fix the Email provider fails to match bug in GetProviderByCategoryAndRule()
2024-05-01 09:44:19 +08:00
Yang Luo
8d08140421
fix: fix typo in initBuiltInPermission()
2024-05-01 00:41:16 +08:00
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
DacongDA
8dbb041a34
feat: fix empty custom CSS for new rows in signin items table ( #2897 )
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
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
dfa4503f24
feat: support "mfa_phone_enabled", "mfa_email_enabled" in update-user API
2024-04-20 00:16:45 +08:00
Yang Luo
0329d24867
feat: add isUsernameLowered to config
2024-04-02 21:54:16 +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.
2024-03-28 00:41:54 +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
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
948fa911e2
feat: add users to getGroups() and getGroup() APIs
2024-03-22 23:32:30 +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
2024-03-22 14:53:38 +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
2024-03-19 19:10:52 +08:00
Yang Luo
ae1634a4d5
feat: fix user cannot logout issue about bug in GetSessionToken()
2024-03-18 02:11:39 +08:00
Yang Luo
72839d6bf5
feat: fix TokenFormat error in get-account API
2024-03-17 23:03:50 +08:00
Will.Feng
2c4b1093ed
fix: Correct expiresIn calculation for WeChat Mini Program token. ( #2814 )
2024-03-17 22:20:21 +08:00
Yang Luo
d1c55d5aa7
fix: improve error message in token_cas.go
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
2024-03-17 20:46:01 +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
2024-03-17 01:39:04 +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
HGZ-20
391a533ce1
feat: add "Face ID" login method ( #2782 )
...
Face Login via face-api.js
2024-03-16 09:04:00 +08:00