Commit Graph

29 Commits

Author SHA1 Message Date
Yunxiao Xu
6131f27142 refactor: Address technical debt in auth refresh implementation 2026-02-18 14:36:10 -08:00
Yunxiao Xu
341bd08176 docs: Update .env.example with new JWT refresh settings 2026-02-18 14:11:28 -08:00
Yunxiao Xu
d11f3dd00c feat(auth): Implement /refresh endpoint and update login/register 2026-02-18 13:37:16 -08:00
Yunxiao Xu
78265c399a feat(auth): Update cookie management for refresh tokens 2026-02-18 13:31:54 -08:00
Yunxiao Xu
626b644740 feat(auth): Implement create_refresh_token and add tests 2026-02-18 13:25:36 -08:00
Yunxiao Xu
1aa8faec00 feat(config): Add refresh_token_expire_days setting 2026-02-18 12:52:26 -08:00
Yunxiao Xu
16d8e81b6b chore: Finalize cleanup phases (docstrings, utility consolidation, dev app isolation) 2026-02-17 02:50:08 -08:00
Yunxiao Xu
23471350df fix: Restore OIDC login in Streamlit app using PKCE/Nonce flow 2026-02-17 02:36:49 -08:00
Yunxiao Xu
a94cbc7f6d chore: Perform codebase cleanup and refactor App state management 2026-02-17 02:34:47 -08:00
Yunxiao Xu
ece12f951a fix: Address second code review findings (test isolation, frontend type safety) 2026-02-17 02:11:04 -08:00
Yunxiao Xu
96e2634053 fix: Address code review findings (backend validation, hydration efficiency, plot readability) 2026-02-17 01:53:25 -08:00
Yunxiao Xu
e4513fcf18 test: Resolve DeprecationWarnings in theme tests by using client.cookies.set 2026-02-17 01:03:50 -08:00
Yunxiao Xu
a64a582110 test: Update auth cookie tests to support theme preference 2026-02-17 00:52:49 -08:00
Yunxiao Xu
de25dc8a4d feat: Add light/dark mode support with backend persistence 2026-02-17 00:32:15 -08:00
Yunxiao Xu
6d72c6602c fix(conductor): Apply review suggestions for track 'State Synchronization & History Loading' 2026-02-16 04:34:37 -08:00
Yunxiao Xu
1cf00d0b3f test(api): Add extended agent stream tests and fix type annotations 2026-02-15 18:52:26 -08:00
Yunxiao Xu
5b9d644fe5 feat(api): Synchronize history and summary from DB in chat stream 2026-02-15 04:11:42 -08:00
Yunxiao Xu
6c6c3bc6c8 feat(history): Implement map_db_messages_to_langchain utility 2026-02-15 03:23:07 -08:00
Yunxiao Xu
be687d0fa5 feat(history): Implement get_messages_by_window in HistoryManager 2026-02-15 03:20:12 -08:00
Yunxiao Xu
68c0985482 feat(auth): Complete OIDC security refactor and modernize test suite
- Refactored OIDC flow to implement PKCE, state/nonce validation, and BFF pattern.
- Centralized configuration in Settings class (DEV_MODE, FRONTEND_URL, OIDC_REDIRECT_URI).
- Updated auth routers to use conditional secure cookie flags based on DEV_MODE.
- Modernized and cleaned up test suite by removing legacy Streamlit tests.
- Fixed linting errors and unused imports across the backend.
2026-02-15 02:50:26 -08:00
Yunxiao Xu
39966084e1 test(auth): Improve OIDCClient coverage to 94% 2026-02-14 04:49:10 -08:00
Yunxiao Xu
10cffaea8f feat(auth): Implement ID Token validation in OIDCClient 2026-02-14 04:44:09 -08:00
Yunxiao Xu
ff0189a69b feat(auth): Add PKCE and nonce support to OIDCClient 2026-02-14 04:23:52 -08:00
Yunxiao Xu
05261e3cda feat(auth): Implement OIDCSession helper for secure temporary storage 2026-02-14 04:12:14 -08:00
Yunxiao Xu
dc6e73ec79 feat(history): Implement conversation history management with artifact restoration and Markdown rendering. 2026-02-13 01:59:37 -08:00
Yunxiao Xu
339f69a2a3 feat(chat): Implement real-time SSE streaming with reasoning steps and improved UI indicators. 2026-02-13 00:00:50 -08:00
Yunxiao Xu
0dfdef738d fix(backend): Refactor OIDC callback and auth dependency to correctly handle cookies and prefix all API routes with /api/v1. 2026-02-12 01:26:28 -08:00
Yunxiao Xu
49a9da7c0c feat(backend): Implement /api/v1 prefix and HttpOnly cookie-based auth 2026-02-11 21:57:29 -08:00
Yunxiao Xu
7a69133e26 Refactor: Move backend files to backend/ directory and split .gitignore 2026-02-11 17:40:44 -08:00