* 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
* 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
* 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
* feat: add JWT-Standard option to return standard OIDC UserInfo
* fix: fix error occurs by different claim type
* feat: improve code format and add missing return
* feat:add fields of sync-database
* feat:add fields of sync-database
* feat: add several fields related to the OIDC specification address
* feat: add the field Address to Address structure in UserWithoutThirdIdp
* fix: delete redundant fields
* fix: add Address struct and delete redundant fields
* feat: auto trim username during login and lowercase when isUsernameLowered enabled in conf
* fix: fix linter error
* fix: fix linter error
* fix: fix linter error
* feat: add webhook response for record
* refactor: refactor SendWebhook and use readall to read response body
* fix: improve code format
* fix: improve code format
* fix: improve code format