Commit Graph

16 Commits

Author SHA1 Message Date
yangdx
50a8b5fb6d Refactor navigation and authentication flow, prevent mounting login page multiple times
- Improved protected route handling
- Enhanced direct login access detection
- Centralized navigation logic
- Optimized state reset process
- Fixed logout navigation behavior
2025-03-19 12:45:08 +08:00
yangdx
f8440c8f80 feat(auth): implement auto guest mode and enhance token system
- Add role-based token system with metadata support
- Implement automatic guest mode for unconfigured authentication
- Create new /auth-status endpoint for authentication status checking
- Modify frontend to auto-detect auth status and bypass login when appropriate
- Add guest mode indicator in site header for better UX

This change allows users to automatically access the system without manual
login when authentication is not configured, while maintaining secure
authentication when credentials are properly set up.
2025-03-18 02:56:02 +08:00
choizhang
5fef68b62f Language switching and merging
Add the webuiInitialize variable, dev: '', build:'/webui'
2025-03-15 00:52:21 +08:00
choizhang
b58729751a Merge branch 'improve-property-tooltip' into loginPage 2025-03-15 00:11:50 +08:00
yangdx
620d31e878 Update translations and add language settings 2025-03-12 13:49:22 +08:00
choizhang
7bf2d51bd0 Added language and theme switching function to login page and homepage 2025-03-12 00:42:12 +08:00
choizhang
e5214f1a70 Merge branch 'main' into loginPage 2025-03-11 23:57:03 +08:00
choizhang
6b22e8065b Added loginPage 2025-03-11 14:48:19 +08:00
baoheping
59a2202e7c Added Minimum Degree 2025-03-08 11:01:10 +00:00
ArnoChen
e2b4e661e3 feat: retrieval message code highlight, message copy button 2025-02-24 18:17:17 +08:00
ArnoChen
7c68bf7ab7 move ThemeProvider and ThemeToggle components 2025-02-17 12:35:35 +08:00
ArnoChen
c5f380986d implement API key alert 2025-02-17 01:59:36 +08:00
ArnoChen
cf7c45b5dd format 2025-02-17 01:05:48 +08:00
ArnoChen
be4cdedfa1 add API tab to display backend documentation 2025-02-17 01:04:14 +08:00
ArnoChen
d1358c30f3 enhance web UI with retrieval testing and UI improvements 2025-02-16 04:34:22 +08:00
ArnoChen
1fe456666a add document manager and site heaer
clean

format
2025-02-15 23:29:30 +08:00