Commit Graph

11 Commits

Author SHA1 Message Date
Milin
b868dddac5 feat(webui): Display logged-in username
- Add username display in the `SiteHeader` component.
- Update logout button text to include username.
- Add `username` field in auth state.
- Optimize token parsing logic to extract username information.
- pre-commit fix
2025-03-24 15:59:18 +08:00
yangdx
ba07ec86a5 Fix linting 2025-03-23 00:30:18 +08:00
yangdx
31c7923067 Added core and API version to health check
- Bumped API version to 1.2.2
2025-03-23 00:28:50 +08:00
yangdx
acd3fd9fa0 Fix linting 2025-03-22 03:41:52 +08:00
yangdx
a461ccebe3 Fix version display problem when server does not require auth 2025-03-22 03:41:06 +08:00
yangdx
0df0ba269d Implemented version display in SiteHeader of webui
- Updated API version to 1.2.0
- Stored versions in localStorage
2025-03-22 01:51:39 +08:00
yangdx
8145046115 Remove login modal state from auth store 2025-03-18 23:12:02 +08:00
yangdx
43996656d3 Fix linting 2025-03-18 03:30:43 +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
6b22e8065b Added loginPage 2025-03-11 14:48:19 +08:00
ArnoChen
85e6989abc move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00