Skip to content

Commit a86a0ec

Browse files
authored
Feature: Sort application list (#2781)
* 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
1 parent ca7a870 commit a86a0ec

File tree

141 files changed

+107587
-107301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+107587
-107301
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ In addition, NETworkManager is also available through the following [package man
8181
```PowerShell
8282
# Get release via Evergreen
8383
Get-EvergreenApp -Name NETworkManager
84-
84+
8585
# Get release via Evergreen and save the setup file to disk
8686
Get-EvergreenApp -Name NETworkManager | Save-EvergreenApp -Path C:\Users\$env:Username\Downloads\
8787
```
@@ -171,6 +171,7 @@ NETworkManager uses the following projects and libraries. Please consider suppor
171171
| [DnsClient.NET](https://github.com/MichaCo/DnsClient.NET) | Powerful, high-performance open-source library for DNS lookups |
172172
| [Docusaurus](https://docusaurus.io/) | Easy to maintain open source documentation websites. |
173173
| [Dragablz](https://dragablz.net/) | Tearable TabControl for WPF |
174+
| [GongSolutions.Wpf.DragDrop](https://github.com/punker76/gong-wpf-dragdrop) | An easy to use drag'n'drop framework for WPF |
174175
| [IPNetwork](https://github.com/lduchosal/ipnetwork) | .NET library for complex network, IP, and subnet calculations |
175176
| [LoadingIndicators.WPF](https://github.com/zeluisping/LoadingIndicators.WPF) | A collection of loading indicators for WPF |
176177
| [MahApps.Metro.IconPacks](https://github.com/MahApps/MahApps.Metro.IconPacks) | Awesome icon packs for WPF and UWP in one library |
@@ -180,7 +181,7 @@ NETworkManager uses the following projects and libraries. Please consider suppor
180181
181182
## Code Signing Policy
182183
183-
NETworkManager uses free code signing provided by [SignPath.io](https://signpath.io/) and a free code signing certificate
184+
NETworkManager uses free code signing provided by [SignPath.io](https://signpath.io/) and a free code signing certificate
184185
from [SignPath Foundation](https://signpath.org/).
185186
186187
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).

Source/GlobalAssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
[assembly: AssemblyCulture("")]
88

99
[assembly: AssemblyVersion("2024.5.12.0")]
10-
[assembly: AssemblyFileVersion("2024.5.12.0")]
10+
[assembly: AssemblyFileVersion("2024.5.12.0")]

Source/NETworkManager.Converters/IPAddressArrayToStringConverter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ public object Convert(object value, Type targetType, object parameter, CultureIn
1515
if (DesignerProperties.GetIsInDesignMode(new DependencyObject()))
1616
return "-/-";
1717

18-
if (value is not IPAddress[] ipAddresses)
18+
if (value is not IPAddress[] ipAddresses)
1919
return "-/-";
20-
20+
2121
return IPv4Address.ConvertIPAddressListToString(ipAddresses);
2222
}
2323

Source/NETworkManager.Documentation/LibraryManager.cs

+44-39
Original file line numberDiff line numberDiff line change
@@ -18,44 +18,39 @@ public static class LibraryManager
1818
/// <summary>
1919
/// Static list with all libraries that are used.
2020
/// </summary>
21-
public static List<LibraryInfo> List => new()
22-
{
23-
new LibraryInfo("MahApps.Metro", "https://github.com/mahapps/mahapps.metro",
24-
Strings.Library_MahAppsMetro_Description,
21+
public static List<LibraryInfo> List =>
22+
[
23+
new LibraryInfo("#SNMP Library", "https://github.com/lextudio/sharpsnmplib",
24+
Strings.Library_SharpSNMP_Description,
2525
Strings.License_MITLicense,
26-
"https://github.com/MahApps/MahApps.Metro/blob/master/LICENSE"),
27-
new LibraryInfo("MahApps.Metro.IconPacks", "https://github.com/MahApps/MahApps.Metro.IconPacks",
28-
Strings.Library_MahAppsMetroIconPacks_Description,
26+
"https://github.com/lextudio/sharpsnmplib/blob/master/LICENSE"),
27+
new LibraryInfo("AirspaceFixer", "https://github.com/chris84948/AirspaceFixer",
28+
Strings.Library_AirspaceFixer_Description,
2929
Strings.License_MITLicense,
30-
"https://github.com/MahApps/MahApps.Metro.IconPacks/blob/master/LICENSE"),
30+
"https://github.com/chris84948/AirspaceFixer/blob/master/LICENSE"),
31+
new LibraryInfo("AWSSDK.EC2", "https://github.com/aws/aws-sdk-net/",
32+
Strings.Library_AWSSDKdotEC2_Description,
33+
Strings.License_ApacheLicense2dot0, "https://aws.amazon.com/apache-2-0/"),
3134
new LibraryInfo("ControlzEx", "https://github.com/ControlzEx/ControlzEx",
3235
Strings.Library_ControlzEx_Description,
3336
Strings.License_MITLicense,
3437
"https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
35-
new LibraryInfo("Octokit", "https://github.com/octokit/octokit.net",
36-
Strings.Library_Octokit_Description,
37-
Strings.License_MITLicense,
38-
"https://github.com/octokit/octokit.net/blob/master/LICENSE.txt"),
39-
new LibraryInfo("#SNMP Library", "https://github.com/lextudio/sharpsnmplib",
40-
Strings.Library_SharpSNMP_Description,
41-
Strings.License_MITLicense,
42-
"https://github.com/lextudio/sharpsnmplib/blob/master/LICENSE"),
38+
new LibraryInfo("DnsClient.NET", "https://github.com/MichaCo/DnsClient.NET",
39+
Strings.Library_DnsClientNET_Description,
40+
Strings.License_ApacheLicense2dot0,
41+
"https://github.com/MichaCo/DnsClient.NET/blob/dev/LICENSE"),
4342
new LibraryInfo("Dragablz", "https://github.com/ButchersBoy/Dragablz",
4443
Strings.Library_Dragablz_Description,
4544
Strings.License_MITLicense,
4645
"https://github.com/ButchersBoy/Dragablz/blob/master/LICENSE"),
46+
new LibraryInfo("GongSolutions.Wpf.DragDrop", "https://github.com/punker76/gong-wpf-dragdrop",
47+
Strings.Library_GongSolutionsWpfDragDrop_Description,
48+
Strings.License_BDS3Clause,
49+
"https://github.com/punker76/gong-wpf-dragdrop/blob/develop/LICENSE"),
4750
new LibraryInfo("IPNetwork", "https://github.com/lduchosal/ipnetwork",
4851
Strings.Library_IPNetwork_Description,
4952
Strings.License_BDS2Clause,
5053
"https://github.com/lduchosal/ipnetwork/blob/master/LICENSE"),
51-
new LibraryInfo("AirspaceFixer", "https://github.com/chris84948/AirspaceFixer",
52-
Strings.Library_AirspaceFixer_Description,
53-
Strings.License_MITLicense,
54-
"https://github.com/chris84948/AirspaceFixer/blob/master/LICENSE"),
55-
new LibraryInfo("Newtonsoft.Json", "https://github.com/JamesNK/Newtonsoft.Json",
56-
Strings.Library_NewtonsoftJson_Description,
57-
Strings.License_MITLicense,
58-
"https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"),
5954
new LibraryInfo("LiveCharts", "https://github.com/Live-Charts/Live-Charts",
6055
Strings.Library_LiveCharts_Description,
6156
Strings.License_MITLicense,
@@ -64,14 +59,18 @@ public static class LibraryManager
6459
Strings.Library_LoadingIndicatorsWPF_Description,
6560
Strings.License_Unlicense,
6661
"https://github.com/zeluisping/LoadingIndicators.WPF/blob/master/LICENSE"),
67-
new LibraryInfo("DnsClient.NET", "https://github.com/MichaCo/DnsClient.NET",
68-
Strings.Library_DnsClientNET_Description,
62+
new LibraryInfo("log4net", "https://logging.apache.org/log4net/",
63+
Strings.Library_log4net_Description,
6964
Strings.License_ApacheLicense2dot0,
70-
"https://github.com/MichaCo/DnsClient.NET/blob/dev/LICENSE"),
71-
new LibraryInfo("PSDiscoveryProtocol", "https://github.com/lahell/PSDiscoveryProtocol",
72-
Strings.Library_PSDicoveryProtocol_Description,
65+
"https://github.com/apache/logging-log4net/blob/master/LICENSE"),
66+
new LibraryInfo("MahApps.Metro", "https://github.com/mahapps/mahapps.metro",
67+
Strings.Library_MahAppsMetro_Description,
7368
Strings.License_MITLicense,
74-
"https://github.com/lahell/PSDiscoveryProtocol/blob/master/LICENSE"),
69+
"https://github.com/MahApps/MahApps.Metro/blob/master/LICENSE"),
70+
new LibraryInfo("MahApps.Metro.IconPacks", "https://github.com/MahApps/MahApps.Metro.IconPacks",
71+
Strings.Library_MahAppsMetroIconPacks_Description,
72+
Strings.License_MITLicense,
73+
"https://github.com/MahApps/MahApps.Metro.IconPacks/blob/master/LICENSE"),
7574
new LibraryInfo("Microsoft.PowerShell.SDK", "https://github.com/PowerShell/PowerShell",
7675
Strings.Library_PowerShellSDK_Description,
7776
Strings.License_MITLicense,
@@ -88,18 +87,24 @@ public static class LibraryManager
8887
Strings.Library_XamlBehaviorsWpf_Description,
8988
Strings.License_MITLicense,
9089
"https://github.com/microsoft/XamlBehaviorsWpf/blob/master/LICENSE"),
91-
new LibraryInfo("log4net", "https://logging.apache.org/log4net/",
92-
Strings.Library_log4net_Description,
93-
Strings.License_ApacheLicense2dot0,
94-
"https://github.com/apache/logging-log4net/blob/master/LICENSE"),
95-
new LibraryInfo("AWSSDK.EC2", "https://github.com/aws/aws-sdk-net/",
96-
Strings.Library_AWSSDKdotEC2_Description,
97-
Strings.License_ApacheLicense2dot0, "https://aws.amazon.com/apache-2-0/"),
90+
new LibraryInfo("Newtonsoft.Json", "https://github.com/JamesNK/Newtonsoft.Json",
91+
Strings.Library_NewtonsoftJson_Description,
92+
Strings.License_MITLicense,
93+
"https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md"),
9894
new LibraryInfo("nulastudio.NetBeauty", "https://github.com/nulastudio/NetBeauty2",
9995
Strings.Library_nulastudioNetBeauty_Description,
10096
Strings.License_MITLicense,
101-
"https://github.com/nulastudio/NetBeauty2/blob/master/LICENSE")
102-
};
97+
"https://github.com/nulastudio/NetBeauty2/blob/master/LICENSE"),
98+
new LibraryInfo("Octokit", "https://github.com/octokit/octokit.net",
99+
Strings.Library_Octokit_Description,
100+
Strings.License_MITLicense,
101+
"https://github.com/octokit/octokit.net/blob/master/LICENSE.txt"),
102+
new LibraryInfo("PSDiscoveryProtocol", "https://github.com/lahell/PSDiscoveryProtocol",
103+
Strings.Library_PSDicoveryProtocol_Description,
104+
Strings.License_MITLicense,
105+
"https://github.com/lahell/PSDiscoveryProtocol/blob/master/LICENSE")
106+
];
107+
103108

104109
/// <summary>
105110
/// Method to get the license folder location.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) Jan Karger, Steven Kirk and Contributors. All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright notice, this
9+
list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
* Neither the name of gong-wpf-dragdrop nor the names of its
16+
contributors may be used to endorse or promote products derived from
17+
this software without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Source/NETworkManager.Documentation/NETworkManager.Documentation.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<None Remove="Licenses\ControlzEx.txt"/>
2020
<None Remove="Licenses\DnsClient.NET.txt"/>
2121
<None Remove="Licenses\Dragablz.txt"/>
22+
<None Remove="Licenses\GongSolutions.Wpf.DragDrop.txt"/>
2223
<None Remove="Licenses\IPNetwork.txt"/>
2324
<None Remove="Licenses\LiveCharts.txt"/>
2425
<None Remove="Licenses\LoadingIndicators.WPF.txt"/>
@@ -40,6 +41,9 @@
4041
<Compile Include="..\GlobalAssemblyInfo.cs" Link="Properties\GlobalAssemblyInfo.cs"/>
4142
</ItemGroup>
4243
<ItemGroup>
44+
<Content Include="Licenses\GongSolutions.Wpf.DragDrop.txt">
45+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
46+
</Content>
4347
<Content Include="Licenses\AirspaceFixer.txt">
4448
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4549
</Content>

0 commit comments

Comments
 (0)