Commit Graph

59 Commits

Author SHA1 Message Date
keven1024
cf92a50c82 chore(mail): add .gitkeep file to pkg/mail/out directory for template management 2026-05-24 11:16:25 +08:00
keven1024
848a0ff71b fix(notify): handle URL parsing error in SendEmail function to prevent potential crashes 2026-05-24 11:16:25 +08:00
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
1d86f2bdf6 refactor: update dependencies across multiple modules, including upgrading asynq to v0.26.0, Redis to v9.18.0, and various golang.org/x packages for improved performance and compatibility 2026-04-04 13:50:21 +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
707ade5dd2 chore: add .air.toml configuration files for backend and worker to streamline development and build processes 2026-03-08 12:34:21 +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
60a588c92a chore: add test.webp image and update image conversion tests to include webp format 2026-03-08 12:20:39 +08:00
keven1024
7760697233 chore: update Dockerfile to rename output binary from 'worker' to 'worker-bin' for clarity in build process 2026-03-08 09:22:33 +08:00
keven1024
62443f38a4 chore: update Dockerfile to include imagemagick for enhanced image processing capabilities 2026-03-07 09:40:12 +08:00
keven1024
7772a935d7 fix: go work sync 2026-03-02 00:05:28 +08:00
keven1024
7d204345cc chore: streamline Dockerfile configurations by consolidating module downloads and improving source code organization 2026-03-02 00:04:21 +08:00
keven1024
f9251663a2 chore: refactor Dockerfiles to improve module management and build process by adding workspace support and restructuring source code copying 2026-03-01 23:55:27 +08:00
keven1024
75c269b60e chore: update Go version in Dockerfiles to 1.25.5 for improved compatibility and performance 2026-03-01 23:44: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
123178084a feat(worker): enhance image conversion tests to support multiple formats and improve error handling 2026-02-27 18:30:49 +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
b471972dd4 chore(deps): update dependencies 2026-01-30 14:44:43 +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
keven
218387151f 更新后端和工作器的Dockerfile,升级Go版本至1.24.3,并更新相关依赖项的版本以提高稳定性和安全性 2025-09-23 00:50:25 +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
b013fc36fa fix: update Dockerfile to change output binary names for backend and worker services 2025-06-02 15:48:01 +08:00
keven1024
2f40b9ce78 fix: update Dockerfile to copy all source files for backend and worker services, improving build context 2025-06-02 15:43:37 +08:00
keven1024
a60b19398d fix: remove redundant line in Dockerfile for backend and worker services to streamline Go module setup 2025-06-02 15:29:41 +08:00
keven1024
99150f7015 fix: update Dockerfile to set Go module environment variables for backend and worker services 2025-06-02 15:25:42 +08:00
keven1024
07088b7f2e feat: add Dockerfiles for backend, frontend, and worker services with CI/CD pipeline configuration 2025-06-02 14:48:38 +08:00