Commit History

Add default user credentials to login form
49ce704

David Ko commited on

Security enhancement: Move user authentication credentials to environment variables
e6821c4

David Ko commited on

Update api.py
675ab86

David Ko commited on

feat(api): add debug logging to vision_rag_query (VRAG)
5c810f6

David Ko commited on

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

fix(frontend): constrain preview image to container and improve OpenAI chat error logging; rebuild and sync CRA assets
4971aea

David Ko commited on

fix(api): serve CRA build assets from nested static/static paths to avoid 404s
c4ce70b

David Ko commited on

chore: rebuild frontend and sync to static
e865931

David Ko commited on

Add OpenAI model listing to chat API for debugging
9bcde88

David Ko commited on

Fix static file routing by adding explicit handlers for JS files
6d8a023

Sunhey Cho commited on

Add dedicated static file route handler to fix 404 errors for JS files
89707b0

Sunhey Cho commited on

chore(api): add no-cache headers to serve_static to prevent stale frontend assets
0e9cdf3

David Ko commited on

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

Do not modify session in serve_index_html to avoid extending expiry; honor absolute 2-min expiry
d5410d2

David Ko commited on

Idle auto-logout: add 2-min client-side inactivity timer that redirects to /logout; keep session heartbeat redirect detection
4ba39ac

David Ko commited on

Heartbeat fix: detect redirect on expired session using fetch redirect:'manual' and redirected/url checks; auto-redirect to /login
cc735d7

David Ko commited on

Fix redirect loop: show login page if session is authenticated but not fresh; only redirect to index when fresh
337664f

David Ko commited on

Redirect to login instead of 401 on unauthorized/not-fresh sessions (Flask-Login handlers)
6de8fab

David Ko commited on

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

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

Enforce 2-minute session expiry: set PERMANENT_SESSION_LIFETIME=120s via timedelta and disable remember-login
ac9962b

David Ko commited on

Adjust session cookie SameSite=None and set PERMANENT_SESSION_LIFETIME=120s for testing
2937552

David Ko commited on

Use SameSite=None for session/remember cookies (iframe compatibility on Spaces)
d1b4a04

David Ko commited on

Fix login redirect loop with improved session handling and debugging
dfdf7e7

David Ko commited on

Fix login redirect loop with improved session persistence
8fdf1e4

David Ko commited on

Fix Flask-Session permission error by using temp directory
bbbd5f6

David Ko commited on

Fix login redirect loop with Flask-Session and improved routing
7ac53fe

David Ko commited on

Fix login redirect loop by improving login and serve_react functions
64663bd

David Ko commited on

Fix routing conflict causing redirect loop after login
68634f6

David Ko commited on

Update api.py
913f3b4

David Ko commited on

Fix authentication issues with Flask-Login
a44b826

David Ko commited on

Fix login redirect issue and enhance session management
51bb097

David Ko commited on

Fix login functionality and translate UI to English
a8dbc72

David Ko commited on

Add login feature with Flask-Login
a2e8511

David Ko commited on

Copy files from hf-space to vision_llm_agent
8ed5ac1

David Ko commited on