Commit graph

1931 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
92e64c1d59 refac 2026-10-16 14:31:39 +04:00
G30
5dff6489d2
fix: someone with Write access saving a shared prompt or tool no longer makes it private (#32493)
The prompt and tool editors resend every stored grant on Save, and the
update routes ran that whole list through filter_allowed_access_grants.
A collaborator without the public sharing permission therefore had the
owner's Public grant stripped, and the stripped list replaced the stored
one, so one Save made the prompt or tool private for everyone else.

Keep grants that are already stored and filter only the ones the save
adds, as the model update route has done since 754c4b576.
2026-10-16 03:20:45 +04:00
G30
ad3e5a6c42
fix: a chat you clone or fork from someone's share is yours to regenerate in (#32508)
Since cloned and forked chats keep each message's original author, a
copy of someone else's shared chat kept the sharer as the author of
every prompt and reply. Regenerate and Continue in the copy then failed
with "You can only regenerate your own messages.", and edits to those
messages were dropped on save, although the copy belongs to the person
who made it.

When a shared chat is cloned, or forked by someone other than its owner,
give the source owner's messages to the new owner, the same per-message
loop shared_chat_response uses to set authors. Messages written by other
participants of an Allow replies chat keep their authors.
2026-10-16 03:13:44 +04:00
Timothy Jaeryang Baek
ef28e99e58 refac 2026-10-16 02:53:00 +04:00
Timothy Jaeryang Baek
b4db56ae96 refac 2026-10-16 02:46:20 +04:00
Timothy Jaeryang Baek
4a70253bc8 refac 2026-10-16 01:25:30 +04:00
Timothy Jaeryang Baek
0b3812f285 refac 2026-10-15 17:56:56 +04:00
Timothy Jaeryang Baek
7dc91de86c refac 2026-10-15 17:08:00 +04:00
G30
58b821a464
fix: searching for a tag whose chats are all archived no longer deletes the tag (#32452) 2026-10-15 13:12:19 +04:00
G30
fd47370e85
fix: an imported chat shows its tags (#32454) 2026-10-15 13:12:11 +04:00
Classic298
fb3d92a6ef
feat: record the requested model as its own field in the audit log (#32429)
The audit log only showed which model a request used inside the logged request body, which is cut off at MAX_BODY_LOG_SIZE, so the model went missing whenever a long prompt came before it. Audit entries for chat and completion requests, including the OpenAI, Ollama and Anthropic-compatible endpoints, now carry a model_id field with the model the client asked for, at every AUDIT_LOG_LEVEL and however long the request is. Other requests log it as null.

Fixes #30097
2026-10-15 00:00:19 +04:00
Classic298
6276e81cec
fix: SCIM can delete admin accounts (#32415)
An identity provider could delete an admin account through SCIM, including the first admin account, for example when its sync pruned users it no longer had assigned. SCIM already ignores deactivation requests for admins so a sync cannot demote them, and the admin panel refuses to delete the first admin, but a SCIM delete request still went through and could leave the instance without anyone who has admin access. Deleting an admin through SCIM is now refused with a 403 and the account stays; admins are removed from the admin panel instead.

Fixes #27662
2026-10-14 23:25:28 +04:00
Timothy Jaeryang Baek
7b47c3b22c refac 2026-10-14 23:21:22 +04:00
Classic298
8bddf9bc62
fix: memory reindex ignores the Embedding Concurrent Requests limit (#32420)
Reindexing memories (the admin "Reindex Knowledge and Memory Vectors" button, a user resetting their memory vectors, or the automatic reindex after switching to an embedding model with a different vector size) ignored the "Embedding Concurrent Requests" setting and sent one embedding request per memory at once. With a rate-limited embedding provider, most of those requests came back as 429 errors. Reindexing memories now respects that setting and the embedding batch size, like knowledge file uploads already do.

Fixes #32212
2026-10-14 23:15:25 +04:00
Classic298
44953df70e
Merge pull request #32421 from Classic298/channel-message-meta
refac: keep channel message metadata server-side
2026-10-14 23:15:17 +04:00
Timothy Jaeryang Baek
00f12c0e47 refac 2026-10-14 18:49:51 +04:00
Timothy Jaeryang Baek
a70e96525d refac 2026-10-14 18:22:33 +04:00
Timothy Jaeryang Baek
3ec0774503 refac 2026-10-14 17:49:31 +04:00
Classic298
3b2b89205e
fix: no channel message webhooks from group channels and direct messages (#32404)
Users with a notification webhook for channel messages received no webhook when someone posted in a group channel or direct message they belong to. Only regular channels they had been given access to sent it. Members of group channels and direct messages now get the webhook too, and muting one of these channels stops the webhook except for messages that mention them.

Fixes #32403
2026-10-14 17:16:22 +04:00
Timothy Jaeryang Baek
fe0e725997 refac 2026-10-14 16:57:58 +04:00
Timothy Jaeryang Baek
35c927ba99 refac 2026-10-14 14:59:41 +04:00
Timothy Jaeryang Baek
e5c80682b9 refac 2026-10-14 14:41:26 +04:00
Timothy Jaeryang Baek
4c5668696b refac 2026-10-14 13:46:36 +04:00
Timothy Jaeryang Baek
ed8c744e77 refac
Some checks are pending
Python CI / Ruff Format (3.11) (push) Waiting to run
Python CI / Ruff Format (3.12) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/amd64 runner:ubuntu-latest], map[build_args: free_disk:false name:main suffix:]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/amd64 runner:ubuntu-latest], map[build_args:USE_CUDA=true USE_CUDA_VER=cu126 free_disk:true name:cuda126 suffix:-cuda126]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/amd64 runner:ubuntu-latest], map[build_args:USE_CUDA=true free_disk:true name:cuda suffix:-cuda]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/amd64 runner:ubuntu-latest], map[build_args:USE_OLLAMA=true free_disk:false name:ollama suffix:-ollama]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/amd64 runner:ubuntu-latest], map[build_args:USE_SLIM=true free_disk:false name:slim suffix:-slim]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/arm64 runner:ubuntu-24.04-arm], map[build_args: free_disk:false name:main suffix:]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/arm64 runner:ubuntu-24.04-arm], map[build_args:USE_CUDA=true USE_CUDA_VER=cu126 free_disk:true name:cuda126 suffix:-cuda126]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/arm64 runner:ubuntu-24.04-arm], map[build_args:USE_CUDA=true free_disk:true name:cuda suffix:-cuda]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/arm64 runner:ubuntu-24.04-arm], map[build_args:USE_OLLAMA=true free_disk:false name:ollama suffix:-ollama]) (push) Waiting to run
Create and publish Docker images with specific build args / build (map[arch:linux/arm64 runner:ubuntu-24.04-arm], map[build_args:USE_SLIM=true free_disk:false name:slim suffix:-slim]) (push) Waiting to run
Create and publish Docker images with specific build args / merge (map[name:cuda suffix:-cuda]) (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge (map[name:cuda126 suffix:-cuda126]) (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge (map[name:main suffix:]) (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge (map[name:ollama suffix:-ollama]) (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge (map[name:slim suffix:-slim]) (push) Blocked by required conditions
Create and publish Docker images with specific build args / notify-helm-charts (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (, main) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda, cuda) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-ollama, ollama) (push) Blocked by required conditions
Create and publish Docker images with specific build args / copy-to-dockerhub (-slim, slim) (push) Blocked by required conditions
Frontend Build / Format & Build (push) Waiting to run
Frontend Build / Unit Tests (push) Waiting to run
Create and publish Docker images with specific build args / copy-to-dockerhub (-cuda126, cuda126) (push) Blocked by required conditions
2026-10-14 00:19:15 +04:00
Timothy Jaeryang Baek
a94a2068e2 refac 2026-10-13 18:32:14 +04:00
G30
d7803a8ce2
fix: keep the open knowledge file open when an unrelated folder is deleted (#32319) 2026-10-13 16:48:57 +04:00
G30
5477d5a773
fix: set an older model version as production when it has a note attached as knowledge (#32317) 2026-10-13 16:48:26 +04:00
Timothy Jaeryang Baek
4ca8fdc3fd refac 2026-10-13 01:55:12 +04:00
Timothy Jaeryang Baek
03f5191aca refac 2026-10-13 01:49:55 +04:00
Timothy Jaeryang Baek
1786d6cdb0 refac 2026-10-13 00:43:00 +04:00
Timothy Jaeryang Baek
53a8f131f3 refac 2026-10-13 00:42:34 +04:00
Timothy Jaeryang Baek
e9635596dd refac 2026-10-12 23:22:18 +04:00
Timothy Jaeryang Baek
4ab60527e7 refac 2026-10-12 22:14:04 +04:00
Timothy Jaeryang Baek
e9ac958f36 refac 2026-10-12 19:18:08 +04:00
Timothy Jaeryang Baek
2d47128242 refac 2026-10-12 19:11:22 +04:00
Timothy Jaeryang Baek
6f92cd78ee refac 2026-10-12 18:37:30 +04:00
Timothy Jaeryang Baek
2ba35625b3 refac 2026-10-12 18:23:50 +04:00
Timothy Jaeryang Baek
774007d728 refac 2026-10-12 18:11:33 +04:00
Timothy Jaeryang Baek
b4bb9e7aca refac 2026-10-12 17:57:02 +04:00
Timothy Jaeryang Baek
04bccecb8e refac 2026-10-12 17:29:04 +04:00
Timothy Jaeryang Baek
78613d86f7 refac 2026-10-11 15:55:57 +04:00
Classic298
67ff390c1c
fix: OAuth token forwarding and provider sign-out break after a browser restart (#32209)
After an OAuth sign-in, the cookies tying the browser to the user's OAuth session were dropped when the browser closed, while the login itself stayed valid for the full JWT lifetime. After a restart the user was still signed in, but model connections and terminal servers using system OAuth got no token, and signing out no longer ended the session at the identity provider. These cookies now last as long as the login again, with and without MFA, as they did in 0.11.
2026-10-10 15:56:43 -05:00
Timothy Jaeryang Baek
fea827bc2e chore: format 2026-10-10 23:18:09 +04:00
Timothy Jaeryang Baek
088830cf82 feat: Dynamic Tool Loading / Lazy Loading
Co-Authored-By: Taylor Wilsdon <6508528+taylorwilsdon@users.noreply.github.com>
2026-10-10 22:43:52 +04:00
Timothy Jaeryang Baek
88ff2c65cf refac
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2026-10-10 22:19:50 +04:00
Timothy Jaeryang Baek
9202c7f100 refac 2026-10-10 21:29:13 +04:00
Timothy Jaeryang Baek
3e0e760ce3 refac 2026-10-10 21:11:20 +04:00
G30
78550396da
fix: keep a tag's name when the last chat using it is archived (#32200) 2026-10-10 20:30:15 +04:00
Timothy Jaeryang Baek
d04f78b3bf refac 2026-10-10 20:29:50 +04:00
G30
e056b29685
fix: report a failed admin Interface save and fall back to the default when a number field is left empty (#32163) 2026-10-10 20:01:18 +04:00