From 63346399e363e34dd1922aa109cde846b08bc8f9 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Wed, 3 Mar 2021 13:18:21 +0900 Subject: [PATCH 1/3] SMS ignored/allowed markets --- .../_get/SettingsSingleMarketSettings.cshtml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Monitor/Pages/_get/SettingsSingleMarketSettings.cshtml b/Monitor/Pages/_get/SettingsSingleMarketSettings.cshtml index be75b87..d79702c 100644 --- a/Monitor/Pages/_get/SettingsSingleMarketSettings.cshtml +++ b/Monitor/Pages/_get/SettingsSingleMarketSettings.cshtml @@ -61,6 +61,21 @@ +
+ +
+ +
+
+ +
+ +
+ + Leave empty to allow all +
+
+
From 8872d5334239688892169f156dc26d9dab05977a Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Wed, 3 Mar 2021 13:23:05 +0900 Subject: [PATCH 2/3] increment version --- PTMagic/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTMagic/Program.cs b/PTMagic/Program.cs index 94716b9..6139695 100644 --- a/PTMagic/Program.cs +++ b/PTMagic/Program.cs @@ -6,7 +6,7 @@ using Core.Helper; using Microsoft.Extensions.DependencyInjection; -[assembly: AssemblyVersion("2.5.7")] +[assembly: AssemblyVersion("2.5.8")] [assembly: AssemblyProduct("PT Magic")] namespace PTMagic From 6db6d28e8a857ca08c80f946c84de72eebd9a875 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Wed, 3 Mar 2021 13:50:21 +0900 Subject: [PATCH 3/3] SMS allowed/ignored save --- Monitor/Pages/SettingsAnalyzer.cshtml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Monitor/Pages/SettingsAnalyzer.cshtml.cs b/Monitor/Pages/SettingsAnalyzer.cshtml.cs index 0fd8bb9..dcca15d 100644 --- a/Monitor/Pages/SettingsAnalyzer.cshtml.cs +++ b/Monitor/Pages/SettingsAnalyzer.cshtml.cs @@ -185,6 +185,8 @@ namespace Monitor.Pages sms.OffTriggerConnection = HttpContext.Request.Form[smsFormKey + "OffTriggerConnection"]; sms.IgnoredMarkets = HttpContext.Request.Form[smsFormKey + "IgnoredMarkets"]; sms.AllowedMarkets = HttpContext.Request.Form[smsFormKey + "AllowedMarkets"]; + sms.IgnoredGlobalSettings = HttpContext.Request.Form[smsFormKey + "IgnoredGlobalSettings"]; + sms.AllowedGlobalSettings = HttpContext.Request.Form[smsFormKey + "AllowedGlobalSettings"]; sms.StopProcessWhenTriggered = HttpContext.Request.Form[smsFormKey + "StopProcessWhenTriggered"].Equals("on"); #region Triggers