Commit graph

18928 commits

Author SHA1 Message Date
Stephan de Wit
82ed7fc755 style consistency 2025-09-25 14:48:38 +02:00
Stephan de Wit
c4fd0f06d5 bootgrid: uncomment line 2025-09-25 14:47:15 +02:00
Stephan de Wit
539a3d386b bootgrid: allow usage of Javascript Modules, switch bootgrid files and logic 2025-09-25 14:36:55 +02:00
Franco Fichtner
5eddbce452 ui: actually use the label that is going to be appended
optgroups don't have labels so this works as well.
2025-09-19 11:47:24 +02:00
Franco Fichtner
b2bcedbe5d ui: do not add an option into an empty optgroup fixes GIF/GRE local address 2025-09-19 11:06:01 +02:00
Stephan de Wit
35d5fcd834 mvc: do the same for ModelRelationField as https://github.com/opnsense/core/pull/9174 (https://github.com/opnsense/core/issues/9224) 2025-09-18 16:39:08 +02:00
Franco Fichtner
3d445fd61d system: enable Ukranian for 25.7.4 2025-09-18 11:13:21 +02:00
Franco Fichtner
9bb804252e intrusion detection: remove removed algo 2025-09-18 09:41:57 +02:00
Stephan de Wit
bd5b3fceca ids: make these grids virtual 2025-09-18 09:17:09 +02:00
Franco Fichtner
1c4317a63d mvc: clear the remaining weird copyright headers from core 2025-09-18 08:42:22 +02:00
Franco Fichtner
b52cbdb690 pluginctl: fix override of global $ret value 2025-09-18 08:30:37 +02:00
Franco Fichtner
8279c05fdf interfaces: also remove hr in NDP table 2025-09-18 08:25:52 +02:00
Franco Fichtner
0824148418 interfacs: packet capture controller copyright header 2025-09-18 08:20:32 +02:00
Franco Fichtner
d277d555ed interfaces: remove spurious hr-element and copyright header reformat 2025-09-18 08:09:25 +02:00
Franco Fichtner
47b7dd4403 monit: just a little more style here 2025-09-16 07:42:35 +02:00
Franco Fichtner
8c72baef23 make: extra mile on pluginctl calls 2025-09-16 07:33:39 +02:00
Franco Fichtner
7ba47b4036 monit: fix migration weirdness with run/post use et al; closes #9213 2025-09-15 17:03:52 +02:00
Franco Fichtner
6cd1ef3e2e system: add pluginctl -m and -v to save on typing #9213 2025-09-15 15:33:56 +02:00
Franco Fichtner
79c6142803 firewall: treat "skip" as a string to avoid syntax error #9211 2025-09-15 10:04:07 +02:00
Franco Fichtner
713fbf4d1a captive portal: remove dir-listing.activate, because mod_dirlisting is not loaded
Seems to have been the case for a while now.  We never loaded it manually
and we surely do not need it.
2025-09-15 08:19:08 +02:00
Ad Schellevis
9b4b22cb6c legacy: legacy_html_escape_form_data() not escaping keys only data elements.
reported by: Alex Williams from Pellera Technologies
2025-09-12 21:51:01 +02:00
Konstantinos Spartalis
3cd6c5cd9a
Kea: expose lease expiration settings to the gui (#9120) 2025-09-12 12:55:37 +02:00
Franco Fichtner
9e8039f7e0 mvc: disable Dnsmasq/Unbound template generation; closes #8888
There are two things to consider:

1. Stopping does not alter the templates because the (re)start
   code is in charge of doing the templates, which is not called
   when a service is disabled.

2. That actually led to an Unbound bug on stop where the file
   system is unmounted, but that should only happen when the
   service is disabled.  This runs into issue 1. again, but it's
   better to leave the system mounted until the backend kicks
   in again unmounting it anyway.
2025-09-12 12:39:48 +02:00
Franco Fichtner
7b51b61395 system: make reboot more consistent as well 2025-09-12 08:17:18 +02:00
Franco Fichtner
a7aedf1f50 system: consistent description for halt job
"Power off" is used mostly in our project and halting is the action before
powering off so use a clear wording that is also reflected elsewhere.
2025-09-12 08:13:51 +02:00
Ad Schellevis
171f34f645 Power: Power Off - add configd action to scheduled options. (BE 25.10) 2025-09-11 16:31:07 +02:00
Ad Schellevis
cafca2eaf5 mvc: add datetime-local to field types (needed for BE 25.10) 2025-09-11 16:26:12 +02:00
Franco Fichtner
81cd51c919 dnsmasq: mute stop error for already being stopped; closes #9197 2025-09-11 14:13:25 +02:00
Franco Fichtner
03ce2dd697 unbound: fix unmount in case of disable 2025-09-11 14:08:04 +02:00
Stephan de Wit
e6ce9e7789
unbound: add support for TXT records in host overrides (#9188)
* unbound: add support for TXT records in host overrides

* Update src/etc/inc/plugins.inc.d/unbound.inc

Co-authored-by: Franco Fichtner <franco@opnsense.org>

---------

Co-authored-by: Franco Fichtner <franco@opnsense.org>
2025-09-11 10:43:38 +02:00
NOYB
5b91238349
KEA DHCPv4: honor client specific reservation domain name option (#9186)
* KEA DHCPv4: honor client specific reservation domain name option

Register in DNS with the client specific reservation domain name when specified.

Unbound requires reload.

* Update src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogReservation4.xml

Co-authored-by: Franco Fichtner <franco@lastsummer.de>

* Update src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml

Co-authored-by: Franco Fichtner <franco@lastsummer.de>

---------

Co-authored-by: Franco Fichtner <franco@lastsummer.de>
2025-09-11 10:18:54 +02:00
Ad Schellevis
25dfae5eae VPN: IPsec: Security Policy Database - missing datakey, closes https://github.com/opnsense/core/issues/9201 2025-09-11 10:02:21 +02:00
Ad Schellevis
8c04a9ef6b mvc: allow empty responses ([]), minor regression in afdeafea59 causing crashing widgets
closes https://github.com/opnsense/core/issues/9191
2025-09-11 08:59:39 +02:00
Ad Schellevis
0425834f9b Firewall: Aliases - fix 'bool' has no attribute 'split' when failing to resolve host entries and no previous content is known. 2025-09-10 18:38:47 +02:00
Franco Fichtner
67aa69d3ce Revert "ids: Fix /ui/ids#download_settings tab not loading with tabulator (#9126)"
This reverts commit 706e3327e5.
2025-09-10 15:47:42 +02:00
Ad Schellevis
76bda8a6de mvc: setDefault() not fired as setValue was set with an empty string, closes https://github.com/opnsense/core/issues/9192
This impacts other default values too, but packetcapture was the one reported.
2025-09-10 15:33:26 +02:00
Ad Schellevis
6d4982c9dc Firewall: Aliases - interface_net not being populated as resolve() wasn't called anymore (unless being used in other aliases), extend pre_process() to only call the hook without getting contents and call it when we don't have a parser defined. likely https://github.com/opnsense/core/issues/9198 2025-09-10 11:12:32 +02:00
Ad Schellevis
7f47a7af24 System: Configuration: History - regression in afdeafea59, missed a safe output path. closes https://github.com/opnsense/core/issues/9193 2025-09-10 10:00:50 +02:00
Ad Schellevis
41ebb1acda System: Configuration: History - regression in afdeafea59, missed a safe output path. closes https://github.com/opnsense/core/issues/9196 2025-09-10 09:50:23 +02:00
Ad Schellevis
6a88c82a74 Revert "mvc: support forward referencing items in ModelRelationField in cases where static items are populated"
This reverts commit 96eaa8fea7.

Although the issue is real, the fix causes more issues than it solves. for now better reorganise the model xml in the proper order to prevent this from happening.
2025-09-10 09:29:47 +02:00
Franco Fichtner
73236d65e2 interfaces: fix lint 2025-09-10 07:53:26 +02:00
Ad Schellevis
a0a3fb78b8 netaddr / mac vendor mapping - replace with simple local implementation, closes https://github.com/opnsense/core/issues/9187
skip header row
2025-09-09 16:51:14 +02:00
Franco Fichtner
fdb29ee9ca interfaces: for previous #9187 2025-09-09 13:24:25 +02:00
Ad Schellevis
48f43cb04b netaddr / mac vendor mapping - replace with simple local implementation, closes https://github.com/opnsense/core/issues/9187 2025-09-09 12:11:49 +02:00
Franco Fichtner
f1c48f4699 make: add tag glue 2025-09-09 09:49:26 +02:00
Franco Fichtner
ffe7bfa651 mvc: sweep no 2 2025-09-08 19:42:19 +02:00
Franco Fichtner
14b70ccfec mvc: sweep no 1 2025-09-08 19:42:04 +02:00
Stephan de Wit
9b0c230a94 firewall: small regression in 7fe2d72f48, keep pagination when navigation isn't rendered
While this is somewhat unintuitive, the default mode for UIBootgrid
is to always expect pagination request parameters. If navigation is
turned off, these are simply set to null so all results are returned.
The previous commit broke the data fetch for cases where the navigation
was turned off (i.e. local and remote auth for ipsec connections).

the firewall live log is an exception here, as this table is fully
managed with custom logic and therefore doesn't need to use the
default request parameters.
2025-09-08 10:38:46 +02:00
Stephan de Wit
8efa004104 bootgrid: consistency adjustments for dark theme 2025-09-08 10:27:48 +02:00
Ad Schellevis
776ada6493 System: High Availability - missed a spot in restartAllAction() to properly check request type.
reported by: Stanislav Fort of Aisle Research
2025-09-08 09:26:35 +02:00