Commit Graph

84 Commits

Author SHA1 Message Date
jerryliang 19e1309642 perf: 复用ClientSession提升文件下载性能 2026-01-16 17:33:22 +08:00
jerryliang c3c1f391f4 fix: 使用标准方法编码下载文件名 2026-01-16 17:18:14 +08:00
jerryliang f692d83ad4 feat: 优化文件下载响应中的Content-Length获取逻辑
为所有存储后端添加文件大小获取逻辑,优先从实际存储系统获取文件大小,失败时回退到数据库记录的大小
2026-01-16 16:53:39 +08:00
jerryliang e6d4b66343 feat: 在所有存储实现中添加Content-Length响应头 2026-01-16 16:44:06 +08:00
jerryliang 1313934289 feat: 为所有存储后端实现流式文件下载
将文件下载方式从全量读取改为流式传输,减少内存占用并提高大文件下载性能
支持S3、OneDrive、OpenDAL和WebDAV存储后端的流式下载
添加错误处理和HTTP异常捕获
2026-01-16 15:45:12 +08:00
Lan 877e952b67 feat: https://github.com/vastsa/FileCodeBox/issues/442 密码进行hash存储 2026-01-07 20:36:59 +08:00
Lan 85074cfec8 fix: https://github.com/vastsa/FileCodeBox/issues/407 2026-01-07 20:04:44 +08:00
Lan 830dd65f6a fix: https://github.com/vastsa/FileCodeBox/issues/362 2026-01-07 19:50:02 +08:00
Lan a487be2412 feat: 支持S3预签名上传 2025-12-31 03:25:09 +08:00
Lan 69cb9ba2e4 revert: 重新使用0.0.0.0 后续新增后台配置,延长后台时间 2025-12-19 10:17:37 +08:00
Lan 53183138b4 feat(config): Add configurable workers and host settings
- Add "workers" configuration option to DEFAULT_CONFIG with default value of 1
- Add "host" configuration option to DEFAULT_CONFIG with default value of "::"
- Update uvicorn.run() to use settings.host and settings.workers instead of hardcoded values
- Reorganize imports in main.py for better readability and consistency
- Add blank line after time import in core/utils.py for PEP 8 compliance
- Allow dynamic configuration of server workers and binding host address
2025-12-18 23:08:40 +08:00
Lan a649f54c5b fix: 自动清理过期的chunk 2025-12-01 15:24:47 +08:00
Lan 3ff4e9b6cf feat: s3适配切片上传 2025-12-01 15:13:33 +08:00
Lan a3f1fd6a4c feat: 利用AI更新文档 2025-12-01 14:10:06 +08:00
Lan 4f10c0800b fix: some error 2025-12-01 11:30:52 +08:00
Do1e a75587894d fix: 下载文件类型不符的问题 #372 2025-08-05 17:25:25 +08:00
Lan 40cb6768b7 fix: #349 2025-05-21 00:14:40 +08:00
Lan 0526299989 fix: 适配webdav在window环境下路径 2025-04-25 22:31:06 +08:00
Lan ee64e67601 feat: 适配alist webdav 2025-04-19 17:58:58 +08:00
Lan b53b9f5891 wip: 切片上传、文件秒传、断点续传陆续适配中当前进度(本地存储已适配) 2025-02-23 20:49:51 +08:00
Lan 549a98552e fix: Fix abnormal Chinese names in downloaded files in the background #200 2025-02-16 23:37:53 +08:00
Lan d736a7b03a feat:New database migration, new adaptation root path configuration 2025-02-16 21:38:44 +08:00
Lan 10d136b0c5 style: code format 2025-02-15 22:00:53 +08:00
Lan 7b0ea804cf fix: 密码修改失败问题 2025-02-10 19:12:04 +08:00
Lan 98721b7587 feat: 2023主题适配新登录模式 2025-02-09 23:33:43 +08:00
Lan 8d04385593 feat: 更新管理员登录为简易版jwt 2025-02-09 22:57:21 +08:00
Lan aaebda2ed0 feat: 更新readme 2025-02-09 21:08:18 +08:00
Lan 9b8698f064 fix: 修复webdav空文件夹未删除 2025-02-09 20:52:14 +08:00
Lan 1cbe8d5f2a feat: 新增webdav存储 2025-02-09 20:25:23 +08:00
Lan 1c7e010dbb feat: 新增存储路径自定义,修复s3存储未删除文件#246 2025-02-08 22:41:32 +08:00
Lan f54dadfcba feat: 新增主题选择 2024-11-28 20:13:02 +08:00
Lan 2ca874e0e0 refact: some codes 2024-10-06 17:14:16 +08:00
Lan 5ba025b21d feat:#183 2024-09-24 23:09:13 +08:00
Jialin0502 1d84766ef3 优化了部分文案 2024-07-28 22:19:45 +08:00
lan a28b49e6cd fix: issue #186 2024-07-28 19:03:37 +08:00
lan 4b55d9a595 feat: 新增后台控制前台是否显示admin、新增robots.txt 2024-07-07 15:54:01 +08:00
lan 9b3939d158 update:存储改成单例模式,修复读取问题 2024-06-18 23:04:52 +08:00
lan a7616d1ae9 feat:新增网站通知,右上角显示,只显示一次同一个内容 2024-06-15 20:52:01 +08:00
lan 7323e8562f feat:后台新增最长保存时间单位秒,默认为0则最长7天 2024-06-15 20:19:05 +08:00
lan f28377622e feat: 重写settings,放弃env存储,改到数据库 2024-06-15 20:05:06 +08:00
lan 76038dba68 feat: 新增后台选择过期方式 2024-06-15 20:04:48 +08:00
lan f60ecef6a1 feat: 上传前判断大小、新文件插入第一位 2024-06-15 17:27:28 +08:00
lan f79be8a111 fix: 修复文本取件问题 2024-05-06 13:02:00 +08:00
buyfakett b0817517b6 后端移动文件夹,前端在docker中编译,进一步减小镜像大小 2024-05-02 00:29:33 +08:00
lan 58f313af1b fix: 支持自定义s3协议region name和signature version,解决cloudflare r2文件取回问题 2024-04-29 22:11:56 +08:00
lan 4a63e7d354 fix: 基础目录设置 2024-01-18 18:31:11 +08:00
Tslmuun 317ebe0862 添加S3 hostname选项
方便从S3 cdn域名下载文件。
2023-12-30 18:19:15 +08:00
lan 1e24f6cea4 add:1panel install 2023-12-13 22:50:16 +08:00
lan bb00ffb582 update:images 2023-12-06 08:37:33 +08:00
Do1e 83a6f365cb fix: #94 add s3_proxy and onedrive_proxy config 2023-11-28 19:09:54 +08:00