From 11fd7198bb5e7ffc380529af3d2bfbe67623f614 Mon Sep 17 00:00:00 2001 From: aled Date: Wed, 24 Jul 2024 01:19:03 +0100 Subject: [PATCH 1/2] Linting --- Fakemail.Core/Adler32.cs | 2 +- Fakemail.Services/DeliveryAgent.cs | 1 - Fakemail.Web/wwwroot/css/site.css | 18 +++++++++--------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Fakemail.Core/Adler32.cs b/Fakemail.Core/Adler32.cs index 046e2bc..8e96f19 100644 --- a/Fakemail.Core/Adler32.cs +++ b/Fakemail.Core/Adler32.cs @@ -6,7 +6,7 @@ namespace Fakemail.Core /// Copied from https://raw.githubusercontent.com/icsharpcode/SharpZipLib/master/src/ICSharpCode.SharpZipLib/Checksum/Adler32.cs /// (MIT license) /// - + [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0054:Use compound assignment")] public sealed class Adler32 { diff --git a/Fakemail.Services/DeliveryAgent.cs b/Fakemail.Services/DeliveryAgent.cs index 4a610a9..816148a 100644 --- a/Fakemail.Services/DeliveryAgent.cs +++ b/Fakemail.Services/DeliveryAgent.cs @@ -1,5 +1,4 @@ using System.Collections.Concurrent; -using System.Linq.Expressions; using Fakemail.ApiModels; using Fakemail.Core; diff --git a/Fakemail.Web/wwwroot/css/site.css b/Fakemail.Web/wwwroot/css/site.css index e5ee890..8161548 100644 --- a/Fakemail.Web/wwwroot/css/site.css +++ b/Fakemail.Web/wwwroot/css/site.css @@ -1,16 +1,16 @@ html { - font-size: 14px; + font-size: 14px; } @media (min-width: 768px) { - html { - font-size: 16px; - } + html { + font-size: 16px; + } } html { - position: relative; - min-height: 100%; + position: relative; + min-height: 100%; } body { @@ -30,6 +30,6 @@ body { transition: box-shadow 0.3s ease-in-out; /* Smooth transition for the outline */ } -.copyable-text:hover { - box-shadow: 0 0 0 2px #607b7f; /* Blue outline */ -} \ No newline at end of file + .copyable-text:hover { + box-shadow: 0 0 0 2px #607b7f; /* Blue outline */ + } From 2025a151cb0a73c1b230bca8d8fbf0f277f0be66 Mon Sep 17 00:00:00 2001 From: aled Date: Wed, 24 Jul 2024 17:53:18 +0100 Subject: [PATCH 2/2] Reduce the polling time for updates from 60s to 10s to stress the system. --- Fakemail.Web/Views/Home/User.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fakemail.Web/Views/Home/User.cshtml b/Fakemail.Web/Views/Home/User.cshtml index b030e4e..de2582c 100644 --- a/Fakemail.Web/Views/Home/User.cshtml +++ b/Fakemail.Web/Views/Home/User.cshtml @@ -49,7 +49,7 @@ Password: