188 Commits

Author SHA1 Message Date
oiov
28367890a1 refact: bucket storage limit rules 2025-07-22 16:58:24 +08:00
oiov
4afa235a17 Merge branch 'dev' of https://github.com/oiov/wr.do into dev 2025-07-22 14:26:31 +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
oiov
457e161281 chore error status code and custom provider name 2025-07-21 10:47:37 +08:00
weiruchenai1
d25de8d0f7 feat: improve file upload error handling and add Chinese localization 2025-07-21 00:24:44 +08:00
oiov
877e826d23 feat(s3): add custom provider section 2025-07-20 19:53:38 +08:00
oiov
0a128254d3 chore empty bucket tip 2025-07-17 10:15:23 +08:00
oiov
f1f9fc1d63 refact s3 configs and support muti s3 providers 2025-07-14 15:14:54 +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
8c502bd6ac chore 2025-07-11 20:29:27 +08:00
oiov
4433ad57f4 refact: file uploader cpn 2025-07-11 19:59:02 +08:00
oiov
785bad134e feat: add search input for storage 2025-07-10 15:51:53 +08:00
oiov
d5dd129f7b fix: storage crash 2025-07-09 17:17:08 +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
639cae5821 docs: add storage feature 2025-07-07 21:43:08 +08:00
oiov
436a30e9d0 feat: add file upload limit on plan 2025-07-07 21:30:01 +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
dc06fa446e refact sitmap generation 2025-07-06 11:24:07 +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
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
51e3403b1d feat(admin): add delete user method 2025-06-29 16:17:08 +08:00
oiov
75dc7f478c chore: add allowed keys for config api 2025-06-28 11:06:08 +08:00
oiov
9184a1740e fix: remove auth check for config api 2025-06-27 21:31:57 +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
dcb8479017 feat(domain): add duplicate feature 2025-06-23 10:54:12 +08:00
oiov
cdee24b5c9 chore reserve domain rule 2025-06-23 10:07:54 +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
cd767f1aa0 debug whitelist email config 2025-06-21 17:31:41 +08:00
oiov
fc9deeb715 chore: remove md escaper 2025-06-21 17:19:53 +08:00
oiov
4b770ad07c feats(email): add telegram pusher 2025-06-21 16:52:19 +08:00
oiov
367da79ed9 feats: support catch-all for email 2025-06-20 16:49:37 +08:00
oiov
ae97fe895e feats(domain): configurable limit configs 2025-06-19 21:15:35 +08:00
oiov
13171986af feats: send email to user after apply record 2025-06-19 19:10:49 +08:00
oiov
4573373544 feat: enhance user form password 2025-06-18 11:08:58 +08:00
oiov
858b02fa0c fix(record): reject error 2025-06-18 10:48:35 +08:00
oiov
f4a3386c7d refact(auth): change pwd encrypt method 2025-06-17 20:38:20 +08:00
oiov
a7a7d2a878 fixup update user error 2025-06-17 19:51:08 +08:00