Commit Graph
21250 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 536032a9ef refac 2026-11-26 16:57:06 +04:00
Timothy Jaeryang Baek ee38c0213c refac 2026-11-26 16:55:05 +04:00
Timothy Jaeryang Baek 3854a4d086 refac 2026-11-26 16:36:45 +04:00
Timothy Jaeryang Baek e0eb2297d1 refac 2026-11-26 16:20:36 +04:00
Timothy Jaeryang Baek 54d1b41fd3 refac 2026-11-26 15:48:48 +04:00
Timothy Jaeryang Baek 376e77cee0 refac 2026-11-26 15:45:31 +04:00
Timothy Jaeryang Baek d331f062e6 refac 2026-11-26 03:52:50 +04:00
Timothy Jaeryang Baek 4043ad64ac refac 2026-11-26 03:50:42 +04:00
Timothy Jaeryang Baek 871159e7d7 refac 2026-11-26 03:22:32 +04:00
Timothy Jaeryang Baek 0d142e96ba refac 2026-11-26 03:21:43 +04:00
Timothy Jaeryang Baek fdfcb03a0a refac 2026-11-26 03:20:54 +04:00
Timothy Jaeryang Baek d6812c851b refac 2026-11-26 03:08:54 +04:00
joaoback e629c35c3e i18n: add pt-BR translations for newly added UI items and consistency pass (#35100)
New **pt-BR** translations for items introduced in the latest releases, plus a small consistency pass across existing strings. Placeholders preserved. No logic changes.
2026-11-26 02:05:04 +04:00
Timothy Jaeryang Baek 4b648ec4e7 refac 2026-11-26 02:04:30 +04:00
Timothy Jaeryang Baek 9c9a3ca0d6 refac 2026-11-26 01:31:48 +04:00
Timothy Jaeryang Baek 301ae2cf7d refac 2026-11-26 01:15:35 +04:00
Classic298 b7a7ddff18 perf: fewer requests when opening the inbox or clicking a notification (#35068)
Opening the notification inbox fetched the badge count again right away, although opening the inbox already returns it. Clicking a notification fetched the badge count and the list after the click and a second time from the server's realtime notice that notifications changed. Both duplicates are gone, and the badge and the list still update from that notice as before, which reaches all of the user's connected tabs and so carries changes from other tabs and other users. Each tab still refetches once in reaction to the notice its own action caused, which is left for a separate change. Times are summed server time per action for a typical user on a test instance with 50 users and 22,600 notifications, at two chat counts because each request checks which of the user's chats they can see.

<table>
<tr><th></th><th>Requests</th><th>SQLite, 5,000 chats on the instance</th><th>SQLite, 25,000 chats on the instance</th><th>Postgres, 5,000 chats on the instance</th><th>Postgres, 25,000 chats on the instance</th></tr>
<tr><td>Open the inbox</td><td>4 → 3</td><td>102 → 85 ms</td><td>264 → 221 ms</td><td>142 → 118 ms</td><td>227 → 188 ms</td></tr>
<tr><td>Click a notification that links to an item</td><td>5 → 3</td><td>94 → 54 ms</td><td>227 → 137 ms</td><td>136 → 79 ms</td><td>216 → 128 ms</td></tr>
<tr><td>Click an announcement</td><td>4 → 3</td><td>77 → 54 ms</td><td>184 → 137 ms</td><td>112 → 79 ms</td><td>177 → 128 ms</td></tr>
</table>

Refs #35066
2026-11-26 01:02:36 +04:00
Timothy Jaeryang Baek 90ef1f6b0d refac 2026-11-26 00:59:00 +04:00
Timothy Jaeryang Baek 572974f73f refac 2026-11-26 00:50:07 +04:00
Timothy Jaeryang Baek 9a596e2eed refac 2026-11-26 00:47:50 +04:00
Timothy Jaeryang Baek ec0ef19474 refac 2026-11-26 00:40:06 +04:00
Classic298 59bd4991e2 perf: faster notification badge and inbox on instances with many chats (#35070)
For regular users, every refresh of the notification badge and every inbox page compared their chat notifications against every chat they could see, and opened the saved copy of every shared chat on the instance to find the ones set to "Allow replies". That cost grew with the size of the instance, to about 70 ms per badge refresh on SQLite and 50 ms on Postgres at 50,000 chats. Now the user's own chats, the chats in their folders and the chats shared with them are looked up separately, and only the saved copies of chats shared with that user get opened. Who sees which notification is unchanged, comment notifications on chats included.

<table>
<tr><th>Regular user, median ms per request</th><th>SQLite before</th><th>SQLite after</th><th>Postgres before</th><th>Postgres after</th></tr>
<tr><td>Badge refresh, 5,000 chats</td><td>15.0</td><td>11.7</td><td>20.8</td><td>17.5</td></tr>
<tr><td>Inbox first page, 5,000 chats</td><td>19.0</td><td>15.1</td><td>27.8</td><td>23.9</td></tr>
<tr><td>Badge refresh, 50,000 chats</td><td>72.1</td><td>23.9</td><td>51.0</td><td>26.2</td></tr>
<tr><td>Inbox first page, 50,000 chats</td><td>78.3</td><td>26.9</td><td>57.3</td><td>31.9</td></tr>
<tr><td>Chat comment mentioning 5 people, 50,000 chats</td><td>312.5</td><td>43.6</td><td>159.3</td><td>88.2</td></tr>
</table>

Fixes #35066
2026-11-25 23:51:53 +04:00
Classic298 4cf955b95c fix: Open WebUI crashes on startup on Windows (#35077)
Since 0.13.5, open-webui serve on Windows stops right away with a FileNotFoundError, because startup creates a folder under /tmp and Windows has no /tmp. That folder now goes under /tmp only where /tmp exists and into the system temp folder otherwise, so Windows starts again. Linux and macOS keep using /tmp, because the local sockets of SSH machine connections need a short path there.

Fixes #35075
2026-11-25 23:51:42 +04:00
G30 92aebeb1be i18n: fix 17 existing translations in 9 languages (#35094) 2026-11-25 23:51:28 +04:00
G30 eac017ea4c Merge pull request #35071 from silentoplayz/i18n/batch-2026-11-25
i18n: fill missing translations in 48 languages
2026-11-25 23:01:32 +04:00
Classic298 7e5634d208 fix: attaching a file without pandoc sometimes shows a raw error instead of "Pandoc is not installed" (#35065)
On a server without pandoc, attaching a file that needs it could show the raw library error, which tells the user to install pandoc themselves, instead of "Pandoc is not installed on the server". The raw error was saved first and replaced with the friendly message a moment later, and the chat often picked up the raw one in between. The friendly message is now saved right away, so the warning toast always shows it.

Fixes #35064
2026-11-25 13:27:53 +04:00
Timothy Jaeryang Baek bb51c01700 chore: format 2026-11-25 13:23:44 +04:00
Timothy Jaeryang Baek efcbd9c6d7 refac 2026-11-25 13:21:47 +04:00
Timothy Jaeryang Baek 1c2c3e794e refac 2026-11-25 13:16:37 +04:00
Classic298 18b9b449c7 fix: deleting a note leaves its chat counted in admin analytics (#35059)
Deleting a note, on its own or with the folder holding it, removed the note but kept the conversation from its chat panel. Admin analytics went on counting its messages and tokens, listed it as a session and showed its messages. Deleting a note now deletes its chats too, for everyone who chatted with it.

Fixes #35057
2026-11-25 13:13:28 +04:00
Classic298 cdf38c4a72 fix: deleting a folder or all chats leaves their replies and sub-agents running (#35058)
Deleting a single chat stops a reply that is still being written and any sub-agent it handed work to. Deleting a folder with its chats, or all chats, removed the chats but left that work running, so replies kept streaming from the provider and a sub-agent left running kept its background slot, refusing the next delegation with "Async subagent capacity reached". Both now stop the running work of every chat they delete, including its sub-agents, as deleting a single chat does.

Fixes #35056
2026-11-25 13:13:17 +04:00
Classic298 1fcfc8a5cd fix: deleting a folder with its chats leaves their sub-agent and timer conversations behind (#35055)
When a chat in a folder had handed work to a sub-agent or set a timer, deleting the folder with its contents removed the chat but kept the conversation that sub-agent or timer ran in. Admin analytics went on counting its messages and tokens, listed it as a session and returned its text. Deleting the folder now removes the stored conversations along with their chats, the same way deleting a single chat or all chats already removes them.

Fixes #35053
2026-11-25 13:13:06 +04:00
Timothy Jaeryang Baek b0d5c67f76 refac 2026-11-25 13:06:56 +04:00
Timothy Jaeryang Baek ee591b44b3 refac 2026-11-25 12:53:12 +04:00
Classic298 893584700a fix: upgrade looks stuck while it moves chat messages (#35054)
During a database upgrade the log only named the step that was running, and the progress lines of long steps never showed, whatever GLOBAL_LOG_LEVEL was set to. On a big install an admin saw `Running upgrade d2f86c0b41ae -> 5e7a2c9d4b13` and then nothing for minutes while the chat messages were moved, which looks like a hung upgrade and invites a restart in the middle of it. The database upgrade steps now log at the level set in GLOBAL_LOG_LEVEL, so with the default the running count of moved chats shows while the step works.

Fixes #35052
2026-11-25 12:47:34 +04:00
Timothy Jaeryang Baek fbf99c5762 refac 2026-11-25 12:45:27 +04:00
Classic298 9cb24a5306 fix: a duplicated automation loses the start date of its schedule (#35047)
Duplicating an automation whose repeating schedule has a start date, such as one the model created in a chat, saved the copy without that start date. A copy of a schedule meant to start later began running right away, so it ran on other dates than the original. The copy now keeps the schedule exactly as it was unless the schedule is changed before the copy is created.

Fixes #35044
2026-11-25 12:40:19 +04:00
Classic298 3725657c84 fix: MCP servers added in Tether show under Tool Servers instead of Your devices (#35050)
An MCP server added in the Tether app showed in the chat's Tools list under Tool Servers, next to the servers an admin connected for everyone, while an OpenAPI tool server from the same Tether app showed under Your devices. Both now show under Your devices.

Fixes #35049
2026-11-25 12:39:41 +04:00
Classic298 f7d437324d fix: deleting one listed vector store removes the whole connection (#35043)
With "List stores as knowledge bases" on, an admin sees Delete on each store in Workspace > Knowledge. Deleting one store reported success but removed the entire connection, so every store of it disappeared for every user, and models lost the store they had attached. These stores live on the endpoint and are read-only, so deleting one is now refused with the read-only error and the connection, its stores and the models stay as they were.

Fixes #35042
2026-11-25 12:39:25 +04:00
G30 785bf038a3 i18n: fill missing translations in 48 languages and fix 6 existing ones (#35041)
* i18n: fill missing translations in 48 languages and fix 6 existing ones

* i18n: match parser encoding for Persian translations
2026-11-25 12:39:11 +04:00
Timothy Jaeryang Baek f80a4f7827 refac 2026-11-25 05:23:35 +04:00
Classic298 4ca96cffc8 fix: deleting a chat while its background sub-agent runs leaves the chat in place on Postgres (#35035)
On Postgres with Redis, deleting a chat whose background sub-agent was still working often failed without an error. The sub-agent stopped and its thread went away, but the chat stayed in the sidebar. Stopping the sub-agent makes it post its result into that same chat, and that write and the delete blocked each other until the database cancelled one of them, usually the delete. Deleting a chat now locks the chat first, like every other write to a chat, so the two run one after the other. Deleting all chats or a folder's chats could clash the same way and gets the same change.

Fixes #35034
2026-11-25 05:15:01 +04:00
Timothy Jaeryang Baek aceed36114 refac 2026-11-25 05:14:02 +04:00
Timothy Jaeryang Baek 91e32f7787 refac 2026-11-25 05:11:32 +04:00
Timothy Jaeryang Baek b6db862ad9 refac 2026-11-25 05:03:58 +04:00
Classic298 a094c546e8 fix: a file still uploading on reload comes back stuck and blocks sending (#35032)
A chat keeps its draft from the moment a file is attached, before the file has finished uploading. Reloading in that window brought the file back as still uploading, with a spinner that never ended, and the next message waited for it forever. The draft now leaves out files that are still uploading, so a reload drops the cut-off upload and the message goes out.

Fixes #35029
2026-11-25 05:01:58 +04:00
Classic298 6123360666 fix: admins can read sub-agent chats with ENABLE_ADMIN_CHAT_ACCESS off (#35031)
With ENABLE_ADMIN_CHAT_ACCESS turned off, admins could still open another user's sub-agent, timer and note chats by id. Those chats hold the same conversation content as the parent chat, so they now follow the same setting as every other chat.
2026-11-25 05:00:26 +04:00
Classic298 c5e37298b3 fix: Compact and Fork stay greyed out in an open / menu after the reply ends (#35030)
With the / menu already open while a reply streams, Compact and Fork were greyed out as expected, but they stayed that way after the reply had ended. Now both become usable in the open menu the moment the reply finishes, in the main chat and in side chats.

Fixes #35026
2026-11-25 05:00:11 +04:00
Timothy Jaeryang Baek 0fbb822860 refac 2026-11-25 04:58:37 +04:00
Timothy Jaeryang Baek 4b4ad49a7e refac 2026-11-25 04:57:27 +04:00