16793 Commits

Author SHA1 Message Date
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
Stephan de Wit
deb354ab26 dashboard: add widget selection logic 2024-05-15 16:32:13 +02:00
Stephan de Wit
f075d2d3db dashboard: properly remove charts on widget close action 2024-05-15 13:23:02 +02:00
Franco Fichtner
83fc436065 src: a couple more style updates 2024-05-14 13:40:29 +02:00
Franco Fichtner
ba435bbe5a mvc: style 2024-05-14 13:24:58 +02:00
Franco Fichtner
e12a306b54 mvc: whitespace 2024-05-14 13:21:58 +02:00
Ad Schellevis
cf03557581 System: Gateways: Configuration - prevent out of memory on migrations 2024-05-14 11:52:55 +02:00
Franco Fichtner
6a0da2725a ipsec: fix faulty "-" usage in URIs 2024-05-14 09:12:32 +02:00
Franco Fichtner
7a3e55a863 mvc: more stype updates 2024-05-14 08:20:28 +02:00
Franco Fichtner
4f7ad06b76 tests: missing copyright header 2024-05-14 08:10:31 +02:00
Franco Fichtner
590dc5c9d2 mvc: style updates 2024-05-14 08:08:55 +02:00
Franco Fichtner
112edfa525 mvc: add missing copyright header 2024-05-14 08:04:39 +02:00
Franco Fichtner
93f8e74109 src: style updates 2024-05-14 08:02:30 +02:00
Franco Fichtner
bca7574fab mvc: fix undefined $e 2024-05-13 22:52:58 +02:00
Franco Fichtner
83e73c5825 src: style sweep 2024-05-13 22:48:11 +02:00
Ad Schellevis
cf7300e230 mvc - Response add setRawHeader for backwards compatibility (for https://github.com/opnsense/core/issues/6389) 2024-05-13 22:11:20 +02:00
Ad Schellevis
908d2840ea mvc/routing - fix case sensitivity issues (e.g. /ui/ipsec/connections not reachable). implements https://github.com/opnsense/core/commit/cad494cd80 combined with a quick check if the exact expected directory name does exist (which is the case for most of our namespaces).
cc @fichtner
2024-05-13 18:42:52 +02:00
Ad Schellevis
6a0e88e7e1 mvc/api - reorganize exception handling in api handler, make sure we only send headers when not already sent and move set_error_handler() ==> Exception into api.php 2024-05-13 18:26:43 +02:00
Ad Schellevis
ef9e377fde mvc/api - improve stream handling and prevent "headers already sent" errors from being thrown.
This commit moves the output handling from the action to the Response object for stream types, which also ensures headers are being sent in the right order.
2024-05-13 18:04:31 +02:00
Stephan de Wit
ae2b376885 dashboard: firewall: add popover to event label as well 2024-05-13 16:19:03 +02:00