open-webui/backend
DrMelone e7249118da fix: apply admin defaults for brand-new users, normalize chatDirection, wire entry points
- +layout.svelte always merges adminDefaults with whatever user UI is
  available (server-returned settings.ui, or localStorage, or {}). The
  previous branch skipped defaults entirely when getUserSettings()
  returned null, which is exactly the new-user case the feature
  targets — admin defaults never reached users who hadn't customized
  anything.
- InterfaceDefaultsForm.validate_chat_direction now accepts any casing
  and normalizes to the shape the frontend store expects ('auto'
  lowercase, 'LTR' / 'RTL' uppercase). The interface-settings toggle
  cycles uppercase values, so admin saves with LTR/RTL were rejected
  with 422 by the old lowercase-only validator.
- admin Settings/Interface.svelte adds the missing entry points: a
  "Configure Defaults" button that toggles showInterfaceDefaultsModal
  and a destructive "Reset All Users Interface Settings" button that
  toggles showResetConfirmDialog. The flags and bound components were
  already in place; nothing was flipping them.
- getInterfaceDefaults / setInterfaceDefaults / resetAllUsersInterfaceSettings
  fall back through err.detail / err.message / stringification so
  network-level failures (fetch TypeError, non-JSON body) surface as
  thrown errors instead of resolving to null and letting callers treat
  failed requests as silent successes.
2026-04-13 00:32:35 +02:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: apply admin defaults for brand-new users, normalize chatDirection, wire entry points 2026-04-13 00:32:35 +02:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh refac 2026-03-24 19:43:30 -05:00
requirements-min.txt refac: async db 2026-04-12 14:22:11 -05:00
requirements.txt refac: async db 2026-04-12 14:22:11 -05:00
start.sh refac 2026-03-24 19:43:30 -05:00
start_windows.bat refac 2026-03-24 19:43:30 -05:00