846 Commits

Author SHA1 Message Date
yangdx
bbc770d1ed feat(api): enhance document clearing error handling and status reporting
- Change pipeline busy status from "error" to "busy"
- Improve error handling documentation
2025-03-31 13:01:52 +08:00
Milin
4dbd5e3899 Merge branch 'main' into optimize-config-management
# Conflicts:
#	env.example
#	lightrag/api/utils_api.py
2025-03-31 11:29:29 +08:00
Milin
088fc19318 feat(config): Refactor configuration management
- Optimize JWT Auth module to load configuration via `global_args`.
- Decouple configuration-related code from `utils_api.py`, and add a new `config.py` file for unified configuration management.
- Adjust configuration import in `lightrag_server.py`, `auth.py`, and `document_routes.py` to be introduced through `global_args`.
2025-03-31 11:19:47 +08:00
yangdx
6a51f38cae Remove namespace_prefix from PostgreSQL, maintain consistency with other storage implementation 2025-03-31 02:59:44 +08:00
yangdx
8b125488e9 Bump api version to 1.2.9 2025-03-30 16:31:57 +08:00
yangdx
949a3904a9 feat(api): Enhance document clearing functionality
- Use storage drop methods to properly clean up all data
- Add file deletion from input directory
- Add pipeline status checking and locking mechanism
- Improve error handling with detailed logging and pipeline message tracking
2025-03-30 16:30:41 +08:00
yangdx
a3ff0534d6 Remove the comments at the end of the environment variable lines in .env file 2025-03-29 13:52:29 +08:00
yangdx
b79fb87dc7 Fix liinting 2025-03-29 13:22:16 +08:00
yangdx
8e57a925f1 Remove the comments at the end of the environment variable lines in .env file 2025-03-29 13:20:22 +08:00
yangdx
7c5442b392 Update doc 2025-03-29 04:05:31 +08:00
yangdx
65574459f9 standardize .env loading behavior across modules 2025-03-29 03:48:38 +08:00
yangdx
539fcd5ebb Update env file warning message to be more specific 2025-03-29 03:42:51 +08:00
yangdx
c590d5878c refactor: standardize .env loading behavior across modules
- Use .env from current folder for each lightrag instance
- Allow different .env files for different instances
- Make OS env vars take precedence over .env file
2025-03-29 03:37:23 +08:00
yangdx
0f051a35bd Update webui assets 2025-03-29 01:56:11 +08:00
yangdx
c057bf891d Update webui assets 2025-03-29 01:53:14 +08:00
yangdx
130f6b6ced Update webui assets 2025-03-29 00:21:18 +08:00
yangdx
fbe9d399db Bump api version to 1.2.8 2025-03-28 16:51:01 +08:00
yangdx
baa68eafcb Update webui assets 2025-03-28 16:50:05 +08:00
yangdx
adb4ca9294 Fix linting 2025-03-28 16:49:35 +08:00
yangdx
35d4503677 Feat: add duplicate file check 2025-03-28 16:48:46 +08:00
yangdx
783020aab5 Update webui assets 2025-03-28 12:04:11 +08:00
yangdx
cce91bdd5a Add core version to server startup splash screen 2025-03-28 08:20:55 +08:00
yangdx
6a85a97f93 Update i18n translation 2025-03-27 17:23:20 +08:00
yangdx
94f2d3c42d Update webui assets 2025-03-27 16:55:23 +08:00
yangdx
7e812d4929 Merge branch 'main' into sort-file 2025-03-27 13:40:22 +08:00
yangdx
cf8d87ca81 Update webui assetes 2025-03-27 13:38:59 +08:00
yangdx
affc313a88 Fix linting 2025-03-27 13:26:18 +08:00
yangdx
987cb585e7 fix: auth_mode error in health check end point
- Change AUTH_USERNAME/PASSWORD to AUTH_ACCOUNTS format
- Update docs for new auth configuration
2025-03-27 13:24:14 +08:00
yangdx
3066207415 Update webui assets 2025-03-27 11:12:36 +08:00
yangdx
a6086a615b Update webui assets 2025-03-27 08:38:17 +08:00
yangdx
f267e7b2c3 Update webui assets 2025-03-27 02:42:06 +08:00
yangdx
63c180a66d Update web assets 2025-03-27 02:21:56 +08:00
yangdx
dfa63e863c Fix linting 2025-03-26 23:53:41 +08:00
yangdx
d83ae39541 feat: add .env file check on startup
- Show warning if .env is missing
- For CLI startup: prompt for user confirmation
- For service startup: display warning only
2025-03-26 21:08:24 +08:00
yangdx
5008393974 Update webui assets 2025-03-26 20:38:35 +08:00
yangdx
a1dd6437ef Update webui assets 2025-03-26 19:00:19 +08:00
yangdx
140cf58e87 Update webui assets 2025-03-26 18:33:12 +08:00
yangdx
10245462f1 Remove unused get_api_key_dependency function 2025-03-26 18:09:42 +08:00
yangdx
ebb8b7799c Bump API version to 1.2.7 2025-03-26 17:41:57 +08:00
yangdx
f29b6f3a8b Update webui assets 2025-03-26 17:40:33 +08:00
yangdx
f26afff710 Update webui assets 2025-03-26 17:30:38 +08:00
yangdx
46f5c5b47f Fix linting 2025-03-26 17:30:06 +08:00
yangdx
1030068459 feat(health-check): add pipeline busy status to health endpoint 2025-03-26 12:41:49 +08:00
Daniel.y
cfdedf16a8
Merge pull request #1187 from danielaskdd/pipeline-file-path
feat: Add file name display in WebUI
2025-03-25 23:02:16 +08:00
yangdx
7492362bda Bump API version to 1.2.6 2025-03-25 23:00:04 +08:00
yangdx
25db83f8e2 Update webui assets 2025-03-25 22:44:53 +08:00
yangdx
d456269718 feat: Add file name display in WebUI
Backend:
- Add file_path field to DocStatusResponse
- Update document status response creation

Frontend:
- Remove metadata column
- Improve filename display with truncation and tooltips
- Add show/hide filename toggle with proper styling
- Update translations for all supported languages"
2025-03-25 22:42:46 +08:00
yangdx
35df22cf08 Update pipeline_enqueue_file to include file_paths parameter 2025-03-25 20:47:25 +08:00
Saifeddine ALOUI
2333958a6b upgraded to use current folder's .env if present 2025-03-25 13:45:51 +01:00
Milin
23004546dc Merge branch 'main' 2025-03-25 15:57:14 +08:00