diff --git a/Teknik.sln b/Teknik.sln index c1cfe56..603d72f 100644 --- a/Teknik.sln +++ b/Teknik.sln @@ -14,8 +14,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerMaint", "ServerMaint\ServerMaint.csproj", "{E08975F9-1B84-41B0-875A-CEC9778C4F9E}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Utilities", "Utilities", "{9408DBDE-D7DF-45EE-AAEB-821BABAA6152}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{783361EC-DCD6-4A34-8479-5476DF752C34}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Utilities", "Utilities\Utilities\Utilities.csproj", "{F45DE6FC-3754-4954-A20A-4277362CC6C1}" @@ -59,6 +57,5 @@ Global EndGlobalSection GlobalSection(NestedProjects) = preSolution {E08975F9-1B84-41B0-875A-CEC9778C4F9E} = {783361EC-DCD6-4A34-8479-5476DF752C34} - {F45DE6FC-3754-4954-A20A-4277362CC6C1} = {9408DBDE-D7DF-45EE-AAEB-821BABAA6152} EndGlobalSection EndGlobal diff --git a/Teknik/Areas/Help/Views/Help/Upload.cshtml b/Teknik/Areas/Help/Views/Help/Upload.cshtml index b4e4bd3..7184503 100644 --- a/Teknik/Areas/Help/Views/Help/Upload.cshtml +++ b/Teknik/Areas/Help/Views/Help/Upload.cshtml @@ -1,6 +1,6 @@ @model Teknik.Areas.Help.ViewModels.HelpViewModel -@using Teknik.Helpers +@using Teknik.Utilities
- The maximum file size per upload is @Utility.GetBytesReadable(Model.Config.UploadConfig.MaxUploadSize) + The maximum file size per upload is @StringHelper.GetBytesReadable(Model.Config.UploadConfig.MaxUploadSize)
Each file is scanned for viruses at upload. If it fails, it will cancel the upload. Currently only files that are unencrypted when being sent to the server will be scanned successfully for viruses. If the file is encrypted client side, the encrypted data will be checked. This could create a false positive, but since the key is randomly generated, the next attempt should not be flagged. diff --git a/Teknik/Areas/Transparency/Views/Transparency/Index.cshtml b/Teknik/Areas/Transparency/Views/Transparency/Index.cshtml index fea5abf..a7437c7 100644 --- a/Teknik/Areas/Transparency/Views/Transparency/Index.cshtml +++ b/Teknik/Areas/Transparency/Views/Transparency/Index.cshtml @@ -1,6 +1,6 @@ @model Teknik.Areas.Transparency.ViewModels.TransparencyViewModel -@using Teknik.Helpers +@using Teknik.Utilities @using Teknik.Areas.Transparency.Models @Scripts.Render("~/bundles/transparency") @@ -28,7 +28,7 @@
Number of Uploads: @Model.UploadCount
-Total Size: @Utility.GetBytesReadable(Model.UploadSize)
+Total Size: @StringHelper.GetBytesReadable(Model.UploadSize)