OPNSense/core e772937src/opnsense/mvc/app/library/OPNsense/Interface Autoconf.php

interfaces: go through Autoconf for a bit of style

My fault entirely looking at it for the previous issue.

(cherry picked from commit deab7e1ba34b0ae40083da89f7d1484d83584845)
DeltaFile
+6-2src/opnsense/mvc/app/library/OPNsense/Interface/Autoconf.php
+6-21 files

OPNSense/core 37b1df3src/opnsense/scripts/interfaces ifctl.sh

interfaces: always allow reads to internal files

(cherry picked from commit f5b1a2e98c531c204fc0306be68bd7ca037febe4)
DeltaFile
+1-0src/opnsense/scripts/interfaces/ifctl.sh
+1-01 files

OPNSense/core c449a43src/opnsense/www/js opnsense_bootgrid.js

bootgrid: bail out on dynamic resize if data is loading, also move observer logic to a single-shot event

(cherry picked from commit 987a37d363c9a6d9dee8c238471fa7ee3abfc271)
(cherry picked from commit 4691225b5e7be00de879caacd7229b999bb04987)
DeltaFile
+64-65src/opnsense/www/js/opnsense_bootgrid.js
+64-651 files

OPNSense/core 4691225src/opnsense/www/js opnsense_bootgrid.js

bootgrid: allow height adjustment during loading
DeltaFile
+3-7src/opnsense/www/js/opnsense_bootgrid.js
+3-71 files

OPNSense/core 8069d72src/opnsense/mvc/app/controllers/OPNsense/Routing/Api SettingsController.php, src/opnsense/mvc/app/models/OPNsense/Routing Gateways.php

system: amendment for previous #9356

Keep API return data consistent and don't modify the existing
returns as the output differs slightly from raw model data and
should be kept this way.
DeltaFile
+9-3src/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php
+4-0src/opnsense/mvc/app/models/OPNsense/Routing/Gateways.php
+13-32 files

OPNSense/core 21a45dasrc/opnsense/mvc/app/controllers/OPNsense/Routing/Api SettingsController.php, src/opnsense/mvc/app/models/OPNsense/Core InitialSetup.php

system: switch int/bool to string in gateway properties; closes #9356

This is a broader commit for what looks like the right thing to do
for all fields actually anchored in the model for which even BooleanField
returns a string representation of the value.  Most should be benign but
the ones in Gateway.php and SettingsController.php should fix API display
issues.
DeltaFile
+5-5src/opnsense/scripts/shell/setaddr.php
+4-4src/opnsense/mvc/app/models/OPNsense/Core/InitialSetup.php
+2-2src/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php
+2-2src/opnsense/mvc/app/models/OPNsense/Routing/Gateways.php
+13-134 files

OPNSense/core 6965770src/etc/inc/plugins.inc.d hostwatch.inc, src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/ACL ACL.xml

Interfaces: Neighbors: Automatic Discovery - add new hostdiscovery feature (review feedback https://github.com/opnsense/core/pull/9354)
DeltaFile
+10-1src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/ACL/ACL.xml
+0-9src/etc/inc/plugins.inc.d/hostwatch.inc
+10-102 files

OPNSense/core 5e132f2src/etc/inc/plugins.inc.d hostwatch.inc, src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery SettingsController.php

Interfaces: Neighbors: Automatic Discovery - add new hostdiscovery feature

This splits the Neighbors menu item in an existing static assignments and adds the automatic discovery feature which includes logging and insights into the currently known hosts on the network. When automatic discovery is disabled, it drops back to arp/ndp.

By default automatic mode is enabled on all interfaces, but configuration options exists (to limit interfaces and networks).

Other consumers which require host mappings can use the /usr/local/opnsense/scripts/interfaces/list_hosts.py  script to either fetch the sqlite database or arp/ndp data for the selected pprotocol(s).

More information about the hostwatch daemon is available at https://github.com/opnsense/hostwatch
DeltaFile
+119-0src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+92-0src/opnsense/scripts/interfaces/list_hosts.py
+64-0src/etc/inc/plugins.inc.d/hostwatch.inc
+57-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api/ServiceController.php
+39-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api/SettingsController.php
+39-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/SettingsController.php
+410-013 files not shown
+614-119 files

OPNSense/core c458bafsrc/etc/inc/plugins.inc.d hostwatch.inc, src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery SettingsController.php

Hostdiscovery - work in progress
DeltaFile
+92-0src/opnsense/scripts/interfaces/list_hosts.py
+71-0src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+57-0src/etc/inc/plugins.inc.d/hostwatch.inc
+40-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api/ServiceController.php
+39-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api/SettingsController.php
+39-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/SettingsController.php
+338-010 files not shown
+508-116 files

OPNSense/core fff33dbsrc/opnsense/mvc/app/models/OPNsense/Firewall/ACL ACL.xml, src/opnsense/mvc/app/models/OPNsense/Firewall/Menu Menu.xml

firewall/automation: Move menu items to firewall/rules/filter and firewall/nat/sourcenat (#9344)

DeltaFile
+7-9src/opnsense/mvc/app/models/OPNsense/Firewall/Menu/Menu.xml
+2-2src/opnsense/mvc/app/models/OPNsense/Firewall/ACL/ACL.xml
+9-112 files

OPNSense/core ab99a99src/opnsense/mvc/app/views/OPNsense/IPsec sessions.volt

ipsec: status: search phase 2 triggered twice on click, cleanup tooltip event as well
DeltaFile
+0-4src/opnsense/mvc/app/views/OPNsense/IPsec/sessions.volt
+0-41 files

OPNSense/core 9a9d653src/opnsense/mvc/app/models/OPNsense/Firewall/ACL ACL.xml

Change ACL names
DeltaFile
+2-2src/opnsense/mvc/app/models/OPNsense/Firewall/ACL/ACL.xml
+2-21 files

OPNSense/core 8eeefacsrc/opnsense/mvc/app/models/OPNsense/Firewall/Menu Menu.xml

Rename Filter to Rule
DeltaFile
+5-7src/opnsense/mvc/app/models/OPNsense/Firewall/Menu/Menu.xml
+5-71 files

OPNSense/core 987a37dsrc/opnsense/www/js opnsense_bootgrid.js

bootgrid: bail out on dynamic resize if data is loading, also move observer logic to a single-shot event
DeltaFile
+66-63src/opnsense/www/js/opnsense_bootgrid.js
+66-631 files

OPNSense/core 0a574cesrc/opnsense/mvc/app/models/OPNsense/Core/Menu Menu.xml, src/opnsense/mvc/app/models/OPNsense/Firewall/Menu Menu.xml

Rename Filter to Rules new and align all menu items with order
DeltaFile
+15-13src/opnsense/mvc/app/models/OPNsense/Core/Menu/Menu.xml
+5-7src/opnsense/mvc/app/models/OPNsense/Firewall/Menu/Menu.xml
+1-1src/opnsense/mvc/app/models/OPNsense/TrafficShaper/Menu/Menu.xml
+21-213 files

OPNSense/core d275b61src/opnsense/mvc/app/views/OPNsense/Diagnostics fw_states.volt

Firewall: Fix delete_selected firewall states (#9351)

Without the datakey option the delete_selected command will try to use the
non-existing property "uuid" of the selected rows.

(cherry picked from commit 3a416438a3b1fbfb76439480513c5e6234417295)
DeltaFile
+1-0src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_states.volt
+1-01 files

OPNSense/core 3a41643src/opnsense/mvc/app/views/OPNsense/Diagnostics fw_states.volt

Firewall: Fix delete_selected firewall states (#9351)

Without the datakey option the delete_selected command will try to use the
non-existing property "uuid" of the selected rows.
DeltaFile
+1-0src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_states.volt
+1-01 files

OPNSense/core deab7e1src/opnsense/mvc/app/library/OPNsense/Interface Autoconf.php

interfaces: go through Autoconf for a bit of style

My fault entirely looking at it for the previous issue.
DeltaFile
+6-2src/opnsense/mvc/app/library/OPNsense/Interface/Autoconf.php
+6-21 files

OPNSense/core f5b1a2esrc/opnsense/scripts/interfaces ifctl.sh

interfaces: always allow reads to internal files
DeltaFile
+1-0src/opnsense/scripts/interfaces/ifctl.sh
+1-01 files

OPNSense/core 150ddd1src/etc/rc.subr.d recover

rc: secure an exec() in the recovery script

PR: https://github.com/opnsense/core/issues/9325

(cherry picked from commit f8316b1178999b3770238081549d4ff812d31c40)
(cherry picked from commit ef7e04c0c9c87d04606448060a8f2cc3234fbf10)
(cherry picked from commit 2f55553747ead9814f7c36e29845cb50ea659d24)
DeltaFile
+6-2src/etc/rc.subr.d/recover
+6-21 files

OPNSense/core d3c33f1src/opnsense/mvc/app/controllers/OPNsense/Routing/Api SettingsController.php

gateway: Show LLA IPv6 gateway from runtime value if not yet defined in model
DeltaFile
+1-0src/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php
+1-01 files

OPNSense/core 26b85b3src/opnsense/mvc/app/views/layouts default.volt, src/opnsense/www/js opnsense_ui.js

ui: keyboard shortcuts for "a"dvanced and "h"elp (#9091)

(cherry picked from commit 70399b5f587ac28d4bd8380aa3b8e12a5a392891)
(cherry picked from commit 00af05e2a51558ece536a5bc8134caf8013c3dd1)
DeltaFile
+30-0src/opnsense/www/js/opnsense_ui.js
+1-0src/opnsense/mvc/app/views/layouts/default.volt
+31-02 files

OPNSense/core c2b8debsrc/etc/inc/plugins.inc.d openvpn.inc

openvpn: use file_safe() to write CRL files
DeltaFile
+8-6src/etc/inc/plugins.inc.d/openvpn.inc
+8-61 files

OPNSense/core 71b8026src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterController.php

Firewall: Automation: Filter - allow interface parameter to contain a list of interfaces for api users.

(cherry picked from commit 49a621b0140f2c7dd00c01efe78729fb7fe058b4)
DeltaFile
+4-5src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+4-51 files

OPNSense/core b617c97src/opnsense/www/themes/opnsense-dark/build/css main.css opnsense-bootgrid.css

themes/opnsense-dark - recompile using dart sass (1.93.2) which changes color rendering.

As mentioned in https://github.com/opnsense/core/pull/9123, some statements will be deprecated. To lower the diff in future vresions, make sure we recompile the css files with the current compiler.

(cherry picked from commit af305cfd685d1ec3f5f1c612c6f6eb90e032da86)
DeltaFile
+179-175src/opnsense/www/themes/opnsense-dark/build/css/main.css
+21-29src/opnsense/www/themes/opnsense-dark/build/css/opnsense-bootgrid.css
+12-10src/opnsense/www/themes/opnsense-dark/build/css/bootstrap-dialog.css
+3-5src/opnsense/www/themes/opnsense-dark/build/css/dashboard.css
+4-2src/opnsense/www/themes/opnsense-dark/build/css/dns-overview.css
+2-2src/opnsense/www/themes/opnsense-dark/build/css/bootstrap-select.css
+221-2236 files

OPNSense/core 5f1b25esrc/opnsense/www/themes/opnsense/build/css main.css bootstrap-dialog.css

themes/opnsense - recompile using dart sass (1.93.2) which changes color rendering.

(cherry picked from commit 0d5ddcad1a71d7911b24ba4679e52c04ae8e05ba)
(cherry picked from commit 010f9f3117fbee81aaaecdab2cd6c993a12eefa6)
DeltaFile
+161-157src/opnsense/www/themes/opnsense/build/css/main.css
+12-10src/opnsense/www/themes/opnsense/build/css/bootstrap-dialog.css
+0-2src/opnsense/www/themes/opnsense/build/css/dashboard.css
+173-1693 files

OPNSense/core b4c548bsrc/opnsense/mvc/app/views/OPNsense/Diagnostics fw_log.volt

Firewall: Log Files: Live View - use "badge" class like before our refactor. closes https://github.com/opnsense/core/issues/9350

Remove background color from filter-chip class and append badge class, which brings the colors back to their original state.

(cherry picked from commit c6a3bcab41ff4610a2105cb85cc617312be7a45a)
DeltaFile
+2-2src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_log.volt
+2-21 files

OPNSense/core c6a3bcasrc/opnsense/mvc/app/views/OPNsense/Diagnostics fw_log.volt

Firewall: Log Files: Live View - use "badge" class like before our refactor. closes https://github.com/opnsense/core/issues/9350

Remove background color from filter-chip class and append badge class, which brings the colors back to their original state.
DeltaFile
+2-2src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_log.volt
+2-21 files

OPNSense/core 6c6839fsrc/opnsense/scripts/filter list_non_mvc_rules.php

Improve parsing a bit to detect This Firewall, Interface or Network
DeltaFile
+32-10src/opnsense/scripts/filter/list_non_mvc_rules.php
+32-101 files

OPNSense/core ce07963src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery SettingsController.php, src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api ServiceController.php SettingsController.php

Hostdiscovery - work in progress
DeltaFile
+67-0src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+40-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api/ServiceController.php
+39-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api/SettingsController.php
+39-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/SettingsController.php
+37-0src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/Hostwatch.php
+34-0src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/Hostwatch.xml
+256-03 files not shown
+293-09 files