DacongDA
141372cb86
feat: support face ID provider ( #3666 )
2025-03-19 22:57:35 +08:00
Yang Luo
41d9422687
feat: increase username limit to 255 chars
2025-03-01 00:44:34 +08:00
DacongDA
e3001671a2
feat: fix bug that can not delete user if user doesn't belong to any group ( #3544 )
2025-02-02 17:54:05 +08:00
DacongDA
9701818a6e
feat: delete groups for user while deleting user ( #3525 )
2025-01-23 09:46:33 +08:00
DacongDA
4fc7600865
feat: skip update user ranking if ranking not in accountItem ( #3500 )
2025-01-14 22:43:49 +08:00
Cutsin
3feb6ce84d
feat: add Kwai OAuth provider ( #3480 )
...
* feat: add Kwai OAuth provider
* fix: incorrect parameter in getAuthUrl
2025-01-08 00:09:16 +08:00
IZUMI-Zu
b57b64fc36
feat: add origin field for mfaAccountTable ( #3463 )
2024-12-29 22:51:21 +08:00
Cliff
48adc050d6
feat: can pass empty user id on user update ( #3443 )
2024-12-18 07:56:44 +08:00
Luckery
dff65eee20
feat: Force users to change their passwords after 3/6/12 months ( #3352 )
...
* feat: Force users to change their passwords after 3/6/12 months
* feat: Check if the password has expired by using the last_change_password_time field added to the user table
* feat: Use the created_time field of the user table to aid password expiration checking
* feat: Rename variable
2024-11-19 21:06:52 +08:00
Cliff
f7559aa040
feat: set created time if not presented in AddUser() API ( #3315 )
2024-10-24 23:06:05 +08:00
ZhaoYP 2001
7cd8f030ee
feat: support IP limitation for user entry pages ( #3267 )
...
* feat: support IP limitation for user entry pages
* fix: error message, ip whiteList, check_entry_ip
* fix: perform checks on the backend
* fix: change the implementation of checking IpWhitelist
* fix: add entryIpCheck in SetPassword and remove it from VerifyCode
* fix: remove additional error message pop-ups
* fix: add isRestricted and show ip error in EntryPage.js
* fix: error message
* Update auth.go
* Update check_ip.go
* Update check_ip.go
* fix: update return value of the check function from string to error
* fix: remoteAddress position
* fix: IP whitelist
* fix: clientIp
* fix:add util.GetClientIpFromRequest
* fix: remove duplicate IP and port separation codes and remove extra special characters after clientIp
* fix: gofumpt
* fix: getIpInfo and localhost
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2024-10-15 20:40:14 +08:00
ZhaoYP 2001
0b17cb9746
feat: make Organization.EnableSoftDeletion and User.IsDeleted work ( #3205 )
...
* feat: make Organization.EnableSoftDeletion and User.IsDeleted work
* fix: add handling of the situation where organization is nil
2024-09-15 14:35:44 +08:00
DacongDA
4c0fff66ff
feat: support shared application across organizations ( #3108 )
...
* feat: support share application
* revert: revert i18n
* fix: improve code format
* fix: improve code format and move GetSharedOrgFromApp to string.go
2024-08-09 15:43:25 +08:00
IZUMI-Zu
5a92411006
feat: add MFA accounts table ( #3066 )
...
* feat: add mfa accounts store
* fix: change MFA to Mfa
* fix: change MFA to Mfa
* fix: delete api
2024-07-20 22:51:15 +08:00
DacongDA
7f2869cecb
feat: link transaction with balance and payment ( #3052 )
...
* feat: add and update transaction when recharging
* feat: add pay with balance
* feat: improve code format
* feat: update icon url for balance
2024-07-12 15:48:37 +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
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
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
af2d26daf2
Add object.IsAppUser()
2024-04-24 01:10:38 +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
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
HGZ-20
391a533ce1
feat: add "Face ID" login method ( #2782 )
...
Face Login via face-api.js
2024-03-16 09:04:00 +08:00
Yang Luo
6998451e97
fix: support roles and permissions in /userinfo API
2024-03-10 12:34:56 +08:00
Yang Luo
ba1ddc7e50
fix: admin can modify user ID now
2024-02-28 18:07:53 +08:00
Yang Luo
59e07a35aa
Add balance to user
2024-02-28 16:54:30 +08:00
Yang Luo
03f005389f
feat: fix organizationChangeTrigger() and userChangeTrigger() bugs
2024-02-21 01:14:32 +08:00
DacongDA
d731c3c934
feat: add regex support for account item ( #2714 )
...
* feat: add regex support for account item
* feat: use reflect to process user field
* fix: fix lint problem
* feat: improve code format and fix reflect error
2024-02-17 15:24:36 +08:00
DacongDA
e71d0476f0
feat: support data initialization for groups, adapters, enforcers, plans and pricings ( #2685 )
2024-02-08 20:46:40 +08:00
dacongda
523186f895
feat: Support sha512 password encryption algorithm ( #2657 )
...
* add sha512 encryption support for password
* fead: add sha512 encryption support for password
2024-01-31 00:06:06 +08:00
Satinder Singh
ef373ca736
feat: add deletedTime to user ( #2652 )
2024-01-30 23:18:32 +08:00
Yang Luo
8b1c4b0c75
feat: make phone field longer to 100
2024-01-30 19:06:18 +08:00
Yang Luo
93c3c78d42
feat: support "id_card" in UpdateUser()
2024-01-26 08:23:55 +08:00
HGZ-20
d7c40459c0
feat: implement the enforcement for new invitation page ( #2628 )
...
Added new invitation code implementation
2024-01-22 02:25:13 +08:00
Yang Luo
00efdf1d03
Fix EmailVerified in UserInfo()
2024-01-05 09:37:42 +08:00
Yang Luo
27187b3a54
feat: add "Reset to Default HTML" button
2023-12-30 00:47:10 +08:00
Gucheng Wang
067276d739
Add new B2C provider
2023-12-17 16:29:29 +08:00
Yang Luo
5c103e8cd3
Improve error handling in GenerateIdForNewUser()
2023-12-14 10:12:00 +08:00
Daniil Mikhaylov
2ce8c93ead
feat: Improve LDAP filter support ( #2519 )
2023-11-26 23:11:49 +08:00
Yang Luo
988b14c6b5
Fix user's UpdatedTime in other APIs
2023-11-08 20:22:28 +08:00
Yang Luo
a9e72ac3cb
feat: fix bug in GetAllowedApplications()
2023-11-08 10:31:24 +08:00
Yang Luo
cf10738f45
Fix typo in AddUserKeys()
2023-10-31 13:31:12 +08:00
Yang Luo
ac00713c20
Improve error handling for object/user.go
2023-10-31 13:20:44 +08:00
Yang Luo
a616127909
Add organization.DefaultPassword
2023-10-18 11:58:25 +08:00
Pedro Padron
983da685a2
feat: support calling get-user API by only email, phone or userId without owner ( #2398 )
2023-10-13 02:48:55 +08:00
haiwu
440d87d70c
feat: support SCIM protocol ( #2393 )
...
* 111
* feat: support scim/Users GET and POST request
* feat: support scim/Users DELETE/PATCH/PUT request
* feat: better support scim/Users PATCH request
* feat: fix scim/Users logic
* feat: gofumpt
* feat: fix bug in scim/Users
* feat: fix typo
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-10-12 00:13:16 +08:00
Yang Luo
d06d7c5c09
Fix batch methods like AddUsersInBatch()
2023-10-08 19:33:28 +08:00
Yang Luo
981908b0b6
Fix crash in LDAP's sync: GenerateIdForNewUser()
2023-09-26 19:12:28 +08:00
Yang Luo
687830697e
Refactor getPermissionsAndRolesByUser() related code
2023-09-24 08:08:32 +08:00