Commit Graph

79 Commits

Author SHA1 Message Date
keven1024
500d78e428 fix(front): add class binding to InputField component for improved styling flexibility 2025-05-05 20:54:53 +08:00
keven1024
216f4f4c38 feat(backend): implement sharing functionality with CreateShareInfo and GetShareInfo endpoints for file and text sharing 2025-05-04 23:55:37 +08:00
keven1024
81854d408b refactor(front): rename props in FileShareHandle component for improved clarity and consistency 2025-05-02 20:48:23 +08:00
keven1024
3b7e687a9e refactor(backend): move RedisShareInfo struct to a new file and update its definition for improved clarity and organization 2025-05-02 20:47:54 +08:00
keven1024
0a9b4dc20c fix(backend): update error messages in file upload functions for clearer parameter validation feedback 2025-05-02 19:45:54 +08:00
keven1024
41f774abcf feat(front): enhance FileShareHandle component with conditional logic for pickup code and password protection 2025-05-02 19:34:25 +08:00
keven1024
81f04ca004 fix(front): bind additional attributes to Switch component in SwitchField for improved flexibility 2025-05-02 19:33:35 +08:00
keven1024
981aab4721 refactor(front): update file handling in FileUpload components to improve data consistency and maintainability 2025-05-02 19:13:19 +08:00
keven1024
610da371bc feat(front): reintroduce FileUploadResultView component and enhance FileUploadProgressView with file_id handling for improved upload result management 2025-05-01 15:58:28 +08:00
keven1024
a853d9f276 refactor(front): replace FileUploadView with a modular file upload process using multiple components for improved maintainability and clarity 2025-05-01 15:08:10 +08:00
keven1024
55a1db8265 refactor(backend): update upload directory name from 'upload' to 'uploads' for consistency 2025-05-01 15:07:18 +08:00
keven1024
b2804450ee refactor(front): update onFileHandle prop to use config instead of data for improved clarity 2025-05-01 15:05:28 +08:00
keven1024
ca9f537a87 feat(front): add CircularProgress component for visualizing upload progress 2025-05-01 14:25:23 +08:00
keven1024
7ea196f03e feat(backend): add chunk size handling in file upload process and enhance file info model 2025-05-01 13:53:30 +08:00
keven1024
f11c08fdd2 fix(front): correct chunk size calculation in calcFileHash utility for accurate file hashing during uploads 2025-04-30 18:51:15 +08:00
keven1024
b315a03c05 feat(backend): enhance FinishUploadTask response to include file metadata such as size, mime type, hash, and type 2025-04-30 15:10:50 +08:00
keven1024
f2c115b09c refactor(backend): update file info handling to use pointers and enhance upload task validation with expiration checks 2025-04-30 15:08:26 +08:00
keven1024
1dc349ef31 feat(backend): implement HTTP response utility functions for standardized error and success handling 2025-04-30 13:55:04 +08:00
keven1024
7ea1d04133 chore: update .gitignore to exclude backend upload and temporary files 2025-04-30 12:29:52 +08:00
keven1024
9f863819d8 refactor(backend): enhance file upload logic by merging file slices and improving Redis file info handling 2025-04-30 12:29:06 +08:00
keven1024
c2ab132793 feat(front): add calcFileHash utility for calculating file MD5 hash during uploads 2025-04-30 09:32:04 +08:00
keven1024
94e634619f refactor(backend): remove redundant MD5 hash calculation from UploadFileSlice and streamline file upload logic 2025-04-28 20:46:53 +08:00
keven1024
cd81cead2a feat(backend): add GetFileMd5 function for calculating MD5 hash of files to enhance file integrity verification 2025-04-28 20:40:59 +08:00
keven1024
54a0179ef1 refactor(backend): reorganize file handling logic by introducing services package for file operations and updating controller references 2025-04-28 20:28:23 +08:00
keven1024
ea998b7d34 refactor(backend): update file info retrieval to use models package and improve file slice creation logic 2025-04-28 20:17:53 +08:00
keven1024
e32388f70a feat(backend): add file upload controller with task creation, slice upload, and completion handling 2025-04-28 20:13:35 +08:00
keven1024
1137e6c692 fix(front): handle wildcard file type acceptance in FileUpload component to improve file upload flexibility 2025-04-28 12:32:01 +08:00
keven1024
65f67f98f8 refactor(backend): streamline file upload process by moving file slice creation logic to service layer and improving error messages 2025-04-27 23:49:45 +08:00
keven1024
b0b476456c feat(backend): implement file upload functionality with task creation, slice upload, and completion handling 2025-04-27 23:38:43 +08:00
keven1024
293a0bd5ce chore(front): update package.json and pnpm-lock.yaml to modify backend script and add new dependencies for improved functionality 2025-04-27 10:14:48 +08:00
keven1024
26cd59b2e0 feat(backend): implement custom middleware for session management and context handling 2025-04-27 10:14:18 +08:00
keven1024
7420b3e2a7 chore(backend): update go.mod and go.sum to upgrade dependencies and add new indirect dependencies for improved functionality 2025-04-26 22:39:11 +08:00
keven1024
043bb2ed3c fix(front): handle undefined file size in FilePreviewView component to ensure accurate display 2025-04-24 16:58:29 +08:00
keven1024
ea51c6c0c4 feat(front): enhance FileShareDrawer with additional media actions and update TextShareDrawer label for improved clarity 2025-04-24 16:58:09 +08:00
keven1024
31b91b12de feat(front): add FilePreviewView and FileShareHandle components for improved file preview and sharing options 2025-04-24 15:26:49 +08:00
keven1024
1618f23d39 feat(front): create FileUploadView and TextUploadView components for file and text uploads, enhancing the upload functionality on the index page 2025-04-24 11:09:01 +08:00
keven1024
26314fd67f fix(front): update Navbar component to ensure correct routing to the home page 2025-04-24 10:25:54 +08:00
keven1024
53b6c57536 chore(front): update .gitignore to exclude service worker files and update pnpm-lock.yaml with new dependencies for Tiptap and VeeValidate 2025-04-22 10:19:36 +08:00
keven1024
6dea3f76e6 chore(backend): update go.mod and go.sum to include new indirect dependencies for improved functionality 2025-04-22 10:19:15 +08:00
keven1024
9c8c0430e7 feat(front): add SelectField and SwitchField components for enhanced form handling in file sharing 2025-04-21 09:03:48 +08:00
keven1024
e6e8d6a143 feat(front): add UI components for label, progress, and select elements with TypeScript support 2025-04-21 09:03:17 +08:00
keven1024
df38398851 feat(front): add FileIcon component to display file previews and icons based on file type 2025-04-20 21:36:10 +08:00
keven1024
a45eed2fbb fix(front): update FileUpload component to allow all file types and improve type checking for accepted file formats 2025-04-20 21:13:32 +08:00
keven1024
d48cf960f8 feat(front): add FileShareDrawer component for file sharing functionalities and enhance index page layout 2025-04-20 20:57:00 +08:00
keven1024
ce406e73d4 feat(front): implement FileUpload and FileUploadField components for file drag-and-drop functionality and preview 2025-04-20 20:44:13 +08:00
keven1024
740e1800d4 feat(front): add placeholder extension to Tiptap component and update Navbar styles for improved UI 2025-04-20 19:04:03 +08:00
keven1024
44462622c8 refactor(front): simplify MarkdownInputField by directly using v-model with Tiptap for cleaner code 2025-04-19 14:08:17 +08:00
keven1024
1caeafba09 feat(front): update VeeForm to use v-slot for better slot binding and add TextShareDrawer component for sharing functionalities 2025-04-18 23:49:01 +08:00
keven1024
4c6b66ccfe feat(front): create index page with VeeForm for file and text input handling, and adjust layout padding for better responsiveness 2025-04-18 23:48:46 +08:00
keven1024
12f97cc1a4 fix(front): integrate VeeValidate rules in MarkdownInputField and enhance Tiptap styling for better user experience 2025-04-18 23:14:33 +08:00