21548 Commits
Author SHA1 Message Date
G30 8a05da96af fix(a11y): settings labels are tied to their controls, and Response Splitting is named by its label (#35589) 2026-12-04 01:44:41 +04:00
G30 04a404ec7f i18n: fill missing translations in 1 language and fix 1 existing one (#35591) 2026-12-04 01:44:30 +04:00
Timothy Jaeryang Baek 5815075495 refac 2026-12-04 00:50:42 +04:00
Timothy Jaeryang Baek 8cf761d363 refac 2026-12-03 23:56:09 +04:00
G30 c12abb9550 i18n: fix 9 existing translations in 2 languages (#35575) 2026-12-03 20:07:37 +04:00
G30 10bcc26d5b i18n: fill missing translations in 62 languages (#35574) 2026-12-03 06:01:11 +04:00
Timothy Jaeryang Baek a8bde779e1 refac 2026-12-03 05:34:46 +04:00
Timothy Jaeryang Baek 3f4fefdb00 refac 2026-12-03 05:32:07 +04:00
Timothy Jaeryang Baek 9f42251b32 refac 2026-12-03 05:31:41 +04:00
Timothy Jaeryang Baek 6a9c337688 refac 2026-12-03 05:28:06 +04:00
Timothy Jaeryang Baek ecc7ebf690 refac 2026-12-03 05:18:45 +04:00
G30 f0721d936b i18n: fill missing translations in 63 languages and fix 68 existing ones (#35528) 2026-12-03 05:00:15 +04:00
Classic298 db6649021b fix: "Allow replies" share link sometimes opens the home page instead of the chat (#35568)
Opening a share link for a chat you were allowed to reply to briefly showed the owner's chat and then, now and then, switched to the home page. This happened more often on a slow connection or a busy machine. The link now goes straight to the owner's live chat for everyone allowed to reply, and still shows the read-only copy to everyone else.

Fixes #35562
2026-12-03 05:00:04 +04:00
Classic298 15f44e391a fix: Settings opens again after closing it and following a sidebar link (#35570)
Closing Settings did not take the web address back to the page it was opened from, so the next click in the sidebar carried the open Settings along and showed it again on top of the new page. Browser Back also failed to close Settings, and switching tabs inside it added extra Back steps. Closing now returns to the previous page, and Back and Forward move in and out of Settings in one step.

Fixes #35563
2026-12-03 04:28:54 +04:00
Timothy Jaeryang Baek 6a575880de refac 2026-12-03 04:26:01 +04:00
Timothy Jaeryang Baek b7c41c520f refac 2026-12-03 04:19:18 +04:00
Timothy Jaeryang Baek 3fe26a8670 refac 2026-12-03 04:13:31 +04:00
Timothy Jaeryang Baek 1e1b256b09 refac 2026-12-03 04:07:11 +04:00
Timothy Jaeryang Baek 0108a2b716 refac 2026-12-03 04:03:49 +04:00
Timothy Jaeryang Baek f2704ae96c refac 2026-12-03 04:02:58 +04:00
Timothy Jaeryang Baek 5c58c96408 refac 2026-12-03 04:02:11 +04:00
Timothy Jaeryang Baek 38b82b69f1 refac 2026-12-03 03:58:35 +04:00
Timothy Jaeryang Baek ca16f2c576 refac 2026-12-03 03:55:38 +04:00
Classic298 b6317157f3 fix: a folder's instruction file is left out when it and the home AGENTS.md fit 32 KiB together (#35564)
The 32 KiB limit for AGENTS.md files counted the heading added in front of the one in the machine's home folder as if it were file content. A home file and a folder's AGENTS.md or CLAUDE.md that together are exactly 32 KiB therefore lost the folder's instructions, while a single 32 KiB home file was accepted. The limit now counts only the files themselves, the same way for one file and for two.

Fixes #35559
2026-12-03 03:21:03 +04:00
Classic298 2026de4bcb fix: note search shows no excerpt when the match is deep inside a note (#35561)
Searching Notes for words that appear far into a note listed the note but showed no excerpt next to its title, because the search results only carried the start of each note. The results now carry the part of the note around the first match instead, and each result stays as small as before, so the words around the match show up wherever they are in the note. While searching, the grid preview of such a note starts near the match too. Matches near the start and matches only in the title look the same as before.

Fixes #35556
2026-12-03 03:20:54 +04:00
Classic298 e160769e2f fix: very large system prompts can freeze the server (#35560)
A system prompt with many repeated tool approval policy or tool list markers and no closing marker took time growing with the square of its size to clean up, tens of seconds or more for half a megabyte. The tool approval cleanup runs on every chat request and blocks the server while it runs, so one oversized request stalled every user on that server process. Both cleanups now ignore the text after the last closing marker, which can never be removed anyway, so the same input takes under a millisecond and the cleaned prompt is the same as before.
2026-12-03 03:20:46 +04:00
Classic298 0d3f6b6ced fix: deleting an account leaves its saved folder layouts behind (#35558)
When an admin deleted an account, the tab and pane layouts that person had saved in folders stayed stored, while their chat layouts were removed. Deleting an account now also removes its folder layouts. Other people's layouts are not touched.

Fixes #35555
2026-12-03 03:20:35 +04:00
Classic298 ae1a952ee4 ci: limit the token permissions of the frontend build and Docker workflows (#35557)
The frontend build workflow and two jobs in the Docker workflow ran with the repository's default token permissions, which GitHub code scanning flags. They now get read-only access, plus read access to the published images for the job that copies them to Docker Hub. Every job in both workflows now runs with explicitly set permissions.
2026-12-03 03:20:25 +04:00
Classic298 0072c9974c fix: screen readers announce many settings text areas by their example text instead of their label (#35551)
Screen readers and voice control named many multi-line settings fields, such as the Sub-agents System prompt, the RAG Template and the Visualization Prompt, by their example text instead of the label shown above them. Every field whose label is tied to it is now named by that label. Fields whose label is not tied to them are still named by their example text, as before.

Fixes #35549
2026-12-03 03:19:59 +04:00
G30 45ce0df572 fix(a11y): more toggle groups keep a visible selected mark with Accessibility Mode on (#35537) 2026-12-03 03:19:54 +04:00
Classic298andkamyar 0540fd80dc chore: bump fastapi to 0.163.2 (#35554)
Moves FastAPI from 0.136.3 to 0.163.2. The new FastAPI needs OpenTelemetry 1.44 or newer, so the OpenTelemetry packages move from 1.42.1 to 1.44.0 (and from 0.63b1 to 0.65b0) along with it. No other package changes version. With OpenTelemetry metrics or logs on and traces off, the new FastAPI would also send its own request metrics and error logs on top of the ones Open WebUI already sends (and its metrics would not skip the excluded URLs), so that is turned off and the OpenTelemetry output stays the same as before. Sign-in, file uploads with and without metadata, chats and user search were checked against the old version and behave the same.

Co-authored-by: kamyar <932743+kamyar@users.noreply.github.com>
2026-12-03 02:22:17 +04:00
Timothy Jaeryang Baek 1c7d79a6e9 refac 2026-12-03 02:12:36 +04:00
Timothy Jaeryang Baek f8a5bc3c2e refac 2026-12-03 01:53:04 +04:00
Timothy Jaeryang Baek a1311cd03e refac 2026-12-03 01:42:03 +04:00
G30 d9804d7968 fix(a11y): the Prompt Content label stays on one line on a narrow screen (#35531) 2026-12-03 01:28:24 +04:00
Classic298 87717d89dc fix: stateful Responses API chats fail with "Duplicate item found" after a tool call (#35525)
With ENABLE_RESPONSES_API_STATEFUL on and encrypted reasoning requested, the request after a tool call sent the model's encrypted reasoning again although OpenAI already has it from the previous response. OpenAI rejects that with HTTP 400 "Duplicate item found", so every chat that used a tool failed right after the first tool ran. The follow-up now sends only the tool calls and their results, as it did before v0.13.5. Connections without stateful mode still send the reasoning back.

Fixes #35515
2026-12-03 01:27:49 +04:00
Classic298 ea8ba3cd11 fix: blank Image Compression size lets uploads skip the admin size limit (#35522)
With Image Compression turned on in Settings > Interface and no width or height entered, attached images were uploaded at full size and ignored the image compression size an admin set in Admin Settings > Documents. A blank width or height now counts as not set, so the admin limit applies, and a size the user types still lowers it. This covers chats, channels and notes.

Fixes #35502
2026-12-03 01:26:04 +04:00
G30 e7d2555216 fix(a11y): the Status menu's Chat ID label stays whole with wider text spacing (#35532) 2026-12-03 01:25:30 +04:00
Timothy Jaeryang Baek 2406ae70b4 refac 2026-12-03 01:22:14 +04:00
Al Capitan 2d7f425be2 i18n: complete and proofread fr-FR translations (#35550)
* i18n: complete and proofread fr-FR translations

* i18n: harmonize fr-FR terminology and fix anglicisms and ambiguous phrasings

* i18n: translate newly added and updated fr-FR keys
2026-12-03 01:19:29 +04:00
Classic298 7e4fcb0826 fix: model answers in channels fail with "Error: name 'copy' is not defined" (#35545)
Every model answer in a channel failed right away with "Error: name 'copy' is not defined", so a mentioned model never replied and automations that post into a channel ended each run with that error. A recent cleanup removed an import that channel replies still relied on. The import is restored, so model answers and automation runs in channels work again.

Fixes #35543
2026-12-03 01:19:18 +04:00
Classic298 9fb0444360 fix: programs keep failing on modules and files the sandbox does not have (#35548)
The description models see for programmatic tool calling said no other modules or files were available, but models still imported missing modules or tried to read files from disk, and each of those programs failed. The description now names a missing module and says plainly that nothing can read files or the network, so the data has to come through tools. I measured it on 10 coding tasks with five models, about 300 programs per wording over several runs, against the description now on dev, which already carries most of the wording from #35514. It costs about 15 more tokens per request, and the total tokens per chat stayed within the noise between runs.

<table>
<tr><th>Share of programs or chats</th><th>Before</th><th>After</th></tr>
<tr><td>Programs that failed</td><td>24%</td><td>18%</td></tr>
<tr><td>Programs importing a missing module</td><td>8%</td><td>4%</td></tr>
<tr><td>Programs trying to read files</td><td>11%</td><td>3%</td></tr>
<tr><td>Chats whose first program failed</td><td>37%</td><td>22%</td></tr>
<tr><td>Correct answers</td><td>96%</td><td>97%</td></tr>
</table>

Refs #35514
2026-12-03 01:13:41 +04:00
Classic298 c4638647f8 fix: programs fail when a model passes a tool's arguments as one dict (#35547)
Models using programmatic tool calling often pass all of a tool's arguments as a single dict, the way an ordinary tool call looks, instead of as named arguments. That call failed the whole program, so the model had to notice and run it again. Both forms now call the tool with the same arguments, and a dict plus extra named arguments is merged, with the named ones winning. A single plain value or more than one unnamed value still fails.
2026-12-03 01:13:28 +04:00
Classic298 a5581ed672 fix: signing out shows "Session expired" and the sign-in page before the identity provider logout (#35546)
With Redis configured, signing out of an OIDC account showed a "Session expired" message and jumped to the sign-in page, and only then went on to the identity provider's logout page, which sent the user back to the sign-in page a second time. The server ends the login before it answers the sign out, so requests the app was still making in that window were rejected and taken for an expired login. Signing out now clears the stored login in the browser before asking the server, so those requests no longer show the "Session expired" message and the browser goes straight to the identity provider.

Fixes #35526
2026-12-03 01:13:19 +04:00
Timothy Jaeryang Baek 82d9fab303 refac 2026-12-03 00:41:48 +04:00
Timothy Jaeryang Baek c510d73dc8 refac 2026-12-03 00:38:32 +04:00
Classic298 03cdec3fab fix: info logs flooded by per-request trace lines (#35538)
The info log was filled with step-by-step lines that fire on every chat with knowledge or web search, chat search, file upload, document parsing, knowledge base update or search, image generation, note chat and collaborative note editing, so running at INFO in production buried the lines an admin actually needs. Every sign-in also wrote the user's email address to the info log. These lines, the email one included, now only show with GLOBAL_LOG_LEVEL=DEBUG. Results such as documents added to or removed from the vector database and admin actions keep their line at info. A few unused internal leftovers are removed, which no setting or feature relied on.

Fixes #35535
2026-12-03 00:32:29 +04:00
Classic298 1924c30ff5 fix: the installed app's launch screen flashes a lighter grey than the dark page (#35542)
Open WebUI's dark background became a darker grey, but the app added to the home screen still opened on the old one, so every launch flashed a slightly different grey before the app appeared. Its launch screen and the phone's status bar now use the same dark grey as the page.

Fixes #35541
2026-12-03 00:32:09 +04:00
Timothy Jaeryang Baek 197ec2eaec refac 2026-12-03 00:30:27 +04:00
Timothy Jaeryang Baek 5a7ed80ca3 refac 2026-12-03 00:23:37 +04:00