Skip to content

Commit

Permalink
Feature: Sort application list (#2781)
Browse files Browse the repository at this point in the history
* Feature: Sort application list

* Feature: Sort application list

* Feature: Add indicator if app is visible/default

* Feature: Add drag & drop to main app view

* Docs: GongSolutions.Wpf.DragDrop added

* Feature: hide/show/set default application

* Docs: Add #2781

* Docs: #2781

* Chore: Reformat code
  • Loading branch information
BornToBeRoot authored Jul 31, 2024
1 parent ca7a870 commit a86a0ec
Show file tree
Hide file tree
Showing 141 changed files with 107,587 additions and 107,301 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ In addition, NETworkManager is also available through the following [package man
```PowerShell
# Get release via Evergreen
Get-EvergreenApp -Name NETworkManager
# Get release via Evergreen and save the setup file to disk
Get-EvergreenApp -Name NETworkManager | Save-EvergreenApp -Path C:\Users\$env:Username\Downloads\
```
Expand Down Expand Up @@ -171,6 +171,7 @@ NETworkManager uses the following projects and libraries. Please consider suppor
| [DnsClient.NET](https://github.com/MichaCo/DnsClient.NET) | Powerful, high-performance open-source library for DNS lookups |
| [Docusaurus](https://docusaurus.io/) | Easy to maintain open source documentation websites. |
| [Dragablz](https://dragablz.net/) | Tearable TabControl for WPF |
| [GongSolutions.Wpf.DragDrop](https://github.com/punker76/gong-wpf-dragdrop) | An easy to use drag'n'drop framework for WPF |
| [IPNetwork](https://github.com/lduchosal/ipnetwork) | .NET library for complex network, IP, and subnet calculations |
| [LoadingIndicators.WPF](https://github.com/zeluisping/LoadingIndicators.WPF) | A collection of loading indicators for WPF |
| [MahApps.Metro.IconPacks](https://github.com/MahApps/MahApps.Metro.IconPacks) | Awesome icon packs for WPF and UWP in one library |
Expand All @@ -180,7 +181,7 @@ NETworkManager uses the following projects and libraries. Please consider suppor

## Code Signing Policy

NETworkManager uses free code signing provided by [SignPath.io](https://signpath.io/) and a free code signing certificate
NETworkManager uses free code signing provided by [SignPath.io](https://signpath.io/) and a free code signing certificate
from [SignPath Foundation](https://signpath.org/).

The binaries and installer are built on [AppVeyor](https://ci.appveyor.com/project/BornToBeRoot/networkmanager) directly from the [GitHub repository](https://github.com/BornToBeRoot/NETworkManager/blob/main/appveyor.yml).
Expand Down
2 changes: 1 addition & 1 deletion Source/GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("2024.5.12.0")]
[assembly: AssemblyFileVersion("2024.5.12.0")]
[assembly: AssemblyFileVersion("2024.5.12.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public object Convert(object value, Type targetType, object parameter, CultureIn
if (DesignerProperties.GetIsInDesignMode(new DependencyObject()))
return "-/-";

if (value is not IPAddress[] ipAddresses)
if (value is not IPAddress[] ipAddresses)
return "-/-";

return IPv4Address.ConvertIPAddressListToString(ipAddresses);
}

Expand Down
83 changes: 44 additions & 39 deletions Source/NETworkManager.Documentation/LibraryManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,44 +18,39 @@ public static class LibraryManager
/// <summary>
/// Static list with all libraries that are used.
/// </summary>
public static List<LibraryInfo> List => new()
{
new LibraryInfo("MahApps.Metro", "https://github.com/mahapps/mahapps.metro",
Strings.Library_MahAppsMetro_Description,
public static List<LibraryInfo> List =>
[
new LibraryInfo("#SNMP Library", "https://github.com/lextudio/sharpsnmplib",
Strings.Library_SharpSNMP_Description,
Strings.License_MITLicense,
"https://github.com/MahApps/MahApps.Metro/blob/master/LICENSE"),
new LibraryInfo("MahApps.Metro.IconPacks", "https://github.com/MahApps/MahApps.Metro.IconPacks",
Strings.Library_MahAppsMetroIconPacks_Description,
"https://github.com/lextudio/sharpsnmplib/blob/master/LICENSE"),
new LibraryInfo("AirspaceFixer", "https://github.com/chris84948/AirspaceFixer",
Strings.Library_AirspaceFixer_Description,
Strings.License_MITLicense,
"https://github.com/MahApps/MahApps.Metro.IconPacks/blob/master/LICENSE"),
"https://github.com/chris84948/AirspaceFixer/blob/master/LICENSE"),
new LibraryInfo("AWSSDK.EC2", "https://github.com/aws/aws-sdk-net/",
Strings.Library_AWSSDKdotEC2_Description,
Strings.License_ApacheLicense2dot0, "https://aws.amazon.com/apache-2-0/"),
new LibraryInfo("ControlzEx", "https://github.com/ControlzEx/ControlzEx",
Strings.Library_ControlzEx_Description,
Strings.License_MITLicense,
"https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
new LibraryInfo("Octokit", "https://github.com/octokit/octokit.net",
Strings.Library_Octokit_Description,
Strings.License_MITLicense,
"https://github.com/octokit/octokit.net/blob/master/LICENSE.txt"),
new LibraryInfo("#SNMP Library", "https://github.com/lextudio/sharpsnmplib",
Strings.Library_SharpSNMP_Description,
Strings.License_MITLicense,
"https://github.com/lextudio/sharpsnmplib/blob/master/LICENSE"),
new LibraryInfo("DnsClient.NET", "https://github.com/MichaCo/DnsClient.NET",
Strings.Library_DnsClientNET_Description,
Strings.License_ApacheLicense2dot0,
"https://github.com/MichaCo/DnsClient.NET/blob/dev/LICENSE"),
new LibraryInfo("Dragablz", "https://github.com/ButchersBoy/Dragablz",
Strings.Library_Dragablz_Description,
Strings.License_MITLicense,
"https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
new LibraryInfo("GongSolutions.Wpf.DragDrop", "https://github.com/punker76/gong-wpf-dragdrop",
Strings.Library_GongSolutionsWpfDragDrop_Description,
Strings.License_BDS3Clause,
"https://github.com/punker76/gong-wpf-dragdrop/blob/develop/LICENSE"),
new LibraryInfo("IPNetwork", "https://github.com/lduchosal/ipnetwork",
Strings.Library_IPNetwork_Description,
Strings.License_BDS2Clause,
"https://github.com/lduchosal/ipnetwork/blob/master/LICENSE"),
new LibraryInfo("AirspaceFixer", "https://github.com/chris84948/AirspaceFixer",
Strings.Library_AirspaceFixer_Description,
Strings.License_MITLicense,
"https://github.com/chris84948/AirspaceFixer/blob/master/LICENSE"),
new LibraryInfo("Newtonsoft.Json", "https://github.com/JamesNK/Newtonsoft.Json",
Strings.Library_NewtonsoftJson_Description,
Strings.License_MITLicense,
"https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"),
new LibraryInfo("LiveCharts", "https://github.com/Live-Charts/Live-Charts",
Strings.Library_LiveCharts_Description,
Strings.License_MITLicense,
Expand All @@ -64,14 +59,18 @@ public static class LibraryManager
Strings.Library_LoadingIndicatorsWPF_Description,
Strings.License_Unlicense,
"https://github.com/zeluisping/LoadingIndicators.WPF/blob/master/LICENSE"),
new LibraryInfo("DnsClient.NET", "https://github.com/MichaCo/DnsClient.NET",
Strings.Library_DnsClientNET_Description,
new LibraryInfo("log4net", "https://logging.apache.org/log4net/",
Strings.Library_log4net_Description,
Strings.License_ApacheLicense2dot0,
"https://github.com/MichaCo/DnsClient.NET/blob/dev/LICENSE"),
new LibraryInfo("PSDiscoveryProtocol", "https://github.com/lahell/PSDiscoveryProtocol",
Strings.Library_PSDicoveryProtocol_Description,
"https://github.com/apache/logging-log4net/blob/master/LICENSE"),
new LibraryInfo("MahApps.Metro", "https://github.com/mahapps/mahapps.metro",
Strings.Library_MahAppsMetro_Description,
Strings.License_MITLicense,
"https://github.com/lahell/PSDiscoveryProtocol/blob/master/LICENSE"),
"https://github.com/MahApps/MahApps.Metro/blob/master/LICENSE"),
new LibraryInfo("MahApps.Metro.IconPacks", "https://github.com/MahApps/MahApps.Metro.IconPacks",
Strings.Library_MahAppsMetroIconPacks_Description,
Strings.License_MITLicense,
"https://github.com/MahApps/MahApps.Metro.IconPacks/blob/master/LICENSE"),
new LibraryInfo("Microsoft.PowerShell.SDK", "https://github.com/PowerShell/PowerShell",
Strings.Library_PowerShellSDK_Description,
Strings.License_MITLicense,
Expand All @@ -88,18 +87,24 @@ public static class LibraryManager
Strings.Library_XamlBehaviorsWpf_Description,
Strings.License_MITLicense,
"https://github.com/microsoft/XamlBehaviorsWpf/blob/master/LICENSE"),
new LibraryInfo("log4net", "https://logging.apache.org/log4net/",
Strings.Library_log4net_Description,
Strings.License_ApacheLicense2dot0,
"https://github.com/apache/logging-log4net/blob/master/LICENSE"),
new LibraryInfo("AWSSDK.EC2", "https://github.com/aws/aws-sdk-net/",
Strings.Library_AWSSDKdotEC2_Description,
Strings.License_ApacheLicense2dot0, "https://aws.amazon.com/apache-2-0/"),
new LibraryInfo("Newtonsoft.Json", "https://github.com/JamesNK/Newtonsoft.Json",
Strings.Library_NewtonsoftJson_Description,
Strings.License_MITLicense,
"https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"),
new LibraryInfo("nulastudio.NetBeauty", "https://github.com/nulastudio/NetBeauty2",
Strings.Library_nulastudioNetBeauty_Description,
Strings.License_MITLicense,
"https://github.com/nulastudio/NetBeauty2/blob/master/LICENSE")
};
"https://github.com/nulastudio/NetBeauty2/blob/master/LICENSE"),
new LibraryInfo("Octokit", "https://github.com/octokit/octokit.net",
Strings.Library_Octokit_Description,
Strings.License_MITLicense,
"https://github.com/octokit/octokit.net/blob/master/LICENSE.txt"),
new LibraryInfo("PSDiscoveryProtocol", "https://github.com/lahell/PSDiscoveryProtocol",
Strings.Library_PSDicoveryProtocol_Description,
Strings.License_MITLicense,
"https://github.com/lahell/PSDiscoveryProtocol/blob/master/LICENSE")
];


/// <summary>
/// Method to get the license folder location.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
BSD 3-Clause License

Copyright (c) Jan Karger, Steven Kirk and Contributors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of gong-wpf-dragdrop nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<None Remove="Licenses\ControlzEx.txt"/>
<None Remove="Licenses\DnsClient.NET.txt"/>
<None Remove="Licenses\Dragablz.txt"/>
<None Remove="Licenses\GongSolutions.Wpf.DragDrop.txt"/>
<None Remove="Licenses\IPNetwork.txt"/>
<None Remove="Licenses\LiveCharts.txt"/>
<None Remove="Licenses\LoadingIndicators.WPF.txt"/>
Expand All @@ -40,6 +41,9 @@
<Compile Include="..\GlobalAssemblyInfo.cs" Link="Properties\GlobalAssemblyInfo.cs"/>
</ItemGroup>
<ItemGroup>
<Content Include="Licenses\GongSolutions.Wpf.DragDrop.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Licenses\AirspaceFixer.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down
Loading

0 comments on commit a86a0ec

Please sign in to comment.