diff --git a/CHANGELOG.md b/CHANGELOG.md index 8703aa65..67ab8f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - #1690: Replaced GeckoFX (Firefox) with CefSharp (Chromium) - #1325: Language resource files cleanup ### Fixed +- #1884: Allow setting Port when using MSSQL - #1783: Added missing inheritance properties to SQL scripts - #1773: Connection issue with mysql - Missing fields in - #1756: Cannot type any character on MultiSSH toolbar diff --git a/README.MD b/README.MD index 2da4cde3..f82916f5 100644 --- a/README.MD +++ b/README.MD @@ -2,7 +2,7 @@

- +

@@ -177,5 +177,5 @@ Check out the [Wiki page](https://github.com/mRemoteNG/mRemoteNG/wiki) on how to

- Developed with ReSharper + Developed with ReSharper

diff --git a/Tools/img/logo.png b/Tools/img/logo.png deleted file mode 100644 index 8fc9affb..00000000 Binary files a/Tools/img/logo.png and /dev/null differ diff --git a/Tools/zip_files.ps1 b/Tools/zip_files.ps1 index 3ab1b39d..fde2225c 100644 --- a/Tools/zip_files.ps1 +++ b/Tools/zip_files.ps1 @@ -39,8 +39,6 @@ if ($ConfigurationName -match "Release") { $debugFile = Join-Path -Path $TargetDir -ChildPath "mRemoteNG.pdb" - Write-Output "Creating debug symbols ZIP file $($outputZipPath) from $($debugFile)" - # AppVeyor build if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) { $outputZipPath = Join-Path -Path $SolutionDir -ChildPath "Release\$zipFilePrefix-$($version).zip" @@ -51,24 +49,18 @@ if ($ConfigurationName -match "Release") { $outputZipPath = "$($SolutionDir)Release\$zipFilePrefix-$($version).zip" Compress-Archive $debugFile $outputZipPath -Force } -} -Write-Output "" + Remove-Item $debugFile +} # Package portable release zip file if ($ConfigurationName -eq "Release Portable") { - Write-Output "Packaging Release Portable ZIP" - - # Exclude debug symbols from folder - $FileExclude = @("*.pdb") - $Source = Get-ChildItem -Recurse -Path $TargetDir -Exclude $FileExclude - - Write-Output "Creating portable ZIP file $($outputZipPath) from $($Source)" + Write-Output "Packaging portable ZIP file" # AppVeyor build if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) { $outputZipPath = Join-Path -Path $SolutionDir -ChildPath "Release\mRemoteNG-Portable-$($version).zip" - 7z a -spf $outputZipPath $Source + 7z a -bt -bd -bb1 -mx=9 -tzip -y -r $outputZipPath $TargetDir\* } # Local build else { diff --git a/mRemoteNG/Config/Connections/Multiuser/RemoteConnectionsSyncronizer.cs b/mRemoteNG/Config/Connections/Multiuser/RemoteConnectionsSyncronizer.cs index 36fd5352..d9c7c9d6 100644 --- a/mRemoteNG/Config/Connections/Multiuser/RemoteConnectionsSyncronizer.cs +++ b/mRemoteNG/Config/Connections/Multiuser/RemoteConnectionsSyncronizer.cs @@ -8,7 +8,7 @@ namespace mRemoteNG.Config.Connections.Multiuser { public class RemoteConnectionsSyncronizer : IConnectionsUpdateChecker { - private readonly Timer _updateTimer; + private readonly System.Timers.Timer _updateTimer; private readonly IConnectionsUpdateChecker _updateChecker; public double TimerIntervalInMilliseconds @@ -19,7 +19,7 @@ namespace mRemoteNG.Config.Connections.Multiuser public RemoteConnectionsSyncronizer(IConnectionsUpdateChecker updateChecker) { _updateChecker = updateChecker; - _updateTimer = new Timer(3000); + _updateTimer = new System.Timers.Timer(3000); SetEventListeners(); } diff --git a/mRemoteNG/Config/DatabaseConnectors/MSSqlDatabaseConnector.cs b/mRemoteNG/Config/DatabaseConnectors/MSSqlDatabaseConnector.cs index 95a7d509..a93fbfb2 100644 --- a/mRemoteNG/Config/DatabaseConnectors/MSSqlDatabaseConnector.cs +++ b/mRemoteNG/Config/DatabaseConnectors/MSSqlDatabaseConnector.cs @@ -53,9 +53,12 @@ namespace mRemoteNG.Config.DatabaseConnectors private void BuildDbConnectionStringWithCustomCredentials() { + string[] hostParts = _dbHost.Split(new char[] { ':' }, 2); + var _dbPort = (hostParts.Length == 2) ? hostParts[1] : "1433"; + _dbConnectionString = new SqlConnectionStringBuilder { - DataSource = _dbHost, + DataSource = $"{hostParts[0]},{_dbPort}", InitialCatalog = _dbCatalog, UserID = _dbUsername, Password = _dbPassword, diff --git a/mRemoteNG/Connection/AbstractConnectionRecord.cs b/mRemoteNG/Connection/AbstractConnectionRecord.cs index d07432e1..9ad98875 100644 --- a/mRemoteNG/Connection/AbstractConnectionRecord.cs +++ b/mRemoteNG/Connection/AbstractConnectionRecord.cs @@ -588,7 +588,7 @@ namespace mRemoteNG.Connection } [LocalizedAttributes.LocalizedCategory(nameof(Language.Redirect), 6), - LocalizedAttributes.LocalizedDisplayName(nameof(Language.Redirect)), + LocalizedAttributes.LocalizedDisplayName(nameof(Language.DiskDrives)), LocalizedAttributes.LocalizedDescription(nameof(Language.PropertyDescriptionRedirectDrives)), TypeConverter(typeof(MiscTools.YesNoTypeConverter)), AttributeUsedInProtocol(ProtocolType.RDP)] @@ -633,7 +633,7 @@ namespace mRemoteNG.Connection } [LocalizedAttributes.LocalizedCategory(nameof(Language.Redirect), 6), - LocalizedAttributes.LocalizedDisplayName(nameof(Language.Redirect)), + LocalizedAttributes.LocalizedDisplayName(nameof(Language.SmartCard)), LocalizedAttributes.LocalizedDescription(nameof(Language.PropertyDescriptionRedirectSmartCards)), TypeConverter(typeof(MiscTools.YesNoTypeConverter)), AttributeUsedInProtocol(ProtocolType.RDP)] diff --git a/mRemoteNG/Language/Language.Designer.cs b/mRemoteNG/Language/Language.Designer.cs index 2f061ee0..30930a75 100644 --- a/mRemoteNG/Language/Language.Designer.cs +++ b/mRemoteNG/Language/Language.Designer.cs @@ -5226,6 +5226,15 @@ namespace mRemoteNG { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die SmartCard ähnelt. + /// + internal static string SmartCard { + get { + return ResourceManager.GetString("SmartCard", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die SmartSize (RDP/VNC) ähnelt. /// diff --git a/mRemoteNG/Language/Language.resx b/mRemoteNG/Language/Language.resx index c102ad6c..0d2c3a6d 100644 --- a/mRemoteNG/Language/Language.resx +++ b/mRemoteNG/Language/Language.resx @@ -2150,4 +2150,7 @@ Nightly Channel includes Alphas, Betas & Release Candidates. WebView2 creation failed with exception + + SmartCard + \ No newline at end of file diff --git a/mRemoteNG/UI/Window/ExternalToolsWindow.Designer.cs b/mRemoteNG/UI/Window/ExternalToolsWindow.Designer.cs index 4d88aaf9..5d4fc833 100644 --- a/mRemoteNG/UI/Window/ExternalToolsWindow.Designer.cs +++ b/mRemoteNG/UI/Window/ExternalToolsWindow.Designer.cs @@ -560,7 +560,6 @@ namespace mRemoteNG.UI.Window this.ClientSize = new System.Drawing.Size(827, 401); this.Controls.Add(this.ToolStripContainer); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "ExternalToolsWindow"; this.TabText = "External Applications"; this.Text = "External Tools"; diff --git a/mRemoteNG/UI/Window/ExternalToolsWindow.resx b/mRemoteNG/UI/Window/ExternalToolsWindow.resx deleted file mode 100644 index be385a18..00000000 --- a/mRemoteNG/UI/Window/ExternalToolsWindow.resx +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 177, 17 - - - 357, 17 - - - 17, 17 - - - 54 - - - - - AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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/t6eb/7enm/+3p5v/t6eb/7enm//X08v+FdmiUwr66/klO - 0/8WrOL/Pa9B/+Hb1v/h29b/4dvW/+Hb1v/h29b/4dvW/+Hb1v/h29b/4dvW/+Hc1//t6uf/inptk6mi - nZnCvrr6yMO+/8jBvf/Ev7n/wLm0/7y1sP+4sar/tKuk/6+mnv+qn5f/pZqR/6CUiv+bjoT/k4Z7+n1y - am4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAA//+cQQAAnEEAAJxBAACcQQAAnEEAAJxBAACcQQAAnEEAAJxBAACcQQAAnEEAAJxBAACcQQAA - nEEAAJxB//+cQQ== - - - \ No newline at end of file diff --git a/mRemoteNG/UI/Window/PortScanWindow.Designer.cs b/mRemoteNG/UI/Window/PortScanWindow.Designer.cs index d84aceec..6c44539d 100644 --- a/mRemoteNG/UI/Window/PortScanWindow.Designer.cs +++ b/mRemoteNG/UI/Window/PortScanWindow.Designer.cs @@ -494,7 +494,6 @@ namespace mRemoteNG.UI.Window this.ClientSize = new System.Drawing.Size(884, 461); this.Controls.Add(this.pnlMain); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "PortScanWindow"; this.TabText = "Port Scan"; this.Text = "Port Scan"; diff --git a/mRemoteNG/UI/Window/PortScanWindow.resx b/mRemoteNG/UI/Window/PortScanWindow.resx deleted file mode 100644 index 19402096..00000000 --- a/mRemoteNG/UI/Window/PortScanWindow.resx +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 17, 17 - - - 161, 17 - - - - - AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAGxsbP9sbGz/EVuT/xRclP8XX5f/GmGZ/x1jm/8hZp7/JGig/yhro/8sbqb/MHGp/66u - rv+3t7f/AAAAAAAAAAAAAAAAAAAAABVdlf90qNH/dqrS/3mr0/97rdT/fa/V/4Gy1v+Ds9f/hrbY/zZ1 - rf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZYJj/d6vT/1SVx/9Yl8j/W5rJ/1+dy/9ioM3/ZqLO/4u5 - 2v88ebH/IGqqAiZqoJMbYpl3AAAAAAAAAAAAAAAAHmSc/3ut1P9Zmcn/XJvK/2CezP9koc3/Z6TP/3an - yf+buMv/Tn+u/0OEv5t6qNL/MnKotwAAAAAAAAAAAAAAACNnn/9/sNX/XpzL/2KfzP9mos7/aaXP/4+u - wP/bxK//682z/9y9o/+sr7b/UYzCvSJopBgAAAAAAAAAAAAAAAAoa6P/gbTX/1TC7f9bt+P/a6fQ/2+p - 0v/ezrz/9+PQ//Xcw//64cf/4cGm/WGCpCoAAAAAAAAAAAAAAAAAAAAALm+n/3y74P9L1P//X7rk/3Gr - 0v91rdT/8d3J//bizv/03MP/9t3E/+3Qtv/TpH4qAAAAAAAAAAAAAAAAAAAAADNzq/+Mutr/bavU/3Os - 0/93r9X/erLW/+LYy//46dr/9uPQ//jl0//qzLLr3bGNGQAAAAAAAAAAAAAAAAAAAAA5d6//j73c/3St - 1P95sNX/fLPX/4C22P+bwNX/49nN//Phzv/czcH/58KhSgAAAAAAAAAAAAAAAAAAAAAAAAAAP3y0/5TB - 3f96stb/frTX/4G32f+Futv/iL3c/4y/3f+oz+X/Y5XN/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEWA - uP+ZxOD/gLbY/4O42v+Hu9v/ir7c/43A3v+Qwt//q9Hn/2eY0P8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AABLhLz/ncfh/6DJ4v+iy+T/pc3k/6jP5f+q0ef/q9Po/67U6P9rm9P/AAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAUYjA/1WLw/9Zjsb/XJDI/2CTy/9jlc3/ZpfP/2ma0v9sm9P/bp3V/wAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAA//+cQYABnEHgB5xB4ACcQeAAnEHgAJxB4AGcQeABnEHgAZxB4AOcQeAHnEHgB5xB4AecQeAH - nEH//5xB//+cQQ== - - - \ No newline at end of file diff --git a/mRemoteNG/app.config b/mRemoteNG/app.config index f0ad3da3..8400604c 100644 --- a/mRemoteNG/app.config +++ b/mRemoteNG/app.config @@ -3,11 +3,11 @@
-
+
-
+
@@ -35,7 +35,7 @@ - + 0, 0 @@ -816,17 +816,17 @@ EdgeChromium - + - + https://mremoteng.org/ cs-CZ,de,el,en,en-US,es-AR,es,fr,hu,it,lt,ja-JP,ko-KR,nb-NO,nl,pt,pt-BR,pl,ru,uk,tr-TR,zh-CN,zh-TW - + diff --git a/mRemoteNG/mRemoteNG.csproj b/mRemoteNG/mRemoteNG.csproj index d6369630..712f5408 100644 --- a/mRemoteNG/mRemoteNG.csproj +++ b/mRemoteNG/mRemoteNG.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows7.0 true Icons\mRemoteNG.ico 1.77.2 @@ -13,8 +13,8 @@ AnyCPU;ARM64;x64 Debug;Release;Debug Portable;Release Portable;Release Installer false + preview - DEBUG false @@ -64,9 +64,6 @@ - - - diff --git a/mRemoteNGProjectFiles/Header_dark.png b/mRemoteNGProjectFiles/Header_dark.png new file mode 100644 index 00000000..7cbd122e Binary files /dev/null and b/mRemoteNGProjectFiles/Header_dark.png differ diff --git a/Tools/img/icon_ReSharper.png b/mRemoteNGProjectFiles/icon_ReSharper.png similarity index 100% rename from Tools/img/icon_ReSharper.png rename to mRemoteNGProjectFiles/icon_ReSharper.png diff --git a/mRemoteNGProjectFiles/logo.png b/mRemoteNGProjectFiles/logo.png deleted file mode 100644 index 84a52385..00000000 Binary files a/mRemoteNGProjectFiles/logo.png and /dev/null differ diff --git a/mRemoteNGSpecs/mRemoteNGSpecs.csproj b/mRemoteNGSpecs/mRemoteNGSpecs.csproj index 2a43c2dc..f7496c93 100644 --- a/mRemoteNGSpecs/mRemoteNGSpecs.csproj +++ b/mRemoteNGSpecs/mRemoteNGSpecs.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows7.0 enable true AnyCPU;x64 diff --git a/mRemoteNGTests/mRemoteNGTests.csproj b/mRemoteNGTests/mRemoteNGTests.csproj index dcd491a4..58190db7 100644 --- a/mRemoteNGTests/mRemoteNGTests.csproj +++ b/mRemoteNGTests/mRemoteNGTests.csproj @@ -1,7 +1,7 @@  - net5.0-windows + net6.0-windows7.0 false @@ -13,7 +13,7 @@ - +