summaryrefslogtreecommitdiffhomepage
path: root/applications
AgeCommit message (Collapse)Author
2015-10-29luci-app-voice-core and -diag: mark brokenHannu Nyman
Mark luci-app-voice-core and luci-app-voice-diag @BROKEN as their only functionality is to create menu structure to be filled by items from luci-app-diag-devinfo, which is currently broken due to missing dependencies. References: Initial commit creating all three packages: https://github.com/openwrt/luci/commit/820f11932f548182ebb32704e1df83b78e69b19e Explanation why luci-app-diag-devinfo is currently broken: https://github.com/openwrt/luci/commit/ec6ccf1cd3225b51b958b38c7439f1dea8c28457 If luci-app-diag-devinfo gets its dependencies fixed, these two voice packages might be re-activated. Combining the three packages would increase clarity. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-28luci-app-firewall: limit zone name length to 11 charactersHannu Nyman
Change the maximum length of a firewall zone name from 14 to 11 characters. Longer names break iptables rule generation (max. 29 chars are allowed). XT_EXTENSION_MAXNAMELEN = 29 29 - sizeof("postrouting_") - sizeof("_rule") - sizeof("\0") = 11 References to: https://github.com/openwrt/luci/issues/507 https://dev.openwrt.org/ticket/20380 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-28fix string "UPNP" -> "UPnP"Oliver Middleton
Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-10-27luci-app-diag-devinfo: mark broken due to dependenciesHannu Nyman
Mark luci-app-diag-devinfo @BROKEN as it has several failing dependencies: Four dependencies from "oldpackages": httping, mac-to-devinfo, smap-to-devinfo, netdiscover-to-devinfo One dependency from "abandoned": smap (netdiscover is currently ok in trunk, but not in 15.05.) Reference to Luci issue #523. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-25luci-app-statistics: Adjust ping graphs to show target hosts separatelyHannu Nyman
Ping statistics plugin allows the user to define multiple ping targets. The graphs have so far shown multiple hosts in a stacked way. Adjust graphs to show the target hosts separately (overlay=true). Clarify the plugin definition with some additional line spacing. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-25luci-app-statistics: improve scaling of the associated stations graphHannu Nyman
Improve scaling of the associated stations graph on the wireless page. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-21luci-app-upnp: protect lease delete call with csrf tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21luci-app-splash: protect admin status call with csrf tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21luci-app-radicale: protect start/stop actions with csrf tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21luci-app-privoxy: protect start/stop actions with csrf tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21luci-app-ocserv: protect disconnect action with csrf tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20luci-app-ddns: protect start/stop actions with csrf tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-13i18n: Sync translationsHannu Nyman
Sync translations to the current strings. Changes in luci-app-ddns, luci-app-mjpg-streamer, luci-app-qos, luci-app-shadowsocks-libev, luci-app-statistics and luci-base Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-12luci-app-ddns: fix typo in previous commitJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-12luci-app-ddns: remove title <a> hacksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07dump1090: lat/lon should be floatsRoger
Signed-off-by: Roger D <rogerdammit@gmail.com>
2015-10-07Globally replace luci.dispatcher.build_url(...) with url(...) invocationsJo-Philipp Wich
Also concat multiple string arguments into one while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06Globally convert headline anchors into name attributes.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: reorder interface, netlink and openvpn datasourcesJo-Philipp Wich
This aligns the order and grouping of RX and TX network datasources. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add support for sorting RRD data sourcesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add initial support for collectd-mod-openvpnJo-Philipp Wich
This changeset covers compression and traffic stats, not every combination has been tested yet. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add initial support for collect-mod-sensorsJo-Philipp Wich
Due to a lack of a test environment this support only covers thermal graphs so far. Please send the output of "rrdtool info /tmp/rrd/*/sensors-*/*.rrd" if your system happens to support voltage, power or fanspeed sensors. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: improve diagram generation, add missing titleJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: rework graph label handlingJo-Philipp Wich
Remove leftover unused translation code and properly escape colons in line labels. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: only render index view for more than one instanceJo-Philipp Wich
If a plugin produces only one instance, e.g. netlink with just one interface configured, then the controller will register no detail views which would normally show all graphs but the index pacage of a given plugin will still display the collapsed view without any possibility to reach the full listing. Fix the problem by only rendering a linked index view when more than one instance is present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-29applications/asterisk: Remove incorrect dependencyDaniel Dickinson
ahcpd dependency appears to have come from a cut-n-paste from luci-app-ahcpd.
2015-09-29applications/luci-dump1090: update config to latest versionÁlvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-09-27luci-app-statistics: reorganise menu itemsHannu Nyman
Reorganise the menu items of the Luci statistics module: * Re-label "Collectd" to "Setup" and place it after the "Graphs" items. - "Graphs" is used much more frequently so it should be first. - Change "Collectd" menu item to "Setup" to clarify things. * Re-label "System plugins" to "General plugins" to change sorting. "Network / Output / System" changes to "General / Network / Output" that is more logical order for the items. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-26Update multiwan.poJorge Lucena
Little fix in translation msgid "WAN Uplink" Signed-off-by: Jorge Lucena <jorgifumi@gmail.com>
2015-09-22luci/statistics: Fix nut UPS graphsDavid Woodhouse
At some point since I last checked, the nut plugin for collectd changed the names of the timeleft and percent datasets. Update the luci module to match so that those graphs are generated correctly again. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2015-09-17i18n/polish/firewall: typoCezary Jackiewicz
2015-09-17luci-app-firewall: use maxlength datatype instead of validate functionHannu Nyman
Switch the zonename validation to use a compound datatype "and(uciname,maxlength(14))" instead of a separate 'validate' function. Remove the unnecessary function that was introduced by 34e875b Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-02statistics: fix typoHannu Nyman
sed -i "s/collected date/collected data/" Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-31Merge pull request #393 from nmav/no-group-matchHannu Nyman
luci-app-ocserv: list users with no group
2015-08-30statistics: remove references to Lucid from scriptsHannu Nyman
Both init.d and uci-defaults scripts included in luci-app-statistics still contained stuff related to lucid, which package was removed by https://github.com/openwrt/luci/commit/91b97bc9f625d09431dc1c753209a037d7c42fbc Changes to scripts: * init.d: lucid reference removed, /var/etc creation moved earlier (before first possible use) * uci-defaults: lucid parameters & restart removed (but busybox httpd stuff was left intact, although it might be unnecessary) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-30Merge pull request #456 from hnyman/stat-confighnyman
statistics: cleanup default configuration
2015-08-29luci-app-multiwan: mark broken as it depends on multiwan from oldpackagesHannu Nyman
Mark luci-app-multiwan @BROKEN, as it depends on the old 'multiwan' package, located in the deprecated 'oldpackages' feed. 'packages' feed contains both 'mwan3' and 'luci-app-mwan3' apps that have superseded the old packages. This should fix #395. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-29statistics: adjust default settings to match default pluginsHannu Nyman
Adjust default settings to match the plugins installed by default (default plugins: iwinfo, interface, load) * disable plugins not installed by default to avoid error messages at start * remove references to Freifunk interfaces, as most users do not have those Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-29statistics: cleanup config fileHannu Nyman
No functional changes, but the file is reorganised: * group settings: general settings / output plugins / input plugins * sort settings inside a group * remove quotes from option names to match the current uci behaviour * whitespace corrections Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28statistics: clarify CPU/processor graph by removing "idle" from itHannu Nyman
Clarify the CPU time consumption graph by removing the "idle" data from it. Especially with light traffic, removing "idle" enables the graph to scale better and to properly show the CPU load variations. If "idle" data needs to be seen, it might be added as a second graph below. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28statistics: clarify stats introductionHannu Nyman
* Clarify the short explanation on the statistics section's front page. * Mention the possibility of additional collectd plugins to get more stats. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28statistics: entropy plugin - fix placement of entropy.luaHannu Nyman
Move the file entropy.lua to the correct directory. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28Merge pull request #451 from hnyman/fw-zone-lenChristian Schoenebeck
luci-app-firewall: validate zone name to enforce fw3 max. length
2015-08-27statistics: Add support for entropy statsHannu Nyman
Add statistics on the available entropy. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-26firewall: validate max length of zone nameHannu Nyman
fw3 sets the maximum length of the zone name to 14 and ignores zone definitions with too long names. http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.h;hb=HEAD#l25 http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.c;hb=HEAD#l195 Add a simple validation to ensure that the new zone name is short enough. This should fix issue #345 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-24Merge pull request #448 from hnyman/cpulabelChristian Schoenebeck
statistics: cpu graph - add label definitions, add softirq and interrupt stats
2015-08-23statistics: memory plugin - improve graph by better scaling of y-axisHannu Nyman
Utilise alt_autoscale_max to make the memory chart y-axis to scale better for devices with e.g. 128 MB RAM. Also fix the axis min value to 0. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-23statistics: support rrdtool's alt_autoscale and alt_autoscale_max optionsHannu Nyman
Implement support for alternative scaling of the y-axis. By default, rrdtool will autoscale to 1,2,5,10,20,50,100,200,... etc., which is not always suitable (e.g. memory charts for device with 128 MB). Rrdtool 1.0.50 already supports alternative autoscaling that creates a tighter y-axis. Implement graph-level options in Luci statistics to support those boolean options as "alt_autoscale" and "alt_autoscale_max". info at http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-23statistics: cpu graph - add label definitions, add softirq and interrupt statsHannu Nyman
CPU plugin in the Luci statistics was missing the label definitions, so the field labels are like "cpu_system" instead of "System". Add proper label definitions to CPU (like the other plugins already have). The statistics graph was also missing softirq and interrupt stats, although colors for them were defined. Softirq consumes massive amount of CPU especially with any qos in use, so it is important for the user to see also that data. Add both softirq and interrupt stats to the graph. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-22Enable setting --script-security in client mode.Srdjan Rosic
This is useful in client mode as well, since it allows one to use --route-noexec and --up <cmd> or --route-up <cmd> to create routes manually instead of relying on whatever routes vpn server pushes down to the client. mode=server dependency in luci was introduced together with script_security by mmunz back in 2011.with no explanation in the commit why mode=server was there.