Commit Graph

375 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
123178084a feat(worker): enhance image conversion tests to support multiple formats and improve error handling 2026-02-27 18:30:49 +08:00
keven1024
183297bd2c feat(front): add support for image conversion in Preprocessing and Result components 2026-02-27 17:56:43 +08:00
keven1024
55900224ae refactor(front): improve layout of ImageCompressResult component for better file display 2026-02-27 17:56:19 +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
e14eed73c4 refactor(front): update download and view options to use array syntax for translation labels 2026-02-27 16:53:00 +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
60831c779e feat: add backend and worker test scripts to package.json and create a combined test command 2026-02-27 16:24:21 +08:00
keven1024
7663e8eb0a fix(backend): improve error handling in controllers and services by checking errors from Redis operations and adding error comments for deferred function calls 2026-02-27 15:42:02 +08:00
keven1024
fe6c832275 refactor(backend): replace error handling with predefined error variables for consistency across download and upload tasks 2026-02-27 15:10:59 +08:00
keven1024
f1dec39851 feat(backend): add image conversion handler and refactor image compression logic into a new file 2026-02-27 14:59:09 +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
6d7dc6bc40 chore: add config.yaml to .gitignore to prevent tracking of configuration files 2026-02-27 14:33:02 +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
3d8d1ccd3f fix(front): conditionally render title in BaseCard component to prevent display issues when title is not provided 2026-02-26 18:57:55 +08:00
keven1024
ae7db9de02 feat(front): implement internationalization for image compression results with dynamic text updates in ImageCompressResult component 2026-02-26 18:29:21 +08:00
keven1024
6304dffa39 feat(front): add showBackButton prop to BaseCard component and update usages in FileShareResult and TextShareResult for improved navigation 2026-02-26 18:23:24 +08:00
keven1024
2ea2d89f44 refactor(front): replace div elements with BaseCard component for consistent styling across various views 2026-02-26 18:11:35 +08:00
keven1024
b98853ebe1 chore(deps): upgrade echo framework from v4 to v5 and remove custom context middleware 2026-02-26 16:09:47 +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
301dcaf8b6 chore(front): comment out BubbleMenuView in Tiptap component for future adjustments 2026-02-25 12:03:15 +08:00
keven1024
8f3bafcbfb fix(front): ensure chunks default to an empty array in FileUploadProgressView for improved upload handling 2026-02-25 12:02:53 +08:00
keven1024
b471972dd4 chore(deps): update dependencies 2026-01-30 14:44:43 +08:00
keven1024
8c4c7b0471 feat(front): add axios for API requests and enhance FileUploadProgressView with speed tracking and UI improvements 2026-01-10 14:34:01 +08:00
keven1024
9679a42be2 feat(front): refactor FileUploadProgressView components to improve upload management and user experience with detailed progress tracking and new UI elements 2026-01-10 11:50:00 +08:00
keven1024
e43d27958d feat(utils): enhance InitEnv function to support multiple config types and add unit tests for environment initialization 2025-12-27 11:18:45 +08:00
keven1024
31c0736562 feat(backend): add password hashing error handling and implement HTTP utility tests 2025-12-27 11:04:21 +08:00
keven1024
185f7a3503 fix(backend): improve error handling in GetFileSliceList function to ignore non-existent directory errors 2025-12-21 21:17:36 +08:00
keven1024
90607aad7c feat(front): enhance FileUploadProgressView component to include chunk tracking for improved upload management 2025-12-21 17:52:23 +08:00
keven1024
e250202deb refactor(backend): enhance file upload handling by improving error management and restructuring CreateFileSlice and MergeFileSlices functions for better clarity 2025-12-21 17:21:19 +08:00
keven1024
e8653a8e8b refactor(backend): update UploadFileSlice and CreateFileSlice functions to include upload path handling for improved file management 2025-12-21 16:19:57 +08:00
keven1024
b4a4be09fa feat(front): add localization for upload speed calculation in FileUploadSpeedInfoView component to enhance user understanding 2025-12-20 10:39:57 +08:00
keven1024
bfe9a8f3d6 feat(front): enhance FileUploadProgressView component with new localization keys for improved user feedback and clarity during file upload processes 2025-12-20 10:11:13 +08:00
keven1024
a71cc5e919 chore(lint): enable skip-cache option for golangci-lint in Gitea workflow to improve linting performance 2025-12-20 09:43:53 +08:00
keven1024
18a626fd04 chore(lint): update actions and Node.js version in Gitea workflow for improved compatibility and performance 2025-12-20 09:38:27 +08:00
keven1024
ca33fcc332 refactor(front): update localization keys across components to improve consistency and maintainability 2025-12-20 09:22:58 +08:00
keven1024
85c6b4582f refactor(front): update download and view options in FileShareHandle and TextShareHandle components to use new localization keys for improved flexibility 2025-12-20 09:05:59 +08:00
keven1024
9eaf06e7a8 fix(front): add conditional rendering for file sizes in ImageCompressResult component to handle zero values and improve user experience 2025-12-20 08:53:25 +08:00
keven1024
0c980e8b6c chore(lint): rename lint action step for clarity and consistency in Gitea workflow 2025-12-20 08:42:05 +08:00
keven1024
831d9b2660 refactor(front): optimize ImageCompressResult component for better file handling and task status display 2025-12-18 23:08:16 +08:00
keven1024
dd3ced5b03 refactor(front): enhance ImageCompressResult component to support multiple file uploads and improve task management with useQueries 2025-12-17 08:26:23 +08:00
keven1024
d7d2a5c00b refactor(front): update component props and types for FileShareResult and TextShareResult, and introduce a new types file for better type management 2025-12-17 08:11:02 +08:00
keven1024
a82c894119 feat(backend): implement task management endpoints for image compression and task retrieval 2025-12-16 22:19:43 +08:00
keven1024
d4b0368ae2 chore(lint): upgrade golangci-lint-action from v6 to v9 in Gitea workflow for improved linting capabilities 2025-12-14 20:23:46 +08:00