Commit Graph

39 Commits

Author SHA1 Message Date
keven1024
2f3acc76cd feat(config): add site_enable_bg property to configuration for background image control 2026-05-24 11:16:25 +08:00
keven1024
8758325da3 feat(redis): initialize Redis client and update context handling in Redis operations 2026-05-24 11:15:44 +08:00
keven1024
9a9418c564 feat(worker): integrate GeoIP functionality into email notifications and enhance email template with region information 2026-05-24 11:15:44 +08:00
keven1024
95ef5d261b feat(worker): refactor SendEmail function to use structured EmailTemplateData and improve SMTP configuration handling 2026-05-24 11:15:43 +08:00
keven1024
4c6a18c063 feat(notifications): implement webhook and email notification services for share events, enhancing user communication capabilities 2026-05-24 11:15:43 +08:00
keven1024
907f77aa66 refactor(backend): update file hash calculation from MD5 to SHA1 and rename related error handling 2026-05-24 11:15:42 +08:00
keven1024
3f5f8b3c97 feat(worker): implement multi-provider text translation service with Google, Microsoft, and custom LLM support 2026-05-24 11:15:42 +08:00
keven1024
f8b5b82179 feat(backend): add text translation functionality with new task payload structure 2026-05-24 11:15:42 +08:00
keven1024
499b931c04 refactor(backend): streamline Redis operations in file and share handling by utilizing handler functions for improved data management 2026-05-24 11:15:42 +08:00
keven1024
1298bf79d3 refactor(backend): enhance DownloadShare functionality with context management and improve Redis share info handling 2026-05-24 11:15:42 +08:00
keven1024
c25b41e20e fix(worker): lint err 2026-04-05 11:28:22 +08:00
keven1024
af9a5b45d2 refactor: update Redis operations to use rueidis client for improved performance across multiple models 2026-04-04 12:45:08 +08:00
keven1024
b4570c5961 fix: update image conversion logic to handle JPG format by flattening transparent PNGs to a white background 2026-03-08 12:21:02 +08:00
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
a64fa95608 feat(worker): add ImageConvertResult component and enhance image processing with WebP support 2026-02-27 17:41:23 +08:00
keven1024
70fc2be02f feat(worker): enhance GenStandardFile to set file expiration and store expiration info in Redis 2026-02-27 17:06:44 +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
e5b5def6f0 refactor: migrate file utility functions to services package and update references in controllers; remove deprecated utils file 2026-02-27 12:18:18 +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
e9d0848f87 refactor(worker): replace direct command execution with utility function for image compression and update test output for accuracy 2026-02-25 15:35:28 +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
keven
84c104be90 feat(backend, worker): add config watching and simplify error handling in InitEnv function 2025-10-19 15:23:42 +08:00
keven
1ed154913d refactor(backend,worker): update environment variable key for upload path to enhance consistency across modules 2025-10-19 00:10:09 +08:00
keven
b80cb0c2d8 refactor(backend,worker): update environment variable keys for consistency and improve configuration handling across backend and worker modules 2025-10-18 23:54:11 +08:00
keven1024
304aa45b52 fix: improve error handling in InitEnv function to only panic for non-config file not found errors 2025-06-03 11:04:02 +08:00
keven1024
4bcab3ba5b feat(backend): add CopyFile function for file duplication utility 2025-06-02 12:46:13 +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
6ed90e9ac9 feat(backend): implement Redis file and task management with logging support 2025-05-25 15:13:46 +08:00
keven1024
daa16e9445 feat(backend): initialize worker module with Asynq server and image compression task 2025-05-23 14:33:23 +08:00