Commit Graph

2821 Commits

Author SHA1 Message Date
Milin
089e785c23 Merge branch 'main' of github.com:lcjqyml/LightRAG 2025-03-24 17:40:24 +08:00
yangdx
f0054545c0 Update webui assets 2025-03-24 17:05:56 +08:00
yangdx
a0845b37c9 Add translations for API Key Alert component 2025-03-24 17:04:31 +08:00
yangdx
f8b3f1ee48 Refactor API key alert and remove message alert component
- Move StatusIndicator to status directory
- Remove obsolete MessageAlert component
- Enhance ApiKeyAlert with open state control
- Improve health check logic with alert state
- Add error message display in ApiKeyAlert
2025-03-24 17:00:15 +08:00
zrguo
498cd5cd78 Merge pull request #1160 from Gardelll/fix-mongo-doc-status
Fix mongo doc status
2025-03-24 16:31:57 +08:00
Milin
b868dddac5 feat(webui): Display logged-in username
- Add username display in the `SiteHeader` component.
- Update logout button text to include username.
- Add `username` field in auth state.
- Optimize token parsing logic to extract username information.
- pre-commit fix
2025-03-24 15:59:18 +08:00
yangdx
deef7182b9 Added special endpoint API key checks 2025-03-24 15:02:10 +08:00
Milin
4dfdb9032c feat(auth): Implement multi-user login support
- Add an `accounts` dictionary in `AuthHandler` to store multiple user account information.
- Modify login logic to support multiple user account verification.
- Update environment variable example, add description for `AUTH_ACCOUNTS` variable.
- Adjust authentication status check logic, use `auth_handler.accounts` to determine if authentication is configured.
2025-03-24 14:34:31 +08:00
yangdx
d05cf286f4 Fix linting 2025-03-24 14:30:17 +08:00
yangdx
9e3994419e Refactor authentication logic and Swagger UI config
- Consolidate authentication dependencies
- Improve Swagger UI security parameters
2025-03-24 14:29:36 +08:00
yangdx
79bf26dfeb Process update flags status for proper boolean conversion
- Convert MutableBoolean to regular boolean values
- Handle both multiprocess and single process cases
2025-03-24 12:49:39 +08:00
yangdx
13056822a8 Bump version to 1.2.9 and update API version to 1.2.3
- Add WHITELIST_PATHS environment variable to Server's README
2025-03-24 12:29:17 +08:00
Milin
e2737e4412 Merge branch 'main' of github.com:lcjqyml/LightRAG 2025-03-24 11:04:23 +08:00
yangdx
77ab26e5bf Fix linting 2025-03-24 05:39:50 +08:00
yangdx
071302d10f Moved update status logic to document routes.
- Removed update status from health check endpoint
- Added update_status field to PipelineStatusResponse
2025-03-24 05:37:03 +08:00
yangdx
90ef55960d Refactor authentication and whitelist handling
- Combined auth and API key dependencies
- Optimized whitelist path matching
- Added optional API key to OllamaAPI
2025-03-24 05:23:40 +08:00
yangdx
8301f0a523 Move temperature parameter into kwargs for LLM calls
- Applied changes to both OpenAI and Azure OpenAI calls
2025-03-24 03:03:55 +08:00
yangdx
ff9cb2138d Ensure thread safety in storage update callbacks
- Added storage lock in index_done_callback
- Fixed potential race conditions
2025-03-24 02:11:59 +08:00
yangdx
7e8a2c0e9b Added temperature parameter for LLM 2025-03-24 02:02:34 +08:00
omdivyatej
f87c235a4c less comments 2025-03-23 21:42:56 +05:30
omdivyatej
3522da1b21 specify LLM for query 2025-03-23 21:33:49 +05:30
Daniel.y
7d3b20c4d8 Merge pull request #1166 from danielaskdd/main
Refactor LightRAG Server documentation for clarity and structure.
2025-03-23 23:29:05 +08:00
yangdx
6ae42165be Refactor LightRAG Server documentation for clarity and structure. 2025-03-23 23:27:29 +08:00
omdivyatej
f8ba98c1ff first 2025-03-23 20:00:25 +05:30
omdivyatej
021152f95c first 2025-03-23 19:58:58 +05:30
Daniel.y
b7fc2b508a Merge pull request #1162 from danielaskdd/improve-version-check
Refactor auth and version checks for improved reliability
2025-03-23 03:21:28 +08:00
Daniel.y
f466601b42 Merge pull request #1161 from choizhang/fix-logout-display-timing
refactor(SiteHeader): Hide logout button in guest mode
2025-03-23 03:20:29 +08:00
yangdx
9090b6784d Merge branch 'fix-logout-display-timing' into improve-version-check 2025-03-23 03:18:24 +08:00
yangdx
faa39e0f1b Update webui assets 2025-03-23 02:44:01 +08:00
yangdx
a444edd9eb Added auth mode status to health check endpoint.
- Introduced auth_mode in health check response
- Updated App.tsx to handle guest mode logic
2025-03-23 02:43:44 +08:00
yangdx
d3b2cff182 Prevent login page show up when on auth is needed 2025-03-23 02:00:59 +08:00
yangdx
3609dc5b26 Improve authentication flow and navigation handling
- Replace never-resolving promise with rejection
- Remove unnecessary setTimeout in navigation
2025-03-23 01:39:43 +08:00
choizhang
9b27f32258 refactor(SiteHeader): Hide logout button in guest mode 2025-03-23 01:22:15 +08:00
yangdx
176fd1e998 Update webui assets 2025-03-23 01:17:31 +08:00
yangdx
b72aa3e8ca Prevent login page show up when on auth is needed 2025-03-23 01:16:53 +08:00
yangdx
9f81d34ce3 Update webui assets 2025-03-23 00:30:27 +08:00
yangdx
ba07ec86a5 Fix linting 2025-03-23 00:30:18 +08:00
yangdx
31c7923067 Added core and API version to health check
- Bumped API version to 1.2.2
2025-03-23 00:28:50 +08:00
yangdx
ea51ff05c1 Refactor auth and version checks for improved reliability.
- Prevent duplicate version checks in Vite dev mode
- Simplify protected route handling
- Add session flags for version tracking
2025-03-23 00:05:04 +08:00
c5db900298 fix some example 2025-03-22 23:43:33 +08:00
69322e198f fix: add missing file_path for mongo impl 2025-03-22 23:43:21 +08:00
Daniel.y
d8bc89b26e Merge pull request #1158 from danielaskdd/main
Increment the release version to 1.2.8
2025-03-22 15:42:57 +08:00
yangdx
21ec8166f4 Increment the release version to 1.2.8 2025-03-22 15:41:27 +08:00
Daniel.y
09adcf88e1 Merge pull request #1156 from danielaskdd/main
Improve node size calculation logic for node expansion to prevent oversize
2025-03-22 15:20:15 +08:00
yangdx
883de4f3c8 Update webui assets 2025-03-22 15:18:52 +08:00
yangdx
1a7c164e33 Adjust force-directed layout parameters for better stability 2025-03-22 15:16:07 +08:00
yangdx
fe72b9d65d Updated relationships label in locale files. 2025-03-22 15:07:46 +08:00
yangdx
79dc2cb62b Adjust force-directed layout parameters for better stability.
- Reduced repulsion force to 0.01
- Minimized node oscillation
- Improved convergence behavior
2025-03-22 14:52:43 +08:00
yangdx
2ed5cdce5e Update the node size of the expanded node 2025-03-22 14:49:04 +08:00
yangdx
ebd73a54b9 Fix node size calculation bugs 2025-03-22 12:39:16 +08:00