open-webui/backend/open_webui
DrMelone 6cd3c7238b fix: flush child form before modal save, guard localStorage parse, explicit dialect check
- InterfaceDefaultsModal submitHandler now requestSubmits the embedded
  tab-interface form and awaits a Svelte tick before POSTing. That
  flushes submit-scoped writes in the InterfaceSettings component
  (updateInterfaceHandler -> saveSettings({ models, imageCompressionSize }))
  through the saveAdminSettings callback so they land in adminDefaults
  instead of being silently dropped on save.
- +layout.svelte only reads localStorage.settings when the server
  didn't return user UI, and wraps the JSON.parse in try/catch with a
  {} fallback. A stale or hand-edited localStorage value would
  otherwise throw and abort the whole authenticated-load path even
  when valid userSettings came back from the backend.
- users.py reset_all_users_interface_settings branches explicitly on
  postgresql and sqlite; any other dialect now responds 501 with a
  clear message naming the unsupported dialect. The previous
  "everything that isn't postgres runs SQLite-specific SQL" assumption
  would fail on MySQL/MariaDB with an opaque syntax error.
2026-04-13 00:40:36 +02:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal refac: async db 2026-04-12 14:22:11 -05:00
migrations refac 2026-04-01 18:26:46 -05:00
models refac: async db 2026-04-12 14:22:11 -05:00
retrieval refac: async db 2026-04-12 14:22:11 -05:00
routers fix: flush child form before modal save, guard localStorage parse, explicit dialect check 2026-04-13 00:40:36 +02:00
socket refac: async db 2026-04-12 14:22:11 -05:00
static refac 2026-03-23 23:39:52 -05:00
storage refac 2026-04-12 12:36:21 -05:00
test refac 2026-03-17 17:58:01 -05:00
tools refac: async db 2026-04-12 14:22:11 -05:00
utils refac: async db 2026-04-12 14:22:11 -05:00
__init__.py refac (#22987) 2026-03-24 15:41:26 -05:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py enh: automation 2026-04-11 17:06:58 -06:00
constants.py refac 2026-03-25 17:29:57 -05:00
env.py fix: gate OpenAI catch-all proxy behind ENABLE_OPENAI_API_PASSTHROUGH toggle (#23640) 2026-04-12 14:26:12 -05:00
functions.py refac: async db 2026-04-12 14:22:11 -05:00
main.py refac: async db 2026-04-12 14:22:11 -05:00
tasks.py refac 2026-03-17 17:58:01 -05:00