OPNSense/core b724535contrib/tzdata zone.tab iso3166.tab

tzdata: sync while here

(cherry picked from commit 0deba9c9de36caf0c4a97337eb9acdfd95d02435)
DeltaFile
+54-56contrib/tzdata/zone.tab
+14-9contrib/tzdata/iso3166.tab
+68-652 files

OPNSense/core c7d0bbaScripts unused-functions.sh

Scripts: add a small script to find unused function
DeltaFile
+86-0Scripts/unused-functions.sh
+86-01 files

OPNSense/core 9c5a96esrc/etc/inc util.inc

system: remove unused format_bytes()

(cherry picked from commit 30343809e9a79ff2c275b7cdda07ab55ed60fd4d)
DeltaFile
+0-17src/etc/inc/util.inc
+0-171 files

OPNSense/core 4ae61e9src/etc/inc/plugins.inc.d ipsec.inc

ipsec: remove two unused functions

(cherry picked from commit b2a62884376d38efda2b1b4df095fee5e4088d1e)
DeltaFile
+0-46src/etc/inc/plugins.inc.d/ipsec.inc
+0-461 files

OPNSense/core 93a344esrc/etc/inc config.inc

config: remove unused config_restore()

(cherry picked from commit 51dcbcc39e90321233742177997013da2500dd74)
DeltaFile
+0-19src/etc/inc/config.inc
+0-191 files

OPNSense/core e773ac6src/www interfaces.php

interfaces: allow the unused function script to find these

(cherry picked from commit 39d5ff1a26ae306abc83c9ae1c70c8c4c07ce997)
DeltaFile
+3-3src/www/interfaces.php
+3-31 files

OPNSense/core 3280916Scripts unused-functions.sh

Scripts: one more for JS
DeltaFile
+1-0Scripts/unused-functions.sh
+1-01 files

OPNSense/core 35f46bbsrc/www firewall_schedule_edit.php

firewall: remove unused function...

... imported into pfSense in 2007... unused ;)

https://github.com/pfsense/pfsense/commit/615b27bc267a98e72
DeltaFile
+0-26src/www/firewall_schedule_edit.php
+0-261 files

OPNSense/core 1c4a983Scripts unused-functions.sh

Scripts: last adjustments? ;)
DeltaFile
+16-3Scripts/unused-functions.sh
+16-31 files

OPNSense/core 966c129src/www services_dhcpv6.php

Update src/www/services_dhcpv6.php

Co-authored-by: Franco Fichtner <franco at opnsense.org>
DeltaFile
+1-1src/www/services_dhcpv6.php
+1-11 files

OPNSense/core 39d5ff1src/www interfaces.php

interfaces: allow the unused function script to find these
DeltaFile
+3-3src/www/interfaces.php
+3-31 files

OPNSense/core e300395Scripts unused-functions.sh

Scripts: exclude plugin argument selector trick
DeltaFile
+1-1Scripts/unused-functions.sh
+1-11 files

OPNSense/core f5e0735Scripts unused-functions.sh

Scripts: a bit noisy, we just want the gory details now
DeltaFile
+2-1Scripts/unused-functions.sh
+2-11 files

OPNSense/core b2a6288src/etc/inc/plugins.inc.d ipsec.inc

ipsec: remove two unused functions
DeltaFile
+0-46src/etc/inc/plugins.inc.d/ipsec.inc
+0-461 files

OPNSense/core bc9f73aScripts unused-functions.sh

Scripts: typo
DeltaFile
+1-1Scripts/unused-functions.sh
+1-11 files

OPNSense/core b1a84fcsrc/etc/inc util.inc

system: remove unused check_subnets_overlap()
DeltaFile
+0-22src/etc/inc/util.inc
+0-221 files

OPNSense/core 17134aesrc/etc/inc util.inc

system: remove unused subnet_size()
DeltaFile
+0-13src/etc/inc/util.inc
+0-131 files

OPNSense/core 2d1c1fcScripts unused-functions.sh

Scripts: add unused-functions.sh helper

Processing is quite heavy but we don't need to run this all the time.
DeltaFile
+71-0Scripts/unused-functions.sh
+71-01 files

OPNSense/core c12f4cfsrc/etc/inc/plugins.inc.d captiveportal.inc

captive portal: drop forced redirection (test for https://github.com/opnsense/core/issues/8261)
DeltaFile
+0-21src/etc/inc/plugins.inc.d/captiveportal.inc
+0-211 files

OPNSense/core 3034380src/etc/inc util.inc

system: remove unused format_bytes()
DeltaFile
+0-17src/etc/inc/util.inc
+0-171 files

OPNSense/core 54629f4src/etc/inc certs.inc

system: remove unused cert_get_subject_array()
DeltaFile
+0-19src/etc/inc/certs.inc
+0-191 files

OPNSense/core bab4314src/etc/inc/plugins.inc.d captiveportal.inc

captive portal: drop forced redirection (test for https://github.com/opnsense/core/issues/8261)
DeltaFile
+0-22src/etc/inc/plugins.inc.d/captiveportal.inc
+0-221 files

OPNSense/core 51dcbccsrc/etc/inc config.inc

config: remove unused config_restore()
DeltaFile
+0-19src/etc/inc/config.inc
+0-191 files

OPNSense/core 5aa8d20src/etc/inc util.inc

interfaces: remove unused is_interface_assigned()
DeltaFile
+0-24src/etc/inc/util.inc
+0-241 files

OPNSense/core 4ce4450src/www vpn_openvpn_client.php vpn_openvpn_server.php

openvpn: remove is_interface_assigned() so it can be removed
DeltaFile
+6-16src/www/vpn_openvpn_client.php
+2-8src/www/vpn_openvpn_server.php
+8-242 files

OPNSense/core f31d7a8src/www interfaces_wireless.php

interfaces: remove is_interface_assigned() use from wlan
DeltaFile
+10-6src/www/interfaces_wireless.php
+10-61 files

OPNSense/core 03348d0src/etc/inc/plugins.inc.d dhcpd.inc, src/opnsense/mvc/app/models/OPNsense/Base/Menu MenuSystem.php

Services: ISC DHCPv6 - show "tracking" interfaces when enabled an offer an explicit disable option for the service in question so someone could use dnsmasq or kea instead.

To avoid large changes, we opt for a  minimal set here.
In services_dhcpv6.php, we add a separate form and handler in case tracking (without dhcpd6track6allowoverride) is set, which either flushes the unused isc-dhcpv6 server configuration when enabled (default) or writes a small section only including ['enabled' => -1].
For visibility, we show the calculated range as would be set by dhcpd_dhcp6_configure() when tracking is used.

The backend code then double checks the services which er explicitly disabled (-1) and skip processing for these (not enabled).

In order to make people aware of the fact that an isc-dhcpv6 server could be running, make sure the menu system also reflects reality.

Since router advertisements are stored within the same container and will need a toggle as well, keep the value of ramode so we have a way to intervene in a similar way as for dhcpv6.
One small side affect of this commit is that it will show "Services: Router Advertisements" for the tracking interface, which we need to implement later.

One of the building blocks for: https://github.com/opnsense/core/issues/8528
DeltaFile
+120-7src/www/services_dhcpv6.php
+16-5src/etc/inc/plugins.inc.d/dhcpd.inc
+1-1src/opnsense/mvc/app/models/OPNsense/Base/Menu/MenuSystem.php
+137-133 files

OPNSense/core 56a5c7csrc/etc/inc/plugins.inc.d dhcpd.inc, src/opnsense/mvc/app/models/OPNsense/Base/Menu MenuSystem.php

Services: ISC DHCPv6 - show "tracking" interfaces when enabled an offer an explicit disable option for the service in question so someone could use dnsmasq or kea instead.

To avoid large changes, we opt for a  minimal set here.
In services_dhcpv6.php, we add a separate form and handler in case tracking (without dhcpd6track6allowoverride) is set, which either flushes the unused isc-dhcpv6 server configuration when enabled (default) or writes a small section only including ['enabled' => -1].
For visibility, we show the calculated range as would be set by dhcpd_dhcp6_configure() when tracking is used.

The backend code then double checks the services which er explicitly disabled (-1) and skip processing for these (not enabled).

In order to make people aware of the fact that an isc-dhcpv6 server could be running, make sure the menu system also reflects reality.

One of the building blocks for: https://github.com/opnsense/core/issues/8528
DeltaFile
+116-7src/www/services_dhcpv6.php
+16-5src/etc/inc/plugins.inc.d/dhcpd.inc
+1-1src/opnsense/mvc/app/models/OPNsense/Base/Menu/MenuSystem.php
+133-133 files

OPNSense/core 014e469src/opnsense/www/js opnsense_bootgrid.js

tabulator: minor persistence issue, use headerClick event instead
DeltaFile
+10-6src/opnsense/www/js/opnsense_bootgrid.js
+10-61 files

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

tabulator: leftover
DeltaFile
+0-2src/opnsense/www/js/opnsense_bootgrid.js
+0-21 files