Commit Graph

  • 6ed90e9ac9 feat(backend): implement Redis file and task management with logging support keven1024 2025-05-25 15:13:46 +08:00
  • 4b4773e336 refactor(backend): move GetUploadDirPath function to utils for better modularity keven1024 2025-05-24 21:39:04 +08:00
  • 7b263b7b76 feat(backend): add logging middleware and image compression endpoints, enhance environment variable handling keven1024 2025-05-24 15:35:57 +08:00
  • 9d8de69f9f refactor(backend): improve Redis connection handling in async queue utilities by introducing RedisURI2AsynqOpt function keven1024 2025-05-23 20:29:01 +08:00
  • 622f04a1e0 refactor(backend): enhance HTTPBaseResponse handling by introducing option pattern for better flexibility keven1024 2025-05-23 19:49:24 +08:00
  • fc337b07c2 feat(backend): add Asynq queue client and inspector utilities for background processing keven1024 2025-05-23 19:48:56 +08:00
  • daa16e9445 feat(backend): initialize worker module with Asynq server and image compression task keven1024 2025-05-23 14:33:23 +08:00
  • 05832d2f16 feat(backend): add GetEnvWithDefault function to retrieve environment variables with default value support keven1024 2025-05-22 20:04:23 +08:00
  • 70f13f9808 feat(front): integrate PickupShareBtn into TextUploadInputTextView for enhanced sharing functionality keven1024 2025-05-22 14:42:01 +08:00
  • e5d21d618e feat(front): add PickupShareBtn and PickupShareDrawer components for pickup code input and sharing functionality keven1024 2025-05-22 14:40:42 +08:00
  • 169b8cda58 fix(package): update postinstall script to use husky init for better setup keven1024 2025-05-22 11:37:53 +08:00
  • 763e3ac3c1 refactor(front): update import paths to use alias for better readability and maintainability keven1024 2025-05-22 11:32:38 +08:00
  • b80a013725 feat(backend): add rate limiting middleware to control upload and download request rates keven1024 2025-05-21 23:42:23 +08:00
  • 1f7c6a2b4a refactor(backend): simplify HTTPBaseResponse structure by removing pointer types for code, message, and data keven1024 2025-05-20 19:51:36 +08:00
  • d194fa1a20 fix(front): correct download and view limit values in FileShareHandle and TextShareHandle components keven1024 2025-05-20 11:47:20 +08:00
  • bd0e2a3b5a refactor(front): simplify component rendering in index.vue by using dynamic component approach keven1024 2025-05-20 11:40:29 +08:00
  • c63cec5d2b feat(front): integrate markdown-it for rendering markdown content in MarkdownRender component keven1024 2025-05-20 11:38:58 +08:00
  • daf5a036e1 feat(front): add MarkdownPaste extension for enhanced paste functionality in Tiptap editor keven1024 2025-05-20 11:14:16 +08:00
  • 5dd3458d66 feat(front): add TextShareView component for displaying file share information and preview functionality keven1024 2025-05-20 11:02:17 +08:00
  • da62a4bbce feat(front): enhance [id].vue to support dynamic component rendering and improve error handling in file sharing keven1024 2025-05-20 10:39:30 +08:00
  • c1fd4e7bbd feat(front): implement text sharing functionality with new TextShareHandle and TextShareResult components keven1024 2025-05-20 10:39:02 +08:00
  • 838d425369 refactor(front): update file handling properties in FileUploadProgressView and FileShareResult components for consistency keven1024 2025-05-19 21:24:40 +08:00
  • 2fff490baa refactor(front): replace FileUploadResultView with ResultIndexView and update form field naming for consistency keven1024 2025-05-19 21:09:38 +08:00
  • a7c8b409c8 feat(front): add TextUploadView and FileUpload components for enhanced file and text sharing functionality keven1024 2025-05-16 19:38:39 +08:00
  • 6e52d35984 refactor(front): update VeeForm component to utilize useForm for improved form handling and expose form state keven1024 2025-05-16 18:21:22 +08:00
  • f53db5adbe fix(backend): enhance share info validation to check for minimum view count keven1024 2025-05-16 08:44:45 +08:00
  • 26b5bfb914 fix(backend): add validation for download count in VaildateShare to prevent insufficient downloads keven1024 2025-05-16 08:44:33 +08:00
  • 29e2eb536f refactor(front): update FileShareView and [id].vue to utilize @tanstack/vue-query for data fetching and state management keven1024 2025-05-16 08:10:42 +08:00
  • ff410a3f15 feat(front): integrate @tanstack/vue-query for improved data fetching and state management keven1024 2025-05-16 08:07:15 +08:00
  • f48b128b65 fix(backend): adjust view count decrement logic in VaildateShare to prevent multiple decrements during concurrent downloads keven1024 2025-05-15 23:19:00 +08:00
  • cc185fb6cf refactor(front): simplify Skeleton loading state in [id].vue for improved readability keven1024 2025-05-15 21:58:47 +08:00
  • e2b61825f7 fix(backend): update DownloadShare to decrement view count in Redis before returning file keven1024 2025-05-15 19:56:48 +08:00
  • 86b8c86e59 feat(front): enhance FileShareView with countdown timer and file sharing details display keven1024 2025-05-15 18:25:58 +08:00
  • 0bab15d519 feat(front): implement file sharing and download functionality with improved type safety keven1024 2025-05-15 17:26:40 +08:00
  • 9f429626d7 refactor(front): update field components to use RuleExpression for validation rules keven1024 2025-05-15 17:21:03 +08:00
  • 7564a7de0a feat(front): add FileShareView component for file download functionality keven1024 2025-05-15 17:07:24 +08:00
  • dca8799f04 refactor(front): update FormButton click handlers to support async functionality keven1024 2025-05-15 11:15:29 +08:00
  • d2d11ef9d8 feat(front): add useAppConfig composable for fetching application configuration keven1024 2025-05-15 11:13:30 +08:00
  • 038487b482 refactor(backend): rename file_name to name in GetShareInfo response for consistency keven1024 2025-05-15 11:13:01 +08:00
  • 7d28ea0bc6 feat(front): add FileShareResult component for displaying upload success and sharing functionality keven1024 2025-05-15 11:10:18 +08:00
  • f2133d73c4 refactor(front): restructure Tiptap component for improved readability and functionality keven1024 2025-05-14 18:09:53 +08:00
  • d5d4c64bf2 refactor(backend): remove unused config route and associated controller keven1024 2025-05-14 17:53:03 +08:00
  • 597a548111 feat(front): add config route to expose site configuration variables keven1024 2025-05-14 17:52:46 +08:00
  • 5c0a9855a8 feat(front): add AsyncButton export to button component for enhanced async functionality keven1024 2025-05-14 17:32:22 +08:00
  • 406539f281 refactor(front): rename Props interface to ButtonProps for clarity and consistency in Button component keven1024 2025-05-14 16:04:26 +08:00
  • fb1aea321d refactor(front): enhance AsyncButton component with class variance and loading state management keven1024 2025-05-14 16:04:07 +08:00
  • 4c57afd476 refactor(front): replace Button with AsyncButton in FormButton component for async click handling keven1024 2025-05-14 15:07:15 +08:00
  • 4673a82efe feat(front): add asyncWait utility function for handling asynchronous delays keven1024 2025-05-14 14:53:56 +08:00
  • 1b005a60c0 feat(front): add AsyncButton component for handling loading state during async operations keven1024 2025-05-14 14:53:41 +08:00
  • 3ed3353a7b feat(backend): add JWT-based download token generation and validation for shared files keven1024 2025-05-13 22:02:40 +08:00
  • db81f11391 refactor(front): update Button component styles to include cursor pointer and add Skeleton component export keven1024 2025-05-13 21:14:42 +08:00
  • 9b1aa29b76 refactor(front): update Navbar component to use class-variance-authority for dynamic class binding keven1024 2025-05-13 11:00:22 +08:00
  • fe4a00aa09 feat(backend): implement download endpoint for shared files with password protection keven1024 2025-05-11 23:48:42 +08:00
  • 1b2f6a49e2 feat(backend): add configuration and sharing endpoints, implement environment variable loading keven1024 2025-05-11 11:08:54 +08:00
  • 8cbb1987fc refactor(front): enhance FileIcon and FilePreviewView components to support filePreview type for improved flexibility keven1024 2025-05-11 11:06:56 +08:00
  • e3a6827e7f feat(front): add Skeleton component for loading state representation keven1024 2025-05-11 11:06:22 +08:00
  • 9ff1161544 chore(front): update dependencies in package.json and pnpm-lock.yaml, add spark-md5 and dayjs, and integrate vue-sonner for notifications keven1024 2025-05-11 11:06:07 +08:00
  • 79a54d3510 refactor(backend): adjust expiration time validation and improve Redis share info storage logic keven1024 2025-05-06 00:04:40 +08:00
  • 9b2057e6ed refactor(backend): update ShareConfig to use integer for expire_time and improve error handling in CreateShareInfo keven1024 2025-05-05 23:38:10 +08:00
  • a78eb2efa3 refactor(front): replace watch with watchEffect in FormButton component for improved reactivity keven1024 2025-05-05 20:56:55 +08:00
  • 500d78e428 fix(front): add class binding to InputField component for improved styling flexibility keven1024 2025-05-05 20:54:53 +08:00
  • 216f4f4c38 feat(backend): implement sharing functionality with CreateShareInfo and GetShareInfo endpoints for file and text sharing keven1024 2025-05-04 23:55:37 +08:00
  • 81854d408b refactor(front): rename props in FileShareHandle component for improved clarity and consistency keven1024 2025-05-02 20:48:23 +08:00
  • 3b7e687a9e refactor(backend): move RedisShareInfo struct to a new file and update its definition for improved clarity and organization keven1024 2025-05-02 20:47:54 +08:00
  • 0a9b4dc20c fix(backend): update error messages in file upload functions for clearer parameter validation feedback keven1024 2025-05-02 19:45:54 +08:00
  • 41f774abcf feat(front): enhance FileShareHandle component with conditional logic for pickup code and password protection keven1024 2025-05-02 19:34:25 +08:00
  • 81f04ca004 fix(front): bind additional attributes to Switch component in SwitchField for improved flexibility keven1024 2025-05-02 19:33:35 +08:00
  • 981aab4721 refactor(front): update file handling in FileUpload components to improve data consistency and maintainability keven1024 2025-05-02 19:13:19 +08:00
  • 610da371bc feat(front): reintroduce FileUploadResultView component and enhance FileUploadProgressView with file_id handling for improved upload result management keven1024 2025-05-01 15:58:28 +08:00
  • a853d9f276 refactor(front): replace FileUploadView with a modular file upload process using multiple components for improved maintainability and clarity keven1024 2025-05-01 15:08:10 +08:00
  • 55a1db8265 refactor(backend): update upload directory name from 'upload' to 'uploads' for consistency keven1024 2025-05-01 15:07:18 +08:00
  • b2804450ee refactor(front): update onFileHandle prop to use config instead of data for improved clarity keven1024 2025-05-01 15:05:28 +08:00
  • ca9f537a87 feat(front): add CircularProgress component for visualizing upload progress keven1024 2025-05-01 14:25:23 +08:00
  • 7ea196f03e feat(backend): add chunk size handling in file upload process and enhance file info model keven1024 2025-05-01 13:53:30 +08:00
  • f11c08fdd2 fix(front): correct chunk size calculation in calcFileHash utility for accurate file hashing during uploads keven1024 2025-04-30 18:51:15 +08:00
  • b315a03c05 feat(backend): enhance FinishUploadTask response to include file metadata such as size, mime type, hash, and type keven1024 2025-04-30 15:10:50 +08:00
  • f2c115b09c refactor(backend): update file info handling to use pointers and enhance upload task validation with expiration checks keven1024 2025-04-30 15:08:26 +08:00
  • 1dc349ef31 feat(backend): implement HTTP response utility functions for standardized error and success handling keven1024 2025-04-30 13:55:04 +08:00
  • 7ea1d04133 chore: update .gitignore to exclude backend upload and temporary files keven1024 2025-04-30 12:29:52 +08:00
  • 9f863819d8 refactor(backend): enhance file upload logic by merging file slices and improving Redis file info handling keven1024 2025-04-30 12:29:06 +08:00
  • c2ab132793 feat(front): add calcFileHash utility for calculating file MD5 hash during uploads keven1024 2025-04-30 09:32:04 +08:00
  • 94e634619f refactor(backend): remove redundant MD5 hash calculation from UploadFileSlice and streamline file upload logic keven1024 2025-04-28 20:46:53 +08:00
  • cd81cead2a feat(backend): add GetFileMd5 function for calculating MD5 hash of files to enhance file integrity verification keven1024 2025-04-28 20:40:59 +08:00
  • 54a0179ef1 refactor(backend): reorganize file handling logic by introducing services package for file operations and updating controller references keven1024 2025-04-28 20:28:23 +08:00
  • ea998b7d34 refactor(backend): update file info retrieval to use models package and improve file slice creation logic keven1024 2025-04-28 20:17:53 +08:00
  • e32388f70a feat(backend): add file upload controller with task creation, slice upload, and completion handling keven1024 2025-04-28 20:13:35 +08:00
  • 1137e6c692 fix(front): handle wildcard file type acceptance in FileUpload component to improve file upload flexibility keven1024 2025-04-28 12:32:01 +08:00
  • 65f67f98f8 refactor(backend): streamline file upload process by moving file slice creation logic to service layer and improving error messages keven1024 2025-04-27 23:49:45 +08:00
  • b0b476456c feat(backend): implement file upload functionality with task creation, slice upload, and completion handling keven1024 2025-04-27 23:38:43 +08:00
  • 293a0bd5ce chore(front): update package.json and pnpm-lock.yaml to modify backend script and add new dependencies for improved functionality keven1024 2025-04-27 10:14:48 +08:00
  • 26cd59b2e0 feat(backend): implement custom middleware for session management and context handling keven1024 2025-04-27 10:14:18 +08:00
  • 7420b3e2a7 chore(backend): update go.mod and go.sum to upgrade dependencies and add new indirect dependencies for improved functionality keven1024 2025-04-26 22:39:11 +08:00
  • 043bb2ed3c fix(front): handle undefined file size in FilePreviewView component to ensure accurate display keven1024 2025-04-24 16:58:29 +08:00
  • ea51c6c0c4 feat(front): enhance FileShareDrawer with additional media actions and update TextShareDrawer label for improved clarity keven1024 2025-04-24 16:58:09 +08:00
  • 31b91b12de feat(front): add FilePreviewView and FileShareHandle components for improved file preview and sharing options keven1024 2025-04-24 15:26:49 +08:00
  • 1618f23d39 feat(front): create FileUploadView and TextUploadView components for file and text uploads, enhancing the upload functionality on the index page keven1024 2025-04-24 11:09:01 +08:00
  • 26314fd67f fix(front): update Navbar component to ensure correct routing to the home page keven1024 2025-04-24 10:25:54 +08:00
  • 53b6c57536 chore(front): update .gitignore to exclude service worker files and update pnpm-lock.yaml with new dependencies for Tiptap and VeeValidate keven1024 2025-04-22 10:19:36 +08:00
  • 6dea3f76e6 chore(backend): update go.mod and go.sum to include new indirect dependencies for improved functionality keven1024 2025-04-22 10:19:15 +08:00
  • 9c8c0430e7 feat(front): add SelectField and SwitchField components for enhanced form handling in file sharing keven1024 2025-04-21 09:03:48 +08:00