Skip to content

Commit

Permalink
bump up max submission size to 500kb, eventually this code need to be…
Browse files Browse the repository at this point in the history
… better, and the text could be a system wiki page, but I doubt we will change this too often, fixes #667
  • Loading branch information
adelikat committed Jan 14, 2022
1 parent 0dcb2e0 commit 571caa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TASVideos.Common/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static class SiteGlobalConstants

public const string DefaultPublicationText = "''[TODO]: describe this movie here''";

public const int MaximumMovieSize = 150 * 1024;
public const int MaximumMovieSize = 500 * 1024;
public const int UserFileStorageLimit = 1000 * 1000 * 50; // 50 MB
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class SubmissionCreateModel
public string Markup { get; set; } = "";

[Required]
[Display(Name = "Movie file", Description = "Your movie packed in a ZIP file (max size: 150k)")]
[Display(Name = "Movie file", Description = "Your movie packed in a ZIP file (max size: 500k)")]
public IFormFile? MovieFile { get; set; }
}
}

0 comments on commit 571caa7

Please sign in to comment.