* 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>
* 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>
* 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
* Fix bug in GetAcceptLanguage()
* feat: allow captcha to be enabled when logging in
* feat: when the login password is wrong, enable captcha
* feat: Restrict captcha from frontend
* fix: modify CaptchaModal component
* fix: modify the words of i18n
* Update data.json
Co-authored-by: Gucheng Wang <nomeguy@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
* feat: support i18n in backend err messages
* use gofumpt to fmt code
* fix review problems
* support auto generate err message
* delete beego/i18n moudle
* fix Github action test problems
* fix review problems
* use gofumpt to format code
* use gofumpt to fmt code
* feat(login): add login limit
* chore: rename vars
* chore: use `string`
* fix: clear the signin error times after succeessfull login
* chore: modify code position
* fix:The certs page is displayed incorrectly
* Translations for each language are added
* Replace the variables certificat with Certificat with certificate and Certificate
* Replace the variables certificat with Certificat with certificate and Certificate
* Variable names are more accurate
* Variable names are more accurate
* Modify the variable name
* fix: Default action prevents admin to login in