Commit Graph

101 Commits

Author SHA1 Message Date
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
keven1024
f4740f4373 fix: improve max storage size handling in CreateUploadTask by using GetFileSize for better error management 2025-06-22 00:48:53 +08:00
keven1024
9b1b89056d chore(backend): update version and build_time in GetStat function to use environment variables for better tracking 2025-06-21 15:51:01 +08:00
keven
d77fc85fd3 feat: 在文件上传任务中添加存储空间检查,确保不超过最大本地存储限制 2025-06-12 23:50:24 +08:00
keven
c971e92905 chore: 移除不再使用的依赖项,包括 go-socket.io 和其他间接依赖,以优化项目的依赖管理 2025-06-12 22:48:06 +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
keven1024
4b8654e6ed refactor(backend): remove state from GetCompressImage response for cleaner error handling 2025-06-02 12:21:18 +08:00
keven1024
7b2462de29 feat(backend): enhance image compression task handling with retry logic and detailed status reporting 2025-06-02 11:52:25 +08:00
keven1024
baf9fa9e6d feat(backend): enhance GetStat function to include admin URL in response for improved admin access 2025-06-02 01:18:22 +08:00
keven1024
1224d5e72e refactor(backend): update GetStat function to utilize new Redis file info retrieval and enhance file statistics charting 2025-06-01 23:32:36 +08:00
keven1024
52da9960b8 chore(backend): replace go-units with go-humanize for improved file size handling 2025-06-01 21:48:36 +08:00