Commit Graph

685 Commits

Author SHA1 Message Date
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
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
yangdx
6ae42165be Refactor LightRAG Server documentation for clarity and structure. 2025-03-23 23:27: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
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
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
c5db900298 fix some example 2025-03-22 23:43:33 +08:00
yangdx
21ec8166f4 Increment the release version to 1.2.8 2025-03-22 15:41:27 +08:00
yangdx
883de4f3c8 Update webui assets 2025-03-22 15:18:52 +08:00
yangdx
86709a5e8e Update webui assets 2025-03-22 11:40:52 +08:00
yangdx
651a890afe Update webui assets 2025-03-22 03:42:03 +08:00
yangdx
c16cb9725a Update web assets 2025-03-22 01:53:07 +08:00
yangdx
0df0ba269d Implemented version display in SiteHeader of webui
- Updated API version to 1.2.0
- Stored versions in localStorage
2025-03-22 01:51:39 +08:00
yangdx
dc99b714ba Update webui assets 2025-03-22 00:36:38 +08:00
yangdx
d2c3db65ef Update webui assets 2025-03-21 22:05:21 +08:00
yangdx
ce05b436b9 Refactor splash screen display configuration layout. 2025-03-21 17:11:55 +08:00
yangdx
53396e4d82 Fixlinting 2025-03-21 16:56:47 +08:00
yangdx
1f6d230da1 Increased default timeout values for Gunicorn configuration
- Doubled default timeout to 300 seconds
2025-03-21 15:26:23 +08:00
yangdx
0761af19c6 Files are now processed in batches in auto scan 2025-03-21 13:41:37 +08:00
yangdx
67eee2d2d5 Prioritize OS environment variables over .env file to improve Docker compatibility for the server 2025-03-21 13:27:12 +08:00
yangdx
168232803b Optimized the document processing pipeline
- Enqueue all files to pipeline before starting process when scanning input folder
- Changed parallel enqueue to sequential to prevent CPU overload by heavy file extraction jobs
2025-03-21 13:08:57 +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
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
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
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
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