summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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>
2015-06-28fix ifname in wifi overview (freifunk public status).Manuel Munz
2015-06-28Fix routes on freifunk public status pageManuel Munz
2015-06-25contrib/firefunk-watchdog: fix build against muslJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-24Merge pull request #424 from kdarbyshirebryant/masterJo-Philipp Wich
luci-app-upnp: Stop sys upgrade disabling miniupnpd service on first boot after upgrade
2015-06-22Merge pull request #1 from kdarbyshirebryant/miniupnpdatupgradekdarbyshirebryant
Delete luci-upnp
2015-06-22Delete luci-upnpkdarbyshirebryant
Stop sys upgrade automatically disabling miniupnpd on first boot after upgrade. I spent a lot of time tracking this behaviour down which only occurs if you have luci-app-upnp installed.
2015-06-17Update base.pofabio70mi
Corrected "Aggironamento Automatico" to "Aggiornamento Automatico"
2015-06-16Merge pull request #419 from dangowrt/fix-olsr-json-dependencyJo-Philipp Wich
luci-app-olsr: depend on luci-lib-json
2015-06-16luci-app-olsr: depend on luci-lib-jsonDaniel Golle
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-16Fix markup in Template referenceJo-Philipp Wich
2015-06-16Fix links in ThemesHowTo.mdJo-Philipp Wich
2015-06-16Add documentation converted from old Trac wiki pagesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16Merge pull request #414 from maz-1/mjpg-updateJo-Philipp Wich
add chinese translations for luci-app-mjpg-streamer