Commit Graph

2124 Commits

Author SHA1 Message Date
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
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
3e3e963c80 Update webui assets 2025-03-17 05:02:14 +08:00
yangdx
5f27d42fd9 Update log message for in-memory DB persistence 2025-03-17 05:00:37 +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