17b8bb62b6
Feat: message manage ( #12083 )
...
### What problem does this PR solve?
Message CRUD.
Issue #4213
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-12-23 21:16:25 +08:00
3cb72377d7
Refa:remove sensitive information ( #11873 )
...
### What problem does this PR solve?
change:
remove sensitive information
### Type of change
- [x] Refactoring
2025-12-10 19:08:45 +08:00
f128a1fa9e
Bump python to >=3.12 ( #11846 )
...
### What problem does this PR solve?
Bump python to >=3.12
### Type of change
- [x] Refactoring
2025-12-09 19:55:25 +08:00
40e84ca41a
Use Infinity single-field-multi-index ( #11444 )
...
### What problem does this PR solve?
Use Infinity single-field-multi-index
### Type of change
- [x] Refactoring
- [x] Performance Improvement
2025-11-26 11:06:37 +08:00
c43bf1dcf5
Fix: refine error msg. ( #11380 )
...
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-19 19:10:45 +08:00
2de42f00b8
Fix: component list operation issue. ( #11364 )
...
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-19 13:19:44 +08:00
1cb6b7f5dd
Update version info to v0.22.1 ( #11346 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Other (please describe): Update version info
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-19 09:50:23 +08:00
d1716d865a
Feat: Alter flask to Quart for async API serving. ( #11275 )
...
### What problem does this PR solve?
#11277
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-18 17:05:16 +08:00
2993fc666b
Feat: update version to 0.22.1 ( #11331 )
...
### What problem does this PR solve?
Update version to 0.22.1
### Type of change
- [x] Documentation Update
2025-11-18 10:49:36 +08:00
b5f2cf16bc
Fix: check task executor alive and display status ( #11270 )
...
### What problem does this PR solve?
Correctly check task executor alive and display status.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-14 15:52:28 +08:00
72c20022f6
Refactor service config fetching in admin server ( #11267 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
Co-authored-by: Zhichang Yu <yuzhichang@gmail.com >
2025-11-14 12:32:08 +08:00
a36a0fe71c
Docs: Update version references to v0.22.0 in READMEs and docs ( #11211 )
...
### What problem does this PR solve?
- Update version tags in README files (including translations) from
v0.21.1 to v0.22.0
- Modify Docker image references and documentation to reflect new
version
- Update version badges and image descriptions
- Maintain consistency across all language variants of README files
### Type of change
- [x] Documentation Update
2025-11-12 14:54:28 +08:00
d016a06fd5
Feat/monitor task ( #11116 )
...
### What problem does this PR solve?
Show task executor.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-10 12:51:39 +08:00
b7aa6d6c4f
Fix: add avatar for UI ( #11080 )
...
### What problem does this PR solve?
Add avatar for admin UI.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-07 09:27:31 +08:00
af98763e27
Admin: add 'show version' ( #11079 )
...
### What problem does this PR solve?
```
admin> show version;
show_version
+-----------------------+
| version |
+-----------------------+
| v0.21.0-241-gc6cf58d5 |
+-----------------------+
admin> \q
Goodbye!
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-06 19:24:46 +08:00
66c01c7274
Minor tweaks ( #11060 )
...
### What problem does this PR solve?
Minor tweaks
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-06 15:28:48 +08:00
f98b24c9bf
Move api.settings to common.settings ( #11036 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-06 09:36:38 +08:00
bab3fce136
Move some constants to common ( #11004 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-05 08:01:39 +08:00
880a6a0428
Move some enumerate type to constants.py ( #10998 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-04 19:25:25 +08:00
03038c7d3d
Update RetCode to common.constants ( #10984 )
...
### What problem does this PR solve?
1. Update RetCode to common.constants
2. Decouple the admin and API modules
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-04 15:12:53 +08:00
378bdfccfc
Refactor log utils ( #10973 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-03 20:25:02 +08:00
076d811086
Introduce common/config_utils.py ( #10968 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-03 17:25:06 +08:00
121d3fd815
Introduce common/constants.py ( #10965 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-11-03 16:32:37 +08:00
f52e56c2d6
Remove 'get_lan_ip' and add common misc_utils.py ( #10880 )
...
### What problem does this PR solve?
Add get_uuid, download_img and hash_str2int into misc_utils.py
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-31 16:42:01 +08:00
4332948cf9
Update admin client default port to 9381 ( #10862 )
...
### What problem does this PR solve?
Now admin client default port is '8080', update it to '9381'
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-29 10:44:41 +08:00
5a200f7652
Add time utils ( #10849 )
...
### What problem does this PR solve?
- Add time utilities and unit tests
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-28 19:09:14 +08:00
83e80e3d7f
Docs: Update version references to v0.21.1 in READMEs and docs ( #10761 )
...
### What problem does this PR solve?
- Update version tags in README files (including translations) from
v0.21.0 to v0.21.1
- Modify Docker image references and documentation to reflect new
version
- Update version badges and image descriptions
- Maintain consistency across all language variants of README files
### Type of change
- [x] Documentation Update
2025-10-23 18:55:41 +08:00
1bad24e3ab
Feat: version 0.21.1 ( #10718 )
...
### What problem does this PR solve?
Update version, and remove '_canvas' suffix in agent_category.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-10-22 19:03:02 +08:00
1d955507e9
Supports running single command ( #10651 )
...
### What problem does this PR solve?
```
$ python admin_client.py -h 0.0.0.0 -p 9381 'list users;'
Attempt to access ip: 0.0.0.0, port: 9381
Authentication successful.
Run single command: list users;
Listing all users
+-------------------------------+------------------+-----------+----------+
| create_date | email | is_active | nickname |
+-------------------------------+------------------+-----------+----------+
| Thu, 15 Aug 2024 15:35:53 GMT | abc@abc.com | 1 | aaa |
| Sat, 08 Jun 2024 16:43:21 GMT | aaaa@aaaa.com | 1 | aaa |
| Thu, 15 Aug 2024 15:38:10 GMT | cbde@ccc.com | 1 | ccc |
| Tue, 23 Sep 2025 14:07:27 GMT | aaa@aaa.aaa | 1 | aaa |
| Thu, 15 Aug 2024 19:44:19 GMT | aa@aa.com | 1 | aa |
| Tue, 23 Sep 2025 15:41:36 GMT | admin@ragflow.io | 1 | admin |
+-------------------------------+------------------+-----------+----------+
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-18 21:03:22 +08:00
cf09c2260a
feat: implement CLI of role-based access control system ( #10650 )
...
### What problem does this PR solve?
- Add comprehensive RBAC support with role and permission management
- Implement CREATE/ALTER/DROP ROLE commands for role lifecycle
management
- Add GRANT/REVOKE commands for fine-grained permission control
- Support user role assignment via ALTER USER SET ROLE command
- Add SHOW ROLE and SHOW USER PERMISSION for permission inspection
- Implement corresponding RESTful API endpoints for role management
- Integrate role commands into existing command execution framework
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-18 17:53:34 +08:00
c9b18cbe18
Feat:admin api ( #10642 )
...
### What problem does this PR solve?
Support frontend auth.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-10-18 16:09:48 +08:00
39ad9490ac
Fix:display agents ( #10620 )
...
### What problem does this PR solve?
Clear agents display, remove empty value column.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-17 09:58:28 +08:00
f0375c4acd
Update architecture image and ragflow-cli version ( #10605 )
...
### What problem does this PR solve?
1. Update architecture image
2. ragflow-cli doesn't indicate the version
### Type of change
- [x] Documentation Update
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-16 14:30:55 +08:00
c99034f717
Update admin client README and doc ( #10594 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Documentation Update
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-16 09:39:10 +08:00
1c38f4cefb
Use relative path to import same module ( #10587 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-15 21:04:17 +08:00
8844826208
Refactor admin client for message prompts ( #10583 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-15 16:22:07 +08:00
6e55b9146c
Doc: update released tag. ( #10578 )
...
### What problem does this PR solve?
Update to released version tag in pyproject.toml
### Type of change
- [x] Documentation Update
2025-10-15 15:14:52 +08:00
071ea9c493
Fix: support auto width when print table ( #10575 )
...
### What problem does this PR solve?
Print table support auto width.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-15 14:57:44 +08:00
fdac4afd10
Fix admin: can't read config and empty line error ( #10574 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-15 13:07:16 +08:00
83ec915d51
Feat: auto release ( #10557 )
...
### What problem does this PR solve?
Add cli build to release.yml.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-10-14 21:06:27 +08:00
578ea34b3e
Feat: build ragflow-cli ( #10544 )
...
### What problem does this PR solve?
Build admin client.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-10-14 16:28:43 +08:00
5b387b68ba
The 'cmd' module is introduced to make the CLI easy to use. ( #10542 )
...
…pdate comand
### What problem does this PR solve?
To make the CLI easy to use.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-14 14:53:00 +08:00
113851a692
Add 'status' field when list services ( #10538 )
...
### What problem does this PR solve?
```
admin> list services;
command: list services;
Listing all services
+-------------------------------------------------------------------------------------------+-----------+----+---------------+-------+----------------+---------+
| extra | host | id | name | port | service_type | status |
+-------------------------------------------------------------------------------------------+-----------+----+---------------+-------+----------------+---------+
| {} | 0.0.0.0 | 0 | ragflow_0 | 9380 | ragflow_server | Timeout |
| {'meta_type': 'mysql', 'password': 'infini_rag_flow', 'username': 'root'} | localhost | 1 | mysql | 5455 | meta_data | Alive |
| {'password': 'infini_rag_flow', 'store_type': 'minio', 'user': 'rag_flow'} | localhost | 2 | minio | 9000 | file_store | Alive |
| {'password': 'infini_rag_flow', 'retrieval_type': 'elasticsearch', 'username': 'elastic'} | localhost | 3 | elasticsearch | 1200 | retrieval | Alive |
| {'db_name': 'default_db', 'retrieval_type': 'infinity'} | localhost | 4 | infinity | 23817 | retrieval | Timeout |
| {'database': 1, 'mq_type': 'redis', 'password': 'infini_rag_flow'} | localhost | 5 | redis | 6379 | message_queue | Alive |
+-------------------------------------------------------------------------------------------+-----------+----+---------------+-------+----------------+---------+
admin>
Use '\q' to quit
admin>
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-14 13:40:32 +08:00
74ec734d69
Feat: add admin server to docker ( #10522 )
...
### What problem does this PR solve?
Add admin server to docker.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-10-13 19:05:54 +08:00
d931c33ced
Fix typos: retrievaler -> retriever ( #10372 )
...
### What problem does this PR solve?
Fix typos
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-10 09:17:36 +08:00
cbf04ee470
Feat: Use data pipeline to visualize the parsing configuration of the knowledge base ( #10423 )
...
### What problem does this PR solve?
#9869
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: jinhai <haijin.chn@gmail.com >
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
Co-authored-by: chanx <1243304602@qq.com >
Co-authored-by: balibabu <cike8899@users.noreply.github.com >
Co-authored-by: Lynn <lynn_inf@hotmail.com >
Co-authored-by: 纷繁下的无奈 <zhileihuang@126.com >
Co-authored-by: huangzl <huangzl@shinemo.com >
Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com >
Co-authored-by: Wilmer <33392318@qq.com >
Co-authored-by: Adrian Weidig <adrianweidig@gmx.net >
Co-authored-by: Zhichang Yu <yuzhichang@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Yongteng Lei <yongtengrey@outlook.com >
Co-authored-by: Liu An <asiro@qq.com >
Co-authored-by: buua436 <66937541+buua436@users.noreply.github.com >
Co-authored-by: BadwomanCraZY <511528396@qq.com >
Co-authored-by: cucusenok <31804608+cucusenok@users.noreply.github.com >
Co-authored-by: Russell Valentine <russ@coldstonelabs.org >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Billy Bao <newyorkupperbay@gmail.com >
Co-authored-by: Zhedong Cen <cenzhedong2@126.com >
Co-authored-by: TensorNull <129579691+TensorNull@users.noreply.github.com >
Co-authored-by: TensorNull <tensor.null@gmail.com >
Co-authored-by: TeslaZY <TeslaZY@outlook.com >
Co-authored-by: Ajay <160579663+aybanda@users.noreply.github.com >
Co-authored-by: AB <aj@Ajays-MacBook-Air.local >
Co-authored-by: 天海蒼灆 <huangaoqin@tecpie.com >
Co-authored-by: He Wang <wanghechn@qq.com >
Co-authored-by: Atsushi Hatakeyama <atu729@icloud.com >
Co-authored-by: Jin Hai <haijin.chn@gmail.com >
Co-authored-by: Mohamed Mathari <155896313+melmathari@users.noreply.github.com >
Co-authored-by: Mohamed Mathari <nocodeventure@Mac-mini-van-Mohamed.fritz.box >
Co-authored-by: Stephen Hu <stephenhu@seismic.com >
Co-authored-by: Shaun Zhang <zhangwfjh@users.noreply.github.com >
Co-authored-by: zhimeng123 <60221886+zhimeng123@users.noreply.github.com >
Co-authored-by: mxc <mxc@example.com >
Co-authored-by: Dominik Novotný <50611433+SgtMarmite@users.noreply.github.com >
Co-authored-by: EVGENY M <168018528+rjohny55@users.noreply.github.com >
Co-authored-by: mcoder6425 <mcoder64@gmail.com >
Co-authored-by: lemsn <lemsn@msn.com >
Co-authored-by: lemsn <lemsn@126.com >
Co-authored-by: Adrian Gora <47756404+adagora@users.noreply.github.com >
Co-authored-by: Womsxd <45663319+Womsxd@users.noreply.github.com >
Co-authored-by: FatMii <39074672+FatMii@users.noreply.github.com >
2025-10-09 12:36:19 +08:00
ef0aecea3b
Refactor: fix admin exception ( #10400 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-10-09 11:15:33 +08:00
fb950079ef
Feat/service manage ( #10381 )
...
### What problem does this PR solve?
- Admin service support SHOW SERVICE <id>.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
issue: #10241
2025-09-30 16:23:09 +08:00
d6eded1959
Refactor: move exceptions to common folder ( #10383 )
...
### What problem does this PR solve?
as title
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2025-09-30 15:10:04 +08:00
2d5d10ecbf
Feat/admin drop user ( #10342 )
...
### What problem does this PR solve?
- Admin client support drop user.
Issue: #10241
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-09-29 10:16:13 +08:00