Commit Graph

2598 Commits

Author SHA1 Message Date
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
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
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
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
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
yangdx
17f4d3a5ab Merge branch 'feat-node-expand' into webui-node-expansion 2025-03-17 20:06:03 +08:00
yangdx
6f2761af98 Update webui assets 2025-03-17 20:05:16 +08:00
yangdx
971034fbba Optimized graph layout animation parameters, Smoothed overlapping animations
- Reduced animation duration to 300ms
- Decreased update interval to 200ms
- Extended auto-stop timeout to 3 seconds
2025-03-17 20:00:14 +08:00
yangdx
e03e1206c7 Remove refresh layout button and related code 2025-03-17 19:48:18 +08:00
yangdx
90c64b9f8d Fix: Let tooltips show on top of layout tool bar
- Removed PopoverPrimitive.Portal wrapper
- Added z-60 to TooltipContent
2025-03-17 19:38:57 +08:00
yangdx
a40c9ef3d4 Updated layout animation and force atlas translations 2025-03-17 19:32:07 +08:00
yangdx
f231f2df7a Enhance graph layout control with improved animations and stability
- Added custom animation timer for smoother transitions
- Improved Force Directed layout parameters
- Added auto-stop feature for animations
2025-03-17 15:18:33 +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
zrguo
adba09f6c2 fix stream 2025-03-17 11:41:55 +08:00
yangdx
acc11afeac Merge branch 'feat-node-expand' into webui-node-expansion 2025-03-17 08:04:11 +08:00
yangdx
1dd0cac35d Merge branch 'main' into feat-node-expand 2025-03-17 08:03:32 +08:00
yangdx
0695f0a130 Merge branch 'feat-node-expand' into webui-node-expansion 2025-03-17 05:04:53 +08:00
yangdx
3e3e963c80 Update webui assets 2025-03-17 05:02:14 +08:00
yangdx
2753cbed97 Fix overflow issues in UI components
- Set overflow-hidden for main container
- Add overflow-auto to documents tab
- Add overflow-hidden to graph and retrieval tabs
- Set overflow-hidden for SigmaContainer
- Set overflow-hidden for retrieval testing container
2025-03-17 05:00:37 +08:00
yangdx
5f27d42fd9 Update log message for in-memory DB persistence 2025-03-17 05:00:37 +08:00
Daniel.y
a9bd318d98 Merge pull request #1098 from danielaskdd/Fix-pipeline-batch
Fix pipeline bactch process problem
2025-03-17 04:38:03 +08:00
yangdx
34727b3bd5 Update log message for in-memory DB persistence 2025-03-17 04:25:23 +08:00
yangdx
701d2d7d47 Fix linting 2025-03-17 04:11:25 +08:00
yangdx
58d519f133 Fix linting 2025-03-17 04:09:12 +08:00
yangdx
c23cff2962 Merge branch 'Fix-pipeline-batch' into feat-node-expand 2025-03-17 04:02:42 +08:00
yangdx
2a4ff7c0d0 Fix pipeline bactch process problem
- Process batch one by one
- Process documents in parallel within each batch
2025-03-17 04:00:38 +08:00
yangdx
1c19290979 Merge branch 'main' into feat-node-expand 2025-03-17 00:08:12 +08:00
Daniel.y
9875037e6c Merge pull request #1097 from danielaskdd/main
Adjust concurrency limits  more LLM friendly settings for new comers
2025-03-17 00:04:17 +08:00
yangdx
c2ba7f33ff Adjust concurrency limits more LLM friendly settings for new comers
- Lowered max async LLM processes to 4
- Enabled LLM cache for entity extraction
- Reduced max parallel insert to 2
2025-03-16 23:56:34 +08:00
Daniel.y
0277c94a61 Merge pull request #1091 from JoramMillenaar/quickfix--small-db-fields
Updated PSQL's chunk_id field to be a TEXT field
2025-03-16 22:48:54 +08:00
Daniel.y
9d971e5889 Merge pull request #1062 from ericshao/fix-postgres
Fix PGDocStatusStorage content extraction for DocProcessingStatus
2025-03-16 15:47:32 +08:00
Daniel.y
bce409acff Merge pull request #1079 from pengjunfeng11/main
Replace unreasonable parameter names
2025-03-16 15:31:02 +08:00