Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
b4f577e758 feat(backend): implement statistics tracking for file uploads, shares, and downloads 2025-10-19 16:34:17 +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
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
4b4773e336 refactor(backend): move GetUploadDirPath function to utils for better modularity 2025-05-24 21:39:04 +08:00
keven1024
26b5bfb914 fix(backend): add validation for download count in VaildateShare to prevent insufficient downloads 2025-05-16 08:44:33 +08:00
keven1024
f48b128b65 fix(backend): adjust view count decrement logic in VaildateShare to prevent multiple decrements during concurrent downloads 2025-05-15 23:19:00 +08:00
keven1024
e2b61825f7 fix(backend): update DownloadShare to decrement view count in Redis before returning file 2025-05-15 19:56:48 +08:00
keven1024
3ed3353a7b feat(backend): add JWT-based download token generation and validation for shared files 2025-05-13 22:02:40 +08:00
keven1024
fe4a00aa09 feat(backend): implement download endpoint for shared files with password protection 2025-05-11 23:48:42 +08:00