Yang Luo
af2d26daf2
Add object.IsAppUser()
2024-04-24 01:10:38 +08:00
HGZ-20
b7be1943fa
feat: Add Invitation Code to Generate Invitation Link ( #2666 )
...
Add auto-population of invitation fields in the registration page based on the invitation code in the link
2024-02-02 21:12:56 +08:00
HGZ-20
5318519bf8
fix: fix bug in LDAP user login error count ( #2636 )
...
Fix the issue where the login error count is not reset to 0 after a successful LDAP user login.
2024-01-22 13:42:11 +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
93f0425759
Remove old application's InvitationCodes
2024-01-20 10:58:08 +08:00
Yang Luo
dc6fe13f75
feat: use signupItem.Regex to check signup page
2024-01-15 18:12:38 +08:00
Yang Luo
9b7f465a47
Fix failedSigninFrozenTime typo
2024-01-13 02:12:29 +08:00
Yang Luo
b1fe28fb83
Refactor application.FailedSigninLimit code
2024-01-13 02:09:18 +08:00
Yang Luo
280867d0cb
Add checkSigninErrorTimes() for LDAP signin
2024-01-09 21:53:44 +08:00
HGZ-20
ffa54247cd
feat: add LDAP signin method ( #2591 )
...
Add support for LDAP login methods
Add option to control LDAP user in password login method.
2024-01-08 21:07:34 +08:00
HGZ-20
5499e62d7f
feat: add the FailedSigninLimit
and FailedSigninfrozenTime
configuration options to the application ( #2552 )
...
Add configuration items to the application to limit the number of logins and the login wait time after the maximum number of errors is reached
feat: #2272
fix: fixed the issue where the token parameter could be set to a negative value
2023-12-20 22:29:53 +08:00
Yang Luo
85cb68eb66
feat: unbind LDAP clients if not used any more
2023-12-02 17:51:25 +08:00
Yang Luo
192968bac8
Improve permission.State
2023-11-22 00:03:33 +08:00
Yang Luo
811999b6cc
feat: fix error handling in CheckPassword() related functions
2023-11-20 21:49:19 +08:00
Yang Luo
140737b2f6
Fix some bugs in Apple OAuth login path
2023-10-31 23:10:36 +08:00
Yang Luo
37744d6cd7
Improve permission error handling
2023-10-22 02:30:29 +08:00
aiden
cbdeb91ee8
feat: support groups in app login permissions ( #2413 )
...
* fix(permission): fix CheckLoginPermission() logic
* style: fix code format
---------
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2023-10-17 14:35:13 +08:00
Yang Luo
ec0a8e16f7
feat: fix CheckLoginPermission() logic
2023-10-13 15:41:23 +08:00
Yang Luo
616629ef99
Refactor CheckLoginPermission() code
2023-09-15 02:47:53 +08:00
Yang Luo
e584a6a111
Support using "?allowEmpty=1" to bypass empty displayName check in update-user API
2023-09-02 11:59:07 +08:00
Yang Luo
ec956c12ca
Fix Email duplicated issue in update-user
2023-08-31 23:44:40 +08:00
Yaodong Yu
7970edeaa7
feat: password and invitation code verification rules ( #2258 )
2023-08-25 21:16:21 +08:00
Yaodong Yu
f5e0461cae
feat: add invitation code for signup feature ( #2249 )
...
* feat: add invitation code for signup feature
* feat: add invitation code for signup feature
2023-08-24 13:42:17 +08:00
Yaodong Yu
e5a189e0f4
fix: remove isGlobalAdmin field in user ( #2235 )
...
* refactor: remove isGlobalAdmin field in user
* fix: upload xlsx
* fix: remove field in account table
2023-08-19 12:23:15 +08:00
Yaodong Yu
949feb18af
feat: add basic enforcer manager ( #2130 )
...
* feat: add basic enforcer manager
* chore: generate swagger
2023-07-25 17:17:59 +08:00
Yaodong Yu
1c42b6e395
fix: refactor the idp and regex code ( #2030 )
...
* refactor: validate util and idp
* chore: clean code
* chore: clean code
2023-06-29 21:44:14 +08:00
Alex OvsInc
cadb533595
fix: unsafe verification username in CheckUsername ( #2006 )
...
* Customization of the initialization file
* Unsafe verification username in CheckUsername
2023-06-21 23:20:23 +08:00
leoil
0f57ac297b
ci: add password complexity options to organization edit page ( #1949 )
...
* Support uploading roles and permissions via xlsx file.
* Template xlsx file for uploading users and permissions.
* reformat according to gofumpt.
* fix typo.
* add password complexity options to organization edit page.
* add password complexity options to organization edit page.
* Fixed Typos.
* Fixed Typos.
* feat:add password complexity options to organization edit page
* Auto generate i18n fields.
* Refactor code according to instructions
* Support autocheck passwd complexity in frontend when setting passwd in user edit page.
* feat:Backend Support for password validation in signup and forget page.
* feat:Frontend Support for password validation in signup and forget page.
* Add default password complex option & Update historical empty filed with default option.
* Migrator for field `password_complex_options` in org table.
* feat: support frontend password complex option check in user_edit/forget/signup page.
* frontend update for user edit page
* update i18n file
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-06-17 00:07:36 +08:00
Yaodong Yu
98fb9f25b0
feat: fix bug that users in role don't work for permissions ( #1977 )
...
* feat: fix check login permission
* feat: fix check login permission
2023-06-16 20:14:27 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend ( #1836 )
...
* feat: return most backend API errros to frontend
Signed-off-by: yehong <239859435@qq.com>
* refactor: reduce int type change
Signed-off-by: yehong <239859435@qq.com>
* feat: return err backend in token.go
Signed-off-by: yehong <239859435@qq.com>
---------
Signed-off-by: yehong <239859435@qq.com>
2023-05-30 15:49:39 +08:00
guangwu
54e4747dbc
refactor: code-optimization ( #1885 )
...
* refactor: code-optimization
* fix: restoring code style
* fix: gofmt
2023-05-23 17:54:51 +08:00
Yaodong Yu
1260354b36
fix: add sAMAccountName for AD search ( #1869 )
2023-05-19 21:16:59 +08:00
Yang Luo
437376c472
Fix CheckAccessPermission()
2023-05-18 13:36:16 +08:00
Yang Luo
695a612e77
Improve passwordType in CheckPassword()
2023-05-16 20:14:05 +08:00
Alexander Egorov
645d53e2c6
feat: User should have PasswordType like Organization ( #1841 )
...
* fixes #1840 : [backend] User should have PasswordType like Organization is
* Update migrator.go
* Update and rename migrator_1_314_0_PR_1838.go to migrator_1_314_0_PR_1841.go
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-16 20:11:19 +08:00
Yang Luo
96a3db21a1
Support LDAP search by user tag
2023-05-12 13:03:43 +08:00
Yaodong Yu
95f4f4cb6d
feat: refactor out form package and optimize verification code module ( #1787 )
...
* refactor: add forms package and optimize verification code module
* chore: add license
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: swagger
2023-04-25 23:05:53 +08:00
XDTD
6d6cbc7e6f
feat: add dynamic mode for provider to enable verification code when the login password is wrong ( #1753 )
...
* fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates
* feat: enable verification code when the login password is wrong
* fix: only enable captcha when login in password
* fix: disable login error limits when captcha on
* fix: pass "enableCaptcha" as an optional param
* fix: change enbleCapctah to optional bool param
2023-04-22 16:16:25 +08:00
Yaodong Yu
1b1de1dd01
feat: add LDAP custom filter support ( #1719 )
...
* refactor: improve ldap server code
* feat: custom filter
* fix: fix displayName mapping
* feat: add custom filter search fields
* chore: add license
* chore: i18n
* chore: i18n
* chore: update init field
2023-04-13 14:12:31 +08:00
Yaodong Yu
b7d78d1e27
fix: validate parameter and nil in func updateUser ( #1714 )
...
* fix: validate parameter and nil in func updateUser
* fix: delete blank line
2023-04-09 10:35:30 +08:00
Yaodong Yu
b99a0c3ca2
feat: optimize the "forget password" page ( #1709 )
2023-04-06 23:06:18 +08:00
Yaodong Yu
fd883a3211
feat: improve verification error translation ( #1660 )
2023-03-15 23:44:38 +08:00
Yaodong Yu
295a69c5f7
feat: support LDAP with SSL/TLS enabled ( #1655 )
2023-03-15 11:12:31 +08:00
Yaodong Yu
e8a7b7ee9c
feat: support all captcha for login ( #1619 )
...
* refactor: captcha modal
* feat: support all captcha when login
* chore: improve i18 in loginPage.js
2023-03-05 20:31:46 +08:00
Yaodong Yu
eb72c9f273
feat: support multiple country codes for sending SMS ( #1557 )
...
* feat: support multiple country code
* feat: improve UI
* feat: migrate accountItem
* fix: Aliyun compatible
* fix: phone validate
* fix: typo
2023-02-16 22:53:28 +08:00
June
79fc0516dd
feat: check username if it's changed ( #1482 )
2023-01-17 17:08:37 +08:00
Yaodong Yu
ce2a4bbf6e
feat: check uniqueness for email and phone when updating user ( #1461 )
...
* fix: check unique field when update user
* Update data.json
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-01-10 22:34:08 +08:00
Gucheng Wang
57028c2059
Remove duplicated i18n words
2023-01-06 20:24:14 +08:00
Gucheng Wang
a6e9084973
Remove duplicated i18n words
2023-01-06 20:12:32 +08:00
Gucheng Wang
6fb3e2cd7f
Remove check_util i18n words
2023-01-06 19:57:13 +08:00