* fix(locale): default user locale should be the server setting
* fix(db): fix user settings migration
* fix(db): set default locale to empty string
* revert: revert change to usersettings.ts
* fix: correctly fall back to English name in LanguageSelector
* refactor: clean up language sort & name logic
* refactor: also clean up region sort & name logic
* refactor: use arrow functions
* fix(ui): restore saved states of quota override checkboxes
* fix: check if value is undefined or null, not just truthy
Co-authored-by: sct <ryan@sct.dev>
* feat(quotas): rebased
* feat: add getQuota() method to User entity
* feat(ui): add default quota setting options
* feat: user quota settings
* feat: quota display in request modals
* fix: only show user quotas on own profile or with manage users permission
* feat: add request progress circles to profile page
* feat: add migration
* fix: add missing restricted field to api schema
* fix: dont show auto approve message for movie request when restricted
* fix(lang): change enable checkbox langauge to "enable override"
Co-authored-by: Jakob Ankarhem <jakob.ankarhem@outlook.com>
Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
* feat(ui): display "Owner" role instead of "Admin" for user ID 1
Also add role to user settings page, and fix the missing "Account Type" string and use the same
verbiage on the user list page
* feat(lang): generate translation keys
* fix: utilize hasPermission returned by useUser instead of importing from server/lib/permissions