Commit Graph

2763 Commits

Author SHA1 Message Date
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
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
zrguo
15b817c0d6 Merge pull request #1100 from pengjunfeng11/main
Update postgres_impl.py
2025-03-17 17:24:29 +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
a399d8039b Merge pull request #1102 from HKUDS/fix_format
fix continue prompt format error
2025-03-17 17:00:39 +08: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
2967fd2cd2 Merge pull request #1087 from JoramMillenaar/fix--postgres-impl
Fixed Postgres query parsing issues
2025-03-17 15:57:41 +08:00
zrguo
5956f22612 Merge branch 'main' into fix--postgres-impl 2025-03-17 15:42:09 +08:00
zrguo
0cfb755ac9 Merge pull request #1085 from OxidBurn/postgres-improve-entities-relation-save-process
Postgresql - refactor the store entity/relation data
2025-03-17 15:39:59 +08:00
zrguo
901760ab98 Merge branch 'main' into postgres-improve-entities-relation-save-process 2025-03-17 15:39:40 +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
pengjunfeng11
4e58c7d7da Update postgres_impl.py
There is aBUG. When lighttrag uses the postgres@15 version, there will be an error.The BUG detail as follow:
PostgreSQL database, error:subquery in FROM must have an alias
HINT:  For example, FROM (SELECT ...) [AS] foo.
It roughly means that there is an error in SQL template, and you need to use the alias alias to declare the content of the subquery.
2025-03-17 10:47:17 +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