Franco Fichtner
c42def9fa3
firmware: clean up code duplication using config.sh
...
Also provide an env_init() call for internal launcher commands
to set up relevant things.We do this to move the special libfetch
handling into the locked spot underneath the launcher.sh invoke.
2024-10-10 09:19:42 +02:00
Franco Fichtner
d3a655f76b
firmware: add CRL validation for business mirror
2024-10-08 14:39:04 +02:00
Ad Schellevis
6f79579537
System: Trust: Authorities - (work in progress) crl fetch script for installed certificates.
...
The overal structure is there, but needs the final bits and pieces added to it. committing it now as a backup
2024-09-24 18:38:53 +02:00
Franco Fichtner
7b8c4dbeb0
interfaces: move PPP/wireless to system log #7880
...
Unfortunately multiple wireless pages exist so no consolidation for now.
2024-09-22 16:30:08 +01:00
Stephan de Wit
3327890ab4
dashboard: add Picture widget ( #7860 )
...
---------
Co-authored-by: Franco Fichtner <franco@opnsense.org>
2024-09-12 16:54:53 +02:00
Franco Fichtner
76f84fdf67
src: style and stuff
2024-09-10 21:43:38 +02:00
Ad Schellevis
895e58ff25
Reporting / rrd - refactor existing code ( #7836 )
...
Add RRD package with a simple factory class and a basic construct to define different rrd output types we support.
This package contains the following:
* RRD/Types -- Output definitions, responsible for generating RRD structures and feeding data
* RRD/Stats -- Statistics gathering classes
* Factory -- binds types and statistics together.
On my end on a simple test this is roughly 40% faster than running /var/db/rrd/updaterrd.sh, which makes caching of metadata (config access) less relevant.
The new script should be able to replace all existing rrd cruft and supports a debug mode to find discrepanties between defined outputs in types and collected data in stats.
```
Usage: updaterrd.php [-h] [-d]
-d debug mode, output errors to stdout
```
2024-09-02 16:40:47 +02:00
Franco Fichtner
54ccb747cd
system: handle stale "pfsyncinterfaces" and improve workflow
...
PR: https://forum.opnsense.org/index.php?topic=42549.0
2024-09-02 12:03:24 +02:00
Franco Fichtner
919fc15fe7
interfaces: rename this correctly, strictly part of pf(sync)
2024-09-01 10:54:46 +02:00
Franco Fichtner
178ef826f7
ipsec: fix off-by-section in ipsec migration
...
PR: https://forum.opnsense.org/index.php?topic=42407.0
2024-08-26 19:56:10 +02:00
Franco Fichtner
65a8435df8
system: migrate system booting banner to notifications
...
Refactor leftovers while here.
2024-08-22 12:07:24 +02:00
Franco Fichtner
3067d4e975
system: migrate live mode banner to notification
...
More work needed but as discussed with @swhite2 we want this here
before we work on the UX part. These types of notifications need
more screen presence and are non-dismissable.
While here kill an oddity assignment with constant() use.
And adjust comments still refering to "LiveCD" since we have a DVD
image nowadays and the live mode works on all install media.
2024-08-22 11:11:54 +02:00
Franco Fichtner
e103a1f77f
pkg: fix plist
2024-08-15 07:39:56 +02:00
Franco Fichtner
c3af228910
src: style et al
2024-08-13 20:21:36 +02:00
Franco Fichtner
58bfdecefa
interfaces: backwards compat move of PPP IPv6 to linkup #7446
2024-08-08 23:10:13 +02:00
Franco Fichtner
039ae3c198
firmware: cleanup prior to upgrade
...
squid package errors may manifest during major upgrade as well making
it necessary to run the cleanup in advance and not in background mode.
It would be nicer to avoid code duplication, but that can happen the
next time something needs to be adjusted in the actual cleanup routine.
2024-08-06 14:55:50 +02:00
Ad Schellevis
7a7e81c777
VPN: IPsec: Advanced Settings - mvc conversion, for https://github.com/opnsense/core/issues/7648
...
move legacy settings to mvc including conversion, also expose some of our staticly configured strongswan.conf settings into the form for clarity.
2024-07-28 20:22:16 +02:00
Franco Fichtner
c95f42b84d
firmware: remove upgrade hint and revoke old fingerprints
2024-07-25 19:39:12 +02:00
Ad Schellevis
c7444334a7
plist
2024-07-22 11:30:02 +02:00
Franco Fichtner
7c6e958897
firmware: do not need this file anymore
2024-07-16 13:57:10 +02:00
Stephan de Wit
21184535c7
firmware: fix plist
2024-07-12 11:40:04 +02:00
Franco Fichtner
cbba6c67ea
src: style sweep and plist fix
2024-07-11 14:25:38 +02:00
Ad Schellevis
cff24b7a8a
Squashed commit of the following:
...
commit 0c60937253296d81c68d8cde50df6fd8fbe21442
Author: Stephan de Wit <stephan.de.wit@deciso.com>
Date: Mon Jul 1 15:00:43 2024 +0200
dashboard: remove old widgets
commit 7a58bc05871388225412fa87bcc816aadf03237e
Author: Stephan de Wit <stephan.de.wit@deciso.com>
Date: Mon Jul 1 14:57:33 2024 +0200
Dashboard: match ACLs with implied pages and restructure system controller layer
commit 65e97442d57eeb6fb0c714b4493c4667d76ac8b0
Author: Stephan de Wit <stephan.de.wit@deciso.com>
Date: Thu Jun 27 16:42:25 2024 +0200
dashboard: update ACLs
commit e54a5b82b1f46158760346c45a4e80c5aaa182bf
Author: Stephan de Wit <stephan.de.wit@deciso.com>
Date: Fri Jun 14 16:25:40 2024 +0200
dashboard: VisibleName not necessary anymore
commit fc45589318a98315e93399575a67de368be01353
Author: Stephan de Wit <stephan.de.wit@deciso.com>
Date: Fri Jun 14 16:15:06 2024 +0200
dashboard: fix ACLs
commit 01f8e1c3e1357c61ed7e2db03fa5488d05535773
Author: Stephan de Wit <stephan.de.wit@deciso.com>
Date: Fri Jun 14 14:03:30 2024 +0200
dashboard: initial cleanup code
2024-07-07 11:26:09 +02:00
Stephan de Wit
706670036d
fix plist
2024-07-05 15:11:46 +02:00
Ad Schellevis
9c16e16d8f
fix plist
2024-07-04 22:22:10 +02:00
Ad Schellevis
34a1c0ebb9
plist
2024-06-29 21:36:55 +02:00
Stephan de Wit
e0587f7bff
dashboard: pluggable metadata files
2024-06-28 14:32:14 +02:00
Stephan de Wit
b83fc5750a
firmware: fix plist
2024-06-28 08:35:05 +02:00
Stephan de Wit
d43def3e02
firmware: fix plist
2024-06-26 09:36:19 +02:00
Stephan de Wit
de1f9a0852
dashboard: add basic live log widget
2024-06-21 15:03:42 +02:00
Stephan de Wit
c522ecac65
configd: extend log query mechanism with streaming capability
2024-06-21 12:31:54 +02:00
Stephan de Wit
db6ea57d6c
dashboard: add monit widget
2024-06-18 16:11:25 +02:00
Franco Fichtner
0487802a4b
firmware: fix plist
2024-06-11 14:08:58 +02:00
Stephan de Wit
341a4ce8c9
fix plist
2024-06-07 14:54:00 +02:00
Stephan de Wit
0d895a3781
dashboard: typo in previous, also fix plist
2024-06-07 13:01:27 +02:00
Ad Schellevis
d114b0ca41
System: High Availability: Settings: remove legacy page and switch acl/menu for https://github.com/opnsense/core/issues/7485
2024-05-30 13:19:42 +02:00
Stephan de Wit
a058e3021a
pkg: fix plist
2024-05-30 11:01:46 +00:00
Ad Schellevis
9816b30a94
System: High Availability: Settings - refactor to MVC before pulling in new settings for https://github.com/opnsense/core/issues/7485
2024-05-30 11:59:24 +02:00
Franco Fichtner
80bba99c74
system: replace single-script backend call with a plugin configure hook
...
Been pondering about this during reviews for a while now.
2024-05-29 07:57:34 +02:00
Franco Fichtner
3d05730983
pkg: fix plist
2024-05-27 18:30:34 +02:00
Franco Fichtner
f1661f29ab
src: style sweep
2024-05-23 10:55:16 +02:00
Stephan de Wit
8213afd810
dashboard: add firewall states widget
2024-05-22 11:38:23 +02:00
Ad Schellevis
136e8178d2
Services: DHCRelay - add logging into its own space
2024-05-21 10:02:45 +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
2785cb641f
dashboard: add firewall widget, change BaseTableWidget accordingly
...
The BaseTableWidget now contains some more rudimentary options to update
existing rows and sort on a specific column index.
The firewall widget counts events live as they happen and populates a
table in a larger view, or a doughnut chart in a smaller view as
data comes in.
2024-05-13 12:08:40 +02:00
Franco Fichtner
38dad806fb
mvc: style sweep, plist
2024-05-13 10:42:29 +02:00
Ad Schellevis
56b3a44d5f
legacy/csrf - move csrf check code from d1962f8ed5 into legacy scope.
...
The original intend was to be able to reuse the Csrf class, but as this requires direct access to the session object, it's likely not a good idea for the goals of https://github.com/opnsense/core/issues/6389
Since the legacy pages need a lock on session anyway, keeping it doesn't make a difference.
2024-05-07 11:08:55 +02:00
Franco Fichtner
e5c4cb0ce8
src: style sweep
2024-05-06 09:04:09 +02:00
Ad Schellevis
f7999a7d56
mvc - replace Phalcon\Filter classes for simple SanitizeFilter wrapper implementing the filters we actually use.
...
for https://github.com/opnsense/core/issues/6389
2024-05-01 21:33:24 +02:00
Ad Schellevis
0dc6089f8a
mvc - replace \Phalcon\Filter\Validation\Exception with \OPNsense\Base\ValidationException (both simple empty Exception classes).
...
for https://github.com/opnsense/core/issues/6389
2024-05-01 16:44:18 +02:00