* feat: integrate external model editor and handle message events for model updates
* feat: add CasbinEditor and IframeEditor components for model editing
* feat: add tabbed editor interface for CasbinEditor
* fix: Synchronize content between basic and advanced editors
* refactor: simplify CasbinEditor and ModelEditPage components
* refactor: Refactor CasbinEditor for improved iframe initialization and model synchronization
* refactor: update default state of CasbinEditor active tab to "advanced
* chore: add Apache License header to CasbinEditor.js and IframeEditor.js files
* refactor: update CasbinEditor class names for consistency
* feat: Add option to use email as SAML NameID based on application config
- Updated NewSamlResponse11 to accept an application parameter.
- Conditionally set SAML NameIdentifier to user's email or username based on application.UseEmailAsNameId.
* refactor: Update GetValidationBySaml to pass application to NewSamlResponse11
- Modified GetValidationBySaml function to include application parameter in NewSamlResponse11 call.
* feat: Rename field and update logic for using Email as SAML NameID
- Renamed the `UseEmailAsNameId` field to `UseEmailAsSamlNameId` in the `Application` struct.
- Updated `NewSamlResponse` and `NewSamlResponse11` functions to use `UseEmailAsSamlNameId` for setting the NameID value.
- Modified `ApplicationEditPage.js` to reflect the field name change and update the corresponding logic.
* feat: improve the logic of the permission check code for users to modify account items
* fix: add skip operation for deleted account items in update-user API
* fix: add the function of removing deleted account item
* feat: fix the cas logout failure caused by beego session update problem
* fix: simplify the implementation of logout timer
* fix: change the location of the login success code
* fix: add i18n to CasLogout.js
* fix: login will prioritize the use of password set in casdoor and use ldap when use LDAP option in login form or user never change their password in casdoor after sync
* fix: promote if statement
* feat: add more algorithm support for JWT signing
* feat: add i18n support
* feat: add i18n support
* feat: optimize if statement
* fix: remove additional space line
Added validation checks to ensure that a user's email and phone number are provided before enabling MFA email and phone respectively. This fixes the issue where MFA could be enabled without these values, causing inconsistencies.
* feat: support default sync group for ldap (with without add i18n translate)
* feat: improve translation
* feat: update all i18n translation
* revert: remove new i18n translation
* feat: support share application
* revert: revert i18n
* fix: improve code format
* fix: improve code format and move GetSharedOrgFromApp to string.go