Commit Graph

27 Commits

Author SHA1 Message Date
keven1024
bbee8d95bc feat(backend): improve pickup code generation with retry logic for Redis storage 2025-05-28 10:36:55 +08:00
keven1024
fd5a768041 feat(backend): add pickup code generation and retrieval functionality for file sharing 2025-05-27 20:38:05 +08:00
keven1024
ad1cbe6a39 feat(backend): add image compression endpoints for generating and retrieving compressed images 2025-05-26 21:59:07 +08:00
keven1024
026957370c feat(backend): add upload task expiration and enqueue file removal task with Redis integration 2025-05-25 23:44:42 +08:00
keven1024
c355c8f500 feat(backend): implement Redis file share relational management for enhanced file sharing functionality 2025-05-25 23:41:37 +08:00
keven1024
4b4773e336 refactor(backend): move GetUploadDirPath function to utils for better modularity 2025-05-24 21:39:04 +08:00
keven1024
f53db5adbe fix(backend): enhance share info validation to check for minimum view count 2025-05-16 08:44:45 +08:00
keven1024
26b5bfb914 fix(backend): add validation for download count in VaildateShare to prevent insufficient downloads 2025-05-16 08:44:33 +08:00
keven1024
f48b128b65 fix(backend): adjust view count decrement logic in VaildateShare to prevent multiple decrements during concurrent downloads 2025-05-15 23:19:00 +08:00
keven1024
e2b61825f7 fix(backend): update DownloadShare to decrement view count in Redis before returning file 2025-05-15 19:56:48 +08:00
keven1024
038487b482 refactor(backend): rename file_name to name in GetShareInfo response for consistency 2025-05-15 11:13:01 +08:00
keven1024
d5d4c64bf2 refactor(backend): remove unused config route and associated controller 2025-05-14 17:53:03 +08:00
keven1024
3ed3353a7b feat(backend): add JWT-based download token generation and validation for shared files 2025-05-13 22:02:40 +08:00
keven1024
fe4a00aa09 feat(backend): implement download endpoint for shared files with password protection 2025-05-11 23:48:42 +08:00
keven1024
1b2f6a49e2 feat(backend): add configuration and sharing endpoints, implement environment variable loading 2025-05-11 11:08:54 +08:00
keven1024
79a54d3510 refactor(backend): adjust expiration time validation and improve Redis share info storage logic 2025-05-06 00:04:40 +08:00
keven1024
9b2057e6ed refactor(backend): update ShareConfig to use integer for expire_time and improve error handling in CreateShareInfo 2025-05-05 23:38:10 +08:00
keven1024
216f4f4c38 feat(backend): implement sharing functionality with CreateShareInfo and GetShareInfo endpoints for file and text sharing 2025-05-04 23:55:37 +08:00
keven1024
0a9b4dc20c fix(backend): update error messages in file upload functions for clearer parameter validation feedback 2025-05-02 19:45:54 +08:00
keven1024
7ea196f03e feat(backend): add chunk size handling in file upload process and enhance file info model 2025-05-01 13:53:30 +08:00
keven1024
b315a03c05 feat(backend): enhance FinishUploadTask response to include file metadata such as size, mime type, hash, and type 2025-04-30 15:10:50 +08:00
keven1024
f2c115b09c refactor(backend): update file info handling to use pointers and enhance upload task validation with expiration checks 2025-04-30 15:08:26 +08:00
keven1024
9f863819d8 refactor(backend): enhance file upload logic by merging file slices and improving Redis file info handling 2025-04-30 12:29:06 +08:00
keven1024
94e634619f refactor(backend): remove redundant MD5 hash calculation from UploadFileSlice and streamline file upload logic 2025-04-28 20:46:53 +08:00
keven1024
54a0179ef1 refactor(backend): reorganize file handling logic by introducing services package for file operations and updating controller references 2025-04-28 20:28:23 +08:00
keven1024
ea998b7d34 refactor(backend): update file info retrieval to use models package and improve file slice creation logic 2025-04-28 20:17:53 +08:00
keven1024
e32388f70a feat(backend): add file upload controller with task creation, slice upload, and completion handling 2025-04-28 20:13:35 +08:00