Skip to content

Commit

Permalink
Clean up and sync with release
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Aug 5, 2024
1 parent f95ca45 commit c99d9f6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ private async Task<bool> IsManagedCertificateRunning(string id)
}

/// <summary>
/// Genereate a preview of the actions which will be performed on renewal of the given item
/// Generate a preview of the actions which will be performed on renewal of the given item
/// </summary>
/// <param name="item"></param>
/// <returns></returns>
Expand Down
1 change: 0 additions & 1 deletion src/Certify.Shared/Management/CertificateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Pkcs;
using Org.BouncyCastle.Security;

using Org.BouncyCastle.Utilities;
using Org.BouncyCastle.X509;

Expand Down
6 changes: 3 additions & 3 deletions src/Certify.Shared/Utils/NetworkUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Net.Sockets;
using System.Threading.Tasks;
using Certify.Management;
#if NET8_0_OR_GREATER
#if NET6_0_OR_GREATER
using ARSoft.Tools.Net;
using ARSoft.Tools.Net.Dns;
#endif
Expand Down Expand Up @@ -209,7 +209,7 @@ public async Task<bool> CheckURL(ILog log, string url, bool? useProxyAPI = null)
}
}

#if NET8_0_OR_GREATER
#if NET6_0_OR_GREATER
public async Task<string> GetDNSRecordTXT(ILog log, string fullyQualifiedRecordName)
{

Expand Down Expand Up @@ -266,7 +266,7 @@ public async Task<ActionResult> CheckServiceConnection(string hostname, int port
public async Task<List<ActionResult>> CheckDNS(ILog log, string domain, bool? useProxyAPI = null, bool includeIPCheck = true)
{
var results = new List<ActionResult>();
#if NET8_0_OR_GREATER
#if NET6_0_OR_GREATER
log.Information("CheckDNS: performing DNS checks. This option can be disabled in Settings if required.");

if (string.IsNullOrEmpty(domain))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public async Task<ActionResult> Save()
}

// add/update edited deployment task in selectedItem config
if (SelectedItem.Id == null)
if (string.IsNullOrWhiteSpace(SelectedItem.Id))
{
//add new
SelectedItem.Id = Guid.NewGuid().ToString();
Expand Down
2 changes: 1 addition & 1 deletion src/Certify.UI.Shared/Windows/DataStoreConnections.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Controls:MetroWindow
<Controls:MetroWindow
x:Class="Certify.UI.Windows.DataStoreConnections"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Expand Down
1 change: 1 addition & 0 deletions src/Certify.UI/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<Setter Property="controls:ControlsHelper.CornerRadius" Value="0" />
</Style>


<!-- control templates -->
<DataTemplate x:Key="ProviderHiddenParameter" />

Expand Down

0 comments on commit c99d9f6

Please sign in to comment.