Timothy Jaeryang Baek
3bec320bb9
refac
2026-01-23 01:23:34 +04:00
Timothy Jaeryang Baek
14e51e0977
refac
2026-01-23 01:02:41 +04:00
Timothy Jaeryang Baek
7da37b4f66
refac
2026-01-12 21:41:23 +04:00
Classic298
41d1ccd39c
Update channels.py ( #20546 )
2026-01-10 15:34:12 +04:00
Timothy Jaeryang Baek
b377e5ff4c
chore: format
2026-01-09 02:46:04 +04:00
Timothy Jaeryang Baek
cd296fcf0d
feat: channel webhooks
2026-01-09 02:30:15 +04:00
Timothy Jaeryang Baek
700349064d
chore: format
2026-01-08 01:55:56 +04:00
Classic298
48f1b2d547
fix(channels): eliminate N+1 query in get_pinned_messages endpoint ( #20459 )
...
Replaced per-message user lookup with batch fetch using SQL IN clause.
Changes:
- Fetch all message user_ids in a single pass
- Use Users.get_users_by_user_ids() for batch lookup
- Build user mapping to avoid DB calls in loop
- Add early return for empty message lists
Performance: Reduces N+1 queries to 2 queries (messages + users)
2026-01-07 23:36:38 +04:00
Classic298
b8fb9e815b
fix(channels): eliminate N+1 query in get_channel_messages endpoint ( #20458 )
...
Replaced per-message user lookup with batch fetch using SQL IN clause.
Changes:
- Fetch all message user_ids in a single pass
- Use Users.get_users_by_user_ids() for batch lookup
- Build user mapping to avoid DB calls in loop
- Add early return for empty message lists
Performance: Reduces N+1 queries to 2 queries (messages + users)
2026-01-07 23:36:12 +04:00
Classic298
74974334a5
fix: More n+1 channel perf fixes ( #20460 )
2026-01-07 23:34:19 +04:00
Timothy Jaeryang Baek
5649a668fa
refac
2025-12-29 01:42:13 +04:00
Timothy Jaeryang Baek
2453b75ff0
refac
2025-12-29 01:31:27 +04:00
Timothy Jaeryang Baek
5d1459df16
refac
2025-12-29 01:20:04 +04:00
Timothy Jaeryang Baek
5995771583
fix: channel model mention
2025-12-23 10:42:33 +04:00
Classic298
823b9a6dd9
chore/perf: Remove old SRC level log env vars with no impact ( #20045 )
...
* Update openai.py
* Update env.py
* Merge pull request open-webui#19030 from open-webui/dev (#119 )
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
---------
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-20 08:16:14 -05:00
G30
d65116282c
fix: enforce global ENABLE_CHANNELS check on all channel endpoints ( #19957 )
...
* fix: enforce global ENABLE_CHANNELS check on all channel endpoints
When channels are disabled globally (ENABLE_CHANNELS=false), users with
channel permissions could still fetch channels via API endpoints. This
fix adds a get_enabled_channels dependency to all 22 channel endpoints
that returns 403 Forbidden when channels are globally disabled.
Fixes #19914
* refac
* refac
2025-12-20 08:15:29 -05:00
Timothy Jaeryang Baek
79cfe29bb2
refac: channel_file and knowledge table migration
2025-12-10 16:41:22 -05:00
Timothy Jaeryang Baek
6fe737bf8f
refac
2025-12-03 19:31:23 -05:00
Timothy Jaeryang Baek
54b7ec56d6
enh/refac: channels message lazy load data
2025-12-03 17:52:44 -05:00
Timothy Jaeryang Baek
c62609faba
refac
2025-11-30 14:51:44 -05:00
Timothy Jaeryang Baek
d499c3aed8
refac
2025-11-30 14:17:54 -05:00
Timothy Jaeryang Baek
a0826ec9fe
feat/enh: dm from user profile preview
2025-11-30 11:04:06 -05:00
Timothy Jaeryang Baek
39645102d1
refac
2025-11-30 10:40:24 -05:00
Timothy Jaeryang Baek
3f1d9ccbf8
feat/enh: add/remove users from group channel
2025-11-30 10:33:50 -05:00
Timothy Jaeryang Baek
f589b7c189
feat/enh: group channel
2025-11-30 08:24:27 -05:00
Timothy Jaeryang Baek
25994dd3da
refac/enh: channel message
2025-11-28 10:45:48 -05:00
Timothy Jaeryang Baek
aae2fce173
feat/enh: pinned messages in channels
2025-11-28 09:58:44 -05:00
Timothy Jaeryang Baek
70948f8803
enh/refac: deprecate USER_POOL
2025-11-28 07:39:02 -05:00
Timothy Jaeryang Baek
4b6773885c
enh: dm active user indicator
2025-11-28 04:24:25 -05:00
Timothy Jaeryang Baek
d5d0e72590
refac
2025-11-27 07:39:00 -05:00
Timothy Jaeryang Baek
acccb9afdd
feat: dm channels
2025-11-27 07:27:32 -05:00
Timothy Jaeryang Baek
64b4d5d9c2
feat/enh: channels unread messages count
2025-11-27 04:31:04 -05:00
Timothy Jaeryang Baek
84ca2258be
refac
2025-11-25 04:45:52 -05:00
Timothy Jaeryang Baek
c0e1203538
feat: user list in channels
2025-11-25 04:38:07 -05:00
Timothy Jaeryang Baek
3b5710d0cd
feat/enh: show user count in channels
2025-11-25 03:46:30 -05:00
Timothy Jaeryang Baek
dec3748509
refac
2025-10-06 11:58:15 -05:00
Timothy Jaeryang Baek
3f71fa641f
refac
2025-10-06 02:45:02 -05:00
Timothy Jaeryang Baek
53de48d2b3
refac
2025-10-05 23:29:48 -05:00
Timothy Jaeryang Baek
c8c6a48b94
refac
2025-10-02 04:09:17 -05:00
Timothy Jaeryang Baek
4aa41aa139
refac
2025-09-28 12:00:19 -05:00
Timothy Jaeryang Baek
1a18928c94
enh: reply to message
2025-09-27 04:05:12 -05:00
Timothy Jaeryang Baek
9f0010e234
enh: channel model @ image support
2025-09-24 16:08:36 -05:00
Timothy Jaeryang Baek
ac879513e5
enh: channel read/write perm
2025-09-24 10:09:59 -05: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
f1c28455ad
refac: async webhook request
2025-08-15 00:07:02 +04:00
Timothy Jaeryang Baek
24805ca79e
refac/fix: channel messages
2025-07-20 15:17:17 +04:00
Timothy Jaeryang Baek
87847ab31a
chore: format
2025-07-13 00:15:16 +04:00
Tim Jaeryang Baek
fbaab9e446
refac
2025-07-12 15:36:30 +04:00
Tim Jaeryang Baek
4a69d857f3
refac
2025-07-12 15:32:26 +04:00