Skip to content

Dev#276

Merged
OrenZhang merged 223 commits intomainfrom
dev
Mar 26, 2026
Merged

Dev#276
OrenZhang merged 223 commits intomainfrom
dev

Conversation

@OrenZhang
Copy link
Copy Markdown
Collaborator

No description provided.

tjbck and others added 30 commits March 9, 2026 18:45
Added missing translations, minor fixes and translation consistency updates.
Rework shimmer animation timing and gradient for a smoother sweep.
Slower start with acceleration through the text using a custom
cubic-bezier curve. Softer highlight contrast in both light and
dark modes.
Co-authored-by: Tim Baek <tim@openwebui.com>
Co-authored-by: joaoback <156559121+joaoback@users.noreply.github.com>
Some databases contain chat records where 'history' or 'messages' are
stored as lists instead of dicts. This causes an AttributeError
('list' object has no attribute 'items') during the
8452d01d26d7_add_chat_message_table migration.

Add isinstance checks to skip chat records with unexpected data shapes
gracefully, matching the existing pattern used for individual message
validation.
… typos/terminology errors (#22544)

* i18n: complete Turkish translations for {{}} placeholder strings

* i18n(tr-TR): fix multiple translation errors

* i18n(tr-TR): add missing translations for Y section

* i18n(tr-TR): add missing translations for Model section

* i18n(tr-TR): add missing Turkish translations for Image section

* i18n(tr-TR): translate Knowledge section strings in Turkish

* i18n(tr-TR): translate upload-related strings in Turkish

* 18n: translate Invalid error messages to Turkish.

* i18n(tr-TR):add Turkish translations for Enter input fields

* i18n(tr-TR): add missing translations for "No" strings

* i18n(tr-TR): replace "istem" with "prompt" for consistency

* i18n(tr-TR): standardize "ID" terminology in Turkish translations

* i18n(tr-TR): add missing translations for "S" strings

* i18n(tr-TR): add missing translations for basic UI and navigation element

* i18n(tr-TR): add missing translations for C-D sections

* i18n(tr-TR): add missing translations for E-F sections

* i18n(tr-TR): standardize "Chunk" terminology to "Parça"

---------

Co-authored-by: MSI I9 12900KS RTX <alifurkanstahl@users.noreply.github.com>
… (#22577)

* Prefer model-provided web search result count over admin default

Update `search_web` to prioritize the model-provided `count` parameter before falling back to the admin-configured `WEB_SEARCH_RESULT_COUNT`, and finally defaulting to 5.

Changes:
- Set `count` default to `None` instead of `5`.
- Adjust fallback order to: model-provided `count` → admin-configured value → `5`.
- Update comment to reflect the new precedence logic.

This ensures explicit model requests for result count are respected while preserving sensible defaults.

* Enforce maximum web search result count from config

Update `search_web` to cap the model-provided `count` parameter at the admin-configured `WEB_SEARCH_RESULT_COUNT` to prevent excessive result requests.

Changes:
- Set default `count` parameter to `5`.
- Replace fallback logic with enforcement logic that limits `count` to the configured maximum.
- Update comment to reflect that the result count is now capped to prevent abuse.

This ensures web search requests cannot exceed the configured limit while maintaining a sensible default.
Add AUDIT_INCLUDED_PATHS env var for whitelist-based audit filtering.
When set, only matching paths are audited and AUDIT_EXCLUDED_PATHS is
ignored. Auth endpoints (signin/signout/signup) are always logged
regardless of filtering mode.
Replaces the static document icon with an interactive button that opens
the file content in a new tab via the files API endpoint.
Add flex-wrap, max-h-20, and overflow-y-auto to the groups container
in UserStatus.svelte to prevent horizontal overflow when users have
many groups. Groups now wrap to multiple rows with a scrollbar when
exceeding the max height.

Co-authored-by: QinQin <qinqin@geotab.com>
tjbck and others added 28 commits March 24, 2026 20:48
Co-Authored-By: Taylor Wilsdon <6508528+taylorwilsdon@users.noreply.github.com>
* changelog: smoother loading animation

* changelog: add Finnish translations to 0.8.11

* changelog: shimmer animation, general improvements, finnish translation

* changelog: add migration reliability fix for issue #22568

* changelog: update Finnish, Portuguese (Portugal), and Catalan translations

* changelog: fix channel @mentions for direct connection models

* changelog: web search result limit control

* changelog: migration reliability, channel mentions, docker build, web search

* changelog: logit bias parameter handling fix

* changelog: add Turkish translations

* changelog: add terminal connection verification feature

* changelog: tool server index bounds checking fix

* changelog: add chat folder emoji reset feature

* changelog: add terminal access user visibility fix

* changelog: metrics export interval config

* changelog: knowledge base file previews

* changelog: user groups display, admin panel

* changelog: terminal server, connection confirmations, document loaders, memory search, SBOM

* changelog: remove docker build entry

* changelog: update date to 2026-03-12

* changelog: update date to 2026-03-15

* changelog: fix public note access 500 error

* changelog: mcp integration visibility, web search limit

* changelog: add Japanese to translations

* changelog: security, terminal proxy, path sanitization

* changelog: add ruff linter and formatter entry

* changelog: tool configuration access control security fix

* changelog: markdown file editing, file navigator

* changelog: add Simplified Chinese and Traditional Chinese to translations

* changelog: model profile image fallbacks fix

* changelog: model bulk actions menu

* changelog: files list pagination support

* changelog: temp chat tool calling fix

* changelog: add readiness probe endpoint for Kubernetes

* changelog: update svelte upgrade performance entry to clarify markdown rendering

* changelog: message queue responsiveness fix

* changelog: profile image fallbacks

* changelog: fix model drag-and-drop in admin settings

* changelog: reorder performance entry to top of Added section

* changelog: add Estonian translations

* changelog: security, model access control

* changelog: channel message attachments fix

* changelog: add collaborative document authorization security fix

* changelog: web fetch content length config

* changelog: oracle-23ai, hybrid-search, bugfix

* changelog: tool server connection persistence fix

* changelog: fix paginated list duplicates

* changelog: temporary chat, folder support, knowledge files

* changelog: temporary chat, folder support

* changelog: add Spanish to translations

* changelog: thread sidebar cleanup, channel attachments

* changelog: chat suggestion modal re-trigger fix

* changelog: dynamic HTML lang attribute fix

* changelog: file upload deduplication

* changelog: ollama anthropic endpoint support

* changelog: chat action button timing fix

* changelog: fix serper dev search results display

* changelog: markdown task list checkbox styling

* changelog: memory modal event bubbling fix

* changelog: webhook, channel, console-errors

* changelog: artifacts sidebar, URL indexing fixes

* changelog: emoji removal normalization fix

* changelog: prompts, pagination, search

* changelog: add Azerbaijani to translations

* changelog: search modal avatars fix

* changelog: filter icon display fix

* changelog: channel, messages, API

* changelog: skeleton loader fix

* changelog: knowledge, hybrid-search, reranking

* changelog: date update

* changelog: writing blocks, rendering, UI

* changelog: reasoning block, copy, text

* changelog: add commit links for writing blocks and copy cleanup

* changelog: sidebar menu, memory modal, oracle search

* changelog: task cancellation status tracking

* changelog: shared chat crash, public note access, filter icons

* changelog: plugin ID sanitization for Functions and Tools

* changelog: memory deletion confirmation dialog

* changelog: oauth session persistence

* changelog: chat, redirect, navigation

* changelog: functions list API optimization

* changelog: embed prompt, cross-origin, confirmation

* changelog: chat title preservation fix

* changelog: oauth sub claim fix

* changelog: read aloud crash fix, search modal TTS

* changelog: image-only message handling for Gemini Claude

* changelog: input variables modal crash fix

* changelog: functions API crash fix, input variables modal crash

* changelog: admin OAuth group sync

* changelog: trusted role header authentication config

* changelog: redis, model, race-condition

* changelog: user menu navigation, SPA routing fix

* changelog: input variables modal crash fix

* changelog: tools, embeds, context

* changelog: responses-api-streaming, rag-thinking-models

* changelog: responses API stateful sessions

* changelog: reorder Added entries - Responses API to top, major improvements highlighted

* changelog: restore duplicate Temporary chat folder support entry

* changelog: remove duplicate Temporary chat folder support entry

* changelog: fix Responses API entry link format

* changelog: remove unrelated issue link from Responses API entry

* changelog: add commit links to Responses API streaming improvements

* changelog: deduplicate 💬 emoji in Fixed section

* changelog: add multi-artifact HTML, drag chats, terminal prompts, terminal state entries

* changelog: tool, html, embed

* changelog: add file viewing pagination and knowledge search scoping entries

* changelog: update date to 2026-03-24

* changelog: tool binary response handling

* changelog: terminal file navigator, port previews, file rename

* changelog: tool server, timeout, configuration

* changelog: heartbeat, websocket, event loop

* changelog: password, security, validation

* changelog: oauth, mcp, discovery

* changelog: message upsert API crash fix

* changelog: oidc, authorization, oauth

* changelog: forward auth proxy compatibility

* changelog: remove duplicate Tool HTML embed context entry from Changed section

* changelog: terminal, file navigator, downloads

* changelog: reorder Responses API entries to top of Added section

* changelog: terminal folder downloads

* changelog: add German to localization entry

* changelog: chat render throttling performance

* changelog: oauth, security, access control

* changelog: tool call streaming display fix

* changelog: pyodide, file refresh, code execution

* changelog: google-oauth, session-persistence, refresh-tokens

* changelog: reasoning spinner, tool call display

* changelog: tool valves access control

* changelog: webhook, configuration, security

* changelog: pyodide, file list, refresh

* changelog: model lookup optimization

* changelog: offline code formatting, black formatter

* changelog: ollama, embedding, rag

* changelog: dropdown menu, submenu hover stability

* changelog: skill model mention persistence

* changelog: emoji audit, duplicate removal, positioning fixes for v0.8.11

* changelog: rag, thinking models, json extraction

* changelog: multi-system message merging fix

* changelog: MCP OAuth 2.1 static credentials support

* changelog: bump date to 2026-03-25

* changelog: qwen, system-messages, pipeline

* changelog: scim, group filtering, authentication

* changelog: chat, sidebar, refresh

* changelog: collapsible tool groups, chat UI

* changelog: forwarded-allow-ips, configuration, startup-scripts

* changelog: memory tool registration fix

* changelog: tool server, timeout, frontend

* changelog: ollama embedding retry logic

* changelog: model list auth cookie forwarding

* changelog: model tags, normalization, filter crash

* changelog: model tags, normalization, issue #20819

* changelog: model editor default metadata

* changelog: Microsoft Entra ID OAuth role claim preservation

* changelog: editor, paste, sanitization

* changelog: arena model sub-model settings

* changelog: chat history save optimization

* changelog: MCP OAuth tool auto-selection

* changelog: bulk model action reliability fix
… (#22776)

The add_file_context function used a positional zip() to pair API
payload messages with DB-stored messages. After
process_messages_with_output() expands assistant messages containing
tool calls into multiple OpenAI-format messages (assistant + tool
results), the payload list becomes longer than the stored list. This
caused the zip to misalign, so subsequent user messages never received
their attached_files tags -- the model could see uploaded images via
vision but had no file URL to pass to edit_image.

Fix: filter both lists to user-role messages only before zipping.
User messages maintain the same order in both lists regardless of
assistant message expansion, restoring correct file context injection.

Fixes #21878
# Conflicts:
#	backend/open_webui/config.py
#	backend/open_webui/env.py
#	backend/open_webui/functions.py
#	backend/open_webui/main.py
#	backend/open_webui/migrations/versions/018012973d35_add_indexes.py
#	backend/open_webui/migrations/versions/9f0c9cd09105_add_note_table.py
#	backend/open_webui/retrieval/utils.py
#	backend/open_webui/routers/auths.py
#	backend/open_webui/routers/ollama.py
#	backend/open_webui/routers/openai.py
#	backend/open_webui/routers/tasks.py
#	backend/open_webui/utils/auth.py
#	backend/open_webui/utils/chat.py
#	backend/open_webui/utils/misc.py
#	backend/open_webui/utils/response.py
#	backend/requirements.txt
#	package-lock.json
#	package.json
#	src/lib/components/chat/Chat.svelte
#	src/lib/components/layout/Sidebar/UserMenu.svelte
#	src/lib/i18n/locales/ar-BH/translation.json
#	src/lib/i18n/locales/ar/translation.json
#	src/lib/i18n/locales/bg-BG/translation.json
#	src/lib/i18n/locales/bn-BD/translation.json
#	src/lib/i18n/locales/bo-TB/translation.json
#	src/lib/i18n/locales/bs-BA/translation.json
#	src/lib/i18n/locales/ca-ES/translation.json
#	src/lib/i18n/locales/ceb-PH/translation.json
#	src/lib/i18n/locales/cs-CZ/translation.json
#	src/lib/i18n/locales/da-DK/translation.json
#	src/lib/i18n/locales/de-DE/translation.json
#	src/lib/i18n/locales/dg-DG/translation.json
#	src/lib/i18n/locales/el-GR/translation.json
#	src/lib/i18n/locales/en-GB/translation.json
#	src/lib/i18n/locales/en-US/translation.json
#	src/lib/i18n/locales/es-ES/translation.json
#	src/lib/i18n/locales/et-EE/translation.json
#	src/lib/i18n/locales/eu-ES/translation.json
#	src/lib/i18n/locales/fa-IR/translation.json
#	src/lib/i18n/locales/fi-FI/translation.json
#	src/lib/i18n/locales/fr-CA/translation.json
#	src/lib/i18n/locales/fr-FR/translation.json
#	src/lib/i18n/locales/gl-ES/translation.json
#	src/lib/i18n/locales/he-IL/translation.json
#	src/lib/i18n/locales/hi-IN/translation.json
#	src/lib/i18n/locales/hr-HR/translation.json
#	src/lib/i18n/locales/hu-HU/translation.json
#	src/lib/i18n/locales/id-ID/translation.json
#	src/lib/i18n/locales/ie-GA/translation.json
#	src/lib/i18n/locales/it-IT/translation.json
#	src/lib/i18n/locales/ja-JP/translation.json
#	src/lib/i18n/locales/ka-GE/translation.json
#	src/lib/i18n/locales/kab-DZ/translation.json
#	src/lib/i18n/locales/ko-KR/translation.json
#	src/lib/i18n/locales/languages.json
#	src/lib/i18n/locales/lt-LT/translation.json
#	src/lib/i18n/locales/lv-LV/translation.json
#	src/lib/i18n/locales/ms-MY/translation.json
#	src/lib/i18n/locales/nb-NO/translation.json
#	src/lib/i18n/locales/nl-NL/translation.json
#	src/lib/i18n/locales/pa-IN/translation.json
#	src/lib/i18n/locales/pl-PL/translation.json
#	src/lib/i18n/locales/pt-BR/translation.json
#	src/lib/i18n/locales/pt-PT/translation.json
#	src/lib/i18n/locales/ro-RO/translation.json
#	src/lib/i18n/locales/ru-RU/translation.json
#	src/lib/i18n/locales/sk-SK/translation.json
#	src/lib/i18n/locales/sr-RS/translation.json
#	src/lib/i18n/locales/sv-SE/translation.json
#	src/lib/i18n/locales/th-TH/translation.json
#	src/lib/i18n/locales/tk-TM/translation.json
#	src/lib/i18n/locales/tr-TR/translation.json
#	src/lib/i18n/locales/ug-CN/translation.json
#	src/lib/i18n/locales/uk-UA/translation.json
#	src/lib/i18n/locales/ur-PK/translation.json
#	src/lib/i18n/locales/uz-Cyrl-UZ/translation.json
#	src/lib/i18n/locales/uz-Latn-Uz/translation.json
#	src/lib/i18n/locales/vi-VN/translation.json
#	src/lib/i18n/locales/zh-CN/translation.json
#	src/lib/i18n/locales/zh-TW/translation.json
Copy link
Copy Markdown
Contributor

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@OrenZhang OrenZhang merged commit 35a585f into main Mar 26, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.