summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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-28Remove ancient INSTALL file and update README.meHannu Nyman
Remove the outdated INSTALL file from Kamikaze period, as README.md contains the updated information. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28Merge pull request #454 from hnyman/fix-entropyJo-Philipp Wich
statistics: entropy plugin - fix placement of entropy.lua
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-28Merge pull request #452 from hnyman/entropyChristian Schoenebeck
statistics: Add support for entropy stats
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-24Merge pull request #450 from hnyman/stat-memoryChristian Schoenebeck
statistics: support better autoscaling in rrdtool, improve memory graph's y-axis
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-23Merge pull request #447 from srdjanrosic/patch-1Manuel Munz
Enable setting --script-security in client mode.
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.
2015-08-19Merge pull request #444 from hnyman/fixconntrackJo-Philipp Wich
statistics: fix conntrack and ping regression caused by collectd changes
2015-08-19statistics: fix ping graph label regressionHannu Nyman
Earlier update to collectd 5.4.1 changed the field from "ping" to "value", which was changed in the graph definition here, but the label definition was forgotten. Field's label now reads "ping_IPaddr_value". Correct the label definition to show only IPaddr like the other two graphs. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-18statistics: fix conntrack regression caused by collectd 5.5.0Hannu Nyman
Collectd 5.5.0 introduced new data to conntrack plugin: In addition to the number of tracked connections there is also the static max conntrack value and the calculated use percentage. Luci's conntrack plugin intrepretes "conntrack-max" as a new data instance and includes it in the graph in addition to the real "conntrack" number. Eliminate "max" from graph by specifying empty "" instance as data source. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-18http.protocol: Support filehandlers for unhandled encodingsKarl Palsson
The setfilehandler() functions used for mime and url encoded message bodies all operate with a signature of fh(meta, chunk, eof), but for unhandled encodings, the callback was directly assigned to the sink function, which has a signature of snk(chunk). Insert a wrapper to properly generate the EOF flag, and include a stub "meta" block providing a virtual "name" and also the original client provided Content-Type header, to possibly help with taking alternative actions in the file handler. The sink function created for raw content decoding also used the wrong signature for the sink function. Signed-off-by: Karl Palsson <karlp@remake.is>
2015-08-18Merge pull request #441 from hnyman/tz2015fChristian Schoenebeck
Timezone information: update to 2015f
2015-08-17Timezone information: update to 2015fHannu Nyman
Changes in 2015e and 2015f: http://mm.icann.org/pipermail/tz-announce/2015-June/000032.html http://mm.icann.org/pipermail/tz-announce/2015-August/000033.html Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00, not 06-13 and 07-18 as we had guessed. Assume Cayman Islands will observe DST starting next year, using US rules. Although it isn't guaranteed, it is the most likely. North Korea switches to +0830 on 2015-08-15. The abbreviation remains "KST". Uruguay no longer observes DST. Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-04Merge pull request #433 from chris5560/masterChristian Schoenebeck
ipkg.lua: compare_versions() Replace Lua Math Library call
2015-08-04ipkg.lua: compare_versions() Replace Lua Math Library callChristian Schoenebeck
function compare_versions(): replace Lua Math Library call with if clause Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-08-04Merge pull request #431 from chris5560/masterChristian Schoenebeck
cbi.lua: Fix Flag.parse() to set "self.section.changed"
2015-08-02cbi.lua: Fix Flag.parse() to set "self.section.changed"Christian Schoenebeck
Add to set "self.section.changed" on changes like other values do. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-08-01Merge pull request #429 from chris5560/masterChristian Schoenebeck
ipkg.lua: new function compare_version()
2015-07-30luci-lib-nixio: pass exact sockaddr length to getnameinfo()Jo-Philipp Wich
Musl libc requires the length parameter of getnameinfo() to be exactly `sizeof(struct sockaddr_in)` or `sizeof(struct sockaddr_in6)`, depending on the passed sockaddr family. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-30contrib/community-profiles: add hamelnManuel Munz
2015-07-27ipkg.lua: new function compare_versionChristian Schoenebeck
* minor fix function _list() set to local * new function compare_version() lua version of opkg compare-version Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-07-27Fix: A disabled wireless network may be shown as enabled, when multiple ↵Georgi Valkov
networks are defined on the same radio.
2015-07-27Fix: Status for disabled wireless networks may display the SSID, BSSID and ↵Georgi Valkov
Mode of an active network on the same radio.
2015-07-27When editing an AP wireless network in LuCI, if one or more STA networks are ↵Georgi Valkov
also present on the same radio, then the channel is locked and cannot be changed for the AP. The case when all STA networks are disabled is not considered. This patch fixes the issue. Disabled networks no longer apply a lock on the channel.
2015-07-27Workaround: saved administration site user and pass may appear on the ↵Georgi Valkov
Wireless configuration page, replacing the WPA key.
2015-07-24Merge pull request #428 from aa65535/masterChristian Schoenebeck
luci-app-shadowsocks-libev: update package
2015-07-23luci-app-shadowsocks-libev: update packageJian Chang
support for shadowsocks-libev v2.2.3 Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-15luci-mod-rpc: move luci config require into the authentication function (#427)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15luci-mod-rpc: add missing luci config requireJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-14Add luci support for dnsmasq option '--servers-file'Lars Kruse
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
2015-07-12Merge pull request #426 from mamarley/vnstatunderscorefixChristian Schoenebeck
luci-app-vnstat: Fix blank graphs for iface names with underscores
2015-07-12luci-app-vnstat: Fix blank graphs for iface names with underscoresMichael Marley
The regex used to process the iface query string argument in vnstat.htm was stripping underscores, which caused the graph not to display for interfaces with names containing underscores. This patch adds the underscore to that regex so that the interface name will be correct and the graph will be displayed. Signed-off-by: Michael Marley <michael@michaelmarley.com>
2015-07-07contrib/meshwizard: fix LAN with OLSR and DHCPManuel Munz
2015-07-05contrib/meshwizard: fix a bug that occured when processing list options in ↵Manuel Munz
set_defaults()
2015-07-04Merge pull request #425 from aa65535/masterChristian Schoenebeck
luci-app-shadowsocks-libev: add package
2015-07-03luci-mod-admin-full: restart the firewall instead of reloading itJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-03luci-app-shadowsocks-libev: add packageJian Chang
This adds support for configuring shadowsocks-libev Signed-off-by: Jian Chang <aa65535@live.com>