Commit Graph
21176 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 46af28cfaf doc: changelog 2026-11-25 03:23:39 +04:00
Timothy Jaeryang Baek ccc8abde8e refac 2026-11-25 03:21:47 +04:00
Classic298 0fe01f2765 docs: CVE ID requests go through GitHub Security Advisories only (#34992)
The security policy now says that CVE ID requests, like vulnerability reports, are accepted only through GitHub Security Advisories. The CVE program asked for this wording so requests do not reach other channels.
2026-11-25 03:21:22 +04:00
Timothy Jaeryang Baek c4916cdac0 doc: changelog 2026-11-25 03:19:52 +04:00
Classic298 1f5386c33b fix: narrowing the window after closing a tab covers the chat with an empty tabs panel (#34989)
After a tab was opened beside a chat and closed again, narrowing the window to phone width opened the tabs panel over the whole chat, with nothing in it but the new tab and close buttons. The panel now stays closed when the window gets narrow and no tab is open beside the chat, the same as for a chat that never had a tab opened. Tabs still open beside the chat show up in the panel as before.

Fixes #34314
2026-11-25 03:15:28 +04:00
Timothy Jaeryang Baek 5b75d3100a refac 2026-11-25 03:13:19 +04:00
Timothy Jaeryang Baek 100ee31db8 refac 2026-11-25 03:13:10 +04:00
Classic298 a4465917c7 fix: database upgrade stops startup when older chats were saved as plain text (#34988)
Older installs still hold chats saved as plain text. The database upgrade that moves chat messages out of the chat record stopped on the first one, so Open WebUI never started, and a downgrade failed the same way. The upgrade now reads these chats correctly. Installs whose upgrade already stopped start normally on this version.

Fixes #34985
2026-11-25 03:12:53 +04:00
Timothy Jaeryang Baek 36ccecd88d refac 2026-11-25 03:11:11 +04:00
Classic298 27c9bc1dcb refac: lock the knowledge base while moving a directory (#34982)
Moving a directory now locks its knowledge base before checking the new parent.
2026-11-25 03:10:55 +04:00
Classic298 b3e5766a06 refac: check machine selection changes on shared chats (#34983)
Choosing a machine template on a chat someone else owns now needs access to that template yourself.
2026-11-25 03:10:47 +04:00
Classic298 d8212c6865 fix: .mdx files fail to upload with Docling instead of being read as text like .md (#34981)
With Docling as the content extraction engine, an uploaded .mdx file failed with "File format not allowed" and ended up with no content, while the same page saved as .md worked. Browsers usually do not label .mdx files as text, so Open WebUI handed them to Docling or Tika instead of reading them itself, and the slim image refused them outright with the default engine. MDX pages are now read as text like Markdown with the default, Docling and Tika engines, so docs written in MDX can be added to chats and knowledge bases.

Fixes #34896
2026-11-25 03:07:46 +04:00
Timothy Jaeryang Baek bcff000ad7 refac 2026-11-25 03:07:28 +04:00
Classic298 a8e7ac3987 refac: single message updates keep other members' messages (#34980)
Single-message updates and message events are now refused for messages written by other chat members, matching how saving the whole chat already keeps them.
2026-11-25 03:07:06 +04:00
Timothy Jaeryang Baek f68be3a4bb refac 2026-11-25 03:06:24 +04:00
Classic298 d3e87f8b14 refac: keep membership filter on group share list (#34973)
Listing groups with sharing turned off now only returns groups the caller belongs to.
2026-11-25 03:02:08 +04:00
Classic298 d64df861a2 refac: only accept own folders as the new parent when moving a folder (#34978)
Moving a folder now only accepts a parent folder the user owns.
2026-11-25 03:01:50 +04:00
Classic298 bf616b21df refac: check participation type before lookup (#34979)
The encrypted channel relay now rejects a participation value that is not a string before looking it up.
2026-11-25 03:01:35 +04:00
Classic298 f605c1e4c5 refac: skip auto-join for group and dm channels on message insert (#34977)
Posting a message no longer adds the author as a member of group or direct message channels.
2026-11-25 03:00:47 +04:00
Classic298 b4c1717ccc fix: machine skills fail the reply on models without the Skills tool (#34974)
On a model with Builtin Tools or the Skills tool switched off, the reply failed at once with the error "name 'machine_skill_prefix' is not defined" whenever a machine skill had to be loaded, and the model was never asked. That covered a skill picked with $ and a machine skill attached to the model, which broke every message on that model. This broke with a recent change on dev. The skill goes into the prompt again and the model answers.

Fixes #34794
2026-11-25 03:00:36 +04:00
Classic298 a548e9d752 refac: normalize browser view page path before proxying (#34975)
The browser view route now normalizes the page path on its own before adding the session prefix, the same way file previews already do.
2026-11-25 03:00:13 +04:00
Classic298 550da22e63 refac: apply notes availability checks in note chats (#34976)
Note chats now go through the same Notes availability checks as other chats.
2026-11-25 02:59:57 +04:00
Classic298 2d1e7faba7 refac: note leave presence refresh (#34972)
Note presence is now refreshed on leave only for sessions tracked in the session pool.
2026-11-25 02:59:35 +04:00
Timothy Jaeryang Baek 276d8be445 refac 2026-11-25 02:56:45 +04:00
Timothy Jaeryang Baek 2f581697ea refac 2026-11-25 02:55:33 +04:00
Timothy Jaeryang Baek abfa2cab7b refac 2026-11-25 02:55:06 +04:00
Timothy Jaeryang Baek 3c7965a286 doc: changelog 2026-11-25 02:53:33 +04:00
Timothy Jaeryang Baek 72184499b1 refac 2026-11-25 02:52:26 +04:00
Timothy Jaeryang Baek 9d19883f15 chore: format 2026-11-25 02:36:30 +04:00
Timothy Jaeryang Baek 1fa28a60e4 chore: format 2026-11-25 02:36:18 +04:00
Timothy Jaeryang Baek 10af571e71 refac 2026-11-25 02:35:59 +04:00
Classic298 414340682e perf: long chats no longer rewrite the whole conversation on every message (#34689)
Every sent message, finished reply, regenerate, edit and saved follow-up rewrote the whole stored conversation, so long chats got slower with each turn, most of all on PostgreSQL. Messages now live only in the message table the app already keeps, and a change writes only the messages it touches. Chats open, share, export and import as before. API responses no longer carry the flat message list older clients saved next to the conversation, and the answers to pinning, archiving, sharing or moving a chat no longer repeat its messages. Existing chats are converted once during the upgrade, in batches that continue where they stopped if the upgrade is interrupted.

| 130 MB chat, instant test model | SQLite before | SQLite after | PostgreSQL before | PostgreSQL after |
| --- | --- | --- | --- | --- |
| Message accepted | 2.4 s | 0.20 s | 10.9 s | 0.32 s |
| Reply done | 4.9 s | 0.9 s | 22.5 s | 1.4 s |
| Regenerate done | 4.6 s | 0.9 s | 19.6 s | 1.4 s |
| Saving an edit | 3.7 s | 1.8 s | 5.8 s | 1.7 s |
| Opening the chat | 2.3 s | 0.9 s | 1.6 s | 1.2 s |
| Written to the database per message | 533 MB | 2 KB | 533 MB | 2 KB |

Fixes #34688
2026-11-25 02:34:37 +04:00
Timothy Jaeryang Baek b6aac5dee5 refac 2026-11-25 02:33:34 +04:00
Timothy Jaeryang Baek 3226163dec refac 2026-11-25 02:31:48 +04:00
Timothy Jaeryang Baek 96c12237a8 refac 2026-11-25 02:31:09 +04:00
Timothy Jaeryang Baek bd7d9fbd88 refac 2026-11-25 02:28:35 +04:00
Timothy Jaeryang Baek 0f3865187b refac 2026-11-25 02:22:43 +04:00
Classic298 5c02632c59 fix: message sent while a reply runs is answered without the chat's attachments (#34935)
A message sent while the previous reply was still running was answered without the files attached earlier in the chat. With Preload files on, the model never got the file's text and the answer showed no citation. With it off, the model was not offered the tools to read the attachments. Answering it also replaced the chat's file list with that message's own files, usually none, so after a reload later messages lost the earlier files too. Such a message now gets the same attachments as a normal follow-up: the chat's files on that branch, minus any the user removed in the meantime, plus its own.

Fixes #34933
2026-11-25 02:18:55 +04:00
Timothy Jaeryang Baek a17581475a refac 2026-11-25 02:15:42 +04:00
Classic298 708e6642a2 perf: page load waits on model providers for users with group default models (#34842)
Members of a group with default models had every page load wait for all model providers to answer before the page was drawn. With an unreachable provider they saw the splash screen for about 11 seconds on each load. The default models are now checked against the model list the server already holds, so the page draws right away and the same default model is selected. The first page load after a server start or a change to the connection settings still waits on the providers once, until the model list has loaded again. A group default that a member can only reach through their own Tether connection no longer counts and they get the global default instead.

<table>
<tr><th>Group member, provider answering in 150 ms unless noted</th><th>before</th><th>after</th></tr>
<tr><td>first request of each page load</td><td>172 ms</td><td>11 ms</td></tr>
<tr><td>provider calls made by it</td><td>1</td><td>0</td></tr>
<tr><td>splash screen gone</td><td>864 ms</td><td>719 ms</td></tr>
<tr><td>splash screen gone, provider not answering</td><td>11.5 s</td><td>0.7 s</td></tr>
</table>

Fixes #34841
2026-11-25 02:04:03 +04:00
Timothy Jaeryang Baek 9b626e4e5b refac 2026-11-25 02:02:37 +04:00
Classic298 3904bd6043 fix: OIDC sign-in fails when the provider signs its ID token with the client secret (#34930)
Signing in through an OIDC provider that signs the ID token with HS256 failed with "Algorithm 'HS256' requires 'oct' key", and the user landed back on the sign-in page with an error. OpenID Connect allows this signing method when the app has a client secret, and the key is that secret, which never appears among the provider's published keys. Open WebUI now checks these ID tokens against the client secret, so the sign-in goes through, while a token signed with any other secret is still refused. Providers that sign with their published keys are unchanged.

Fixes #34922
2026-11-25 01:59:02 +04:00
Timothy Jaeryang Baek 352c63be19 refac 2026-11-25 01:53:55 +04:00
Timothy Jaeryang Baek d5553c53e7 refac 2026-11-25 01:48:55 +04:00
Timothy Jaeryang Baek e85500e773 refac 2026-11-25 01:48:46 +04:00
Timothy Jaeryang Baek 8522af2d61 refac 2026-11-25 01:46:31 +04:00
Timothy Jaeryang Baek 8ecc777ee6 refac 2026-11-25 01:35:06 +04:00
Timothy Jaeryang Baek afd5ba59eb refac 2026-11-25 01:27:02 +04:00
Timothy Jaeryang Baek 46ac49fe09 refac 2026-11-25 01:20:55 +04:00
Timothy Jaeryang Baek 22500ecc24 refac 2026-11-25 01:16:55 +04:00