Commit Graph

103 Commits

Author SHA1 Message Date
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
keven1024
db81f11391 refactor(front): update Button component styles to include cursor pointer and add Skeleton component export 2025-05-13 21:14:42 +08:00
keven1024
9b1aa29b76 refactor(front): update Navbar component to use class-variance-authority for dynamic class binding 2025-05-13 11:00:22 +08:00
keven1024
fe4a00aa09 feat(backend): implement download endpoint for shared files with password protection 2025-05-11 23:48:42 +08:00
keven1024
1b2f6a49e2 feat(backend): add configuration and sharing endpoints, implement environment variable loading 2025-05-11 11:08:54 +08:00
keven1024
8cbb1987fc refactor(front): enhance FileIcon and FilePreviewView components to support filePreview type for improved flexibility 2025-05-11 11:06:56 +08:00
keven1024
e3a6827e7f feat(front): add Skeleton component for loading state representation 2025-05-11 11:06:22 +08:00
keven1024
9ff1161544 chore(front): update dependencies in package.json and pnpm-lock.yaml, add spark-md5 and dayjs, and integrate vue-sonner for notifications 2025-05-11 11:06:07 +08:00
keven1024
79a54d3510 refactor(backend): adjust expiration time validation and improve Redis share info storage logic 2025-05-06 00:04:40 +08:00
keven1024
9b2057e6ed refactor(backend): update ShareConfig to use integer for expire_time and improve error handling in CreateShareInfo 2025-05-05 23:38:10 +08:00
keven1024
a78eb2efa3 refactor(front): replace watch with watchEffect in FormButton component for improved reactivity 2025-05-05 20:56:55 +08:00
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