120 Commits

Author SHA1 Message Date
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
3b7e687a9e refactor(backend): move RedisShareInfo struct to a new file and update its definition for improved clarity and organization 2025-05-02 20:47:54 +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
55a1db8265 refactor(backend): update upload directory name from 'upload' to 'uploads' for consistency 2025-05-01 15:07:18 +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
1dc349ef31 feat(backend): implement HTTP response utility functions for standardized error and success handling 2025-04-30 13:55:04 +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
cd81cead2a feat(backend): add GetFileMd5 function for calculating MD5 hash of files to enhance file integrity verification 2025-04-28 20:40:59 +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
keven1024
65f67f98f8 refactor(backend): streamline file upload process by moving file slice creation logic to service layer and improving error messages 2025-04-27 23:49:45 +08:00
keven1024
b0b476456c feat(backend): implement file upload functionality with task creation, slice upload, and completion handling 2025-04-27 23:38:43 +08:00
keven1024
26cd59b2e0 feat(backend): implement custom middleware for session management and context handling 2025-04-27 10:14:18 +08:00
keven1024
7420b3e2a7 chore(backend): update go.mod and go.sum to upgrade dependencies and add new indirect dependencies for improved functionality 2025-04-26 22:39:11 +08:00
keven1024
6dea3f76e6 chore(backend): update go.mod and go.sum to include new indirect dependencies for improved functionality 2025-04-22 10:19:15 +08:00
keven1024
c2927f670c feat(backend): init 2024-09-30 23:03:22 +08:00