Timothy Jaeryang Baek
90f76d24ec
refac
2025-11-19 02:16:09 -05:00
Tim Baek
34684e7e58
feat/refac: group members db table ( #19239 )
...
* refac: group members table db migration
* refac: group members backend
* refac: group members frontend
* refac: group members frontend integration
* refac: styling
2025-11-18 03:59:56 -05:00
Timothy Jaeryang Baek
73734b186b
refac: group members frontend integration
2025-11-18 03:44:26 -05:00
FlorentMair80
58cff5e482
feat: add a metric to monitor daily unique users ( #19236 )
...
#19234
2025-11-17 15:31:24 -05:00
Timothy Jaeryang Baek
bc576782d7
refac: group members backend
2025-11-17 05:09:06 -05:00
Timothy Jaeryang Baek
e76f72576e
refac
Python CI / Format Backend (push) Waiting to run
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda126-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda126-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / build-slim-image (linux/amd64, ubuntu-latest) (push) Waiting to run
Create and publish Docker images with specific build args / build-slim-image (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda126-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-slim-images (push) Blocked by required conditions
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
2025-11-17 05:07:59 -05:00
Timothy Jaeryang Baek
6cb41a59da
refac
2025-11-09 21:10:11 -05:00
Timothy Jaeryang Baek
a65cc196a5
refac: batch file processing
...
Co-Authored-By: Sihyeon Jang <24850223+sihyeonn@users.noreply.github.com>
2025-11-09 21:06:21 -05:00
Davixk
8da4e5bb19
fix(chats): fix chat search crash ( #18576 )
...
* fix(chats): handle null bytes in PostgreSQL search
Removes null bytes from message content before performing
case-insensitive search in PostgreSQL, preventing conversion
errors and ensuring reliable query results.
* fix(chats): prevent null byte errors in PostgreSQL queries
Ensures chat content and titles containing null bytes are excluded from PostgreSQL text queries to avoid conversion errors.
Improves reliability of search and filtering by handling problematic characters in JSON fields.
2025-11-06 12:41:21 -05:00
Tim Baek
bfadbc9934
Merge pull request #18415 from taylorwilsdon/oauth_error_handling_enh
...
enh: More detailed OAuth2.1 tool callback error handling + fix for editing existing tools
2025-10-27 15:13:33 -07:00
kaiwdev
2b0b87c0f9
fix: handle invalid order_by attribute in Chat
2025-10-20 14:19:02 +09:00
Timothy Jaeryang Baek
3e003a5f17
refac
2025-10-20 00:48:01 -04:00
Taylor Wilsdon
c107a3799f
Added a targeted utility to wipe all OAuth sessions for a provider so the cleanup can remove stale access tokens across every user when a connection is updated
2025-10-18 14:00:46 -04:00
Tim Jaeryang Baek
7031708c87
Merge pull request #18284 from Stoyan-Zlatev/feature/knowledge-response-file-hash
...
feat: Extend FileMetadataResponse to have hash field
2025-10-14 18:15:26 -05:00
Timothy Jaeryang Baek
5fe56a862b
fix: pinned chats in ref chat
2025-10-14 18:06:29 -05:00
Stoyan Zlatev
f0dfdb30c3
Extend FileMetadataResponse to have hash field
2025-10-13 12:38:10 +03:00
Timothy Jaeryang Baek
f5e1a42f51
refac: functions
2025-10-07 14:20:07 -05:00
expruc
d12afc6039
improved query pref by querying only relevant columns
2025-10-02 22:26:24 +03:00
silentoplayz
a572cf4842
feat: add backend handling for unarchiving all chats
...
The previous implementation for unarchiving all chats in `ArchivedChatsModal.svelte` was inefficient, as it sent a separate request for each chat, which could potentially overload the server.
This commit introduces a new backend endpoint, `/chats/unarchive/all`, to handle the bulk unarchiving of all chats for a user with a single API call.
The frontend has been updated to use this new endpoint, resolving the performance issue by minimizing the number of requests to the server.
2025-09-28 13:25:34 -04:00
Timothy Jaeryang Baek
272c6f5ec5
refac
2025-09-27 04:38:54 -05:00
Timothy Jaeryang Baek
86ef57f6c3
refac
2025-09-27 04:33:00 -05:00
Timothy Jaeryang Baek
b4eea78aff
refac
2025-09-27 04:06:42 -05:00
Timothy Jaeryang Baek
1a18928c94
enh: reply to message
2025-09-27 04:05:12 -05:00
Timothy Jaeryang Baek
c80bb31968
refac/enh: folder optimization
2025-09-26 20:48:17 -05:00
Timothy Jaeryang Baek
b38d59dee6
refac
2025-09-25 13:53:56 -05:00
Timothy Jaeryang Baek
da661756fa
refac/fix: proper notes db operations
2025-09-25 13:47:43 -05:00
Tim Jaeryang Baek
b76d234f97
Merge pull request #17607 from sihyeonn/perf/sh-notes
...
perf: optimize notes query and separate access control logic
2025-09-25 12:13:42 -05:00
Timothy Jaeryang Baek
77e971dd9f
feat: oauth2.1 mcp integration
2025-09-25 01:49:16 -05:00
Timothy Jaeryang Baek
27d61307cd
refac: tools valves
2025-09-24 21:12:25 -05:00
Timothy Jaeryang Baek
23a51f2d01
refac: robust file upload failed handling
2025-09-24 12:17:01 -05:00
Timothy Jaeryang Baek
0dee15ba97
refac/enh: include foldered chats in ref chat input menu
2025-09-24 11:27:19 -05:00
Timothy Jaeryang Baek
ac879513e5
enh: channel read/write perm
2025-09-24 10:09:59 -05:00
Timothy Jaeryang Baek
b8086c5edf
refac: folder delete logic
2025-09-24 09:04:54 -05:00
Sihyeon Jang
6ae6cc9741
perf: optimize get_notes_by_user_id to reduce database queries
...
- Replace inefficient memory-based filtering with database-level filtering
- Add proper access control conditions to SQL query
- Reduce memory usage by filtering at database level instead of loading all notes
- Maintain access control validation with post-filtering for complex cases
This change significantly improves performance for users with many notes
by reducing the number of database queries and memory usage.
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-20 06:33:24 +09:00
Timothy Jaeryang Baek
4fe97d8794
feat: channel/thread @ model
2025-09-17 00:49:44 -05:00
Timothy Jaeryang Baek
1077b2ac8b
fix: send notification
2025-09-16 22:53:54 -05:00
Timothy Jaeryang Baek
bbd1d2b58c
enh: channel suggestions
2025-09-16 21:41:47 -05:00
Timothy Jaeryang Baek
aa8ab349ed
feat: ref chat
2025-09-14 10:26:46 +02:00
Timothy Jaeryang Baek
c03ca7270e
refac/feat: note/knowledge/chat select input menu
2025-09-14 09:54:06 +02:00
Timothy Jaeryang Baek
9a55547827
refac/enh: model default filter/feature
2025-09-13 01:23:27 +04:00
Timothy Jaeryang Baek
0531ca6530
refac/fix
2025-09-09 18:10:48 +04:00
Timothy Jaeryang Baek
d0f338bb99
refac/enh: ability to export/sync function valves
2025-09-09 17:48:41 +04:00
Timothy Jaeryang Baek
7693d0e2b0
refac
2025-09-08 18:09:01 +04:00
Timothy Jaeryang Baek
217f4daef0
feat: server-side OAuth token management system
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-09-08 18:05:43 +04:00
Timothy Jaeryang Baek
40e40d1ddd
enh/sec: verify folder data integrity
...
#17182
2025-09-07 01:04:56 +04:00
Timothy Jaeryang Baek
b70c0f36c0
enh: emoji folder icon
2025-09-04 02:50:50 +04:00
Tim Jaeryang Baek
472b71f331
Merge pull request #17166 from sihyeonn/perf/sh-model-layer
...
perf: fix N+1 query issues in user group access control validation
2025-09-03 13:36:01 +04:00
Tim Jaeryang Baek
308f4d6b26
Merge pull request #17159 from sihyeonn/perf/sh-prompts
...
perf: fix N+1 query issue in get_prompts method
2025-09-03 13:26:29 +04:00
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
eff06538a6
perf: fix N+1 query issues in user group access control validation
...
- Pre-fetch user group IDs in get_*_by_user_id methods across models layer
- Pass user_group_ids to has_access to avoid repeated group queries
- Reduce query count from 1+N to 1+1 pattern for access control validation
- Apply consistent optimization across knowledge, models, notes, prompts, and tools
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:56:48 +09: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
Sihyeon Jang
c45201a8a2
perf: fix N+1 query issue in get_prompts 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:25:26 +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