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
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
Milin
e2737e4412
Merge branch 'main' of github.com:lcjqyml/LightRAG
2025-03-24 11:04:23 +08:00
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
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
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
yangdx
613c06c52b
Fix max dgree calculation error in node expansion
2025-03-22 12:09:33 +08:00
yangdx
86709a5e8e
Update webui assets
2025-03-22 11:40:52 +08:00
yangdx
133bc40735
Improve node size calculation logic for node expansion to prevent oversized
2025-03-22 11:39:46 +08:00
yangdx
2fd38381c0
Simplify log message for graph query
2025-03-22 11:29:04 +08:00
Daniel.y
4305b73efc
Merge pull request #1154 from danielaskdd/main
...
Fix version display problem when server does not require auth
2025-03-22 03:44:21 +08:00
yangdx
651a890afe
Update webui assets
2025-03-22 03:42:03 +08:00
yangdx
acd3fd9fa0
Fix linting
2025-03-22 03:41:52 +08:00
yangdx
a461ccebe3
Fix version display problem when server does not require auth
2025-03-22 03:41:06 +08:00
Daniel.y
e6c5290331
Merge pull request #1153 from danielaskdd/show-api-version
...
Implemented version display in SiteHeader of webui
2025-03-22 01:55:42 +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
Daniel.y
bb699509c9
Merge pull request #1152 from danielaskdd/i18n-france-arabic
...
Add Arabic and French selection to app settings
2025-03-22 00:44:51 +08:00
yangdx
f51d8f3644
Merge branch 'main' into i18n-france-arabic
2025-03-22 00:43:44 +08:00
Daniel.y
eacf8aaf8d
Merge pull request #1148 from ParisNeo/main
...
Added anthropic binding and few localization to other languages
2025-03-22 00:40:49 +08:00
yangdx
dc99b714ba
Update webui assets
2025-03-22 00:36:38 +08:00
yangdx
b21c32645d
Added "emptyGraph" translation for Arabic and French.
2025-03-22 00:35:43 +08:00
yangdx
42a5bd3a8b
Merge branch 'main' into i18n-france-arabic
2025-03-22 00:32:13 +08:00
yangdx
dcbb6bf8cf
Add French and Arabic language support
2025-03-22 00:31:18 +08:00
Daniel.y
8207ac07fa
Merge pull request #1150 from danielaskdd/graph-refresh
...
Fix empty graph not display correctly after database dropped
2025-03-21 22:54:42 +08:00
yangdx
d2c3db65ef
Update webui assets
2025-03-21 22:05:21 +08:00
yangdx
101e1c907c
Fix linting
2025-03-21 21:51:52 +08:00
yangdx
a5aa3da3bc
Handle empty graph data and add empty graph hints
...
- Add empty data handling flag
- Display "Graph Is Empty" node
2025-03-21 21:49:36 +08:00