Commit Graph

115 Commits

Author SHA1 Message Date
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
ec6760b5a7 test: Fix MainLayout tests by providing ThemeProvider context 2026-02-17 02:19:41 -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
3881ca6fd8 chore: Update branch references and add Conductor file exclusion policy 2026-02-16 16:58:16 -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
febdd382e9 conductor(checkpoint): Checkpoint end of Phase 3 and Track Completion 2026-02-16 04:16:45 -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
398aad4280 conductor(checkpoint): Checkpoint end of Phase 1 2026-02-15 03:44:00 -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
48ad0ebdd7 conductor(checkpoint): Checkpoint end of Phase 1 2026-02-14 05:03:41 -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
2220714962 feat(ux): Add size limits and improved styling for plot previews in chat bubbles. 2026-02-13 04:02:38 -08:00
Yunxiao Xu
69c75bd4fe feat(ux): Finalize advanced UX with plot zoom, export, and shadcn UI consistency. 2026-02-13 03:58:55 -08:00
Yunxiao Xu
e16b19ed66 feat(ux): Implement advanced reasoning view with progress tracking and refined Markdown rendering. 2026-02-13 03:13:58 -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
af731413af docs(frontend): Update frontend/GEMINI.md with comprehensive architecture and authentication details 2026-02-12 01:49:37 -08:00
Yunxiao Xu
50278a7c17 docs: Update GEMINI.md with backend API endpoints and frontend architecture details 2026-02-12 01:46:00 -08:00
Yunxiao Xu
dcfc090f1c feat(frontend): Implement HttpOnly cookie authentication and API v1 integration. Update AuthService for cookie-based session management, configure Axios with v1 prefix and credentials, and enhance OIDC callback logic. 2026-02-12 01:33:32 -08:00
Yunxiao Xu
2545f6df13 feat(frontend): Finalize auth refactor, routing, and resolve all code review findings 2026-02-12 01:30:47 -08:00
Yunxiao Xu
7fe020f26c feat(frontend): Refactor to cookie-based auth and add /api/v1 prefix 2026-02-12 01:30:47 -08:00
Yunxiao Xu
42f982e373 feat(auth): Implement LoginForm, RegisterForm and integrate with App 2026-02-12 01:30:47 -08:00
Yunxiao Xu
f8612cfcb8 fix(auth): Correct API paths and resolve build/type errors in tests and config 2026-02-12 01:30:47 -08:00
Yunxiao Xu
e3bc699c64 test(auth): Add tests for AuthService and Auth validations 2026-02-12 01:30:47 -08:00
Yunxiao Xu
c222b33ba5 conductor(checkpoint): Checkpoint end of Phase 1 2026-02-12 01:30:47 -08:00
Yunxiao Xu
555ecea64c feat(ui): Implement core layout with Sidebar and MainLayout 2026-02-12 01:30:47 -08:00
Yunxiao Xu
5d0130731d feat(frontend): Scaffold React project with Vite, Tailwind CSS v4, and shadcn/ui 2026-02-12 01:30:47 -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
Yunxiao Xu
48924affa0 test: Implement post-test database cleanup in workflow history test 2026-02-11 16:52:41 -08:00
Yunxiao Xu
004f9fd9c9 refactor(graph): Add iteration limit to prevent infinite loops in code correction 2026-02-11 16:50:48 -08:00
Yunxiao Xu
156e1f7512 docs: Update .env.example with security and JWT settings 2026-02-11 16:44:17 -08:00
Yunxiao Xu
b23fbce8d0 refactor(auth): Use user_id as JWT sub and implement get_user_by_id
Switched from username to user_id as the primary identifier in JWT tokens to better support external authentication providers. Added get_user_by_id to HistoryManager and updated API dependencies and tests to reflect these changes.
2026-02-11 16:41:27 -08:00
Yunxiao Xu
ceddacf9cb feat(api): Implement create conversation endpoint 2026-02-11 16:09:22 -08:00
Yunxiao Xu
b7abdfe457 fix(api): Robustly handle complex LangChain message content in API responses and persistence 2026-02-11 15:53:11 -08:00
Yunxiao Xu
85329cffda feat(api): Enhance persistence logic and refactor codebase structure 2026-02-11 15:33:56 -08:00
Yunxiao Xu
371582dcd1 fix(api): Implement missing OIDC callback endpoint 2026-02-11 13:20:13 -08:00
Yunxiao Xu
5ba3120f03 conductor(checkpoint): Checkpoint end of Phase 4 2026-02-11 04:18:20 -08:00