Commit Graph

8887 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
2e52ad8ff2 refac: shared chat 2026-04-17 10:16:32 +09:00
Timothy Jaeryang Baek
4d2f189810 feat: add RAG_RERANKING_BATCH_SIZE configuration option
Add configurable reranker batch size (env var RAG_RERANKING_BATCH_SIZE,
default 32) following the same pattern as RAG_EMBEDDING_BATCH_SIZE.

- config.py: PersistentConfig for RAG_RERANKING_BATCH_SIZE
- main.py: import, state init, pass to get_reranking_function
- colbert.py: accept batch_size param in predict() (was hardcoded 32)
- utils.py: get_reranking_function passes batch_size at call time
- retrieval.py: expose in config GET/POST endpoints and ConfigForm
- Documents.svelte: add Reranking Batch Size input in admin settings

Closes #23730
2026-04-17 08:35:45 +09:00
Classic298
a4251d7e45 Update translation.json (#23737) 2026-04-15 10:21:28 -07:00
Aleix Dorca
82755acdfd i18n: Update Catalan translation file (#23741)
* i18n: Update catalan translation.json

* i18n: Update Catalan translation.json
2026-04-15 10:20:13 -07:00
joaoback
c27aa569c8 i18n: add pt-BR translations for newly added UI items and consistency pass (#23743)
New **pt-BR** translations for items introduced in the latest releases, plus a consistency/quality pass across existing strings (grammar, tone, capitalization, pluralization). Placeholders and hotkeys preserved. No logic changes.
2026-04-15 10:19:54 -07:00
ecogetaway
ee1bc5f5db fix(i18n): correct erroneous Hindi translations in hi-IN (#23745)
Co-authored-by: Tim Baek <tim@openwebui.com>
Co-authored-by: joaoback <156559121+joaoback@users.noreply.github.com>
2026-04-15 10:19:32 -07:00
Shirasawa
3f40d9da70 i18n: improve Chinese translation (#23753) 2026-04-15 10:19:08 -07:00
Aindriú Mac Giolla Eoin
e6297cf414 i18n: Update Irish translation with new strings (#23748)
Update Irish translation
2026-04-15 10:18:55 -07:00
Shirasawa
1860874192 i18n: add missing i18n keys of ScheduleDropdown (#23726) 2026-04-14 17:30:18 -05:00
Timothy Jaeryang Baek
5dae600ce7 chore: format 2026-04-14 17:27:31 -05:00
Timothy Jaeryang Baek
f1be85d997 refac 2026-04-14 17:25:42 -05:00
Timothy Jaeryang Baek
ecd74f220c refac 2026-04-14 17:22:54 -05:00
Timothy Jaeryang Baek
a4ed16999e refac 2026-04-14 16:08:14 -05:00
Shirasawa
f102060a6d fix: fix memory leaking of Drawer (#23724) 2026-04-14 12:20:47 -05:00
Timothy Jaeryang Baek
fd93bd3414 refac 2026-04-14 11:03:36 -05:00
Timothy Jaeryang Baek
cced77b584 refac 2026-04-14 00:07:50 -05:00
Timothy Jaeryang Baek
18fe17127a refac 2026-04-13 23:33:58 -05:00
Timothy Jaeryang Baek
a209f7f6e0 refac 2026-04-13 23:23:49 -05:00
Timothy Jaeryang Baek
45e49d33e5 refac 2026-04-13 21:52:19 -05:00
Timothy Jaeryang Baek
84ec43105c refac 2026-04-13 21:33:43 -05:00
Timothy Jaeryang Baek
cf4218e688 refac 2026-04-13 21:29:03 -05:00
Timothy Jaeryang Baek
c8ef7b0289 refac 2026-04-13 18:51:20 -05:00
Timothy Jaeryang Baek
2943955c52 refac 2026-04-13 17:54:08 -05:00
Timothy Jaeryang Baek
cd55c3e212 refac 2026-04-13 16:03:51 -05:00
Timothy Jaeryang Baek
9dccd29c94 refac 2026-04-13 16:00:03 -05:00
Timothy Jaeryang Baek
026903399b refac 2026-04-13 15:58:33 -05:00
G30
2991d9f1f0 fix(ui): automatically close channel input more menu dropdown dynamically on file interactions (#23684) 2026-04-13 15:57:12 -05:00
Timothy Jaeryang Baek
20544d412e chore: format 2026-04-12 22:11:10 -05:00
Timothy Jaeryang Baek
fc98000aa8 refac 2026-04-12 19:15:54 -05:00
Timothy Jaeryang Baek
21cc828132 refac 2026-04-12 19:13:13 -05:00
Timothy Jaeryang Baek
e10a00132e refac 2026-04-12 19:02:57 -05:00
Timothy Jaeryang Baek
a7d4c53f3a refac 2026-04-12 18:24:33 -05:00
Timothy Jaeryang Baek
25898116ea chore: format 2026-04-12 18:12:59 -05:00
Classic298
e7ff4768f8 fix: Add ownership checks to global task endpoints (#23454)
* Add ownership checks to global task endpoints

- Restrict GET /api/tasks and POST /api/tasks/stop/{task_id} to admin-only
- Add new scoped POST /api/tasks/chat/{chat_id}/stop endpoint with ownership
  check so regular users can stop their own chat tasks
- Allow admins to access the scoped chat task endpoints alongside owners
- Update frontend to use the new scoped stop endpoint when a chatId is available

https://claude.ai/code/session_01K7zPDvvjRu8AxJ4Br2HhZc

* Handle temporary (local:) chat IDs in scoped task endpoints

Temporary chats use local:<socketId> as chat_id which doesn't exist in
the DB. The scoped endpoints now skip ownership checks for local: IDs
(they aren't enumerable) and use {chat_id:path} to handle the colon in
the URL path.

https://claude.ai/code/session_01K7zPDvvjRu8AxJ4Br2HhZc

* Verify session ownership for local: chat IDs and URL-encode chat_id

- For local:<socketId> chat IDs, look up the socket's owner in
  SESSION_POOL and verify it matches the requesting user (or admin)
- URL-encode chat_id in frontend fetch calls to handle special
  characters (colon in local: IDs) safely

https://claude.ai/code/session_01K7zPDvvjRu8AxJ4Br2HhZc

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-12 17:56:43 -05:00
joaoback
674c1127e2 i18n: add pt-BR translations for newly added UI items and consistency pass (#23403)
New **pt-BR** translations for items introduced in the latest releases, plus a consistency/quality pass across existing strings (grammar, tone, capitalization, pluralization). Placeholders and hotkeys preserved. No logic changes.
2026-04-12 16:56:46 -05:00
Timothy Jaeryang Baek
15b89b9218 refac 2026-04-12 16:56:00 -05:00
G30
008f1dfbda fix(ui): prevent user added action icons from being dragged (#23412) 2026-04-12 16:49:14 -05:00
Timothy Jaeryang Baek
47d413ce7b refac 2026-04-12 16:47:23 -05:00
Timothy Jaeryang Baek
36a81ad43b refac 2026-04-12 11:15:38 -05:00
Classic298
5eab125f13 fix: sanitize model description HTML with DOMPurify in chat placeholders (#23621) 2026-04-12 11:12:49 -05:00
Toru Suzuki
b0df527224 i18n: Update Japanese translation (#23617) 2026-04-12 11:04:35 -05:00
Timothy Jaeryang Baek
ee9db91df0 refac 2026-04-11 17:06:49 -06:00
Timothy Jaeryang Baek
09f6d7ba57 refac 2026-04-11 16:55:20 -06:00
Timothy Jaeryang Baek
674695918e refac 2026-04-11 16:44:12 -06:00
Timothy Jaeryang Baek
aacf95cf76 refac 2026-04-11 16:08:16 -06:00
Algorithm5838
b6db719758 perf: build mention regex once in factory closure (#23551) 2026-04-11 15:02:17 -06:00
Algorithm5838
bf49358185 refactor: use shared unescapeHtml in CodeBlock (#23553) 2026-04-11 15:00:33 -06:00
Colin Chen
a600f67d6b i18n: fix Chinese translation for Web Upload permission (#23596)
Differentiate between "Allow File Upload" and "Allow Web Upload"
in Chinese translations to help administrators understand the
distinction:
- "Allow File Upload" = local file, cloud storage uploads
- "Allow Web Upload" = URL, YouTube, web content uploads
2026-04-11 14:55:18 -06:00
Timothy Jaeryang Baek
be38ca8e81 refac 2026-04-11 14:44:05 -06:00
Timothy Jaeryang Baek
bd3a3635ee refac 2026-04-10 10:15:55 -07:00