5c107db43b
fix: fix i18n typo
2023-12-30 00:49:39 +08:00
dc06eb9948
feat: fix secret information issue in the CAPTCHA provider code ( #2531 )
2023-12-11 18:01:56 +08:00
b38654a45a
Add renderAiAssistant()
2023-10-28 23:58:51 +08:00
3459ef1479
Improve termsOfUse UI and error handling
2023-09-07 10:33:20 +08:00
559a91e8ee
feat: fix bug that failed to set password after changing username ( #2296 )
...
* fix: failed to set password after changing username
When we add a new member to an organization using Casdoor, Casdoor will automatically generate a member with a random username, such as "user_qvducc". When we change the username, for example, to "yunshu", an issue arises where we are unable to successfully edit the password. This is because Casdoor searches for a user based on `owner/username`, and before any changes are saved, the username in the database remains "user_qvducc". However, the frontend uses `orgName/yunshu` instead of `orgName/user_qvducc` to send the request to change the password. As a result, the backend cannot find the user and the password change fails.
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-09-03 00:04:48 +08:00
7a85b74573
fix: fix tour disabled state ( #2264 )
...
* fix: distinguish between pages that can tour or not
* Update OpenTour.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-27 23:18:14 +08:00
ec8bd6f01d
feat: add tour for list pages ( #2243 )
2023-08-27 16:40:31 +08:00
c54b54ca19
fix: Adjust custom http to notification provider ( #2237 )
...
* feat: Adjust custom http to notification provider
* fix go linter
* update ProviderEditPage
* update ProviderEditPage
2023-08-20 21:04:30 +08:00
4468859795
Improve sendTest msg
2023-08-19 12:47:51 +08:00
914128a78a
fix: Support Telegram Notification provider ( #2225 )
...
* fear: support telegram provider
* fix: fix telegram logo
* fix: fix telegram bot package
* Update telegram.go
* Update notification.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-19 12:33:00 +08:00
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
d12117324c
feat: support admin to enable MFA for other users ( #2221 )
...
* feat: support admin enable user sms and email mfa
* chore: update ci
* chore: update ci
2023-08-17 17:19:24 +08:00
891e8e21d8
feat: support Web3-Onboard provider ( #2209 )
...
* feat: add Web3-Onboard idp
* feat: update Web3-Onboard logo
* feat: update package.json
* feat: remove unused package
* feat: add yarn build param --max_old_space_size=4096
* feat: remove log
* feat: add Wallet configure
* feat: remove hardware wallets
2023-08-13 23:58:57 +08:00
aee3ea4981
feat: improve TermsOfUse UI in mobile ( #2106 )
...
* style: Mobile interface adaptation
Signed-off-by: baihhh <2542274498@qq.com >
* Update index.css
---------
Signed-off-by: baihhh <2542274498@qq.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-07-23 15:28:13 +08:00
d7110ff8bf
feat: support MetaMask provider ( #2084 )
...
* feat: add metamask provider
* feat: add eth login
* feat: check eth sign
* feat: finish metamask signin/signup
* feat: support MetaMask provider link/unlink
* feat: update web/craco.config.js to handle polyfill
* feat: gofumpt idp/metamask.go
* feat: update MetaMask logo path
* feat: support MetaMask avatar
2023-07-20 17:51:36 +08:00
8bc73d17aa
feat: fix bug that themeEditor can not load saved theme data ( #2085 )
2023-07-17 22:57:55 +08:00
347d3d2b53
feat: fix bugs in MFA ( #2033 )
...
* fix: prompt mfa binding
* fix: clean session when leave promptpage
* fix: css
* fix: force enable mfa
* fix: add prompt rule
* fix: refactor directory structure
* fix: prompt notification
* fix: fix some bug and clean code
* fix: rebase
* fix: improve notification
* fix: i18n
* fix: router
* fix: prompt
* fix: remove localStorage
2023-07-07 12:30:07 +08:00
bc1c4d32f0
feat: user can upload ID card info ( #2040 )
...
* feat:user can upload ID card(#1999 )
Signed-off-by: baihhh <2542274498@qq.com >
* feat: user can upload ID card, add diff languages
Signed-off-by: baihhh <2542274498@qq.com >
---------
Signed-off-by: baihhh <2542274498@qq.com >
2023-07-06 20:36:32 +08:00
1ab7a54133
Add DefaultApplication to conf
2023-07-02 09:15:22 +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
c391af4552
feat: improve MFA by using user's own Email and Phone ( #2002 )
...
* refactor: mfa
* fix: clean code
* fix: clean code
* fix: fix crash and improve robot
2023-06-21 18:56:37 +08:00
d505a4bf2d
Remove org API calls in PasswordModal page
2023-06-21 00:49:03 +08:00
12dee8afd3
Fix null options in checkPasswordComplexity()
2023-06-17 22:38:02 +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
0e14a2597e
feat: Add tree structure to organization page ( #1910 )
...
* rebase master
* feat: add group in userEditPage
* feat: use id as the pk
* feat: add groups item in user
* feat: add tree component
* rebase
* feat: ui
* fix: fix some bug
* fix: route
* fix: ui
* fix: improve ui
2023-06-12 09:27:16 +08:00
70c372c3f7
Fix Provider API responses
2023-06-02 11:49:38 +08:00
8ede4993af
feat: specify login organization
2023-05-27 19:02:54 +08:00
80e6e7f0a7
fix: fix bug about updating parent component value in CountryCodeSelect ( #1891 )
2023-05-25 10:45:13 +08:00
225e9cf70a
fix: set initial value in CountryCodeSelect ( #1890 )
2023-05-24 23:27:04 +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
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
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
3d5a645a3b
feat: fix field name error of termsOfUse ( #1715 )
2023-04-09 01:01:04 +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
89d29c2519
Add "empty" to i18n
2023-03-19 20:13:07 +08:00
98f962f818
Support i18n of id
2023-03-19 19:56:56 +08:00
5989c4ff34
Remove i18n duplicates
2023-03-19 01:03:12 +08:00
ed9ceaefe1
Finish i18n of de
2023-03-18 20:31:31 +08:00
263f804ab8
Finish i18n of es
2023-03-18 17:24:31 +08:00
28d24cc913
Improve i18n
2023-03-18 12:18:42 +08:00
7e4c9c91cd
improve sending text
2023-03-10 22:35:47 +08:00
9d55238cef
Fix code issue
2023-03-06 00:33:26 +08:00
8427d63872
feat: fix empty value of countryCode for signup ( #1620 )
2023-03-05 21:52:40 +08:00
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
ca1b5feb78
Improve default captcha UI
2023-03-02 22:04:37 +08:00
afd3c4ed25
fix: fix bug form country code init error ( #1591 )
2023-02-27 22:07:28 +08:00
5caceb4ae2
feat: fix bug that signup country code is undefined ( #1590 )
...
* feat: fix signup country code is undefined
* refactor: valid phone number in CN
2023-02-27 20:10:59 +08:00