Browse Source

* clsNode.cs: Reduce height low sensitivity.

* TFA-Bot.csproj:
* packages.config:
* UserPrefs.xml: update packages
Stuart Johnson 1 year ago
parent
commit
110fca16ad
4 changed files with 19 additions and 18 deletions
  1. 8 5
      .vs/TFA-Bot/xs/UserPrefs.xml
  2. 1 1
      TFA-Bot/DataClasses/clsNode.cs
  3. 5 6
      TFA-Bot/TFA-Bot.csproj
  4. 5 6
      TFA-Bot/packages.config

+ 8 - 5
.vs/TFA-Bot/xs/UserPrefs.xml

@@ -8,7 +8,7 @@
       <File FileName="TFA-Bot/clsExtenstions.cs" Line="1" Column="1" />
       <File FileName="TFA-Bot/DataClasses/clsNodeGroup.cs" Line="16" Column="38" />
       <File FileName="TFA-Bot/DiscordBot/Commands/clsEmail.cs" Line="1" Column="1" />
-      <File FileName="TFA-Bot/DiscordBot/clsCommands.cs" Line="1" Column="1" />
+      <File FileName="TFA-Bot/DiscordBot/clsCommands.cs" Line="86" Column="89" />
       <File FileName="TFA-Bot/DataClasses/clsSetting.cs" Line="1" Column="1" />
       <File FileName="TFA-Bot/DataClasses/clsNotificationPolicy.cs" Line="1" Column="1" />
       <File FileName="TFA-Bot/Spreadsheet/clsSpreadsheetReader.cs" Line="125" Column="1" />
@@ -23,9 +23,12 @@
       <File FileName="TFA-Bot/Dialler/IDialler.cs" Line="1" Column="1" />
       <File FileName="TFA-Bot/Utils/clsRollingAverage.cs" Line="32" Column="1" />
       <File FileName="TFA-Bot/DiscordBot/Commands/clsGitCommand.cs" Line="10" Column="2" />
-      <File FileName="TFA-Bot/Git/clsGit.cs" Line="40" Column="67" />
+      <File FileName="TFA-Bot/Git/clsGit.cs" Line="124" Column="64" />
       <File FileName="TFA-Bot/Git/clsGitHead.cs" Line="1" Column="1" />
-      <File FileName="TFA-Bot/DiscordBot/Commands/clsHelp.cs" Line="26" Column="63" />
+      <File FileName="TFA-Bot/DiscordBot/Commands/clsHelp.cs" Line="24" Column="54" />
+      <File FileName="TFA-Bot/clsEmail.cs" Line="59" Column="43" />
+      <File FileName="entrypoint.sh" Line="29" Column="37" />
+      <File FileName="TFA-Bot/DataClasses/clsNode.cs" Line="74" Column="17" />
       <File FileName="TFA-Bot Status" />
     </Files>
     <Pads>
@@ -33,14 +36,14 @@
         <State name="__root__">
           <Node name="TFA-Bot" expanded="True">
             <Node name="Solution Items" expanded="True" />
-            <Node name="TFA-Bot" expanded="True">
+            <Node name="TFA-Bot" expanded="True" selected="True">
+              <Node name="Packages" expanded="True" />
               <Node name="DataClasses" expanded="True" />
               <Node name="DiscordBot" expanded="True">
                 <Node name="Commands" expanded="True" />
               </Node>
               <Node name="Git" expanded="True" />
               <Node name="Spreadsheet" expanded="True" />
-              <Node name="clsAlarm.cs" selected="True" />
             </Node>
           </Node>
         </State>

+ 1 - 1
TFA-Bot/DataClasses/clsNode.cs

@@ -91,7 +91,7 @@ namespace TFABot
                     Program.AlarmManager.Clear(AlarmHeightLow,$"CLEARED: {Name} height low.");
                     AlarmHeightLow = null;
                  }
-                 else if (_heightLowCount > 3 && _requestFailCount ==0 && AlarmHeightLow==null )
+                 else if (_heightLowCount > 5 && _requestFailCount ==0 && AlarmHeightLow==null )
                  {
                     AlarmHeightLow = new clsAlarm(clsAlarm.enumAlarmType.Height,$"WARNING: {Name} height low.",this);
                     Program.AlarmManager.New(AlarmHeightLow);

+ 5 - 6
TFA-Bot/TFA-Bot.csproj

@@ -76,22 +76,22 @@
     <Reference Include="System.Data" />
     <Reference Include="System.Security" />
     <Reference Include="BouncyCastle.Crypto">
-      <HintPath>..\packages\BouncyCastle.1.8.4\lib\BouncyCastle.Crypto.dll</HintPath>
+      <HintPath>..\packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
     </Reference>
     <Reference Include="LibGit2Sharp">
       <HintPath>..\packages\LibGit2Sharp.0.26.0\lib\net46\LibGit2Sharp.dll</HintPath>
     </Reference>
     <Reference Include="Newtonsoft.Json">
-      <HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
+      <HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
     </Reference>
     <Reference Include="MimeKit">
-      <HintPath>..\packages\MimeKit.2.1.3\lib\net45\MimeKit.dll</HintPath>
+      <HintPath>..\packages\MimeKit.2.1.5.1\lib\net45\MimeKit.dll</HintPath>
     </Reference>
     <Reference Include="MailKit">
-      <HintPath>..\packages\MailKit.2.1.3\lib\net45\MailKit.dll</HintPath>
+      <HintPath>..\packages\MailKit.2.1.5.1\lib\net45\MailKit.dll</HintPath>
     </Reference>
     <Reference Include="RestSharp">
-      <HintPath>..\packages\RestSharp.106.6.7\lib\net452\RestSharp.dll</HintPath>
+      <HintPath>..\packages\RestSharp.106.6.9\lib\net452\RestSharp.dll</HintPath>
     </Reference>
   </ItemGroup>
   <ItemGroup>
@@ -162,5 +162,4 @@
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <Import Project="$(SolutionDir)\BuildCommon.targets" />
-  <Import Project="..\packages\Mono.Posix.5.4.0.201\build\net45\Mono.Posix.targets" Condition="Exists('..\packages\Mono.Posix.5.4.0.201\build\net45\Mono.Posix.targets')" />
 </Project>

+ 5 - 6
TFA-Bot/packages.config

@@ -1,17 +1,16 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
-  <package id="BouncyCastle" version="1.8.4" targetFramework="net462" />
+  <package id="BouncyCastle" version="1.8.5" targetFramework="net462" />
   <package id="DSharpPlus" version="3.2.3" targetFramework="net462" />
   <package id="DSharpPlus.CommandsNext" version="3.2.3" targetFramework="net462" />
   <package id="DSharpPlus.Interactivity" version="3.2.3" targetFramework="net462" />
   <package id="DSharpPlus.WebSocket.WebSocketSharp" version="3.2.3" targetFramework="net462" />
   <package id="LibGit2Sharp" version="0.26.0" targetFramework="net462" />
   <package id="LibGit2Sharp.NativeBinaries" version="2.0.267" targetFramework="net462" />
-  <package id="MailKit" version="2.1.3" targetFramework="net462" />
-  <package id="MimeKit" version="2.1.3" targetFramework="net462" />
-  <package id="Mono.Posix" version="5.4.0.201" targetFramework="net462" />
-  <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net462" />
-  <package id="RestSharp" version="106.6.7" targetFramework="net462" />
+  <package id="MailKit" version="2.1.5.1" targetFramework="net462" />
+  <package id="MimeKit" version="2.1.5.1" targetFramework="net462" />
+  <package id="Newtonsoft.Json" version="12.0.2" targetFramework="net462" />
+  <package id="RestSharp" version="106.6.9" targetFramework="net462" />
   <package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
   <package id="WebSocketSharp-NonPreRelease" version="1.0.0" targetFramework="net462" />
 </packages>