Skip to content

Feature: Firewall app#3383

Merged
mergify[bot] merged 28 commits intomainfrom
feature/firewall-app-base
Apr 23, 2026
Merged

Feature: Firewall app#3383
mergify[bot] merged 28 commits intomainfrom
feature/firewall-app-base

Conversation

@BornToBeRoot
Copy link
Copy Markdown
Owner

Changes proposed in this pull request

  • Add Firewall App

Related issue(s)

To-Do

Copilot AI review requested due to automatic review settings April 11, 2026 01:51
@github-actions github-actions Bot added this to the next-release milestone Apr 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an initial “Firewall” app surface to NETworkManager, including a WPF DataGrid-based UI and a new firewall model layer that loads NETworkManager-owned Windows Firewall rules via PowerShell.

Changes:

  • Introduce a new Firewall rules grid UI with row details, search, refresh, and context menus.
  • Add a new NETworkManager.Models.Firewall model layer (rule DTOs + PowerShell-backed rule loading/parsing).
  • Add supporting enums/models (protocols, directions, port specs, interface types, network profiles).

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Source/NETworkManager/Views/FirewallView.xaml.cs Adds click handler to toggle DataGrid row details.
Source/NETworkManager/Views/FirewallView.xaml Reworks Firewall view to a searchable/refreshable MultiSelectDataGrid with row details.
Source/NETworkManager/ViewModels/FirewallViewModel.cs Adds rule collection/view, filtering, refresh logic, and rule-related commands (mostly TODO).
Source/NETworkManager.Models/NETworkManager.Models.csproj Adds Firewall folder entry to the Models project.
Source/NETworkManager.Models/Network/NetworkProfiles.cs Adds enum representing Windows network profiles.
Source/NETworkManager.Models/Firewall/FirewallRuleProgram.cs Adds program/path model for firewall rules.
Source/NETworkManager.Models/Firewall/FirewallRuleDirection.cs Adds inbound/outbound direction enum.
Source/NETworkManager.Models/Firewall/FirewallRuleAction.cs Adds allow/block action enum.
Source/NETworkManager.Models/Firewall/FirewallRule.cs Adds firewall rule DTO + display helpers.
Source/NETworkManager.Models/Firewall/FirewallProtocol.cs Adds protocol enum mapping (incl. Any/255).
Source/NETworkManager.Models/Firewall/FirewallPortSpecification.cs Adds port range/single-port specification model.
Source/NETworkManager.Models/Firewall/FirewallPortLocation.cs Adds local vs remote port location enum.
Source/NETworkManager.Models/Firewall/FirewallInterfaceType.cs Adds interface type enum.
Source/NETworkManager.Models/Firewall/Firewall.cs Adds PowerShell-based rule discovery + parsing helpers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Source/NETworkManager.Models/Firewall/FirewallRule.cs Outdated
Comment thread Source/NETworkManager.Models/Firewall/FirewallRule.cs Outdated
Comment thread Source/NETworkManager/Views/FirewallView.xaml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 48 out of 52 changed files in this pull request and generated 11 comments.

Files not reviewed (2)
  • Source/NETworkManager.Localization/Resources/StaticStrings.Designer.cs: Language not supported
  • Source/NETworkManager.Localization/Resources/Strings.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Source/NETworkManager.Validators/EmptyOrFirewallAddressValidator.cs
Comment thread Source/NETworkManager.Converters/FirewallNetworkProfilesToStringConverter.cs Outdated
Comment thread Source/NETworkManager/Views/FirewallView.xaml
Comment thread Source/NETworkManager/Views/FirewallView.xaml
Comment thread Source/NETworkManager.Models/Network/NetworkInterface.cs
Comment thread Source/NETworkManager.Models/Firewall/Firewall.cs
Comment thread Source/NETworkManager/Views/FirewallView.xaml
Comment thread Source/NETworkManager.Settings/SettingsViewManager.cs Outdated
Comment thread Source/NETworkManager.Profiles/ProfileViewManager.cs
Comment thread Source/NETworkManager/Views/FirewallView.xaml
@BornToBeRoot
Copy link
Copy Markdown
Owner Author

@copilot resolve the merge conflicts in this pull request

Resolve conflicts:
- Website/package.json: take react/react-dom ^19.2.5 from main (Dependabot bump)
- Website/yarn.lock: update package keys to match ^19.2.5

Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 23, 2026

@copilot resolve the merge conflicts in this pull request

Merge conflicts resolved in 3f9768f. The only conflicts were in Website/package.json and Website/yarn.lock from the Dependabot react/react-dom bump — resolved by taking the ^19.2.5 versions from main. Source/global.json (SDK bump to 10.0.203) was auto-merged cleanly.

@mergify mergify Bot merged commit eafcc0e into main Apr 23, 2026
5 checks passed
@mergify mergify Bot deleted the feature/firewall-app-base branch April 23, 2026 22:40
@BornToBeRoot BornToBeRoot restored the feature/firewall-app-base branch April 25, 2026 21:13
@BornToBeRoot BornToBeRoot deleted the feature/firewall-app-base branch April 25, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New App] Firewall module/application

3 participants