forked from wokhan/WFN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring: Introduced a custom GeoLocation record (to avoid depende…
…ncies to Bing Maps where not required). Improvement: Added country flags in the connections list and in the map. Refactoring: too many try/catch blocks in ProcessHelper.GetLocalUserOwner - btw there is something weird with it, see comments. Misc.: Updated the GeoIP DB. Improvement: the message regarding the missing DB file is now directly displayed over the map. Refactoring: partly rewrote the Connection constructor regarding the Owner/Path/Filename resolution. Refactoring: removed both ReasonColor and DirectionColor from LogEntryViewModel to handle them through conditional styling. UI: added bullet-shaped background for the protocol column. Looks nicer.
- Loading branch information
Showing
27 changed files
with
617 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace Wokhan.WindowsFirewallNotifier.Common.Net.GeoLocation; | ||
|
||
public record GeoLocation(double? Latitude = 0, double? Longitude = 0, string? Continent = null, string? Country = null, string? CountryISOCode = null, string? City = null, int? AccuracyRadius = 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.