ragflow/api/db
Yongteng Lei 86b254d214
Improve file management (#10577)
### What problem does this PR solve?

Improve file management. #10287.

Passed tests:

1. Create folder `A` and `B`.
2. Upload a file inside `A`, called `file`.
3. Create a KB, called `K`.
3. Link `file` to `K`.
4. Parse `file` inside of `K`. (OK)
5. Move `file` from `A` to `B`.
6. Parse `file` inside of `K`. (OK)
7. Move `file` from `B` to `A`.
8. Parse `file` inside of `K`. (OK)
9. Move entire folder `A` into `B`. (B -> A -> file)
10. Parse `file` inside of `K`. (OK)
11. Delete folder `B`.
12. All clear. (There is no document inside of `K`)

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-16 09:38:25 +08:00
..
joint_services Feat/admin drop user (#10342) 2025-09-29 10:16:13 +08:00
services Improve file management (#10577) 2025-10-16 09:38:25 +08:00
__init__.py Feat: Use data pipeline to visualize the parsing configuration of the knowledge base (#10423) 2025-10-09 12:36:19 +08:00
db_models.py Fix #10408 (#10471) 2025-10-10 19:18:24 +08:00
db_utils.py Introduced beartype (#3460) 2024-11-18 17:38:17 +08:00
init_data.py Refactor: migrate the function to specific file (#10201) 2025-09-25 23:37:50 +08:00
reload_config_base.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
runtime_config.py Update version display on web UI (#3405) 2024-11-14 17:51:21 +08:00