de7e322fbb
feat: limit the width of the organization.hasPrivilegeConsent popconfirm ( #3869 )
2025-06-07 00:30:41 +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
91057f54f3
feat: add Pbkdf2DjangoCredManager ( #3745 )
2025-04-25 16:16:50 +08:00
a11fe59704
feat: support widget items config in org ( #3674 )
2025-03-21 23:00:07 +08:00
a0931e4597
feat: add userTypes to Organization
2025-02-09 17:12:13 +08:00
df295717f0
feat: can define what Casdoor pages an org admin can see via Organization.NavItems ( #3539 )
...
* feat: support define what Casdoor pages an org admin can see
* feat: remove useless code
* fix: fix NavItemNodes i18next invalid
* fix: only global admin can edit navItems
* fix: move navItem tree to extra file
2025-02-03 00:40:21 +08:00
af01c4226a
feat: add Organization.PasswordExpireDays field
2024-11-15 11:33:28 +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
468631e654
feat: support "All" in organization's country codes ( #3264 )
2024-10-03 22:58:09 +08:00
e1dea9f697
feat: add organization's PasswordObfuscator to obfuscate login API's password ( #3260 )
...
* feat: add PasswordObfuscator to the login API
* fix: change key error message
* fix: remove unnecessary change
* fix: fix one
* fix: fix two
* fix: fix three
* fix: fix five
* fix: disable organization update when key is invalid
* fix: fix six
* fix: use Form.Item to control key
* fix: update obfuscator.js
* Update obfuscator.go
* Update obfuscator.go
* Update auth.go
* fix: remove real-time key monitoring
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-10-03 10:38:37 +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
5686fe5d22
feat: use orgnization logo as tour logo and allow to configure whether to enable tour in organization edit page ( #3046 )
2024-07-10 14:18:04 +08:00
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
3875896c1e
feat: support custom header logo ( #2801 )
...
* feat: support custom header logo
* feat: add i18n
* feat: preview default logo when field is empty
* feat: improve logo setting and display logic
* feat: change logoLight to logo
2024-03-13 23:33:43 +08:00
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
fdb68bf9c8
Rename to SigninMethodTable
2024-01-13 15:53:01 +08:00
2d4998228c
Add organization.MasterVerificationCode
2023-11-13 13:53:41 +08:00
a616127909
Add organization.DefaultPassword
2023-10-18 11:58:25 +08:00
684cbdb951
fix: replace the wrong param name willExist ( #2389 )
2023-10-10 21:47:38 +08:00
a6f803aff1
feat: refactor code to use responseOK everywhere ( #2111 )
...
* refactor: use responseOK return frontend format json data
* revert handle error
* revert handle error
2023-07-23 09:49:16 +08:00
d31077a510
Remove conf values
2023-06-30 01:38:48 +08:00
eee9b8b9fe
feat: add organization context select box for admin ( #2013 )
...
* feat: organization as context
* feat: organization as context with backend filtration
* Update app.conf
* update app.conf and hide organization select for mobile.
---------
Co-authored-by: dplynsky <dplynsky@ptsecurity.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-30 01:32:34 +08:00
cd7589775c
feat: replace all panic by response err ( #1993 )
...
* fix: missing return after response error
* feat: handle error in frontend
* feat: disable loading and catch org edit error
* chore: i18 for error message
* chore: remove break line
* feat: application catching error
2023-06-27 21:33:47 +08:00
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
7058a34f87
feat: complete group tree ( #1967 )
...
* feat: complete group tree
* feat: ui
* fix: i18n
* refactor code
* fix: support remove user from group
* fix: format code
* Update organization.go
* Update organization.go
* Update user_group.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-14 23:27:46 +08:00
0bda29f143
feat: show 404 error for non-existent objects in edit pages
2023-06-10 01:56:15 +08:00
11f3af1ede
Improve Select modes
2023-05-31 17:36:11 +08:00
437376c472
Fix CheckAccessPermission()
2023-05-18 13:36:16 +08:00
9092cad631
feat: support forced binding MFA after login ( #1845 )
2023-05-17 01:13:13 +08:00
eb39e9e044
feat: add multi-factor authentication (MFA) feature ( #1800 )
...
* feat: add two-factor authentication interface and api
* merge
* feat: add Two-factor authentication accountItem and two-factor api in frontend
* feat: add basic 2fa setup UI
* rebase
* feat: finish the two-factor authentication
* rebase
* feat: support recover code
* chore: fix eslint error
* feat: support multiple sms account
* fix: client application login
* fix: lint
* Update authz.go
* Update mfa.go
* fix: support phone
* fix: i18n
* fix: i18n
* fix: support preferred mfa methods
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-05 21:23:59 +08:00
a8937d3046
feat: refactor agreement modal and create folders to classify components ( #1686 )
...
* refactor: refactor agreement modal and create folders to classify components
* fix: i18
* fix: i18
* fix: i18n
2023-03-26 18:44:47 +08:00
28d24cc913
Improve i18n
2023-03-18 12:18:42 +08:00
f5672357e6
fix resetting phone bug
2023-02-25 15:46:54 +08:00
181e7c8c7d
Refactor out getCountryCodeOption()
2023-02-25 15:25:47 +08:00
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
950a274b23
fix: region don't display in userEditPage ( #1544 )
2023-02-12 18:56:56 +08:00
95b32d5ebf
feat: support customize theme ( #1500 )
...
* refactor: simplify functions and improve variable naming
* feat: add themeEditor component
* feat: support customize theme
* chore: resolve conflict and add LICENCE
* chore: format code
* refactor: use icon replace background url
* feat: improve organization and application theme editor
2023-02-01 22:06:40 +08:00
fcdf1e8dd2
feat: improve Select component performance ( #1472 )
2023-01-12 23:11:11 +08:00
a51f0d7c08
feat: init score in organization ( #1388 )
...
* feat: init score in organization
* Update OrganizationEditPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-12-10 22:27:12 +08:00
9f3ee275a8
feat: reformat frontend alert texts with correct i18n ( #1341 )
...
* fix: add i18
* fix: standard prompt message
2022-12-02 00:06:28 +08:00
d815bf92bd
fix: handle add message in frontend ( #1340 )
2022-11-29 20:32:47 +08:00
19ba37e0c2
feat: can specify available UI languages for an organization ( #1306 )
2022-11-19 22:11:19 +08:00
b6cdc46023
feat: add defaultApplication for Orgnization ( #1111 )
...
* feat: add defaultApplication for Orgnization
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: remove redundant codes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: don't use app-built-in
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: add query param
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* Update organization.go
* Update organization.go
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-09-10 20:41:45 +08:00
deed857788
chore(style): allow case declarations and ban var
( #987 )
...
* chore(style): allow case declarations
* chore(style): ban `var` and prefer `const`
2022-08-08 23:35:24 +08:00
cd966116d4
feat: comma dangle
2022-08-06 23:54:56 +08:00
6aaba6debd
feat: space between infix op
2022-08-06 23:43:09 +08:00
503d244166
feat(web): add lint ( #875 )
...
* feat: add lint
* feat: fix lint error
* chore: add ignore file
* chore: close indent
2022-07-10 15:45:55 +08:00
ae4ab9902b
Add accountTable.
2022-06-18 01:41:21 +08:00
be91ff47aa
Fix logo columns.
2022-06-17 00:07:16 +08:00
1b840a2e9f
feat: support argon2id pass manager ( #744 )
...
* support for argon2id
* Update argon2id.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-05-06 09:25:42 +08:00