ragflow/api
Stephen Hu 382d2d0373
Refactor:Improve insert file logic (#8445)
### What problem does this PR solve?

before refactor
1. create file record
2. Add to blob

if have some execption at 2 the system db will have a file record but
not have related blob, which will introduce some bug.

after refactor
1. add to blob
2. create file record.

if 1 success but 2 failed just have a dirty blob in blob system, user
will not feel that



### Type of change


- [x] Refactoring
2025-06-24 13:17:22 +08:00
..
apps Refactor:Improve insert file logic (#8445) 2025-06-24 13:17:22 +08:00
db Feat: Scratch MCP tool calling support. (#8263) 2025-06-23 17:45:35 +08:00
utils Fix: Document parse via API will alot problen (#8407) 2025-06-23 13:08:11 +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 Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
settings.py Fix: Authentication Bypass via predictable JWT secret and empty token validation (#7998) 2025-06-05 12:10:24 +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