Franco Fichtner
a45daec4ab
dhcpd: take into account that multple ia-pd can be delegated #7484
2024-05-27 20:18:20 +02:00
Franco Fichtner
3d05730983
pkg: fix plist
2024-05-27 18:30:34 +02:00
Stephan de Wit
b74baecf13
dashboard: inherit text color from the Chart defaults for the inline gauge plugin ( https://github.com/opnsense/core/issues/7488 )
2024-05-27 16:12:58 +02:00
Stephan de Wit
eac8af8e7f
dashboard: add CARP Status widget
2024-05-27 16:00:39 +02:00
Stephan de Wit
e4635872fc
dashboard: allow themes to set chart.js default colors
2024-05-27 15:00:38 +02:00
Stephan de Wit
8a5789840c
dashboard: work around gridstack serialization inconsistency and cleanup the BaseWidget slightly ( https://github.com/opnsense/core/issues/7480 )
2024-05-27 14:28:56 +02:00
Skyler Mäntysaari
0eb3e61c67
Allow root domain as literal dot for DHCPv4 and DHCPv6 ( #7449 )
2024-05-27 12:00:44 +02:00
Franco Fichtner
137762d196
src: style sweep
2024-05-26 09:33:09 +02:00
Ad Schellevis
c5da070931
VPN: OpenVPN: Instances - add optional DCO support and make sure our standard tun selection stays unchanged for FreeBSD 14.1, closes https://github.com/opnsense/core/issues/7474
...
This commit explicitly disables DCO when tun/tap are being chosen (--disable-dco) and offers DCO as a seperate interface type choice (tun,tap,ovpn).
We need some glue to make sure people can switch between tun/ovpn types in ovpn_service_control.php to drop the interface when the interface type changes.
Finally, to make it easier for people to find the DCO option, remove the "advanced" tag from the type field and extend the help text.
2024-05-25 15:12:36 +02:00
Ad Schellevis
a683004fba
System: Gateways: Configuration - regression in Gateway MVC conversion forcing far gateways where none should exist. closes https://github.com/opnsense/core/issues/7483
...
This might be the cause of some weird VPN issues earlier as well, because a host route will prevent the actual address being configured later in some cases.
While here, also fix a minor php warning (item doesn't exist).
2024-05-25 09:51:32 +02:00
Stephan de Wit
0bb13de0fe
dashboard: use grid breakpoints to enable responsive behavior for different device types ( https://github.com/opnsense/core/issues/7480 )
2024-05-24 12:57:00 +02:00
Franco Fichtner
bd87ac92ac
dhcrelay: allow cron job reconfigure; closes #7482
2024-05-24 10:36:33 +02:00
Stephan de Wit
3b5c4f19ec
filterlog: start output of the stream action with N lines
2024-05-23 17:00:59 +02:00
Franco Fichtner
8e7662a60a
src: style sweep
2024-05-23 16:50:51 +02:00
Stephan de Wit
ac70aaeeba
dashboard: update grid on widget add, fix small issue in disk widget
2024-05-23 16:35:36 +02:00
Monviech
8c68186d75
dashboard: UX on save action ( #7461 )
...
* opnsense_widget_manager.js - Add page reload on successful save
* Make sweep
* Modify Save button to include a spinner and lock, a small delay enhances feedback on click. The button is unlocked and the spinner is hidden upon success or failure. On success, the button is hidden.
* dashboard: invert delay logic and adjust styling slightly
---------
Co-authored-by: Stephan de Wit <stephan.de.wit@deciso.com>
2024-05-23 16:29:16 +02:00
Franco Fichtner
3dafd3d5c5
system: work around PHP 8.2.18 regression
...
This runs the risk of looping when only zero is being returned,
but if that happens the system is in bad shape anyway.
See: https://github.com/php/php-src/commit/0ba5229a
2024-05-23 15:15:45 +02:00
Stephan de Wit
a471d1c035
dashboard: small regression on table widget, align interface styling state
2024-05-23 13:55:10 +02:00
Franco Fichtner
f1661f29ab
src: style sweep
2024-05-23 10:55:16 +02:00
Stephan de Wit
f8b416d434
dashboard: swap usage gauge
2024-05-23 10:47:25 +02:00
Stephan de Wit
ff3bb2f731
dashboard: refactor gauges into base class, add mbuf gauge as well
2024-05-23 09:34:13 +02:00
Ad Schellevis
f643d964c3
Services: Captive Portal: Sessions - add some practical fields
2024-05-22 18:32:10 +02:00
Ad Schellevis
8ba454ab04
Services: Captive Portal - code cleanup in session handling and presentation.
2024-05-22 17:52:52 +02:00
Ad Schellevis
00e3d6d384
Services: Captive Portal: Administration - add "Allow inbound" option to select interfaces which may enter the zone, closes https://github.com/opnsense/core/pull/7161
...
This may be practical if services in the zone should be accesible from outside the zone or when services need to pass a network which uses a captive portal (users which should be authenticated are in the same network as services need to traverse to reach the internet).
2024-05-22 13:21:53 +02:00
Franco Fichtner
a86d6e03c0
dhcrelay: make naming more consistent since 3rd level menu opened up
2024-05-22 12:04:19 +02:00
Franco Fichtner
d290c7d0ee
src: copyright style and omissions fixed
2024-05-22 12:02:38 +02:00
Franco Fichtner
c9423dbf5f
src: style sweep
2024-05-22 11:50:00 +02:00
Stephan de Wit
8213afd810
dashboard: add firewall states widget
2024-05-22 11:38:23 +02:00
Franco Fichtner
b457af53e5
ui: minor whitespace nit
2024-05-22 07:42:46 +02:00
Ad Schellevis
72120a6e09
mvc: backwards compatibility for Phalcon ( https://github.com/opnsense/core/issues/6389 ), add missing getClientAddress
2024-05-21 18:03:41 +02:00
Ad Schellevis
d5566b815c
mvc: backwards compatibility for Phalcon ( https://github.com/opnsense/core/issues/6389 ), getPost without arguments returned $_POST previsouly. (same likely the case for get())
2024-05-21 14:09:51 +02:00
Ad Schellevis
136e8178d2
Services: DHCRelay - add logging into its own space
2024-05-21 10:02:45 +02:00
Ad Schellevis
4e16134898
VPN: WireGuard: Peer generator - when we are not able to generate an address for the client and none has been provided, make sure we signal the error at the correct field. The new clients address is(are) the address(es) being allowed and optionally routed by this peer. closes https://github.com/opnsense/core/issues/7470
2024-05-21 09:32:52 +02:00
Ad Schellevis
b1b5971b79
VPN: WireGuard: Peer generator - forgot to add hostname validation as valid option, closes https://github.com/opnsense/core/issues/7472
2024-05-20 17:37:16 +02:00
Ad Schellevis
611ee6a4a2
mvc: model silence spurious validation message when explitly asked to ignore validations. ( https://github.com/opnsense/core/issues/7470 )
2024-05-20 17:17:35 +02:00
Ad Schellevis
9b495c788d
Services: Monit: Settings - fix referential constraint issue when dependency is removed. closes https://github.com/opnsense/core/issues/7469
2024-05-19 11:21:34 +02:00
Franco Fichtner
8201694e64
system: remove opie to make login work in FreeBSD 14
2024-05-17 19:10:12 +02:00
Ad Schellevis
af3d45c1e1
ui: modal - changing $modal-inner-padding in https://github.com/opnsense/core/commit/d085f4ef36 also changed modal-footer unintentionally, let overwrite it in our main.scss. closes https://github.com/opnsense/core/issues/7463
2024-05-17 18:20:37 +02:00
Franco Fichtner
3e36307258
plugins: fill the missing domain if not returned
2024-05-17 12:11:22 +02:00
Franco Fichtner
7419605568
plugins: static_mapping now returns null domain
...
to be filled by caller instead of passing things around.
2024-05-17 12:05:54 +02:00
Franco Fichtner
e07789eebb
kea: only emit value if found for consistency
2024-05-17 11:59:27 +02:00
Franco Fichtner
b2e31eb56f
kea-dhcp: refactor this a bit
2024-05-17 11:45:08 +02:00
Markus Reiter
139a3add4b
Support static DNS mappings using Kea DHCP. ( #7362 )
2024-05-17 10:50:17 +02:00
Franco Fichtner
e126d432d6
dnsmasq: stop exposing regdhcpdomain to static entries
...
Unbound doesn't do it either. Eventually we want to get rid of
it completely. For now Dnsmasq doesn't support reading DHCP
ranges to match the correct domain for dynamic leases.
2024-05-17 10:45:27 +02:00
Ad Schellevis
1c8639c338
ui: prevent vertical modal overflows and instead present a scrollbar (compile https://github.com/opnsense/core/commit/fe1a8ecfa6 )
2024-05-17 09:26:59 +02:00
Franco Fichtner
4583f8ae2c
make: add a little stable branch helper
2024-05-17 08:46:28 +02:00
MaxXor
e21159a973
src: resolve deprecation warnings for sre_constants ( #7460 )
...
ref https://github.com/python/cpython/issues/91308
2024-05-16 19:28:50 +02:00
Franco Fichtner
6709625ad6
src: small whitespace issue
2024-05-16 08:29:37 +02:00
Ad Schellevis
3f6b9ec4f9
VPN: WireGuard / Peer generator - pass endpoint to validator using a volatile field.
...
When the endpoint is invalid, the ios/android app will fail without mentioning a cause. Let's prevent obvious issues from happening.
2024-05-15 20:41:53 +02:00
Ad Schellevis
030ed198a7
Revert "Services: Kea DHCP: Kea DHCPv4 - Add Custom Options tab to assign "vendor-encapsulated-options-space" options to subnets, for https://github.com/opnsense/core/pull/7361 "
...
This reverts commit 3f184a695fdbcbe4071f61da54227a437da94bcd.
2024-05-15 18:21:34 +02:00