Commit Graph

116 Commits

Author SHA1 Message Date
keven1024
958ca799da refactor(http): simplify HTTPBaseResponse options by removing interface and using functional options directly 2026-05-24 11:15:44 +08:00
keven1024
52d041b4c2 feat(notifications): include client IP in notification payload for share events to improve tracking and context 2026-05-24 11:15:43 +08:00
keven1024
6934bba7a1 feat(backend): enhance share creation with notification settings and webhook support 2026-05-24 11:15:43 +08:00
keven1024
706464ce3c feat(backend): add default enabled features for file and text sharing in configuration 2026-05-24 11:15:43 +08:00
keven1024
87d337c2a1 chore(deps): update go.work.sum and pnpm-lock.yaml to include new dependencies and remove obsolete ones 2026-05-24 11:15:42 +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
d0021f9468 feat(backend): refactor GetConfig to extract enabled feature keys and include text-translate provider configuration 2026-05-24 11:15:42 +08:00
keven1024
6a7e8f85ac feat(backend): add text translation handler and update task mapping for new translation functionality 2026-05-24 11:15:42 +08:00
keven1024
a1808a64cc fix(backend): improve error handling in DownloadShare by consolidating token validation and share info retrieval 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
17fa39b830 refactor(backend): update SetRedisFileInfo to use handler functions for better data manipulation and simplify file merging process with io.CopyBuffer 2026-05-24 11:15:42 +08:00
keven1024
d3e7760aea fix(backend): handle missing share information in DownloadShare and refactor SetRedisShareInfo to use a function for updating view count 2026-05-24 11:15:41 +08:00
keven1024
79887d6c6c chore(backend): update dependencies in go.mod and go.sum for compatibility and performance improvements 2026-04-06 09:29:51 +08:00
keven1024
f1f10de051 chore(backend): downgrade dependencies in go.mod and go.sum for compatibility and stability 2026-04-06 09:28:33 +08:00
keven1024
28abd8d1a2 feat: implement feature-based action handling in file and text share drawers, enhancing user interaction with dynamic feature support 2026-04-04 23:07:43 +08:00
keven1024
c50bb5d0bf refactor: update environment variable handling to use GetEnvMap for improved type safety and add feature extraction functionality 2026-04-04 21:42:25 +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
52cc89a73d refactor: implement session management using Gorilla sessions and streamline session retrieval in middleware 2026-04-04 13:47:12 +08:00
keven1024
560387d8f1 refactor: streamline Redis stat updates by using a handler function to modify stat data directly 2026-04-04 11:01:50 +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
7772a935d7 fix: go work sync 2026-03-02 00:05:28 +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
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
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
b98853ebe1 chore(deps): upgrade echo framework from v4 to v5 and remove custom context middleware 2026-02-26 16:09:47 +08:00
keven1024
b471972dd4 chore(deps): update dependencies 2026-01-30 14:44:43 +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
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
a82c894119 feat(backend): implement task management endpoints for image compression and task retrieval 2025-12-16 22:19:43 +08:00
keven1024
18a74b6545 refactor(backend): restructure main application by separating middleware and route definitions into dedicated files, update environment variable handling, and improve code organization for better maintainability 2025-12-14 16:25:00 +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
028d0c10fe refactor(backend): update statistics handling in GetStat function to include shares and downloads, and rename related data structures 2025-10-19 16:47:51 +08:00
keven
b4f577e758 feat(backend): implement statistics tracking for file uploads, shares, and downloads 2025-10-19 16:34: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
c931d10485 fix(backend): skip processing of queue items with zero processed and failed counts in GetStat function 2025-10-19 14:43:12 +08:00
keven
dd05510d27 feat(backend): implement About and Config endpoints, enhance GetStat with queue data and file size metrics 2025-10-19 14:39:46 +08:00
keven
e6cc1b0229 feat(backend): add About and Config controllers for dynamic environment variable retrieval 2025-10-19 10:19:28 +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
12efc10e0e refactor(backend): standardize environment variable names for download and password handling, enhancing consistency and clarity 2025-10-19 00:05:56 +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
0a9d414751 refactor(backend): optimize file upload chunk size calculation and improve MD5 hash verification process 2025-09-22 14:15:10 +08:00
keven1024
4d0a6f0a49 test(backend): add unit tests for HTTP result handlers and password hashing functionality 2025-08-14 14:40:03 +08:00
keven1024
943a5a76d2 feat(backend): enhance password handling in share and download controllers for improved security and error management 2025-07-07 15:30:37 +08:00
keven1024
464dba2546 feat: add password hashing utility using argon2 for secure password storage 2025-07-07 12:24:59 +08:00