17779 Commits

Author SHA1 Message Date
Franco Fichtner
672c3da6e6 system: more of the same, logic repair #8221 2025-01-17 10:15:25 +01:00
Franco Fichtner
ad358ed999 system: more of the same for #8221 2025-01-17 10:11:11 +01:00
Franco Fichtner
43cf2fccea system: root shell is implicit #8221 2025-01-17 09:47:53 +01:00
Stephan de Wit
32b8e9b05b system: overzealous status dot in UI due to banner/notification intermingling
While here, the dismissStatus relied on an objectMap being set, requiring
us to collect status in the constructor anyway.
2025-01-17 09:46:23 +01:00
Franco Fichtner
f32b64f850 firmware: getting ready for 25.1-RC1 2025-01-17 09:20:18 +01:00
Franco Fichtner
ddbb390542 system: style 2025-01-16 17:52:59 +01:00
Stephan de Wit
a77b5a39ca system: add scope to status class to limit banner notifications to specific pages
While here, marking a status as a banner will exclude it from the notifications
popup
2025-01-16 16:58:25 +01:00
Stephan de Wit
fd39bafe72 system: adjust for overrides banner
Introduces the isBanner property, which explicitly defines the message
as a banner, which doesn't necessarily have a relation to
the persistent property. While here, update the UI to remove
cursor events when the message doesn't have a location set.
2025-01-16 15:11:23 +01:00
Franco Fichtner
1850661335 system: dismissStatus() already implemented as such 2025-01-14 16:47:59 +01:00
Franco Fichtner
7235dd5e43 pkg: fix plist 2025-01-14 16:35:01 +01:00
Neil Greatorex
99a4563c1e
system: allow custom additions to sshd_config (#8206) 2025-01-14 16:34:43 +01:00
Franco Fichtner
20402d1d6a LICENSE: sync 2025-01-14 13:33:33 +01:00
Franco Fichtner
8e44615f86 src: minor style issues 2025-01-14 13:32:28 +01:00
ja-softdevel
97327f29ff
dashboard: Show "Active" beside the active gateway in the Gateways Widget on the Dashboard (#8208) 2025-01-13 15:10:57 +01:00
Stephan de Wit
d3466788f0 dashboard: minor UI fixes
- proper overflow handling and combined tooltips for grid table cells
- remove widget border radius
2025-01-13 14:53:13 +01:00
Sebastian Pucilowski
88530c33df src: fix 'adresses' -> 'address' typo 2025-01-13 13:53:25 +01:00
Sebastian Pucilowski
e58197e5a5 test: testIpAddress typo fix 2025-01-13 13:53:25 +01:00
Sebastian Pucilowski
e8f6a825b7 src: fix IKEAdressField -> IKEAddressField typo 2025-01-13 13:53:25 +01:00
Stephan de Wit
798c82ba84 system: define thresholds based on absolute space 2025-01-13 11:27:43 +01:00
Franco Fichtner
26de190bad network time: ignore tentative as originally intended
PR: https://forum.opnsense.org/index.php?topic=44743.msg225705#msg225705
2025-01-13 10:51:34 +01:00
Stephan de Wit
9e660d360b system: add disk space status check
above 95% usage triggers a persistent banner.

while here, fix a small issue that excluded persistent notification
types from counting towards the icon color used.
2025-01-13 10:38:21 +01:00
Franco Fichtner
0733e3bd4d mvc: copyright style here 2025-01-10 10:14:50 +01:00
Franco Fichtner
fd0960a6e0 src: style sweep 2025-01-10 09:50:39 +01:00
Franco Fichtner
03bd82881f mvc: make getCurrentValue() never return null; closes #8195 2025-01-09 14:02:38 +01:00
Franco Fichtner
be42113aa5 interfaces: adhere to DAD during VIP recreation in rc.newwanipv6
PR: https://forum.opnsense.org/index.php?topic=44743.msg225133#msg225133
2025-01-09 10:17:08 +01:00
Franco Fichtner
596a15e7e6 mvc: style sweep 2025-01-09 10:16:13 +01:00
Franco Fichtner
b2cc8168c6 network time: go the extra mile and ditch explicit vip/carp support
Since we latch on to VIP/CARP since the previous commit we can
simplify this.
2025-01-09 09:19:46 +01:00
Franco Fichtner
c6e700fbae network time: take IPv6 addresses into account; closes #7934
Adhere to standard binding behaviour of other components:

Use the address read to get all addresses and binding ok instead
of using the arcane "interface name" bind option.  CARP VIPs are
ignored although allowed to be selected... something we should just
remove since interfaces_addresses() will load all aliases as well.

We also will not get tentative or otherwise unusable addresses.
Next stop for this code is probaby MVC conversion.
2025-01-09 08:48:23 +01:00
Franco Fichtner
e628c48968 interfaces: fix value lookup in LinkAddressField #8161
Do not use internalValue since it is only the default.
2025-01-09 08:13:19 +01:00
Franco Fichtner
d40a4dcc5a system: historic quirk 2025-01-09 08:13:19 +01:00
Franco Fichtner
031ca59591 make: clean up after tests so I don't have to
It has the downside of losing changes to config.xml but
we are far more likely to run the tests than to change
the file.  Ideally, the UUIDs should not shift.
2025-01-09 08:08:57 +01:00
Ad Schellevis
793d925e71 mvc:model - support lazy loading (skip_dynamic_info) on alias models and use it in NetworkAliasField to improve performance by ignoring fields we're not going to use anyway.
The configd call "filter diag table_size" is quite convenient when inspecting the aliases grid, but if we're only interested in the names and descriptions, it adds quite some overhead.
We can skip the collection of this information by constructing with $skip_dynamic_info set to "true" now, which increases performance quite a bit.
2025-01-08 21:30:26 +01:00
Ad Schellevis
d4d59f3010 Firewall: Automation: Filter - add (experimental) shaper support in rules
pf in FreeBSD 14.x supports dnpipe and dnqueue targets which hook dummynet, in theory we should be able to use these as well although our solution uses ipfw
for the shaper.

There might be some risks involved when using shapers in pf and configuring rules in ipfw, which is also why this feature is marked experimental.

Benefits of offering shaper targets in our standard firewall are increased flexibility (use of large aliases for example) and cleaner rulesets for example.

A quick test of a rule to shape iperf3 traffic does seem to work as expected.
2025-01-08 20:32:52 +01:00
Ad Schellevis
37808340a6 ui: bootgrid - minor style fix, remove fa-square-* before adding spinner 2025-01-08 19:41:52 +01:00
Franco Fichtner
f1a7b401ad mvc: fields should implement getCurrentValue() rather than __toString() 2025-01-08 17:44:40 +01:00
Franco Fichtner
a0bb178c65 system: fix previous while test driving it 2025-01-08 16:12:27 +01:00
Ben Smithurst
77ad6a0de8
reporting: add daemon -f parameter to close FDs during samplicate run (#8194)
While testing some changes I ran configctl service reload all and got a timeout error. After doing some digging I found that this relates to netflow data collection and doesn't happen if netflow collection is disabled.

After a bit of poking around it is due to the daemon/samplicate processes keeping a pipe open shared with the reload_all script, which then never termintes. Adding the daemon -f parameter fixes.
2025-01-08 14:21:00 +01:00
Ad Schellevis
084ac9489b mvc: implement reusable grid template using form definitions. for https://github.com/opnsense/core/issues/8187 [3]
skip empty field definitions
2025-01-08 13:23:33 +01:00
Franco Fichtner
dd3a47ca34 pkg: it's 2025 :D 2025-01-08 13:15:00 +01:00
Franco Fichtner
0dd857bf03 system: refactor route creation for exec_safe() use
While here ignore all return values consistently.  Most of them are
ignored, some of them already on the add case.  Makes little sense
to report errors on a fraction of operations and adding the same route
will unfortunately yield an error anyway so it's not helpful in the
bulk of cases either.
2025-01-08 11:56:12 +01:00
Ad Schellevis
7c1caf1a11 Interfaces: Devices: Bridge - remove non-functional cruft for https://github.com/opnsense/core/issues/8193 2025-01-08 11:55:08 +01:00
Franco Fichtner
5159fc9641 system: refactor for less indent 2025-01-08 11:41:42 +01:00
Franco Fichtner
8258239148 system: move argument to where it matters 2025-01-08 11:39:14 +01:00
Franco Fichtner
99b2480dd5 dhcp: appreciate the details but better for a commit message here 2025-01-08 11:19:20 +01:00
Franco Fichtner
d1965a5cdd mvc: style issue 2025-01-08 09:42:29 +01:00
Ad Schellevis
b476529142 System: Trust: Certificates - minor form cleanup, remove some duplicate classes 2025-01-08 09:37:20 +01:00
Franco Fichtner
b7d0187285 dhcp: Kea is no longer new ;) 2025-01-07 17:47:43 +01:00
Ad Schellevis
834c42fc1e mvc: implement reusable grid template using form definitions. for https://github.com/opnsense/core/issues/8187 [2]
minor bugfix, make sure grid_view exists before iterating over it.
2025-01-07 17:45:25 +01:00
Franco Fichtner
27517b950f src: sweep 2025-01-07 17:27:14 +01:00
Ad Schellevis
0e91c2ec81 System: Settings: Tunables - refactor using base_bootgrid_table partial implemented in https://github.com/opnsense/core/commit/a7a99fcdfe972dacc1a6beada7607e73 2025-01-07 17:20:11 +01:00