Commit Graph

1838 Commits

Author SHA1 Message Date
Mario Vignieri
f33bcbb32c fix hf_embed torch device use MPS or CPU when CUDA is not available -macos users 2025-03-20 09:40:56 +01:00
zrguo
486a9e8a52 fix index 2025-03-20 16:29:24 +08:00
zrguo
89d4a13cf5 Merge pull request #1129 from JoramMillenaar/feat--implemented-psql-get-by-id
Implemented simple PSQL doc-status get_by_ids method
2025-03-20 15:58:47 +08:00
yangdx
af245c8b3f Update webui assets 2025-03-20 12:41:35 +08:00
yangdx
3c99835800 Update webui assets 2025-03-20 11:34:26 +08:00
jofoks
7e53d94526 Implemented simple PSQL doc-status get_by_ids method 2025-03-19 15:24:25 -07:00
yangdx
3b66648fb2 Update webui assets 2025-03-20 04:47:27 +08:00
yangdx
cbc8a832aa Update webui assets 2025-03-20 03:47:46 +08:00
yangdx
69720e0b00 Update webui assets 2025-03-20 01:38:50 +08:00
yangdx
b796d33cd5 Update webui assets 2025-03-19 21:38:49 +08:00
yangdx
32dcbec7b5 Update webui assets 2025-03-19 19:09:03 +08:00
yangdx
0339273fe9 Update webui assets 2025-03-19 17:51:45 +08:00
yangdx
ffaa3493bd Update web assets 2025-03-19 13:52:38 +08:00
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
783e7867cf Replace print statement with logger.debug for file_path. 2025-03-18 20:39:38 +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
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
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
77c23a23e4 Added error logging for duplicate edges in rawGraph. 2025-03-18 09:51:53 +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
Saifeddine ALOUI
76e0e6f173 Merge branch 'HKUDS:main' into main 2025-03-17 18:51:41 +01:00
yangdx
2856107f46 Merge branch 'loginPage' into webui-node-expansion 2025-03-18 00:39:48 +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
a2cdfcb803 Update webui assets 2025-03-17 21:13:04 +08:00
yangdx
6f2761af98 Update webui assets 2025-03-17 20:05:16 +08:00
zrguo
e7395a2c8d Merge branch 'main' into main 2025-03-17 17:23:41 +08:00
Saifeddine ALOUI
c7d76b4cee Create anthropic.py 2025-03-17 10:21:01 +01:00
zrguo
60dd13f17e fix continue prompt format error 2025-03-17 16:58:04 +08:00
zrguo
3df20ae787 fix lint 2025-03-17 15:59:54 +08:00
zrguo
5956f22612 Merge branch 'main' into fix--postgres-impl 2025-03-17 15:42:09 +08:00
zrguo
901760ab98 Merge branch 'main' into postgres-improve-entities-relation-save-process 2025-03-17 15:39:40 +08:00
choizhang
1a50cd24be Add packaged files in api/webui 2025-03-17 14:19:44 +08:00
yangdx
9e9c0bdd96 Merge branch 'main' into feat-node-expand 2025-03-17 11:46:38 +08:00