Commit Graph

16 Commits

Author SHA1 Message Date
keven1024
ceb2d026d2 fix(worker): ensure temporary files are removed on error during image compression and conversion 2026-02-27 18:47:16 +08:00
keven1024
4a8932f921 feat(worker): introduce ErrFileNotFound for consistent error handling and update GenStandardFile to use it 2026-02-27 16:39:25 +08:00
keven1024
59cd23daf7 feat(worker): add image conversion endpoint and update file utility references in tasks 2026-02-27 14:38:31 +08:00
keven1024
7ca301e54d chore(worker): update go.mod and go.sum to include new indirect dependencies and replace error handling in image conversion 2026-02-27 14:33:43 +08:00
keven1024
bde4e36e47 feat(worker): add image conversion functionality and support for WEBP format in image compression 2026-02-27 14:32:42 +08:00
keven1024
ed7ac4e657 feat(utils): add file utility functions for MD5 hashing, file ID generation, and upload directory management 2026-02-27 12:08:13 +08:00
keven1024
22637bcf6e feat(worker): add image conversion functionality with Magick and support for additional formats 2026-02-27 11:23:48 +08:00
keven1024
155c697e53 feat(services): implement image compression functionality for PNG and JPEG formats with corresponding unit tests 2026-02-25 12:04:22 +08:00
keven1024
d5fc54de31 refactor(worker): streamline utility functions by removing unused files, update Redis client and environment variable handling, and enhance task logging for better clarity 2025-12-14 16:25:58 +08:00
keven1024
313ce4455f chore: update Go modules to version 1.25.5, restructure models into pkg/models, and remove unused model files for improved organization and dependency management 2025-12-14 16:12:17 +08:00
keven1024
8cd9f278ba feat(backend): add JPEG compression support and new image processing functions 2025-06-02 12:45:57 +08:00
keven1024
657751a7d7 feat(worker): add file creation timestamp and file type in GenStandardFile function; implement new image processing functions 2025-06-01 17:58:48 +08:00
keven1024
a75915b131 feat(backend): update GenStandardFile function to return structured file information and enhance image compression task handling 2025-05-26 00:14:52 +08:00
keven1024
c5ee629053 feat(backend): add file and share removal tasks with Redis integration for better file management 2025-05-25 23:41:02 +08:00
keven1024
c32cffeb83 feat(backend): implement image compression functionality and enhance Redis integration with new utility functions 2025-05-25 15:31:38 +08:00
keven1024
daa16e9445 feat(backend): initialize worker module with Asynq server and image compression task 2025-05-23 14:33:23 +08:00