This probably needs more engineering later on which makes
it a little harder to ship but in reality we want people
to run the portable command easily in order to unbreak their
environments as pkg-upgrade tripping over its own temporary
files and directories keeps happening in user reports.
While here use "-s" while at it to speed up the script call.
This also pertains to "-e" which is its sibling.
If widgets fail to load for any reason, the tick routine simply continues
without interruption. This commit makes sure that the visual error
state isn't stuck and switches back to widget output when possible.
The easiest way to reproduce this is to simply disconnect from
the network while having the dashboard open.
Minor temporary fix in case /var/db/rrd/updaterrd.sh doesn't exist. All of this will vanish soon, so it isn't worth the effort of chaging the file mode and retesting.
ref https://github.com/opnsense/core/issues/7753
As discussed with @AdSchellevis make this a reality for
PPP/PPTP/L2TP, but leave PPPoE as is for now. This
allows inline creation of PPPoE to remain for the time
being.
Inline removal, OTOH, is removed hereby since buggy.
This change reflects what PPP is actually capable off under
the hood and no functional changes intended.
You could still post a different type but since the goal is
to get rid of posting anything related to PPP this will make
it easier to judge if people actually used this.
We want to avoid modifying ports for the PPP devices and
rearrange the type feed slightly. Most of the PHP warnings
on this page relate to PPP trickery that will go away.
Next step will be only offering the matching IPv4/6 types.
Fix one valid warning while here.
Although all our examples always use vhid as a unique key per firewall, it is possible to add the same vhid to different interfaces.
When "disable preempt" is not selected, eventually all of them will switch between master/backup at the same time anyway, so we can assume all virtual ips switch simultaneously.
If preempt is disabled, our vhid matching might not be perfect, but likely better than before.
* dashboard: IpsecTunnels.js - Adjust style and functionality of the widget to be in line with the OpenVPN widgets.
* dashboard: Make Phase 1 and 2 translations shorter.
* dashboard: Add missing translation.
* dashboard: Improved Wireguard widget, shows online offline status, styled like IPsec Widget.
* Add comments to make diff smaller.
* dashboard: IpsecLeases.js - Small style fix, add faster tick timeout, remove unused line of code, shifted dataChanged to different spot where it triggers earlier.
* Update src/opnsense/www/js/widgets/Metadata/Core.xml
Co-authored-by: Franco Fichtner <franco@lastsummer.de>
* dashboard: adjust for left header position and optimize ipsec command action
* dashboard: remove endCommandTransition to update table quicker and remove leftover debug statement
---------
Co-authored-by: Franco Fichtner <franco@lastsummer.de>
Co-authored-by: Stephan de Wit <stephan.de.wit@deciso.com>
This pull request introduces a new feature to the OPNsense web interface,
allowing users to manage FreeBSD boot environments directly within OPNsense.
This integration provides an intuitive and seamless way for users to create,
manage, and switch between boot environments, enhancing system management
and recovery options.
Renamed the menu item to "Snapshots" in an attempt to explain the feature
to non-FreeBSD users.