|
|
|
@@ -20,11 +20,11 @@ import ( |
|
|
|
"code.gitea.io/gitea/modules/labelmsg" |
|
|
|
"code.gitea.io/gitea/modules/log" |
|
|
|
"code.gitea.io/gitea/modules/minio_ext" |
|
|
|
"code.gitea.io/gitea/modules/notification" |
|
|
|
"code.gitea.io/gitea/modules/setting" |
|
|
|
"code.gitea.io/gitea/modules/storage" |
|
|
|
"code.gitea.io/gitea/modules/upload" |
|
|
|
"code.gitea.io/gitea/modules/worker" |
|
|
|
|
|
|
|
gouuid "github.com/satori/go.uuid" |
|
|
|
) |
|
|
|
|
|
|
|
@@ -846,6 +846,8 @@ func CompleteMultipart(ctx *context.Context) { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
notification.NotifyUploadAttachment(ctx.User, ctx.Repo.Repository, attachment) |
|
|
|
|
|
|
|
if attachment.DatasetID != 0 { |
|
|
|
if isCanDecompress(attachment.Name) { |
|
|
|
if typeCloudBrain == models.TypeCloudBrainOne { |
|
|
|
|