luci/applications
guidosarducci fa1f4c42a6 luci-app-statistics: only graph data supported by APC UPS
Some graph definitions rely on data not supported across all APC UPSes.
Due to recent upstream changes in collectd, the daemon no longer creates
a NaN-filled .rrd file corresponding to any missing UPS data. Depending
on the connected UPS, this may result in some "broken" graphs on the Luci
Statistics page since rrdtool cannot find the expected .rrd file.

Include the add_supported() function to determine the UPS data available
at runtime and update any definitions of graphs to include only supported
data. For example, the whole chart stack of AC input and output voltages
will normally be "broken" if the UPS only measures AC input voltage. With
these changes, the output voltage graph definition is stripped out,
allowing the chart to render.

Make consistent use of data types and instances in graph definitions. All
definitions now use the same format with the 'instances' key. Unnecessary
'types' and 'sources' keys are removed.

Fix the definition of 'line frequency' graph, based on upstream collectd
apcups plugin code: type is 'frequency' but instance should be 'input'.

This also includes some code and whitespace cleanup.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-03 13:54:55 -08:00
..
luci-app-adblock luci-app-adblock: fix frontend typo 2018-02-27 10:20:56 +01:00
luci-app-advanced-reboot Merge pull request #1576 from stangri/luci-app-advanced-reboot 2018-01-21 15:25:41 +02:00
luci-app-ahcp i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-aria2 i18n-ru: fixed russian translation 2018-02-07 17:37:34 +03:00
luci-app-asterisk applications/luci-app-asterisk: Fix typos (found by codespell) 2016-03-26 10:20:46 +01:00
luci-app-attendedsysupgrade luci-app-attendedsysupgrade: remove outdated checks 2017-12-27 03:26:21 +01:00
luci-app-bcp38 i18n-ru: fixed russian translation 2018-02-07 17:37:34 +03:00
luci-app-clamav i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-commands i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-coovachilli luci-app-coovachilli: Updated my e-mail adress 2017-09-02 04:36:40 +02:00
luci-app-cshark luci-app-cshark: initial commit 2017-02-17 11:08:46 +01:00
luci-app-ddns luci.app-ddns: Update to 2.4.9-1 2018-01-27 16:11:07 +01:00
luci-app-diag-core i18n-ru: fixed simple-adblock strin&rus translation 2018-01-23 13:40:18 +03:00
luci-app-dnscrypt-proxy i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-dump1090 Use numeric prefixes for uci-defaults scripts 2016-01-27 16:50:19 +01:00
luci-app-dynapoint fixed dynapoint.lua, there was no translation 2018-01-23 21:48:28 +03:00
luci-app-e2guardian luci-app-e2guardian: add e2guardian application 2017-02-15 14:40:48 +01:00
luci-app-firewall luci-app-firewall: zh-cn: Update Simplified Chinese translation 2018-01-25 10:05:31 +08:00
luci-app-freifunk-diagnostics Use numeric prefixes for uci-defaults scripts 2016-01-27 16:50:19 +01:00
luci-app-freifunk-policyrouting i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-freifunk-widgets Globally replace luci.dispatcher.build_url(...) with url(...) invocations 2015-10-07 19:07:36 +02:00
luci-app-fwknopd i18n-sync change, added project info... 2018-01-16 21:06:05 +03:00
luci-app-hd-idle i18n-ru: fixed russian translation 2018-01-21 19:48:47 +03:00
luci-app-ltqtapi Globally replace luci.dispatcher.build_url(...) with url(...) invocations 2015-10-07 19:07:36 +02:00
luci-app-lxc luci-app-lxc: initial commit 2017-02-21 09:17:36 +01:00
luci-app-meshwizard i18n-ru: fixed and updated russian translation 2018-01-30 17:35:30 +03:00
luci-app-minidlna i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-mjpg-streamer i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-mwan3 luci-app-wman3: show info if mwan3 is not global enabled 2018-02-05 10:45:22 +01:00
luci-app-nlbwmon luci-app-nlbwmon: update Japanese translation 2018-02-05 15:24:16 +09:00
luci-app-noddos i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-ntpc i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-ocserv ocserv: added proxy arp option 2015-11-01 11:38:49 +01:00
luci-app-olsr i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-olsr-services Globally convert headline anchors into name attributes. 2015-10-06 13:30:33 +02:00
luci-app-olsr-viz Rework LuCI build system 2015-01-08 16:26:20 +01:00
luci-app-openvpn i18n-ru: fixed russian translation 2018-02-07 17:37:34 +03:00
luci-app-p910nd i18n-ru: fixed simple-adblock strin&rus translation 2018-01-23 13:40:18 +03:00
luci-app-polipo i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-privoxy i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-qos i18n-ru: fixed and updated russian translation 2018-01-29 18:03:37 +03:00
luci-app-radicale i18n-ru: fixed and updated russian translation 2018-01-29 18:03:37 +03:00
luci-app-rp-pppoe-server luci-app-pppoe-server: Add PPPoE server configuration 2016-08-13 20:36:18 -04:00
luci-app-samba i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-shadowsocks-libev luci-app-shadowsocks-libev: remove deprecated option disable_sni 2018-02-05 11:06:25 +08:00
luci-app-shairplay i18n-sync change, added project info... 2018-01-16 21:06:05 +03:00
luci-app-siitwizard luci-app-siitwizard: switch to luci.ip route functions 2015-01-22 16:29:35 +01:00
luci-app-simple-adblock i18n-ru: fixed russian translation 2018-02-07 17:37:34 +03:00
luci-app-splash i18n-ru: fixed and updated russian translation 2018-01-30 17:35:30 +03:00
luci-app-squid luci-app-squid: added squid application 2017-02-15 14:41:24 +01:00
luci-app-statistics luci-app-statistics: only graph data supported by APC UPS 2018-03-03 13:54:55 -08:00
luci-app-tinyproxy i18n-ru: fixed and updated russian translation 2018-01-26 16:57:15 +03:00
luci-app-transmission i18n-ru: fixed russian translation 2018-02-07 17:37:34 +03:00
luci-app-travelmate luci-app-travelmate: sync with release 1.1.2 2018-02-27 14:04:58 +01:00
luci-app-udpxy Use numeric prefixes for uci-defaults scripts 2016-01-27 16:50:19 +01:00
luci-app-uhttpd luci-app-uhttpd: update Japanese translation 2018-02-05 14:57:21 +09:00
luci-app-unbound luci-app-unbound: clean up presentation of advanced LuCI tabs 2017-09-22 23:04:40 -04:00
luci-app-upnp i18n-ru: fixed and updated russian translation 2018-01-30 17:35:30 +03:00
luci-app-vnstat i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-vpnbypass i18n-ru: fixed and updated russian translation 2018-01-30 17:35:30 +03:00
luci-app-watchcat i18n-sync change, added project info... 2018-01-16 21:06:05 +03:00
luci-app-wifischedule i18n-ru: fixed simple-adblock strin&rus translation 2018-01-23 13:40:18 +03:00
luci-app-wireguard i18n-ru: Edits on the general pattern of Russian translation 2018-01-20 14:02:48 +03:00
luci-app-wol added project info, were reviewed in graphical mode, ready for a stable release 2018-01-14 11:53:50 +03:00