Tim Jaeryang Baek
330bec67b7
Merge pull request #17162 from sihyeonn/perf/sh-tools
...
perf: fix N+1 query issue in get_tools method
2025-09-03 13:22:37 +04:00
Tim Jaeryang Baek
2890c6d62d
Merge pull request #17161 from sihyeonn/perf/sh-models
...
perf: fix N+1 query issue in get_models method
2025-09-03 13:22:27 +04:00
Sihyeon Jang
03d1d2a88b
perf: fix N+1 query issue in get_tools method
...
- Replace individual user queries with batch fetching
- Use single query to fetch all required users at once
- Implement O(1) user lookup with dictionary mapping
- Reduce query count from 1+N to 1+1 pattern for tools listing
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:35:35 +09:00
Sihyeon Jang
c0b3db38a5
perf: fix N+1 query issue in get_models method
...
- Replace individual user queries with batch fetching
- Use single query to fetch all required users at once
- Implement O(1) user lookup with dictionary mapping
- Reduce query count from 1+N to 1+1 pattern for models with base_model_id
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:33:41 +09:00
Sihyeon Jang
f588655f7f
perf: fix N+1 query issue in get_knowledge_bases method
...
- Replace individual user queries with batch fetching
- Use single query to fetch all required users at once
- Implement O(1) user lookup with dictionary mapping
- Reduce query count from 1+N to 1+1 pattern
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:29:47 +09:00
Timothy Jaeryang Baek
edf7a3d142
refac
2025-08-26 22:05:27 +04:00
Timothy Jaeryang Baek
8b425a6295
refac
2025-08-26 21:56:52 +04:00
Timothy Jaeryang Baek
9fb2c9c86d
refac
2025-08-21 22:02:11 +04:00
Timothy Jaeryang Baek
86011e40be
refac: account details
2025-08-21 02:39:25 +04:00
Timothy Jaeryang Baek
b3a95f40fc
refac/enh: add performance indexes
...
Co-Authored-By: decent-engineer-decent-datascientist <77806775+decent-engineer-decent-datascientist@users.noreply.github.com>
2025-08-19 03:24:10 +04:00
Timothy Jaeryang Baek
7f0c50f445
refac
2025-08-17 04:06:16 +04:00
Adam Tao
635cb8e3ff
perf(db): deduplicate update_user_last_active_by_id to reduce conflicts
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Timothy Jaeryang Baek
3f7d3def02
enh: folder filter
2025-08-10 02:10:18 +04:00
Timothy Jaeryang Baek
6497b46a78
refac
2025-08-10 01:44:33 +04:00
Timothy Jaeryang Baek
041da26756
feat: add pinned, shared and archived tags functionality for chat search moda
...
Co-Authored-By: G30 <50341825+silentoplayz@users.noreply.github.com>
2025-08-06 20:55:58 +04:00
Tim Jaeryang Baek
1ba8c3389e
Merge pull request #16284 from silentoplayz/fix-clone-chat-tags
...
fix: also clone the chat's tags, folder stats, and pinned status when cloning a chat
2025-08-06 14:33:04 +04:00
silentoplayz
7c4550fa92
fix: cloned chat metadata not taken into consideration
2025-08-05 16:21:03 -04:00
Timothy Jaeryang Baek
f24b76d9a3
refac: has_users
...
Co-Authored-By: pickle-dice <159401444+hassan-ajek@users.noreply.github.com>
2025-08-05 22:15:22 +04:00
Timothy Jaeryang Baek
c1e4139e5c
feat: model sync endpoint
2025-07-28 13:06:05 +04:00
Timothy Jaeryang Baek
40ebf8cd62
refac: memory handling
2025-07-20 15:00:24 +04:00
Timothy Jaeryang Baek
1159f3a781
enh: add folder modal
2025-07-19 19:46:35 +04:00
Timothy Jaeryang Baek
6ccf783f00
refac: /users/all endpoint
2025-07-18 11:46:14 +04:00
Timothy Jaeryang Baek
9634df4347
refac/enh: group add/remove users endpoints
2025-07-17 01:50:37 +04:00
Timothy Jaeryang Baek
57156065e3
refac
2025-07-13 03:30:42 +04:00
Timothy Jaeryang Baek
7607c53bd5
feat: folders as projects
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-07-13 03:23:05 +04:00
Timothy Jaeryang Baek
5b14d15b00
feat: migrate folder table
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-07-13 00:51:58 +04:00
Timothy Jaeryang Baek
3e01286b61
refac
2025-07-12 23:31:04 +04:00
Timothy Jaeryang Baek
12edc3221e
refac: styling
2025-07-12 22:14:41 +04:00
Timothy Jaeryang Baek
9b8d6ed6d2
refac: notes
2025-07-12 00:16:57 +04:00
Timothy Jaeryang Baek
6820e41eb2
refac
2025-07-11 18:14:56 +04:00
Timothy Jaeryang Baek
47cd0770e4
refac
2025-07-11 17:54:38 +04:00
Tim Jaeryang Baek
e98dc0a745
Merge pull request #14957 from Classic298/fix-postgresql-null-value-search
...
Fix: postgresql null value search
2025-07-03 17:36:27 +04:00
Timothy Jaeryang Baek
2c6227e4b6
fix: preserve dates for chat imports
...
Co-Authored-By: conql <49243542+conql@users.noreply.github.com>
2025-07-02 14:21:36 +04:00
Classic298
c66576805b
Merge branch 'open-webui:main' into fix-postgresql-null-value-search
2025-06-16 21:11:30 +02:00
Classic298
033e5c1e00
Update chats.py
2025-06-13 13:07:41 +02:00
Classic298
e50cde80f3
Fix search unicode error ( #11 )
2025-06-13 13:05:33 +02:00
Timothy Jaeryang Baek
371bdd7afa
refac
2025-06-11 20:40:19 +04:00
Timothy Jaeryang Baek
9931ccef1e
refac
2025-06-10 16:20:57 +04:00
Timothy Jaeryang Baek
e41e375aab
refac: role update ui
2025-05-31 15:00:27 +04:00
Timothy Jaeryang Baek
75208935d7
refac: user chat list modal
2025-05-25 01:44:53 +04:00
Timothy Jaeryang Baek
6e8ca96799
enh: archived chats modal
2025-05-25 01:23:12 +04:00
Timothy Jaeryang Baek
7e6f1f8848
enh: archived chats modal
2025-05-25 00:48:30 +04:00
Timothy Jaeryang Baek
31e2686ae6
feat: /sync functions endpoint
2025-05-24 23:39:19 +04:00
Timothy Jaeryang Baek
cce5f024bd
feat: WEBUI_AUTH_TRUSTED_GROUPS_HEADER
2025-05-24 23:17:12 +04:00
U8F69
dd6124a84f
fix(auth): fix invalid password use in auth
2025-05-22 11:03:43 +08:00
Timothy Jaeryang Baek
db0a0b395f
fix: oauth
2025-05-05 19:38:36 +04:00
omahs
37e0313c83
Merge branch 'dev' into main
2025-05-05 14:26:40 +02:00
omahs
863f227be9
fix: typos
2025-05-05 14:14:59 +02:00
Timothy Jaeryang Baek
7fee84c06e
feat: notes
2025-05-03 18:16:32 +04:00
Timothy Jaeryang Baek
f9d238e850
refac: user list sub-standard code
2025-04-30 16:49:41 +04:00