Commit Graph
21438 Commits
Author SHA1 Message Date
G30 0424628dff i18n: fill missing translations in 2 languages (#35457) 2026-12-01 21:00:14 +04:00
G30 5b7e1255c8 fix(a11y): the Legacy button no longer sits inside the Admin settings tab list (#35436)
The Admin part of the Settings sidebar was one tab list holding the
Legacy show and hide button among its tabs, so screen readers counted a
button that isn't a tab inside the list (WCAG 1.3.1 and 4.1.2).

The Admin part is now a group named Admin, with one tab list per
heading already shown in the sidebar: System, AI, Tools, Quality and
Data, each named by its heading, and Code Execution and Pipelines in a
Legacy tab list named by the Legacy button. The button sits between
the Tools and Legacy lists. Nothing moves on screen, and the Tab order
is the same. The Personal list is unchanged.
2026-12-01 20:00:20 +04:00
Classic298 422ab8304b fix: Ollama port check runs at startup even when Ollama is disabled (#35453)
With ENABLE_OLLAMA_API=false and no Ollama URL set, every startup still tried to connect to Ollama on ports 11434 and 12434 and logged that both were unreachable. On hosts that silently drop the connection this also held up startup for about a second. The check now only runs when Ollama is enabled.

Fixes #35442
2026-12-01 19:59:47 +04:00
Classic298 bde9278693 fix: chat freezes for seconds when scrolling inside an inline PDF preview (#35452)
Scrolling inside a PDF shown inline in a chat froze the whole page for seconds at a time, on phones and on desktop, and long chats had it worst. The cause was not in the PDF preview. A style rule meant only for the settings pages was active on every page and made the browser redo the styling of a whole chat message each time a piece of content was added to it, which a PDF preview does well over a hundred times per page. That rule only decides whether the mouse pointer turns into a hand over the name of a setting, and it is now written so that it no longer costs anything noticeable outside the settings pages. The settings look and behave as before.

<table>
<tr><th>Long chat with three inline PDFs, scrolling one PDF down and back up</th><th>Before</th><th>After</th></tr>
<tr><td>Time the browser spent redoing styles</td><td>15.1 s</td><td>0.24 s</td></tr>
<tr><td>Longest freeze, desktop</td><td>6.6 s</td><td>0.05 s</td></tr>
<tr><td>Longest freeze, phone sized screen with CPU slowed 4x</td><td>30 s</td><td>0.2 s</td></tr>
<tr><td>Frames per second, desktop</td><td>35</td><td>60</td></tr>
<tr><td>Adding one piece of content to a message</td><td>36 ms</td><td>under 1 ms</td></tr>
</table>

Fixes #35444
2026-12-01 19:58:39 +04:00
G30 b645d6a9c8 i18n: fill missing translations in 2 languages and fix 19 existing ones (#35455) 2026-12-01 19:57:55 +04:00
Timothy Jaeryang Baek 2e27a09fa6 refac 2026-12-01 04:38:55 +04:00
Timothy Jaeryang Baek 18f79d08c4 refac 2026-12-01 04:37:27 +04:00
Timothy Jaeryang Baek 9e447ce116 refac 2026-12-01 04:36:51 +04:00
Timothy Jaeryang Baek 5198d1be84 refac 2026-12-01 04:28:19 +04:00
G30 4799c6cccb fix(a11y): version, section and note chat buttons are named by the text they show (#35433)
Seven buttons had an aria-label that left out the text they show, so a
voice control user saying what is on screen could not click them
(WCAG 2.5.3): the prompt editor's History ("Live"), Select version in
the skill, tool, function and model editors ("Current", "Production"
or a version id), a note's chat Expand (the chat title) and the folder
page's Switch section ("Chats" and its count).

Each aria-label moves into an sr-only span after the visible text, as
in #33593, so the name starts with what the button shows: "Live
History", "Production Select version", "Chat Expand". The prompt
editor's span sits right against the visible text, so a space goes
between them. Nothing changes on screen.
2026-12-01 04:07:25 +04:00
G30 5714892bfd fix(a11y): checked task items in replies keep full contrast with Accessibility Mode on (#35429)
A checked task item's text is dimmed to opacity 0.55 on top of its
line-through, which takes it to 2.96:1 in the light theme, below the
4.5:1 that text needs (WCAG 1.4.3).

With Accessibility Mode on, the dimming is dropped and the line-through
stays, so the item still reads as done: 10.30:1 in light and 12.29:1 in
dark. The rule uses :where(html.high-contrast) like Dashboard's tab
color, so it only overrides the dimming. With Accessibility Mode off
nothing changes.
2026-12-01 04:06:55 +04:00
G30 7262681f9b fix(a11y): Calendar cells and What's new entries no longer read as broken lists (#35428)
Calendar's month, all-day and hour cells were role="list" with buttons
and event chips inside, so screen readers announced 42 lists with no
list items. They are drop targets, not lists; role="presentation"
keeps Svelte's interaction check satisfied without a list role.

Each What's new entry rendered its <li> inside plain divs, so 427 list
items had no list. Each section's entry container is now role="list",
the two wrapper divs are role="none" and the bullet dot is hidden from
screen readers, so every section reads as one list of its entries.
Nothing changes on screen.
2026-12-01 04:06:36 +04:00
Timothy Jaeryang Baek 3266144c3e refac 2026-12-01 03:22:11 +04:00
Timothy Jaeryang Baek 851d90c50a refac 2026-12-01 02:42:20 +04:00
Classic298 13a4d8af08 fix: the email field capitalises and autocorrects on iPhone (#35424)
Since email fields became plain text fields to allow addresses with non-ASCII characters, iPhone capitalised the first letter and autocorrected what was typed, on the sign-in and sign-up page and in the admin's Add User and Edit User dialogs. Those email fields now turn capitalisation, autocorrect and spellcheck off, as an email field did before.

Fixes #35415
2026-12-01 02:40:35 +04:00
Classic298 356c6d86af fix: turning on notifications on Android hides the in-app toast too (#35421)
Chrome on Android does not let a page create a notification directly and throws instead, and that error also stopped the in-app toast. A user who turned on notifications there got neither a popup nor a toast when a reply finished in another chat or a channel message arrived. The failed system notification is now skipped and the toast shows as usual.

Fixes #35408
2026-12-01 02:40:18 +04:00
Classic298 f6e7d221e1 fix: the full-screen image viewer is taller than the screen in mobile Safari (#35423)
The image viewer took the full screen height including the part behind Safari's toolbars, so the image sat off-centre and the bottom of a tall image was cut off. It now fits the visible screen, as the other dialogs already do. The expanded message editor had the same extra height and now fits the visible screen too.

Fixes #35411
2026-12-01 02:39:41 +04:00
Classic298 4a1384eb48 fix: remove a leftover debug log from the expanded message editor (#35420)
The expanded message editor logged its whole content to the browser console on every change. That leftover debug output is removed.
2026-12-01 02:39:26 +04:00
Classic298 9f7baf5540 fix: a long confirm dialog on a phone hides its Confirm and Cancel buttons (#35419)
When a function or tool asked for confirmation or input with a message longer than the screen, the dialog was cut at the screen height and could not be scrolled, so its Confirm and Cancel buttons were out of reach. The dialog now scrolls, the way the bottom sheet already does.

Fixes #35414
2026-12-01 02:33:47 +04:00
Classic298 0d71ed03bb fix: the installed app's launch screen flashes a blue-grey that is not the app's colour (#35418)
The generated web app manifest set #343541 as the background colour, so every launch of the installed app on Android flashed a blue-grey used nowhere else in the app, and it set no theme colour. Both now use the app's own dark background, the same colour as the page's theme colour.

Fixes #35410
2026-12-01 02:33:30 +04:00
Classic298 35564622fe fix: event webhooks subscribed to a renamed event vanish after upgrading (#35417)
Several events were renamed, and admin event webhooks saved under the old names were treated as invalid: they disappeared from the webhook list, stopped firing, and were deleted the next time any webhook was saved. Creating a notification target with an old name was refused as well. Old event names are now accepted and translated to the new ones, for event webhooks and notification targets alike, as was already done for an earlier rename.

Fixes #35413
2026-12-01 02:33:19 +04:00
Timothy Jaeryang Baek d56c3f304c refac 2026-12-01 02:21:33 +04:00
Timothy Jaeryang Baek 275c4d2817 refac 2026-12-01 02:20:32 +04:00
Timothy Jaeryang Baek 48af5daa1c refac 2026-12-01 02:16:04 +04:00
Timothy Jaeryang Baek 4a51726230 refac 2026-12-01 01:58:55 +04:00
Timothy Jaeryang Baek 9e90240c61 refac 2026-12-01 01:55:54 +04:00
Classic298 4fce9764f9 fix: text-to-speech and speech-to-text fail on Windows for text outside the system code page (#35096)
On Windows with a non-UTF-8 code page like cp1252, reading a message aloud or transcribing audio returned a 500 with "'charmap' codec can't encode character" whenever the text held characters the code page lacks, such as arrows, CJK or emoji. The audio or transcript had already come back from the provider, but saving its cache file failed because the file was written in the Windows code page. These cache files are now always written as UTF-8, so the request succeeds on any Windows language setting. Text-to-speech through an OpenAI connection had the same problem and is fixed too. It only showed up once ENABLE_ORJSON became the default.

Fixes #35087
2026-12-01 01:49:18 +04:00
G30 fc3bb0c6bd fix: blank lines in a sent message no longer carry two spaces (#35355)
* fix: blank lines in a sent message no longer carry two spaces

* fix: keep blank lines typed with Shift+Enter in comments

The comment box rebuilds its Markdown in onValueChange and reloads the editor when that differs from the serialized value. Clear the two-space line there too, so a second hard break no longer makes them differ and drop the blank line.
2026-12-01 01:43:05 +04:00
Classic298 b1c40acbb1 fix: chat stops auto-scrolling in Safari once a reply renders formatting (#35407)
On iPhone and in Safari, Response Auto-Scroll turned itself off partway through a reply, so the rest of the reply ended up hidden below the message input. When raw text turns into formatted content such as a table, Safari briefly jumps the chat up a little on its own, and the app took that jump for the user scrolling up. That jump no longer turns Auto-Scroll off, and scrolling up with a finger or the mouse wheel still does.

Fixes #33444
2026-12-01 01:28:35 +04:00
Classic298 786f618fd5 perf: a Files tab that is not on screen still draws its whole file list (#35090)
A Files tab drew every row of its file list even while it sat hidden behind another tab or in a collapsed side panel. Every switch into a folder or chat that has a Files tab open rebuilds that tab, so the switch kept the page busy drawing rows nobody could see. A Files tab now draws its list the first time it is shown, and everything else about it (its folder, open file, unsaved edits) loads as before.

<table>
<tr><th>Switch from a chat outside a folder into one of its chats, Files tab of 201 entries hidden behind it, 4x CPU slowdown, median of 5</th><th>Before</th><th>After</th></tr>
<tr><td>Main thread blocked</td><td>1.31 s</td><td>0.85 s</td></tr>
<tr><td>File rows drawn</td><td>201</td><td>0</td></tr>
</table>

Fixes #35088
2026-12-01 01:25:25 +04:00
Timothy Jaeryang Baek 00f73217c7 refac 2026-12-01 01:09:58 +04:00
Timothy Jaeryang Baek c78060a62d refac 2026-12-01 01:02:02 +04:00
Classic298 fc0f0701c5 fix: editing or resuming an automation shows a Next run after its expiry (#35404)
Editing an automation while leaving its expiry as it is, for example moving its schedule later, or resuming a paused automation whose expiry has passed, saved a next run after the expiry. The page showed it as Next run and the model's update tool reported it back, though that run never happens. That next run is now dropped, and the page shows "Not scheduled" instead. The list of upcoming runs is cut at the expiry separately, in #35399.

Fixes #35401
2026-12-01 00:50:34 +04:00
Timothy Jaeryang Baek 1c59e41e5f refac 2026-12-01 00:41:27 +04:00
Timothy Jaeryang Baek 55f1b5c0cb refac 2026-12-01 00:33:38 +04:00
Classic298 1e177c2bd0 refac: scope shared chat file lookup to the file owner (#35228)
Shared chats now only grant access to a file when the file owner owns the chat or attached the file to it.
2026-12-01 00:27:22 +04:00
G30 a42c14892f perf: streaming a reply in a long chat no longer rescans every message for artifacts with full regex passes (#35209) 2026-12-01 00:26:53 +04:00
Classic298 636dd45c30 fix: saving an automation after its expiry passed fails with "The expiry time is in the past." (#35400)
The first save on an automation's page cut its expiry down to the minute, so an expiry the model had set, like "in 2 hours", moved up to a minute earlier, and if it had already passed by that first save, every edit was refused, even just a rename. An expiry left untouched now stays exactly as it was stored, and only a newly picked one is checked.

Fixes #35395
2026-12-01 00:26:39 +04:00
Timothy Jaeryang Baek beed6b130e refac 2026-12-01 00:26:01 +04:00
Classic298 bc40f60f6f fix: Continue on a reply whose model is no longer available breaks the next message (#35261)
Clicking Continue under a reply whose model was removed or is offline seemed to do nothing, but it marked the reply as still generating. The next message the user sent then flipped that old reply back into the generating state with a stop button, and was sent as queued behind a reply that was not running. Now Continue shows a "Model not found" error and leaves the reply as it was, and the next message sends normally.

Fixes #35260
2026-12-01 00:25:22 +04:00
Classic298 6438a63b35 fix: Calendar and upcoming runs show runs after an automation's expiry (#35399)
An automation with an expiry stops running once the expiry passes, but the Calendar's Scheduled Tasks and the upcoming runs the automation reports, on its page and to the model, kept listing every run of its schedule, including the ones after the expiry. These now end before the expiry, so they only list runs that will really happen; a run set exactly at the expiry never fires, so it is left out too.

Fixes #35394
2026-12-01 00:24:46 +04:00
Timothy Jaeryang Baek e4c13ecd31 refac 2026-12-01 00:24:34 +04:00
Timothy Jaeryang Baek d13ecf6816 refac 2026-12-01 00:24:00 +04:00
Classic298 a658799f98 fix: failed OAuth picture fetch resets the user's picture to the default (#35389)
With the "Update Picture" setting turned on, any failure to fetch the picture from the identity provider (an outage, a 404, a URL the server refuses to fetch or an image type it does not accept) replaced the user's current picture with the default icon, and it stayed that way on every login until the fetch worked again. A failed fetch now keeps the current picture. A provider that sends no picture at all still resets it to the default, and a new user whose picture cannot be fetched still gets the default icon.

Fixes #35360
2026-12-01 00:23:17 +04:00
Classic298 c55c3f101c fix: default Automations Sharing permission reverts on save (#35398)
Turning on Automations Sharing in the default user permissions did not stick. After saving, the switch was off again, and regular users still could not share their automations; only granting it through a group worked. The default permissions now keep this setting like every other sharing option.

Fixes #35396
2026-12-01 00:22:26 +04:00
Classic298 6b25846a92 fix: knowledge base list and file search errors bypass the server log (#35318)
When listing knowledge bases, searching their files or listing a knowledge base's files hit an error, the page just showed an empty list and the error was printed to stdout as a single bare line, outside the normal log format and without a traceback. These errors now go through the server log with the full traceback, like the other knowledge base errors already do. The page still shows an empty list in that case.

Fixes #35317
2026-12-01 00:21:28 +04:00
Timothy Jaeryang Baek 66fdd803ba refac 2026-12-01 00:19:51 +04:00
G30 fc6ac78738 perf: the model list is sent without a second pass over data that is already JSON (#35212) 2026-12-01 00:19:25 +04:00
Classic298 c64032e714 fix: features read the attached-files list instead of what the user typed (#35192)
With native function calling, a saved chat with attachments put the list of attached files where features look for the user's message. The RAG template's {{QUERY}} slot, document search, memory search, the tool permission reviewer and the search queries for preloaded files got that list instead of what the user typed, and with an image attached the question was missing entirely. /skills:create was ignored whenever a file was attached. They now all use the user's own text, and the attachment list still reaches the model unchanged. With Preload files on, memory search and the reviewer still see the retrieved document text in front of the question, which is a separate problem.

Fixes #35163
Fixes #35195
2026-12-01 00:18:59 +04:00
Classic298 e405d966ba fix: an extra heartbeat keeps running after a connection drop right after reconnecting (#35193)
When the connection dropped again while the app was still checking the server version after a reconnect, the next reconnect started a second heartbeat and the old one could never be stopped. Each such drop left one more heartbeat running for the life of the tab, so the server got one extra heartbeat from that tab for each drop. A reconnect now replaces the running heartbeat, so each tab sends one.

Fixes #35191
2026-12-01 00:18:26 +04:00