Commit Graph
21227 Commits
Author SHA1 Message Date
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
Timothy Jaeryang Baek fb1ba14367 refac 2026-11-25 04:57:19 +04:00
Timothy Jaeryang Baek 70fc1ce3f5 refac 2026-11-25 04:55:03 +04:00
Timothy Jaeryang Baek d66d5b7eb0 refac 2026-11-25 04:45:54 +04:00
Classic298 24af96520d fix: Stop button stays after Send now until the page is reloaded (#35027)
After Send now on a queued message in a saved chat, the answer to the queued messages could stay empty with the Stop button showing until a reload. It happened when that answer finished before the page had loaded the chat again, so the page missed the end of the answer and then showed the chat as it was before the answer finished. Now the page loads the chat again when an answer it has not shown yet finishes, so the finished answer shows and the Stop button goes away.

Fixes #35024
2026-11-25 04:45:07 +04:00
Timothy Jaeryang Baek 9f80154483 refac 2026-11-25 04:41:27 +04:00
Timothy Jaeryang Baek d8411aa521 refac 2026-11-25 04:37:55 +04:00
Timothy Jaeryang Baek 8472524254 refac 2026-11-25 04:35:18 +04:00
Timothy Jaeryang Baek 40f5a572ed refac 2026-11-25 04:31:16 +04:00
Timothy Jaeryang Baek 45f28636f3 chore: i18n 2026-11-25 04:05:59 +04:00
Classic298 07faa918eb fix: a coding agent's chat and new chats fall back to the default model once its machine is gone (#35019)
Once the machine behind a coding agent was removed, the person lost access to it or it went offline, reopening the agent's chat showed "Select a model". A new chat did the same when the agent was the person's default model. Both now select the default model again. The lost machine stays selected and shows as unavailable until the person clears it.

Fixes #35006
2026-11-25 04:02:22 +04:00
Classic298 dfdf060d81 fix: opening a note saves it again without any edit (#35017)
Opening or leaving a note saved its text to the server even when nothing in it was touched. Its updated time went up, so reopening a folder that still had notes open in its tabs reordered the folder's newest-first Notes list by load order instead of last edit. Opening or leaving a note without editing it no longer saves its text, and edits still save as before.

Fixes #35003
2026-11-25 03:54:33 +04:00
Classic298 02ff1ba72f fix: New Chat in a folder's menu opens no new chat tab unless the folder's page is open (#35013)
Picking New Chat in a folder's menu only opened a new chat tab when that folder's page was already open. From another page, such as the home page, a chat outside the folder or Notes, it opened the folder page without the new tab, because the folder's own tabs loaded after the new tab and replaced it. While a chat of that folder was open it did nothing at all. Now each of these opens the folder with a new chat tab in its tab bar, selected and ready for a message.

Fixes #35002
2026-11-25 03:46:04 +04:00
Classic298 460bf0e42b fix: database upgrade breaks the reply chain of old chats whose first message has no id (#35012)
In a chat from an older version whose saved message list is broken, the upgrade falls back to the older plain list of its messages. When that list's first entry has no id but is already saved, the message after it kept pointing at a first message that does not exist, so the conversation could not be followed back to its start. The next message now points at the saved first message.

Fixes #35004
2026-11-25 03:45:53 +04:00
Timothy Jaeryang Baek c6dde2a4e6 refac 2026-11-25 03:41:04 +04:00
Timothy Jaeryang Baek 2801ee9ea4 refac 2026-11-25 03:40:41 +04:00
Classic298 d8c500a8d2 fix: questions and imported replies show as not done in the admin message analytics (#35010)
Since chats are stored message by message, the admin message analytics and a session's message list return `done: null` for every question and for imported replies that never said whether they finished, where they used to return `true`. They return `true` again, and only a reply that is still running reads as not done.

Fixes #35008
2026-11-25 03:40:02 +04:00
Classic298 5cfbbc3d09 fix: saving a chat without a reply's usage, output or error wipes them (#35009)
A chat save from an API client or an older tab that leaves out a reply's usage, output or error wiped them from the stored reply, so the admin analytics lost the reply's tokens and its failed status. A save now leaves the reply's fields it does not send as they were, usage, output and error included, the way the analytics kept them before chats were stored message by message, and the reopened reply keeps its tool output as well. Sending a field as empty clears it.

Fixes #35007
2026-11-25 03:39:48 +04:00
Classic298 991bb4609f fix: exporting chats, the archived chats list and Unarchive All slow down with many chats (#35005)
Since #34689 stored every message on its own, every action that loads many chats with their messages read them one chat at a time, so exporting chats, a folder's export, the admin's All Chats export and the archived chats list got several times slower, growing with the number of chats. The messages of the listed chats now come in one read per 500 chats. Unarchive All only needs to know which chats are archived and no longer loads any messages.

<table>
<tr><th>1000 chats, 10 messages each</th><th>SQLite before #34689</th><th>SQLite now</th><th>SQLite fix</th><th>PostgreSQL before #34689</th><th>PostgreSQL now</th><th>PostgreSQL fix</th></tr>
<tr><td>Export Chats</td><td>0.26 s</td><td>1.00 s</td><td>0.58 s</td><td>0.27 s</td><td>1.82 s</td><td>0.46 s</td></tr>
<tr><td>Folder export</td><td>0.21 s</td><td>1.86 s</td><td>0.51 s</td><td>0.19 s</td><td>1.09 s</td><td>0.42 s</td></tr>
<tr><td>Archived chats list</td><td>0.25 s</td><td>1.08 s</td><td>0.57 s</td><td>0.21 s</td><td>1.11 s</td><td>0.40 s</td></tr>
<tr><td>Unarchive All</td><td>0.07 s</td><td>1.13 s</td><td>0.02 s</td><td>0.13 s</td><td>0.94 s</td><td>0.05 s</td></tr>
<tr><td>Admin All Chats export</td><td>0.14 s</td><td>1.96 s</td><td>0.79 s</td><td>0.33 s</td><td>1.45 s</td><td>0.59 s</td></tr>
</table>

Fixes #35001
2026-11-25 03:39:28 +04:00
Classic298 af31059d16 fix: shared chat shows a sub-agent's report as raw text from the owner (#35011)
Someone reading a shared chat saw each sub-agent report, timer and message from another chat as a plain message from the chat's owner, showing the full machine-written report, where the owner sees a compact row such as "Sub-agent finished". A shared chat hides the private details of messages the reader did not write, and that also hid which kind of row each of these messages is. The reader now gets that kind and nothing else, so they see the same rows as the owner, and the same goes for a copy the reader makes of the shared chat.

Fixes #34998
2026-11-25 03:39:25 +04:00
Timothy Jaeryang Baek b76e2f6a3f refac 2026-11-25 03:37:59 +04:00
Classic298 b9e9857b1c fix: opening a message from Search drops it from the address (#35000)
Opening a search result jumps to the matching message, but the address dropped the message right away. A reload or a copied address then opened the chat at its latest message instead. The address now keeps the message the chat was opened at, so a reload lands on it again.

Fixes #34502
2026-11-25 03:28:33 +04:00
Classic298 b87c99f44f fix: database upgrade deletes the messages of chats with a broken message list (#34995)
The database upgrade that moves chat messages out of the chat record deleted every message of a chat whose saved message list was null or in an unexpected shape, so those messages were lost for good. The upgrade now keeps them, so such chats open with all their messages afterwards, and a single broken entry in the list no longer removes that message. Chats from older versions that also carry a plain list of their messages no longer get their first question added a second time.

Fixes #34991
2026-11-25 03:25:39 +04:00
Classic298 12fce1edfa fix: Git panel shows a pull request's old state after changing it from Code or Checks (#34993)
In the Git panel, closing, reopening, marking ready or editing a pull request while its Code or Checks tab was open went through on GitHub, but the opened pull request kept its old state. After a close its actions still offered Close pull request and Update branch with no Reopen, and after an edit the title above it stayed the old one, until Summary was clicked. The panel now reads the pull request again after every change and stays on the tab that was open.

Fixes #34288
2026-11-25 03:25:30 +04:00