mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 04:14:30 +00:00
feat(upload): S3 multipart upload with offline resume and wake lock (#391)
* feat(upload): implement S3 multipart upload with offline resume and wake lock * fix(upload): harden S3 sign and abort authorization, await confirmation, and clean up failed multipart uploads * fix(webui): resume multipart upload on network recovery and log online event * fix(webui): remove offline and online toast notifications
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "assets" ADD COLUMN "upload_id" TEXT;
|
||||
@@ -522,6 +522,7 @@ model Asset {
|
||||
sizeByte BigInt @default(0) @map("size_byte")
|
||||
status AssetStatus
|
||||
transcodeTaskId String? @map("transcode_task_id")
|
||||
uploadId String? @map("upload_id")
|
||||
/// [MediaInfo]
|
||||
media Json?
|
||||
isDeleted Boolean @default(false) @map("is_deleted")
|
||||
|
||||
Reference in New Issue
Block a user