* aliases: add optional authorization for URL type aliases
* aliases: missing break statement
* aliases: update helptext and link to proper id
* aliases: merge token and password fields and shorten code
* Firewall: Aliases - minor modifications for https://github.com/opnsense/core/pull/8238
o re-add selectpicker, title on select killed the default bevaior
o change token to password as the default use-case is username+password, bearer is less common / functional
* aliases: validation should be adjusted as such
---------
Co-authored-by: Ad Schellevis <ad@opnsense.org>
It's probably still best to prevent editing associated rules as we can not guarantee settings stick, for unassociated rules, we should be able to edit them.
Fixes missing type in the process here (on firewall rules).
maintainAspectRatio has changed to respect the container height.
This has introduced issues as is described in the issue linked in
this commit. Since some of the chart containers rely on maintainAspectRatio
being set to false, setting the aspect-ratio in CSS there will cause
those charts to ignore this setting, causing infinite scaling. These
containers are excluded from the workaround using
canvas-container-noaspectratio. Since these charts do not change
in height, they are not subject to the same degree of responsiveness.
While here, using a chart with an overflowable widget seems unnecessary
and is causing visual artifacts. Eventually we want to split up the
"expansion" logic to their own widgets or configurable setting anyway.
closes https://github.com/opnsense/core/issues/8224
Deprecated (but can still be downloaded for compatibility reasons):
* NoCoin List
* All Porn List
* PornTop1M List
* Simple Ad List
* Simple Tracker List
* WindowsSpyBlocker (*)
- split up the logic into class collection and status collection
so that out of scope objects don't need to check their status.
- with the previous, status dismissal doesn't need a status check
either anymore
- remove the UI delay from head.inc as well
- scale up the disk space status thresholds a bit for systems with
lower assigned disk space
- non-persistent status objects without a location had their
pointer-events removed, making it non-dismissable
The NetworkValidator fails on IPv4-mapped addresses[1], for example ::ffff:198.51.100.0/120. Inferring IPv4 from the presence of a period (.) fails as these IPv6 address forms contain periods. Inferring IPv6 from the presence of a colon (:) should be more robust.
1. https://www.rfc-editor.org/rfc/rfc4291#section-2.2
By ignoring invalid UTF-8 we can get the bulk of the data. It's
not likely we are ever going to get unencoded binary data through
JSON, especially in pluginctl.
PR: https://forum.opnsense.org/index.php?topic=45194.0
In the long run, we should consider moving the bogons alias functionality to our standard table update, perhaps by implementing a "file" type to link a local file.
For now just remove the duplication and make sure bogonsv6 always exists, even when its empty.