261 Commits

Author SHA1 Message Date
oiov
28367890a1 refact: bucket storage limit rules 2025-07-22 16:58:24 +08:00
weiruchenai1
509ad15652 feat: 实现分层存储配额管理和UI优化
🆕 新增功能:
- 添加存储桶容量限制配置功能,支持按存储桶设置最大容量
- 新增存储桶使用情况API端点 (/api/storage/bucket-usage)
- 实现Plan配额和存储桶配额的分层显示

🎨 界面优化:
- 存储使用情况面板支持双层配额显示
- 上传错误提示改为右对齐显示
- Toast通知位置改为右下角
- 为存储桶配置添加帮助提示

🔧 功能改进:
- 优化上传前容量检查逻辑
- 改进错误信息显示,使用中文提示
- 智能显示更严格的配额限制
- 完善国际化支持

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-22 12:47:23 +08:00
weiruchenai1
d25de8d0f7 feat: improve file upload error handling and add Chinese localization 2025-07-21 00:24:44 +08:00
oiov
0a128254d3 chore empty bucket tip 2025-07-17 10:15:23 +08:00
oiov
8aa0609c95 upd file links 2025-07-15 16:18:19 +08:00
oiov
83792c98e9 fixup download file method 2025-07-14 17:38:40 +08:00
oiov
64ad667002 adjust file list style 2025-07-14 16:14:47 +08:00
oiov
f1f9fc1d63 refact s3 configs and support muti s3 providers 2025-07-14 15:14:54 +08:00
oiov
1973132c52 update storage size tooltip to clickable 2025-07-13 16:49:45 +08:00
oiov
5600b85e6d chore 2025-07-13 10:45:59 +08:00
oiov
34f73ca0e5 Support paste file to upload 2025-07-13 10:44:16 +08:00
oiov
9eb296cf51 fixup bucket crash 2025-07-12 20:12:31 +08:00
oiov
0b72ced8d6 refact file size caculate 2025-07-12 16:31:30 +08:00
oiov
01e3b7ddd3 Add clickable tooltip 2025-07-12 11:32:16 +08:00
oiov
1556248883 fix: plan form default value 0 2025-07-11 20:20:25 +08:00
oiov
4433ad57f4 refact: file uploader cpn 2025-07-11 19:59:02 +08:00
oiov
22defdfb62 chore meun styles 2025-07-10 16:42:53 +08:00
oiov
597fa4c2b6 Adjust file list styles 2025-07-10 16:34:12 +08:00
oiov
67ba274377 chore: pagenation show total num 2025-07-10 16:07:44 +08:00
oiov
2aabc9505c style: adjust file list styles 2025-07-10 16:00:51 +08:00
oiov
785bad134e feat: add search input for storage 2025-07-10 15:51:53 +08:00
oiov
e7401640a6 feat: support admin upload files 2025-07-10 11:14:09 +08:00
oiov
d5dd129f7b fix: storage crash 2025-07-09 17:17:08 +08:00
oiov
1277a3132b chore image 2025-07-09 16:26:32 +08:00
oiov
feb0e31eb2 chore: add public filed for bucket 2025-07-09 16:24:06 +08:00
oiov
709a56609e feat: add admin storage manager 2025-07-08 21:22:10 +08:00
oiov
6e6bc22177 chore icon codes 2025-07-08 11:16:27 +08:00
oiov
436a30e9d0 feat: add file upload limit on plan 2025-07-07 21:30:01 +08:00
oiov
92bbb4468a chore: add file links cpm 2025-07-07 19:49:41 +08:00
oiov
d5acf4f34d feat: add qrcode for files 2025-07-07 11:22:11 +08:00
oiov
5e931e50a5 fixup build error 2025-07-06 22:56:48 +08:00
oiov
17b7577a9a fixup build error 2025-07-06 22:51:58 +08:00
oiov
c65d49635b chore storage styles 2025-07-06 22:43:27 +08:00
oiov
a0d7c1071a feats: file list render 2025-07-06 18:56:41 +08:00
oiov
bb957c9ee6 feat: add user-files schema and crud 2025-07-05 21:39:03 +08:00
oiov
f21bb49b49 feat: add file list display 2025-07-04 16:44:05 +08:00
oiov
f90ccca8ba feat: add s3 crud and s3 confgs 2025-07-02 17:25:07 +08:00
oiov
5890b78b5b Add umami env for analytics 2025-07-01 19:16:45 +08:00
oiov
d19a2c161a Update error message on check resend config 2025-06-29 23:36:41 +08:00
oiov
1acf785219 fix(email): get resend key by domain when send email(#37) 2025-06-29 20:32:23 +08:00
oiov
6406579f03 feats: add url status componet 2025-06-29 19:27:27 +08:00
oiov
d0ba3a1686 feats: add error short link page 2025-06-29 17:54:18 +08:00
oiov
c102955cd5 feats(configs): add email push config for subdomain apply 2025-06-29 16:44:18 +08:00
oiov
11e57a2374 feats: add app_name and support_email env 2025-06-27 21:13:24 +08:00
oiov
16ed4932a0 feat: regist email white list 2025-06-27 10:16:53 +08:00
oiov
8aa4602390 feat: support admin create new user account 2025-06-26 16:53:42 +08:00
oiov
c1743c2840 feat(record): add status card 2025-06-24 19:31:34 +08:00
oiov
09a9ebbe22 enhance chinese translate and fix error message 2025-06-21 20:59:02 +08:00
oiov
acc3b33d77 Add tg docs and github page custom domain docs 2025-06-21 20:12:11 +08:00
oiov
8e13fec132 fixup tw css error 2025-06-20 20:36:17 +08:00