Commit Graph

15 Commits

Author SHA1 Message Date
nyne
7bfd33c714 refactor file upload process to use MD5 instead of SHA-1 for hash calculation and update related API and model structures 2025-05-16 16:55:45 +08:00
nyne
5431328515 add SHA-1 hash calculation for file uploads and update related API and model structures 2025-05-16 15:16:01 +08:00
f915dd7fed refactor storage deletion logic to handle nil storage case 2025-05-16 10:25:21 +08:00
ced8b3f689 delete file on upload failure 2025-05-16 10:18:44 +08:00
79df1243e6 fix file upload 2025-05-15 12:40:27 +02:00
04206cf2ae fix file delete 2025-05-15 15:41:28 +08:00
f4e82092eb Use cloudflare turnstile. 2025-05-15 15:01:39 +08:00
4b986ffd86 Add download limit. 2025-05-14 22:06:22 +08:00
5c08ab34ea Add server configuration management. 2025-05-14 21:50:59 +08:00
12c1e0e413 Add statistics. 2025-05-13 18:59:23 +08:00
04d679f3f4 Implement s3 storage.
Use uuid as file id.
2025-05-13 11:57:14 +08:00
9ad96ec24d Uploading file to storage asynchronously. 2025-05-13 09:41:19 +08:00
7be2d10472 File download 2025-05-12 22:44:22 +08:00
d646cf779d Add cancel upload functionality to file API 2025-05-12 11:46:52 +08:00
d97247159f Initial commit 2025-05-11 20:32:14 +08:00