OPNSense/core 061beaasrc/etc/rc.subr.d php

system: make sure /var/lib/php/tmp can be accessed by "other"

PR: https://forum.opnsense.org/index.php?topic=48372.0

(cherry picked from commit c7f759794bfd1b7c49ff0cd05d587e47082feffa)
(cherry picked from commit 934b18ab13ae6547e74080439a503f357bb3d12f)
DeltaFile
+3-0src/etc/rc.subr.d/php
+3-01 files

OPNSense/core 934b18asrc/etc/rc.subr.d php

system: do chmod after (first) creation
DeltaFile
+3-3src/etc/rc.subr.d/php
+3-31 files

OPNSense/core c7f7597src/etc/rc.subr.d php

system: make sure /var/lib/php/tmp can be accessed by "other"

This is a problem dating back to 3eba9a739e49f when a recursive
create enforced partial permissions, but lighttpd cannot create
a wwwonly-based socket if not all path components are allowed
for it as it is neither root nor wheel.

PR: https://forum.opnsense.org/index.php?topic=48372.0
DeltaFile
+3-0src/etc/rc.subr.d/php
+3-01 files

OPNSense/core 228c80csrc/www system_advanced_firewall.php

Firewall: Settings: Advanced - fix typo
DeltaFile
+1-1src/www/system_advanced_firewall.php
+1-11 files

OPNSense/core 03c8d0a. plist, src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes RegexField.php

mvc: Add RegexField and RegexFieldTest that validate PCRE2 engine regular expressions (#9291)

* mvc: Add RegexField and RegexFieldTest that validate PCRE2 engine regular expressions

* Add tests for delimiters with modifiers
DeltaFile
+156-0src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/RegexFieldTest.php
+106-0src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/RegexField.php
+2-0plist
+264-03 files

OPNSense/core 51bdb9asrc/opnsense/mvc/app/controllers/OPNsense/Core/Api DefaultsController.php, src/opnsense/mvc/app/library/OPNsense/Core ConfigMaintenance.php

system: style sweep
DeltaFile
+3-3src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DefaultsController.php
+3-3src/opnsense/mvc/app/library/OPNsense/Core/ConfigMaintenance.php
+1-1src/opnsense/scripts/system/factory_defaults.php
+7-73 files

OPNSense/core a55682fsrc/etc/inc filter.lib.inc, src/www system_advanced_firewall.php

Firewall: Settings: Advanced - add some toggles to disable some automatically generated rules. closes https://github.com/opnsense/core/issues/9294

Although this adds technical dept, currently a rewrite of the advanced settings page is not planned. When we do rewrite this, most settings in this page need to move to a different place inside the config.xml anyway.
DeltaFile
+69-59src/etc/inc/filter.lib.inc
+65-0src/www/system_advanced_firewall.php
+134-592 files

OPNSense/core c485a33src/opnsense/mvc/app/controllers/OPNsense/Core DefaultsController.php, src/opnsense/mvc/app/controllers/OPNsense/Core/Api DefaultsController.php

System: Configuration: Defaults - refactor to mvc and add "components" which offers a configuration reset function per model (when not installed, it uses the version tags to identify them). closes https://github.com/opnsense/core/issues/8768
DeltaFile
+151-0src/opnsense/mvc/app/views/OPNsense/Core/defaults.volt
+145-0src/opnsense/mvc/app/library/OPNsense/Core/ConfigMaintenance.php
+133-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DefaultsController.php
+0-118src/www/diag_defaults.php
+41-0src/opnsense/mvc/app/controllers/OPNsense/Core/DefaultsController.php
+41-0src/opnsense/scripts/system/factory_defaults.php
+511-1184 files not shown
+525-12110 files

OPNSense/core 3e2d5ddsrc/opnsense/mvc/app/controllers/OPNsense/Core DefaultsController.php, src/opnsense/mvc/app/controllers/OPNsense/Core/Api DefaultsController.php

System: Configuration: Defaults - refactor to mvc and add "components" which offers a configuration reset function per model (when not installed, it uses the version tags to identify them). closes https://github.com/opnsense/core/issues/8768
DeltaFile
+151-0src/opnsense/mvc/app/views/OPNsense/Core/defaults.volt
+145-0src/opnsense/mvc/app/library/OPNsense/Core/ConfigMaintenance.php
+133-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DefaultsController.php
+0-118src/www/diag_defaults.php
+41-0src/opnsense/scripts/system/factory_defaults.php
+41-0src/opnsense/mvc/app/controllers/OPNsense/Core/DefaultsController.php
+511-1183 files not shown
+520-1209 files

OPNSense/core 420a9ccsrc/opnsense/mvc/app/controllers/OPNsense/Core/Api BackupController.php

System: Configuration: History - safeguard some actions (post only)
DeltaFile
+6-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/BackupController.php
+6-01 files

OPNSense/core bf6b040src/opnsense/scripts/firmware check.sh

firmware: for consistency ask only the relevant repo
DeltaFile
+1-1src/opnsense/scripts/firmware/check.sh
+1-11 files

OPNSense/core 369a9a3src/opnsense/scripts/firmware check.sh

firmware: improve the package manager upgrade for pkg 2.x

This also drops the -U for the relevant upgrade since force the
first time the upgrade then complains that it needs to update
the database although it knew that things could be updated...  ;)

We thus hide the output when we know nothing should be done and
print a little more noise when the work is happening which is
mostly a win-win.
DeltaFile
+10-2src/opnsense/scripts/firmware/check.sh
+10-21 files

OPNSense/core f0a975bsrc/opnsense/mvc/app/models/OPNsense/Core InitialSetup.php

System: Configuration: Wizard - remove empty <ppp/> tags if they exist during setup. (minor glitch leaving the default <ppp/> in place)
DeltaFile
+6-1src/opnsense/mvc/app/models/OPNsense/Core/InitialSetup.php
+6-11 files

OPNSense/core 2b00a4csrc/opnsense/www/css opnsense-bootgrid-layout.css

ui: style update
DeltaFile
+1-1src/opnsense/www/css/opnsense-bootgrid-layout.css
+1-11 files

OPNSense/core 602d60asrc/opnsense/mvc/app/models/OPNsense/Core InitialSetup.php

wizard: style sweep
DeltaFile
+5-3src/opnsense/mvc/app/models/OPNsense/Core/InitialSetup.php
+5-31 files

OPNSense/core a699579src/opnsense/mvc/app/models/OPNsense/Unbound Unbound.xml, src/opnsense/service/templates/OPNsense/Unbound/core blocklists.conf

Unbound: deprecate unmaintained AdAway blocklist (#9292)

* Unbound: deprecate unmaintained AdAway blocklist

* Unbound: remove unmaintained AdAway blocklist from UI
DeltaFile
+1-1src/opnsense/service/templates/OPNsense/Unbound/core/blocklists.conf
+0-1src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml
+1-22 files

OPNSense/core 2adfac2src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes RegexFieldTest.php

Add tests for delimiters with modifiers
DeltaFile
+23-0src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/RegexFieldTest.php
+23-01 files

OPNSense/core 6417584. plist, src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes RegexField.php

mvc: Add RegexField and RegexFieldTest that validate PCRE2 engine regular expressions
DeltaFile
+133-0src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/RegexFieldTest.php
+106-0src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/RegexField.php
+2-0plist
+241-03 files

OPNSense/core 3e93081. plist, src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes RegexField.php

mvc: Add RegexField and RegexFieldTest that validates PSRC2 regular expressions
DeltaFile
+133-0src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/RegexFieldTest.php
+106-0src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/RegexField.php
+2-0plist
+241-03 files

OPNSense/core eb2800asrc/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt, src/opnsense/www/js opnsense_bootgrid.js

firewall/automation: Hide and unhide statistics without triggering tabulator persistence event (#9284)

Add transient `_silentToggle` marker to Tabulator columns so
`columnVisibilityChanged` events triggered by scripted show/hide
operations (e.g. inspect toggle) do not set the persistence flag.
DeltaFile
+9-3src/opnsense/www/js/opnsense_bootgrid.js
+9-0src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+18-32 files

OPNSense/core 7f6f768src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms dialogFilterRule.xml, src/opnsense/mvc/app/views/OPNsense/Core hasync_status.volt

tabulator: Improve responsiveness via minWidth() for grid and flex css for action row (#9240)

* firewall/automation: Small viewport layout for action bar
* bootgrid: Add minWidth and maxWidth and wire minWidth into firewall/automation/filter page for better responsiveness
* Make header even more responsive by allowing selectpickers to shrink and stretch in a flexbox, but only to a certain limit
* Generalize the action bar flex css so it improves all pages
* Add global default for minWidth since its an issue in all grids.
* Give width precedence over minWidth, fix some minWidth in firewall page
* Give search bar some left padding so when it collides with left elements there is some spacing
* Fix flex behavior for elements inside the button group, fix log.volt
* dnsmasq leases.volt fix flex behavior of selectpickers
* kea leases4.volt leases6.volt fix flex behavior of selectpickers
* dnsmasq settings.volt fix flex behavior of selectpickers
* alias alias.volt fix flex behavior of selectpickers
* virtual IP vip.volt fix flex behavior of selectpickers
* filter.volt fix flex behavior of selectpickers
* wireguard general.volt diagnostics.volt fix flex behavior of selectpickers
* Simplify by creating a new layout css file which can store layout focused bootgrid changes without regenerating themes
* Give the search bar some love too, allow it to be bigger and shrink
DeltaFile
+76-0src/opnsense/www/css/opnsense-bootgrid-layout.css
+38-3src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+1-11src/opnsense/mvc/app/views/OPNsense/Dnsmasq/settings.volt
+12-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogFilterRule.xml
+4-8src/opnsense/mvc/app/views/OPNsense/Core/hasync_status.volt
+9-0src/opnsense/www/js/opnsense_bootgrid.js
+140-2218 files not shown
+164-4624 files

OPNSense/core cddb65dsrc/opnsense/mvc/app/controllers/OPNsense/Firewall/Api CategoryController.php

Firewall: Categories - enable "safe delete" for cases where the model is being referred instead of the name, closes https://github.com/opnsense/core/issues/8902
DeltaFile
+1-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/CategoryController.php
+1-01 files

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

Firewall: Automation: Filter - when in "Inspect" mode, also resolve alias names when the search clause is a valid IP address, closes https://github.com/opnsense/core/issues/9134

requires: https://github.com/opnsense/core/commit/126cddc510618e749c54d78aacc1cc923a4cedfa
DeltaFile
+23-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+23-11 files

OPNSense/core 126cddcsrc/opnsense/mvc/app/controllers/OPNsense/Base ApiControllerBase.php

MVC: ApiControllerBase->searchRecordsetBase() support "aliases" in search clauses so we can "OR" specific search questions, required for https://github.com/opnsense/core/issues/9134
DeltaFile
+11-4src/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php
+11-41 files

OPNSense/core 1dc35b3src/etc/rc.subr.d tmp

rc: do not clear /tmp on a diskless install

/tmp is in /etc/fstab as a tmpfs anyway.

(cherry picked from commit a7befc08977c008dca556a706844f2eb7e2117a5)
DeltaFile
+7-7src/etc/rc.subr.d/tmp
+7-71 files

OPNSense/core a7befc0src/etc/rc.subr.d tmp

rc: do not clear /tmp on a diskless install

/tmp is in /etc/fstab as a tmpfs anyway.
DeltaFile
+7-7src/etc/rc.subr.d/tmp
+7-71 files

OPNSense/core ac9e5aasrc/opnsense/www/css opnsense-bootgrid-layout.css

Give the search bar some love too, allow it to be bigger and shrink
DeltaFile
+2-0src/opnsense/www/css/opnsense-bootgrid-layout.css
+2-01 files

OPNSense/core 1195cc4src/opnsense/mvc/app/controllers/OPNsense/Core/forms wizard_network_wan.xml, src/opnsense/mvc/app/models/OPNsense/Core InitialSetup.php InitialSetup.xml

System: Configuration: Wizard - add "disable" flag for wan and validate if a device exists for both lan/wan,  https://github.com/opnsense/core/issues/8967
DeltaFile
+19-3src/opnsense/mvc/app/models/OPNsense/Core/InitialSetup.php
+5-0src/opnsense/mvc/app/controllers/OPNsense/Core/forms/wizard_network_wan.xml
+2-0src/opnsense/mvc/app/models/OPNsense/Core/InitialSetup.xml
+26-33 files

OPNSense/core b30ee75src/opnsense/mvc/app/controllers/OPNsense/Core/Api InitialSetupController.php

System: Configuration: Wizard - forgot to remove "trigger_initial_wizard" flag on finishing the wizard, for https://github.com/opnsense/core/issues/8967
DeltaFile
+4-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/InitialSetupController.php
+4-01 files

OPNSense/core a7aa84csrc/opnsense/mvc/app/models/OPNsense/Core/repositories opnsense.xml

firmware: for consistency add US after NL mirror

(cherry picked from commit 9591ca7a1a6869283a74780023161a528ebfdc1e)
DeltaFile
+4-4src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml
+4-41 files