ragflow/api
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
..
apps Improve file management (#10577) 2025-10-16 09:38:25 +08:00
common Fix typos: retrievaler -> retriever (#10372) 2025-10-10 09:17:36 +08:00
db Improve file management (#10577) 2025-10-16 09:38:25 +08:00
utils Refactor admin client for message prompts (#10583) 2025-10-15 16:22:07 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Refa: Implement centralized file name length limit using FILE_NAME_LEN_LIMIT constant (#8318) 2025-06-17 18:01:30 +08:00
ragflow_server.py Refactor: move some functions out of api/utils/__init__.py (#10216) 2025-09-25 18:04:49 +08:00
settings.py Fix typos: retrievaler -> retriever (#10372) 2025-10-10 09:17:36 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
versions.py Fix VERSION 2024-12-07 16:56:34 +08:00