Franco Fichtner
82d21d0775
firmware: hook up 'latest' script, use it in dashboard widget as well
...
Paired with a nightly cron job this can hint at updates on a daily basis
automatically now.
2021-11-16 11:00:40 +01:00
Ad Schellevis
f886c24f90
Dashboard / widgets - use ifinfo counters instead of pfctl in interface traffic widget. closes https://github.com/opnsense/core/issues/5137
2021-08-02 11:37:54 +02:00
Franco Fichtner
ddfd1cb562
firmware: show update pending hint in system widget; closes #5013
2021-05-26 15:49:10 +02:00
Ad Schellevis
c3ca1f61b3
replace traffic graphs widget for chart.js variant including interface selection (under the edit button).
2021-01-28 18:32:12 +01:00
Franco Fichtner
305d6b35cc
system: popular temperature topic changes
...
* Use priv-sep script to fetch values via configd
* Use grep on variable names only to avoid false positives
* Switch the RRD script read to unify temperature reads
* Use "=" in the script output to match sysctl input
2020-08-28 12:27:12 +02:00
Franco Fichtner
948803fadc
system: temperature widget, no indication that this is "wrong"
...
While here disable other temperatures when CPU 0 is selected.
See: https://forum.opnsense.org/index.php?topic=18626.0
2020-08-26 11:24:57 +02:00
Ad Schellevis
89cfc06d8e
Lobby: Dashboard - gateway status widget, add gateway status endpoint (api/routes/gateway/status) and refactor widget to use it. closes https://github.com/opnsense/core/issues/4261
2020-08-21 12:36:10 +02:00
Franco Fichtner
915ebdc15d
system: show all swap partitions; closes #3592
2019-09-16 22:39:25 +02:00
Ad Schellevis
af2b31bd7a
gateway status widget, align status and color to system_gateways.php, for https://github.com/opnsense/core/issues/3408
2019-04-12 17:12:26 +02:00
Ad Schellevis
b121d075f4
Routing, gateways, widget api call ditch return_gateways_array() usage and don't try to resolve addresses twice. for https://github.com/opnsense/core/issues/2279
2019-04-11 13:28:46 +02:00
Ad Schellevis
d082d266c9
widgets/api/plugins/system.inc some php warnings, for https://github.com/opnsense/core/issues/3400
2019-04-09 11:42:48 +02:00
Franco Fichtner
a2b0a7d59e
system: improve gateway status return; closes #3281
2019-03-11 12:48:33 +01:00
Franco Fichtner
4942127210
src: OPENSSL_VERSION_NUMBER is too problematic
...
Initial reservations have been confirmed: since the constat is defined
in the OpenSSL package of PHP it is not updated when OpenSSL/LibreSSL
is essentially making it seem that OpenSSL/LibreSSL version is "stuck".
2019-01-02 20:52:07 +01:00
Franco Fichtner
eeb99d2a31
www: indent
2018-11-29 19:00:32 +01:00
Michael Steenbeek
afcae6226a
Clean up incorrect/unused variable assignments
2018-11-29 17:29:58 +01:00
Franco Fichtner
936a50ba95
system: switch default argument for return_gateways_status()
...
Loosely related to #2914 , $byname = true seems to be the default
and not returning by name has little benefit. Getting rid of the
argument in the next commit.
2018-11-20 08:11:56 +01:00
Franco Fichtner
90296833f9
firmware: firmware-product, src/opnsense/version/opnsense, etc.
...
Now that we have metadata injection at build time read it instead
of its auxiliary files. Allow live-mount to snoop the metadata and
afterwards we can start to marry the version and firmware-product
file.
Last puzzle piece will be a tool called "opnsense-version" to read
the JSON metadata and return it in a piecemeal fashion of a part
of the system requires that info, especially from the shell.
2018-09-16 20:38:15 +02:00
marjohn56
98a82ad726
dashboard: added selector to gatways widget
...
PR: https://github.com/opnsense/core/pull/2649
2018-09-05 16:19:58 +00:00
marjohn56
f0e9bbe796
dashboard: add ability for user to hide interfaces in list and stats widgets
...
PR: https://github.com/opnsense/core/pull/2649
2018-09-05 11:51:36 +00:00
Franco Fichtner
db818e9b08
interfaces: sync widget api return, no carrier is "x"
...
Aligns with an earlier change to make arrow-down the down case
for clarity.
2018-09-02 09:06:29 +02:00
Franco Fichtner
42daf16775
dashboard: add date to cpu widget
2018-07-02 14:25:18 +00:00
Franco Fichtner
bdb125e06c
system: consolidate usage of dpinger status return; closes #2396
2018-05-15 09:40:41 +02:00
Franco Fichtner
743b409d95
system: cleanups for RTTd visibility #2396
2018-05-08 16:56:50 +00:00
Martin Wasley
48628288f9
dpinger STDEV GUI Additions ( #2399 )
2018-05-08 18:42:47 +02:00
Alexander Shursha
8ad0a66869
Optimize exec('/usr/local/bin/openssl version')
2018-01-26 07:54:16 +01:00
Franco Fichtner
ec58aadd94
www: do not set LC_ALL locale
...
Since we have removed WITHOUT_LOCALES in src.conf a while
back this call here causes undesided side effects. Remove
this to restore the behaviour to what it was before the
locales were added.
Spotted by: @adschellevis
Also see: https://github.com/opnsense/tools/commit/e988255
This reverts commit 930f7974e6cc842e0741554ecabfb0f68d39ac11.
This reverts commit dc53c74c0721ca7f2a467ea54620c5ef71ddbdfd.
2017-08-07 10:52:06 +02:00
Franco Fichtner
930f7974e6
reporting: fix the time handling, not sure why this now never worked #1756
...
Maybe a browser change... Bad Chrome?
2017-08-02 10:50:17 +02:00
Ad Schellevis
a206e8f6de
missed the pfctl counters in www/widgets/api/plugins/interfaces.inc, for https://github.com/opnsense/core/issues/1662
2017-05-29 10:37:16 +02:00
Ad Schellevis
17a9a26398
interfaces, refactor and rename get_interface_info() to remove most of the performance bottlenecks. for https://github.com/opnsense/core/issues/1662
2017-05-28 13:45:44 +02:00
Franco Fichtner
2dde9b7c31
widgets: fix possible division by zero
2016-11-10 08:25:38 +01:00
Franco Fichtner
a0d7a3d8e4
src: lol, PHP
2016-07-21 21:53:12 +02:00
Franco Fichtner
45396cc2d8
src: favour uname -p for platform
2016-07-21 21:44:31 +02:00
Franco Fichtner
93de08bd36
src: clean up global 'g' handling, still more work to do
2016-05-30 08:36:18 +02:00
Ad Schellevis
d082febd9c
(legacy) refactor config->interface traversal
2016-05-26 18:05:09 +02:00
Ad Schellevis
4da39cab1a
(dashboard, widgets) refactor traffic_graphs.widget.php
2016-05-09 18:05:49 +02:00
Ad Schellevis
de1d8a1492
(dashboard, widget api) fix 82fd7db543 (commitcomment-17392735)
2016-05-09 08:42:45 +02:00
Ad Schellevis
82fd7db543
(dashboard, widgets) cleanup system_information.widget.php
2016-05-07 10:04:49 +02:00
Ad Schellevis
2734f2a0ae
(dashboard, widgets) work in progress system_information.widget.php
2016-05-05 22:15:52 +02:00
Ad Schellevis
23619829de
(dashboard, widgets) work in progress sys info widget backend
2016-05-05 18:06:38 +02:00
Ad Schellevis
90a31b13da
(dashboard, widgets) replace thermal_sensors.widget.php
2016-05-03 20:12:49 +02:00
Ad Schellevis
ecb13223c7
(dashboard, widgets) add errors and collisions to plugins/interfaces.inc
2016-05-03 13:40:20 +02:00
Ad Schellevis
071bdba509
(dashboard, widget api) add collector for interface data
2016-05-03 13:01:01 +02:00
Ad Schellevis
74ebbbbe98
(dashboards, widgets) change plugin file extension
2016-05-03 11:03:04 +02:00
Ad Schellevis
9e53bb9441
(dashboard widget api) add gateway data collector
2016-05-03 10:51:07 +02:00
Ad Schellevis
8e7bc1f679
(dashboard) the weirdness around stats.inc, getstats.php and ajax.js needs to be replaced with a more structural solution.
...
Because all current widgets depend on legacy code and we don't want to pollute new style mvc code with it, we choose to build a new broker in the old structure.
This commit only includes the basic setup for the broken and an empty gateway_api() function
2016-05-02 19:37:38 +02:00