feat(vision-rag): add LangChain deps and verify .venv; vision_rag_query uses ChatOpenAI; set default OPENAI_MODEL to gpt-4o 637dbbd David Ko commited on Aug 19
fix(frontend): constrain preview image to container and improve OpenAI chat error logging; rebuild and sync CRA assets 4971aea David Ko commited on Aug 15
fix(api): serve CRA build assets from nested static/static paths to avoid 404s c4ce70b David Ko commited on Aug 15
Fix static file routing by adding explicit handlers for JS files 6d8a023 Sunhey Cho commited on Aug 14
Add dedicated static file route handler to fix 404 errors for JS files 89707b0 Sunhey Cho commited on Aug 14
chore(api): add no-cache headers to serve_static to prevent stale frontend assets 0e9cdf3 David Ko commited on Aug 14
feat(openai): add OpenAI Chat UI and backend via official OpenAI SDK; integrate built React assets; update requirements and env pins df15537 David Ko commited on Aug 14
Do not modify session in serve_index_html to avoid extending expiry; honor absolute 2-min expiry d5410d2 David Ko commited on Aug 14
Idle auto-logout: add 2-min client-side inactivity timer that redirects to /logout; keep session heartbeat redirect detection 4ba39ac David Ko commited on Aug 14
Heartbeat fix: detect redirect on expired session using fetch redirect:'manual' and redirected/url checks; auto-redirect to /login cc735d7 David Ko commited on Aug 14
Fix redirect loop: show login page if session is authenticated but not fresh; only redirect to index when fresh 337664f David Ko commited on Aug 14
Redirect to login instead of 401 on unauthorized/not-fresh sessions (Flask-Login handlers) 6de8fab David Ko commited on Aug 14
Redirect-on-expiry: fresh required on /api/status and injected heartbeat in index.html responses to auto-redirect to /login when session expires 630e9fb David Ko commited on Aug 14
Security/session hardening: absolute 2-min expiry (SESSION_REFRESH_EACH_REQUEST=False), disable remember, anti-autofill login form, no-store cache on protected routes, clear session on logout b4662d6 David Ko commited on Aug 14
Enforce 2-minute session expiry: set PERMANENT_SESSION_LIFETIME=120s via timedelta and disable remember-login ac9962b David Ko commited on Aug 14
Adjust session cookie SameSite=None and set PERMANENT_SESSION_LIFETIME=120s for testing 2937552 David Ko commited on Aug 14
Use SameSite=None for session/remember cookies (iframe compatibility on Spaces) d1b4a04 David Ko commited on Aug 14
Fix login redirect loop with improved session handling and debugging dfdf7e7 David Ko commited on Aug 14
Fix login redirect loop by improving login and serve_react functions 64663bd David Ko commited on Aug 14