Franco Fichtner
bf0c69dff2
mvc: style sweep
2024-12-19 09:17:48 +01:00
Ad Schellevis
10582447d3
Firewall: Automation: Filter - add interface inverse for https://github.com/opnsense/core/issues/8143
2024-12-18 20:53:03 +01:00
Ad Schellevis
83587d965f
Firewall: Automation: Filter - reorganize input dialog and add reply-to option, for https://github.com/opnsense/core/issues/8143
2024-12-18 20:31:08 +01:00
Ad Schellevis
8e310b1c1f
Firewall: Automation: Filter - always lowercase 'protocol' to avoid mismatches, partly reverts previous commit.
2024-12-18 15:49:01 +01:00
Ad Schellevis
bcb5bae3e6
Firewall: Automation: Filter - allow TCP/UDP combination in protocol selection, closes https://github.com/opnsense/core/issues/7962
2024-12-18 14:39:19 +01:00
Ad Schellevis
0a408b3d57
Firewall: Automation: Filter - add "IPv4+IPv6" in ipprotocol ( https://github.com/opnsense/core/issues/7962 )
2024-12-18 14:02:35 +01:00
Franco Fichtner
8302270ae8
src: style
2024-12-18 10:07:05 +01:00
Ad Schellevis
ee269a1991
Services: Kea DHCP: Kea DHCPv4 - align hostname validation with manual host entries (support RFC2181), closes https://github.com/opnsense/core/issues/8128
2024-12-18 09:19:09 +01:00
Ad Schellevis
6145b7f0d0
Mvc/Router - normalize multiple slashes in paths, fix regression in 61c9d2f5b1
...
Although zero (0) is hardly used in url's, when it is used, the function should not suppress it. Fix this by using a closure in array_filter() which only filters empty strings.
ref: https://www.reddit.com/r/opnsense/comments/1hghfzv/health_reporting_rrd_graphs_stopped_working_with/
2024-12-18 08:42:27 +01:00
Ad Schellevis
24485709f3
System: High Availability: Status - some missing links for https://github.com/opnsense/core/issues/7899
2024-12-17 18:24:20 +01:00
Franco Fichtner
3009ad964d
firmware: add a light script mode -S to launcher
...
Because otherwise we do not get the current return value in the
shell menu option script after the refactor.
2024-12-17 15:58:54 +01:00
Franco Fichtner
3681807e24
plist: fix
2024-12-17 13:00:08 +01:00
Franco Fichtner
7f61f1b80a
firmware: new fingerprint for 25.1
2024-12-17 11:15:31 +01:00
Franco Fichtner
ec4277c9aa
src: style
2024-12-17 08:52:34 +01:00
Franco Fichtner
76076a9431
src: style
2024-12-17 08:49:38 +01:00
Franco Fichtner
a4d047918f
src: style
2024-12-17 08:48:32 +01:00
Franco Fichtner
9b0e211213
filter: minor style
2024-12-17 08:46:19 +01:00
Franco Fichtner
9691c0842b
src: style
2024-12-17 08:42:10 +01:00
Franco Fichtner
08ef44fb8b
src: style
2024-12-17 08:37:46 +01:00
Franco Fichtner
d892aba076
src: style sweep
2024-12-16 21:43:14 +01:00
Ad Schellevis
e7e91fca52
plist
2024-12-16 20:58:35 +01:00
Ad Schellevis
8ab19059cc
System: High Availability: Status - add frontend code, closes https://github.com/opnsense/core/issues/7899
2024-12-16 20:57:31 +01:00
Stephan de Wit
0819a01942
ipsec: remove hashing algorithm from null cipher
2024-12-16 17:13:19 +01:00
Ad Schellevis
dd595b9a78
MVC: call initialize() after authentication, which is the same as it was in Phalcon earlier.
...
This fixes a small regression not being able to access user data during init and prevents executing code before the user is authenticated, although in practice this is only boilerplate in our codebase.
2024-12-16 16:55:18 +01:00
Stephan de Wit
c5ef6d5fe8
wireguard: leftover from c92114e44b
2024-12-16 16:11:24 +01:00
Ad Schellevis
ec4924620d
System: Configuration: Backups - catch php errors for GDrive, closes https://github.com/opnsense/core/issues/8135
2024-12-16 12:11:27 +01:00
Franco Fichtner
ef8ed9cc26
src: style sweep
2024-12-16 08:57:50 +01:00
Ad Schellevis
e190e9c138
System: High Availability: Status - backend code for https://github.com/opnsense/core/issues/7899
...
This commit wraps our xmlrpc functions via configd and wires them via an api controller.
In the long run we should consider moving to RESTful interfaces, but for now we will keep and cleanup the xmlrpc code.
configd action "system ha services_cached" caches the service list for a couple of seconds to improve searchability via our standard grid functions.
2024-12-15 20:09:09 +01:00
Ad Schellevis
c57b18a5d9
System: Gateways: Configuration - mismatch in returned "change" attribute, closes https://github.com/opnsense/core/issues/8130
2024-12-14 12:31:50 +01:00
Ad Schellevis
2d2cf36428
Lobby: Dashboard: Announcements - suppress xml parse errors when forum is unreachable.
2024-12-13 17:31:38 +01:00
Franco Fichtner
c7036be53c
dhcp: allow radvd to use /128 CARP VIP as source
...
The check is for the subnet use, not the CARP source check in
between.
PR: https://forum.opnsense.org/index.php?topic=44634.0
2024-12-13 15:18:55 +01:00
Stephan de Wit
c92114e44b
ui: push search/edit logic towards bootgrid implementation
...
main benefit is that there is no search delay for a phrase that
is provided during initialization.
This commit also syncs with https://github.com/opnsense/jquery-bootgrid/pull/8
2024-12-13 15:15:35 +01:00
Stephan de Wit
166ee7342c
dashboard: certificates: add missing _blank target
2024-12-13 09:01:21 +01:00
Monviech
698d6c76c1
vpn/ipsec: Add log search button in sessions ( #8118 )
...
Add search button in sessions that opens a new tab with prepopulated tunnel name in ipsec log search field
---------
Co-authored-by: Stephan de Wit <stephan.de.wit@deciso.com>
2024-12-13 08:53:01 +01:00
Stephan de Wit
23ec00f641
dashboard: trailing slash and endpoint update
2024-12-13 08:26:07 +01:00
Franco Fichtner
4cbbd92eb3
src: style issue
2024-12-12 17:36:46 +01:00
Monviech
d91838ce11
UI: Improved links with automatic edit and/or search ( #8115 )
...
Fixes : #7895
- Introduces a generalized function to handle "search" and "edit" in url hashes.
- Can handle changing a tab before firing a search and/or edit.
---------
Co-authored-by: Stephan de Wit <stephan.de.wit@deciso.com>
2024-12-12 16:32:08 +01:00
Stephan de Wit
16ee2b629e
system: adjust UI for persistent notification banner
...
Since legacy pages each define 'page-content-main', including it
in fbegin.inc is not an option anymore. Manually setting the background
to match the current one also introduces issues for themese so
instead inject it dynamically and let it inherit the background
color
2024-12-12 14:08:51 +01:00
Franco Fichtner
7d87c3b2e0
src: style sweep
2024-12-12 11:57:30 +01:00
Stephan de Wit
6f5bd00252
src: fix plist
2024-12-12 11:22:07 +01:00
Stephan de Wit
1fc5a6335e
system: refactor system status mechanism, introduce persistent notifications
...
Also introduces better sorting with a separate priority value as well
as a refactored frontend. Includes some fixes for missing translations
as well.
To test a banner such as "the system is booting":
flock -n -o /var/run/booting cat
2024-12-12 11:20:43 +01:00
Franco Fichtner
761c364743
src: style sweep
2024-12-12 08:21:22 +01:00
Ad Schellevis
70e7695b3d
model:BaseListField - memory preservation fix, closes https://github.com/opnsense/core/issues/8123
...
remove overhead in BaseListField by passing references to the data with a CallbackValidator.
2024-12-11 22:22:40 +01:00
Ad Schellevis
5b8f903e53
fix php warning: Undefined array key "XXX" in /usr/local/opnsense/mvc/app/library/OPNsense/Firewall/SNatRule.php on line 95
2024-12-11 20:55:14 +01:00
Ad Schellevis
002b450c40
cleanup - fix some php notices, closes https://github.com/opnsense/core/issues/8125
2024-12-11 16:15:31 +01:00
Ad Schellevis
be8841d9af
util:legacy - ignore plugins_interfaces() errors in write_config() when called without sufficient imports (missing libraries in registered plugins).
...
Scripts like https://github.com/opnsense/core/blob/master/src/etc/rc.expireaccounts will die horribly at the moment when there's actual work to be done (although this example should likely be rmeoved for 25.1 anyway)
2024-12-11 15:54:02 +01:00
Franco Fichtner
988dbae92d
interfaces: reload GUI in the background
...
Take our chances with SSH. It looks like using 'early'
facility surfaced this problem that was not as trigger
happy before. The administration page does the same.
PR: https://forum.opnsense.org/index.php?topic=43995.0
2024-12-10 13:58:29 +01:00
Ad Schellevis
2f3a012267
System: Trust: Certificates - show multiple altname entries when supplied, closes https://github.com/opnsense/core/issues/8116
2024-12-10 13:54:33 +01:00
Franco Fichtner
7082c18d02
src: style and plist
2024-12-10 08:38:43 +01:00
Ad Schellevis
8b85c0fbda
ui: official OPNsense dark theme, fix some hover and contrast issues
2024-12-09 16:56:18 +01:00