Commit Graph

26 Commits

Author SHA1 Message Date
b568b234c4 Move request limiter to middleware. 2025-07-09 17:00:39 +08:00
5e6d202acd Improve statistic 2025-05-30 12:04:54 +08:00
2daa30d480 Fix downloading file. 2025-05-26 22:14:38 +08:00
6a1bcad651 Implement file download function with retry logic and cleanup for existing files 2025-05-26 22:01:51 +08:00
e6fb0ceda3 Remove timeout setting from HTTP client in file upload process 2025-05-26 21:11:25 +08:00
f3eb79b3fa Remove file deletion logic for rejected uploads 2025-05-26 21:00:06 +08:00
b61027defd Reorder file creation logic to ensure size limit check occurs before database insertion 2025-05-26 20:57:10 +08:00
710c83a16e Reject file uploads exceeding maximum size limit and delete rejected files 2025-05-26 20:56:45 +08:00
7e612b3dd4 Add server download task creation and related UI components 2025-05-26 20:51:02 +08:00
764ec5f38c Add temporary token generation for secure file downloads 2025-05-26 19:36:37 +08:00
nyne
271cde9e1e Calculate md5 checksum when finishing uploading. 2025-05-16 18:16:19 +08:00
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