Commit Graph

3040 Commits

Author SHA1 Message Date
HowardChan
0c39ff00a8 fix: resolve SQL type mismatch and conflict handling in LIGHTRAG_VDB_ENTITY insert query 2025-03-19 13:01:07 +08:00
HowardChan
1530798fb6 fix: ensure chunk_ids are correctly handled as VARCHAR array 2025-03-19 12:59:44 +08:00
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
bc4c16b06a Improve cleanup and state reset logic in GraphViewer and NavigationService.
- Add proper Sigma instance cleanup on unmount
- Ensure error handling for Sigma cleanup
2025-03-19 01:03:24 +08:00
yangdx
77cb9da384 Add application state reset on login page mount
- Reset all application state on login page
- Clear authentication and session storage
- Reset graph, backend, and settings state
- Ensure clean environment for new session
- Centralized state reset in navigation service
2025-03-19 00:00:20 +08:00
yangdx
8145046115 Remove login modal state from auth store 2025-03-18 23:12:02 +08:00
Milin
b547aaa6aa Merge branch 'main' of github.com:lcjqyml/LightRAG 2025-03-18 21:08:34 +08:00
Daniel.y
f962606356 Merge pull request #1115 from danielaskdd/main
Hot fix: Server can not startup with legacy data (json_doc_status_impl.py)
2025-03-18 20:59:42 +08:00
Daniel.y
251f624273 Merge pull request #1107 from JoramMillenaar/fix--psql-return-type
Fixed get_by_id type error in PSQL impl
2025-03-18 20:40:28 +08:00
yangdx
783e7867cf Replace print statement with logger.debug for file_path. 2025-03-18 20:39:38 +08:00
yangdx
3279948dcd Skip graph creation if no data or empty nodes
- Add log for skipped graph creation
2025-03-18 20:23:22 +08:00
yangdx
20de4ded30 Add default file_path for missing document paths
- Set file_path to "no-file-path" if missing
- Ensure consistent document data structure
2025-03-18 20:06:18 +08:00
yangdx
c42f08c0e6 Add navigation service for centralized login redirect routing
- Simplify token validation logic in API
- Update axios interceptor to use navigation service
2025-03-18 19:45:43 +08:00
Pankaj Kaushal
6972b3e1cc Refactor logger setup to conditionally enable file logging.
Added error handling for file creation issues.
2025-03-18 12:08:42 +01:00
Daniel.y
79b32026ec Merge branch 'HKUDS:main' into main 2025-03-18 18:07:46 +08:00
zrguo
a3de421b14 Merge pull request #1108 from HKUDS/webui-node-expansion
Added camera rotation to graph panel and merge login feature
2025-03-18 17:50:38 +08:00
yangdx
b46f2ff871 Merge branch 'fix--psql-return-type' 2025-03-18 17:15:29 +08:00
zrguo
10d2bbfcd7 Update README.md 2025-03-18 16:42:57 +08:00
zrguo
80f00dabd3 Update README.md 2025-03-18 16:41:05 +08:00
yangdx
5536ed50ca Fix linting 2025-03-18 16:18:37 +08:00
yangdx
d80ca4dc07 Added root redirect to /webui and updated webui config 2025-03-18 15:38:41 +08:00
zrguo
f49c67784f Merge pull request #1103 from HKUDS/citation
Adding support for handling file paths in document processing.
2025-03-18 15:24:55 +08:00
yangdx
331b1194f0 Added camera rotation controls to graph panel. 2025-03-18 12:34:04 +08:00
yangdx
190822da78 Update webui assets 2025-03-18 11:27:38 +08:00
yangdx
00e05a12b0 Adjust layout noverlap margin and grid size. 2025-03-18 11:26:39 +08:00
yangdx
77c23a23e4 Added error logging for duplicate edges in rawGraph. 2025-03-18 09:51:53 +08:00
Milin
1598a1d17e Merge branch 'main' of github.com:lcjqyml/LightRAG 2025-03-18 09:49:31 +08:00
jofoks
54e4a31aa6 Fixed get_by_id type error in PSQL impl 2025-03-17 17:32:54 -07:00
yangdx
217ffa9e05 Update web assets 2025-03-18 03:31:21 +08:00
yangdx
43996656d3 Fix linting 2025-03-18 03:30:43 +08:00
yangdx
a1a74d3338 Update webui assets 2025-03-18 03:21:12 +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
yangdx
056b58af75 Updated JWT auth configuration in env.example. 2025-03-18 02:01:28 +08:00
Saifeddine ALOUI
9021bfb8a6 Added french locale 2025-03-17 18:57:48 +01:00
Saifeddine ALOUI
5470f9dfee added arabic locale 2025-03-17 18:56:50 +01:00
Saifeddine ALOUI
76e0e6f173 Merge branch 'HKUDS:main' into main 2025-03-17 18:51:41 +01:00
yangdx
2a18b04f7f Added authentication checks and token validation
- Added auth checks in health check logic
- Protected routes require authentication
- Validated token on app startup
- Added auth check in API interceptor
- Clear token on 401 unauthorized error
2025-03-18 01:46:12 +08:00
yangdx
1727130c47 Added /login to VITE_API_ENDPOINTS 2025-03-18 01:16:40 +08:00
yangdx
2856107f46 Merge branch 'loginPage' into webui-node-expansion 2025-03-18 00:39:48 +08:00
yangdx
0d0d37118b Merge branch 'feat-node-expand' into webui-node-expansion 2025-03-18 00:09:46 +08:00
yangdx
c641a6290c Ensure unique edge IDs for NetworkX 2025-03-18 00:00:56 +08:00
zrguo
dfd19b8d27 fix postgres support 2025-03-17 23:59:47 +08:00
zrguo
6115f60072 fix lint 2025-03-17 23:36:00 +08:00
zrguo
bf18a5406e add citation 2025-03-17 23:32:35 +08:00
yangdx
3bf9dbe4fb Merge branch 'webui-node-expansion' into feat-node-expand 2025-03-17 22:54:58 +08:00
yangdx
07b13ee739 Prevent duplicate edges in Lightrag graph
- Check for reverse edge existence
2025-03-17 22:54:23 +08:00
yangdx
5e1c9f93ca Merge branch 'feat-node-expand' into webui-node-expansion 2025-03-17 21:16:42 +08:00
yangdx
a2cdfcb803 Update webui assets 2025-03-17 21:13:04 +08:00
yangdx
3efcf4684c Added data reload button to graph labels component 2025-03-17 21:12:29 +08:00
yangdx
4ecb13d24c Optimize layout configurations for better node arrangement.
- Increased margin in Noverlap layout
- Adjusted Force layout iterations
- Enhanced Noverlap settings for spacing
- Standardized maxIterations across layouts
2025-03-17 20:44:17 +08:00