2b5576ddee
Add database persistence for LDAP custom attributes
...
- Added xorm tag to CustomAttributes field in Ldap struct to enable database persistence
- Added xorm tag to Properties field in User struct to enable database persistence
- This allows custom LDAP attributes to be properly stored and retrieved from the database
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
2025-10-21 17:58:14 +00:00
18451a874e
feat: add 9 more custom fields for custom oauth ( #4265 )
2025-10-14 22:26:41 +08:00
7e2c2bfc64
feat: Add RegisterType and RegisterSource fields to User struct ( #4252 )
2025-10-14 20:56:38 +08:00
d5f29d716a
feat: change User.Avatar's DB type to text ( #4199 )
2025-09-20 21:32:51 +08:00
eda742a848
feat: support e164 phone number in GetUserByPhone() ( #4099 )
2025-08-19 02:19:15 +08:00
a28b871a46
feat: add useGroupPathInToken boolean field in app.conf ( #4026 )
2025-08-02 01:40:26 +08:00
2d6de216b8
feat: move to a more robust way of checking if element in slice ( #4001 )
2025-07-26 11:57:45 +08:00
447cb70553
feat: change some fields of organization and user to mediumtext
2025-07-21 23:43:17 +08:00
2da597b26f
feat: add support for per-account MFA validity period in org setting to reduce repeated prompts ( #3917 )
2025-07-11 00:24:33 +08:00
1f2b0a3587
feat: add user's MFA items ( #3921 )
2025-07-02 23:05:07 +08:00
6dc7b4d533
feat: get-user API respects org's account item's view rules now ( #3882 )
2025-06-16 20:09:21 +08:00
4cb0cd7c5a
feat: add Organization.HasPrivilegeConsent to block add-user API for the "built-in" org ( #3864 )
2025-06-06 23:05:01 +08:00
4e17dae2c2
feat: fix unable to remove user from group bug ( #3847 )
2025-05-28 22:29:40 +08:00
086859d1ce
feat: change User.Avatar length back to 500
2025-05-18 09:47:56 +08:00
9afaf5d695
feat: increase User.Avatar length to 1000
2025-05-17 19:59:17 +08:00
d772b0b7a8
feat: fix bug that username will be random with useEmailAsUsername enabled ( #3793 )
2025-05-16 18:40:50 +08:00
7d1c614452
feat: use random name as name if user's name is invalid when created by third party provider ( #3742 )
2025-04-23 21:30:19 +08:00
a00900e405
feat: fix sqlite bug for failed to lookup Client-side Discoverable Credential: user not exist ( #3719 )
2025-04-09 22:26:47 +08:00
b3bafe8402
feat: fix bug that unable to query webauthnCredentials when db is mssql or postgres in GetUserByWebauthID() ( #3712 )
2025-04-08 17:51:32 +08:00
952538916d
feat: check application existence in object.AddUser() ( #3686 )
2025-04-05 16:38:20 +08:00
b6f943e326
feat: support WebAuthn login without username and upgrade Go to 1.21 ( #3695 )
2025-04-01 16:35:59 +08:00
141372cb86
feat: support face ID provider ( #3666 )
2025-03-19 22:57:35 +08:00
41d9422687
feat: increase username limit to 255 chars
2025-03-01 00:44:34 +08:00
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
9701818a6e
feat: delete groups for user while deleting user ( #3525 )
2025-01-23 09:46:33 +08:00
4fc7600865
feat: skip update user ranking if ranking not in accountItem ( #3500 )
2025-01-14 22:43:49 +08:00
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
b57b64fc36
feat: add origin field for mfaAccountTable ( #3463 )
2024-12-29 22:51:21 +08:00
48adc050d6
feat: can pass empty user id on user update ( #3443 )
2024-12-18 07:56:44 +08:00
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
f7559aa040
feat: set created time if not presented in AddUser() API ( #3315 )
2024-10-24 23:06:05 +08:00
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
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
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
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
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
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
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
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
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
af2d26daf2
Add object.IsAppUser()
2024-04-24 01:10:38 +08:00
dfa4503f24
feat: support "mfa_phone_enabled", "mfa_email_enabled" in update-user API
2024-04-20 00:16:45 +08:00
0329d24867
feat: add isUsernameLowered to config
2024-04-02 21:54:16 +08:00
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
391a533ce1
feat: add "Face ID" login method ( #2782 )
...
Face Login via face-api.js
2024-03-16 09:04:00 +08:00
6998451e97
fix: support roles and permissions in /userinfo API
2024-03-10 12:34:56 +08:00
ba1ddc7e50
fix: admin can modify user ID now
2024-02-28 18:07:53 +08:00
59e07a35aa
Add balance to user
2024-02-28 16:54:30 +08:00
03f005389f
feat: fix organizationChangeTrigger() and userChangeTrigger() bugs
2024-02-21 01:14:32 +08:00
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