mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-25 17:15:37 +02:00
* Implement Unix username standard validations on username creation and updating. * Remove leading underscore permissibility | Replace hardcoded username rules with a centralized USERNAME_REQUIREMENTS_TEXT for better maintainability. * Add username requirements translations for invite and admin user creation | Replace hardcoded username requirements with localized strings in user modals * Refactor username requirements localization * Remove unneeded comment | Move Regex comment to validator fn * Remove username validation utility function to keep validation responsibilities on the server | Allow onboarding flow multi-user mode username creation step to send pre-validated credentials to server. * Enhance error handling in system endpoints by returning a JSON response with error details instead of a plain status for internal server errors. * Update username requirement localization in AccountModal and UserSetup components to use centralized translation key. * test enforcements allow users to keep existing usernames without collision * Normalize Translations (#4861) * normalize translations * add translations --------- Co-authored-by: Timothy Carambat <rambat1010@gmail.com> --------- Co-authored-by: Timothy Carambat <rambat1010@gmail.com>