Commit Graph

139 Commits

Author SHA1 Message Date
keven1024
6ed90e9ac9 feat(backend): implement Redis file and task management with logging support 2025-05-25 15:13:46 +08:00
keven1024
4b4773e336 refactor(backend): move GetUploadDirPath function to utils for better modularity 2025-05-24 21:39:04 +08:00
keven1024
7b263b7b76 feat(backend): add logging middleware and image compression endpoints, enhance environment variable handling 2025-05-24 15:35:57 +08:00
keven1024
9d8de69f9f refactor(backend): improve Redis connection handling in async queue utilities by introducing RedisURI2AsynqOpt function 2025-05-23 20:29:01 +08:00
keven1024
622f04a1e0 refactor(backend): enhance HTTPBaseResponse handling by introducing option pattern for better flexibility 2025-05-23 19:49:24 +08:00
keven1024
fc337b07c2 feat(backend): add Asynq queue client and inspector utilities for background processing 2025-05-23 19:48:56 +08:00
keven1024
daa16e9445 feat(backend): initialize worker module with Asynq server and image compression task 2025-05-23 14:33:23 +08:00
keven1024
05832d2f16 feat(backend): add GetEnvWithDefault function to retrieve environment variables with default value support 2025-05-22 20:04:23 +08:00
keven1024
70f13f9808 feat(front): integrate PickupShareBtn into TextUploadInputTextView for enhanced sharing functionality 2025-05-22 14:42:01 +08:00
keven1024
e5d21d618e feat(front): add PickupShareBtn and PickupShareDrawer components for pickup code input and sharing functionality 2025-05-22 14:40:42 +08:00
keven1024
169b8cda58 fix(package): update postinstall script to use husky init for better setup 2025-05-22 11:37:53 +08:00
keven1024
763e3ac3c1 refactor(front): update import paths to use alias for better readability and maintainability 2025-05-22 11:32:38 +08:00
keven1024
b80a013725 feat(backend): add rate limiting middleware to control upload and download request rates 2025-05-21 23:42:23 +08:00
keven1024
1f7c6a2b4a refactor(backend): simplify HTTPBaseResponse structure by removing pointer types for code, message, and data 2025-05-20 19:51:36 +08:00
keven1024
d194fa1a20 fix(front): correct download and view limit values in FileShareHandle and TextShareHandle components 2025-05-20 11:47:20 +08:00
keven1024
bd0e2a3b5a refactor(front): simplify component rendering in index.vue by using dynamic component approach 2025-05-20 11:40:29 +08:00
keven1024
c63cec5d2b feat(front): integrate markdown-it for rendering markdown content in MarkdownRender component 2025-05-20 11:38:58 +08:00
keven1024
daf5a036e1 feat(front): add MarkdownPaste extension for enhanced paste functionality in Tiptap editor 2025-05-20 11:14:16 +08:00
keven1024
5dd3458d66 feat(front): add TextShareView component for displaying file share information and preview functionality 2025-05-20 11:02:17 +08:00
keven1024
da62a4bbce feat(front): enhance [id].vue to support dynamic component rendering and improve error handling in file sharing 2025-05-20 10:39:30 +08:00
keven1024
c1fd4e7bbd feat(front): implement text sharing functionality with new TextShareHandle and TextShareResult components 2025-05-20 10:39:02 +08:00
keven1024
838d425369 refactor(front): update file handling properties in FileUploadProgressView and FileShareResult components for consistency 2025-05-19 21:24:40 +08:00
keven1024
2fff490baa refactor(front): replace FileUploadResultView with ResultIndexView and update form field naming for consistency 2025-05-19 21:09:38 +08:00
keven1024
a7c8b409c8 feat(front): add TextUploadView and FileUpload components for enhanced file and text sharing functionality 2025-05-16 19:38:39 +08:00
keven1024
6e52d35984 refactor(front): update VeeForm component to utilize useForm for improved form handling and expose form state 2025-05-16 18:21:22 +08:00
keven1024
f53db5adbe fix(backend): enhance share info validation to check for minimum view count 2025-05-16 08:44:45 +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
29e2eb536f refactor(front): update FileShareView and [id].vue to utilize @tanstack/vue-query for data fetching and state management 2025-05-16 08:10:42 +08:00
keven1024
ff410a3f15 feat(front): integrate @tanstack/vue-query for improved data fetching and state management 2025-05-16 08:07:15 +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
cc185fb6cf refactor(front): simplify Skeleton loading state in [id].vue for improved readability 2025-05-15 21:58:47 +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
86b8c86e59 feat(front): enhance FileShareView with countdown timer and file sharing details display 2025-05-15 18:25:58 +08:00
keven1024
0bab15d519 feat(front): implement file sharing and download functionality with improved type safety 2025-05-15 17:26:40 +08:00
keven1024
9f429626d7 refactor(front): update field components to use RuleExpression for validation rules 2025-05-15 17:21:03 +08:00
keven1024
7564a7de0a feat(front): add FileShareView component for file download functionality 2025-05-15 17:07:24 +08:00
keven1024
dca8799f04 refactor(front): update FormButton click handlers to support async functionality 2025-05-15 11:15:29 +08:00
keven1024
d2d11ef9d8 feat(front): add useAppConfig composable for fetching application configuration 2025-05-15 11:13:30 +08:00
keven1024
038487b482 refactor(backend): rename file_name to name in GetShareInfo response for consistency 2025-05-15 11:13:01 +08:00
keven1024
7d28ea0bc6 feat(front): add FileShareResult component for displaying upload success and sharing functionality 2025-05-15 11:10:18 +08:00
keven1024
f2133d73c4 refactor(front): restructure Tiptap component for improved readability and functionality 2025-05-14 18:09:53 +08:00
keven1024
d5d4c64bf2 refactor(backend): remove unused config route and associated controller 2025-05-14 17:53:03 +08:00
keven1024
597a548111 feat(front): add config route to expose site configuration variables 2025-05-14 17:52:46 +08:00
keven1024
5c0a9855a8 feat(front): add AsyncButton export to button component for enhanced async functionality 2025-05-14 17:32:22 +08:00
keven1024
406539f281 refactor(front): rename Props interface to ButtonProps for clarity and consistency in Button component 2025-05-14 16:04:26 +08:00
keven1024
fb1aea321d refactor(front): enhance AsyncButton component with class variance and loading state management 2025-05-14 16:04:07 +08:00
keven1024
4c57afd476 refactor(front): replace Button with AsyncButton in FormButton component for async click handling 2025-05-14 15:07:15 +08:00
keven1024
4673a82efe feat(front): add asyncWait utility function for handling asynchronous delays 2025-05-14 14:53:56 +08:00
keven1024
1b005a60c0 feat(front): add AsyncButton component for handling loading state during async operations 2025-05-14 14:53:41 +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