Commit Graph
21272 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 8103755d47 refac 2026-11-27 02:25:06 +04:00
Classic298 4aaf19191f fix: slide preview shows the first slide when opened at a later one (#35107)
When a PowerPoint preview opened at a given slide, it often showed the first slide while the slide number and the highlighted thumbnail said the requested one. It stayed on the wrong slide until the user moved to another slide and back. The preview now shows the slide that was asked for.

Fixes #35106
2026-11-27 01:19:43 +04:00
Classic298 1e68fa8d18 fix: with several workers, chats go to the wrong connection after a connection is deleted (#35119)
With UVICORN_WORKERS above 1, deleting an OpenAI or Ollama connection left every worker except the one that saved the change sending some models to the wrong connection, so chats failed with "model not found" until a restart. The admin panel showed the right connection the whole time. The workers now share which connection serves each model through Redis, which several workers already require, so a change reaches all of them at once.

Fixes #35114
2026-11-27 01:19:28 +04:00
G30 1362747031 i18n: fill missing translations in 48 languages (#35135) 2026-11-27 01:17:58 +04:00
Timothy Jaeryang Baek 833f32f8f4 refac 2026-11-27 00:58:20 +04:00
Timothy Jaeryang Baek 7b37a62240 refac 2026-11-27 00:31:51 +04:00
G30 a8399f68fb fix: hide finished reasoning blocks that have no text (#35126) 2026-11-27 00:12:28 +04:00
Timothy Jaeryang Baek f0acd8e771 refac 2026-11-27 00:07:04 +04:00
G30 de696d4b4a fix: check ui translation placeholders against the default text (#35127) 2026-11-26 23:44:04 +04:00
G30 26b6484e11 fix: add browser history entries for page tabs and follow back and forward (#35131) 2026-11-26 23:41:12 +04:00
G30 42b06ada7c i18n: fill missing translations in 48 languages and fix 13 existing ones (#35130) 2026-11-26 23:37:35 +04:00
Timothy Jaeryang Baek 4d49c6d950 refac 2026-11-26 21:25:16 +04:00
Timothy Jaeryang Baek 90eae9507c refac 2026-11-26 21:08:30 +04:00
Timothy Jaeryang Baek c4b71322ae refac 2026-11-26 18:27:34 +04:00
Timothy Jaeryang Baek ee7846286c refac 2026-11-26 18:25:14 +04:00
Timothy Jaeryang Baek 65f64e37b8 refac 2026-11-26 18:21:10 +04:00
Timothy Jaeryang Baek c456a6dbfd refac 2026-11-26 18:14:38 +04:00
Timothy Jaeryang Baek 2d4a3f622f refac 2026-11-26 17:24:30 +04:00
Timothy Jaeryang Baek 5fc1b1b591 refac 2026-11-26 17:21:33 +04:00
Timothy Jaeryang Baek c6b06567b8 refac 2026-11-26 17:19:16 +04:00
Timothy Jaeryang Baek 24f49bf467 refac 2026-11-26 17:16:55 +04:00
Timothy Jaeryang Baek 7a797bee44 refac 2026-11-26 17:08:19 +04:00
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