Skip to content

Commit

Permalink
fix: enhance task management and file handling
Browse files Browse the repository at this point in the history
- Added `archiver` and `yauzl-promise` dependencies for improved file compression and extraction.
- Implemented progress tracking for background tasks in the TaskSetting component, displaying progress bars for ongoing operations.
- Updated the DBJob class to utilize archiving for backup processes, including progress updates to the database.
- Refactored the file extraction logic to use `yauzl-promise`, enhancing reliability and performance.

These changes improve the user experience by providing real-time feedback on task progress and streamline file handling operations.
  • Loading branch information
blinko-space committed Jan 23, 2025
1 parent b095a60 commit 1290b7f
Show file tree
Hide file tree
Showing 5 changed files with 557 additions and 16 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"@trpc/server": "11.0.0-rc.553",
"@types/mime-types": "^2.1.4",
"adm-zip": "^0.5.16",
"archiver": "^7.0.1",
"axios": "^1.7.7",
"boring-avatars": "^1.11.2",
"bowser": "^2.11.0",
Expand Down Expand Up @@ -165,6 +166,7 @@
"usehooks-ts": "^3.1.0",
"vanilla-tilt": "^1.8.1",
"vditor": "^3.10.8",
"yauzl-promise": "^4.0.0",
"zod": "^3.23.8",
"zod-prisma-types": "^3.1.8"
},
Expand Down
Loading

0 comments on commit 1290b7f

Please sign in to comment.