Skip to content

Commit 536c5a7

Browse files
authored
Feature: Global DNS (BornToBeRoot#1733)
* Feature: Global DNS * Docs: Add documentation and remove warnings * Chore: Code cleanup & remove warnings * Feature: Let the user only set the ip of the new nameserver * Chore: Mark class & methods as deprecated * Feature: Custom DNS resolver for app * Docs: Add files location & fix broken links * Feature: DNS improvements * Docs: BornToBeRoot#1733 added * Feature: Custom DNS resolver * Feature: Custom DNS resolver * Feature: Custom DNS resolver * Feature: Custom DNS resolver * Feature: Custom DNS resolver * Feature: Custom DNS resolver * Docs: Settings\Network & Add some notes
1 parent 3d13655 commit 536c5a7

63 files changed

Lines changed: 1163 additions & 1008 deletions

Some content is hidden

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

InnoSetup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "NETworkManager"
5-
#define MyAppVersion "2022.11.20.0"
5+
#define MyAppVersion "2022.12.8.0"
66
#define MyAppPublisher "BornToBeRoot"
77
#define MyAppURL "https://github.com/BornToBeRoot/NETworkManager/"
88
#define MyAppExeName "NETworkManager.exe"

Source/GlobalAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
[assembly: AssemblyTrademark("")]
77
[assembly: AssemblyCulture("")]
88

9-
[assembly: AssemblyVersion("2022.11.20.0")]
10-
[assembly: AssemblyFileVersion("2022.11.20.0")]
9+
[assembly: AssemblyVersion("2022.12.8.0")]
10+
[assembly: AssemblyFileVersion("2022.12.8.0")]

Source/NETworkManager.Documentation/BaseInfo.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
11
namespace NETworkManager.Documentation
22
{
3-
3+
/// <summary>
4+
/// Base class to hold informations about a library, service or resource.
5+
/// </summary>
46
public abstract class BaseInfo
57
{
8+
/// <summary>
9+
/// Name of the library, service or resource.
10+
/// </summary>
611
public string Name { get; set; }
12+
13+
/// <summary>
14+
/// Url of the library, service or resource.
15+
/// </summary>
716
public string WebsiteUrl { get; set; }
17+
18+
/// <summary>
19+
/// Description of the library, service or resource.
20+
/// </summary>
821
public string Description { get; set; }
922

23+
/// <summary>
24+
/// Create an instance of <see cref="BaseInfo"/> with parameters.
25+
/// </summary>
26+
/// <param name="name">Name of the library, service or resource.</param>
27+
/// <param name="websiteUrl">Url of the library, service or resource.</param>
28+
/// <param name="description">Description of the library, service or resource.</param>
1029
protected BaseInfo(string name, string websiteUrl, string description)
1130
{
1231
Name = name;

Source/NETworkManager.Documentation/DocumentationIdentifier.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ public enum DocumentationIdentifier
150150
/// </summary>
151151
SettingsLanguage,
152152

153+
/// <summary>
154+
/// Settings\Network documentation page.
155+
/// </summary>
156+
SettingsNetwork,
157+
153158
/// <summary>
154159
/// Settings\Status documentation page.
155160
/// </summary>

Source/NETworkManager.Documentation/DocumentationManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public static class DocumentationManager
5050
new DocumentationInfo(DocumentationIdentifier.SettingsWindow, @"Documentation/Settings/Window"),
5151
new DocumentationInfo(DocumentationIdentifier.SettingsAppearance, @"Documentation/Settings/Appearance"),
5252
new DocumentationInfo(DocumentationIdentifier.SettingsLanguage, @"Documentation/Settings/Language"),
53+
new DocumentationInfo(DocumentationIdentifier.SettingsNetwork, @"Documentation/Settings/Network"),
5354
new DocumentationInfo(DocumentationIdentifier.SettingsStatus, @"Documentation/Settings/Status"),
5455
new DocumentationInfo(DocumentationIdentifier.SettingsHotKeys, @"Documentation/Settings/HotKeys"),
5556
new DocumentationInfo(DocumentationIdentifier.SettingsAutostart, @"Documentation/Settings/Autostart"),
@@ -152,6 +153,7 @@ public static DocumentationIdentifier GetIdentifierBySettingsName(SettingsViewNa
152153
SettingsViewName.Window => DocumentationIdentifier.SettingsWindow,
153154
SettingsViewName.Appearance => DocumentationIdentifier.SettingsAppearance,
154155
SettingsViewName.Language => DocumentationIdentifier.SettingsLanguage,
156+
SettingsViewName.Network => DocumentationIdentifier.SettingsNetwork,
155157
SettingsViewName.Status => DocumentationIdentifier.SettingsStatus,
156158
SettingsViewName.HotKeys => DocumentationIdentifier.SettingsHotKeys,
157159
SettingsViewName.Autostart => DocumentationIdentifier.SettingsAutostart,

Source/NETworkManager.Documentation/ExternalServicesInfo.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
namespace NETworkManager.Documentation
22
{
3+
/// <summary>
4+
/// Class to hold all informations about an external service.
5+
/// </summary>
36
public class ExternalServicesInfo : BaseInfo
47
{
8+
/// <summary>
9+
/// Create an instance of <see cref="ExternalServicesInfo"/> with parameters.
10+
/// </summary>
11+
/// <param name="name">Name of the external service.</param>
12+
/// <param name="websiteUrl">Url of the external service.</param>
13+
/// <param name="description">Description of the external service.</param>
514
public ExternalServicesInfo(string name, string websiteUrl, string description) : base(name, websiteUrl,
615
description)
716
{

Source/NETworkManager.Documentation/ExternalServicesManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static class ExternalServicesManager
1010
/// <summary>
1111
/// Static list with all external services that are used.
1212
/// </summary>
13-
public static List<ExternalServicesInfo> List => new List<ExternalServicesInfo>
13+
public static List<ExternalServicesInfo> List => new()
1414
{
1515
new ExternalServicesInfo("ipify", "https://www.ipify.org/", Localization.Resources.Strings.ExternalService_ipify_Description)
1616
};

Source/NETworkManager.Documentation/LibraryInfo.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
namespace NETworkManager.Documentation
22
{
3+
/// <summary>
4+
/// Class to hold all informations about a library.
5+
/// </summary>
36
public class LibraryInfo : BaseInfo
47
{
8+
/// <summary>
9+
/// License which is used by the library.
10+
/// </summary>
511
public string License { get; set; }
12+
13+
/// <summary>
14+
/// Url of the license which is used by the library.
15+
/// </summary>
616
public string LicenseUrl { get; set; }
717

18+
/// <summary>
19+
/// Create an instance of <see cref="LibraryInfo"/> with parameters.
20+
/// </summary>
21+
/// <param name="name">Name of the library.</param>
22+
/// <param name="websiteUrl">Url of the library.</param>
23+
/// <param name="description">Description of the library.</param>
24+
/// <param name="license">License which is used by the library.</param>
25+
/// <param name="licenseUrl">Url of the license which is used by the library.</param>
826
public LibraryInfo(string name, string websiteUrl, string description, string license, string licenseUrl) : base(name, websiteUrl, description)
927
{
1028
License = license;

Source/NETworkManager.Documentation/ResourceInfo.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
namespace NETworkManager.Documentation
22
{
3+
/// <summary>
4+
/// Class to hold all informations about a resource.
5+
/// </summary>
36
public class ResourceInfo : BaseInfo
47
{
8+
/// <summary>
9+
/// Create an instance of <see cref="ResourceInfo"/> with parameters.
10+
/// </summary>
11+
/// <param name="name">Name of the resource.</param>
12+
/// <param name="websiteUrl">Url of the resource.</param>
13+
/// <param name="description">Description of the resource.</param>
514
public ResourceInfo(string name, string websiteUrl, string description) : base(name, websiteUrl, description)
615
{
716

Source/NETworkManager.Localization/Resources/Strings.Designer.cs

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)