Timothy Jaeryang Baek
d74ee34d91
refac
2026-05-14 01:49:34 +09:00
Timothy Jaeryang Baek
6d0295588e
refac: modernize type annotations (PEP 604 / PEP 585)
2026-05-12 17:10:15 +09:00
Classic298
a0268e51fc
Merge pull request #24486 from Classic298/fix/notes-is-pinned-typeerror
...
fix: notes is_pinned TypeError on create/get
2026-05-09 20:56:06 +09:00
Timothy Jaeryang Baek
7bcc0e2e5c
chore: format
2026-05-09 15:25:27 +09:00
Timothy Jaeryang Baek
33e588cf09
refac
2026-05-09 04:39:44 +09:00
Timothy Jaeryang Baek
ecd74f220c
refac
2026-04-14 17:22:54 -05:00
Timothy Jaeryang Baek
a359262616
refac
2026-04-12 18:48:06 -05:00
Timothy Jaeryang Baek
25898116ea
chore: format
2026-04-12 18:12:59 -05:00
Timothy Jaeryang Baek
27169124f2
refac: async db
2026-04-12 14:22:11 -05:00
Timothy Jaeryang Baek
de3317e26b
refac
2026-03-17 17:58:01 -05:00
Timothy Jaeryang Baek
8c485b260f
refac
2026-02-19 16:53:21 -06:00
Timothy Jaeryang Baek
0f78451c2b
refac
2026-02-08 21:24:20 -06:00
Timothy Jaeryang Baek
700349064d
chore: format
2026-01-08 01:55:56 +04:00
Timothy Jaeryang Baek
a3270648d8
refac
2026-01-05 17:50:40 +04:00
Timothy Jaeryang Baek
88dbc14abc
refac
2025-12-29 00:55:53 +04:00
Timothy Jaeryang Baek
eb4b085b86
refac
2025-12-28 23:23:56 +04:00
Timothy Jaeryang Baek
2041ab483e
refac/enh: db session sharing
2025-12-28 22:00:44 +04:00
Timothy Jaeryang Baek
3ed1df2e53
refac: search notes db query
2025-12-10 21:06:53 -05:00
Timothy Jaeryang Baek
94a8439105
feat/enh: kb file pagination
2025-12-10 00:53:41 -05:00
Timothy Jaeryang Baek
4363df175d
enh: read only notes
2025-12-09 17:57:15 -05:00
Timothy Jaeryang Baek
9b24cddef6
enh/refac: notes
2025-12-09 16:45:08 -05:00
Timothy Jaeryang Baek
99a7823e01
refac: db
2025-11-28 01:17:43 -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
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
c03ca7270e
refac/feat: note/knowledge/chat select input menu
2025-09-14 09:54:06 +02: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
Timothy Jaeryang Baek
3e01286b61
refac
2025-07-12 23:31:04 +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
Timothy Jaeryang Baek
7fee84c06e
feat: notes
2025-05-03 18:16:32 +04:00