Commit graph

7529 commits

Author SHA1 Message Date
Hannu Nyman
b179283a67 statistics: fix typo
sed -i "s/collected date/collected data/"

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-02 15:59:23 +03:00
hnyman
8d2b5702ec Merge pull request #455 from hnyman/backport-stats
for-15.05: statistics: Backport recent improvements
2015-08-29 15:48:31 +03:00
Hannu Nyman
7167d97d32 statistics: clarify CPU/processor graph by removing "idle" from it
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>
(cherry picked from commit 5ce647746e)
2015-08-28 23:26:58 +03:00
Hannu Nyman
27ca0790ec statistics: clarify stats introduction
* 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>
(cherry picked from commit 0141494935)
2015-08-28 23:26:58 +03:00
Hannu Nyman
f6a4436d84 statistics: memory plugin - improve graph by better scaling of y-axis
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>
(cherry picked from commit 9a06498dbd)
2015-08-28 23:26:58 +03:00
Hannu Nyman
119eaf24d8 statistics: support rrdtool's alt_autoscale and alt_autoscale_max options
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>
(cherry picked from commit 86ff4bd3a4)
2015-08-28 23:26:58 +03:00
Hannu Nyman
18593ecf00 statistics: cpu graph - add label definitions, add softirq and interrupt stats
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>
(cherry picked from commit 962cd2c4c1)
2015-08-28 23:25:57 +03:00
kdarbyshirebryant
791ca8b6d2 Delete luci-upnp
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-08-21 15:08:28 +02:00
Jo-Philipp Wich
21cf10ca63 Merge pull request #445 from hnyman/for-15.05
statistics: fix ping graph label regression
2015-08-19 10:14:53 +02:00
Hannu Nyman
36a7fb48da statistics: fix ping graph label regression
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-19 11:10:30 +03:00
Karl Palsson
22f687d0b1 http.protocol: Support filehandlers for unhandled encodings
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-18 17:53:30 +02:00
Christian Schoenebeck
7d8163e568 Merge pull request #442 from hnyman/for-15.05
for-15:05: Timezone information: update to 2015f
2015-08-18 09:49:46 +02:00
Hannu Nyman
428d181bf3 for-15:05: Timezone information: update to 2015f
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-17 22:59:53 +03:00
Michael Marley
c595f3095b luci-app-vnstat: Fix blank graphs for iface names with underscores
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-08-10 09:37:23 +02:00
Georgi Valkov
3a7d738e27 Fix: A disabled wireless network may be shown as enabled, when multiple networks are defined on the same radio. 2015-07-27 11:39:01 +02:00
Georgi Valkov
91faca4009 Fix: Status for disabled wireless networks may display the SSID, BSSID and Mode of an active network on the same radio. 2015-07-27 11:39:01 +02:00
Georgi Valkov
5d71ab50fb When editing an AP wireless network in LuCI, if one or more STA networks are 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-27 11:39:01 +02:00
Georgi Valkov
7d1ed597c3 Workaround: saved administration site user and pass may appear on the Wireless configuration page, replacing the WPA key. 2015-07-27 11:39:01 +02:00
Jo-Philipp Wich
69fd4f14ee luci-mod-rpc: move luci config require into the authentication function (#427)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15 23:29:15 +02:00
Jo-Philipp Wich
69e93baa2a luci-mod-rpc: add missing luci config require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15 22:32:44 +02:00
Manuel Munz
218e8f608e contrib/meshwizard: fix LAN with OLSR and DHCP 2015-07-07 12:23:32 +02:00
Manuel Munz
eb001ef897 contrib/meshwizard: fix a bug that occured when processing list options in set_defaults() 2015-07-05 01:34:24 +02:00
Manuel Munz
cf2e3f6c20 fix ifname in wifi overview (freifunk public status). 2015-06-28 16:10:04 +02:00
Manuel Munz
3a9e1af526 Fix routes on freifunk public status page 2015-06-28 16:09:36 +02:00
Manuel Munz
e3ee086d19 contrib/community-profiles/augsburg: Increase leasetime and bandwidth limits 2015-06-22 23:45:04 +02:00
Manuel Munz
9eb813979e applications/splash: remove set -x from splash.sh 2015-06-22 23:45:04 +02:00
Manuel Munz
2be6c91416 modules/freifunk: fix basics cbi model 2015-06-22 23:45:04 +02:00
Manuel Munz
fe3e14a716 applications/olsr: change config file download on olsr overview page to use seperate v4 and v6 config files 2015-06-22 23:45:03 +02:00
Manuel Munz
0382c12140 contrib/meshwizard: add ipv6only option to txtinfo/jsoninfo plugin config 2015-06-22 23:45:03 +02:00
Manuel Munz
84189026ad applications/olsr: redirect errors on jsoninfo connects with netcat to /dev/null to avoid spamming the log 2015-06-22 23:45:03 +02:00
Manuel Munz
1a647a9e3b applications/olsr: Get jsoninfo source port prom olsrd/olsrd6 config file 2015-06-22 23:45:03 +02:00
Manuel Munz
b0d1ce83b6 meshwizard: use different port (9091) for ipv6 jsoninfo 2015-06-22 23:45:03 +02:00
Manuel Munz
8fa78cf0d3 add changes that were missing in the last commit 2015-06-22 23:45:03 +02:00
Manuel Munz
7c7bad55d4 contrib/meshwizard: fix interaction with uci in OpenWrt CC, see https://dev.openwrt.org/ticket/19539 2015-06-22 23:44:40 +02:00
Christian Schoenebeck
8005ecb2b9 Merge pull request #418 from chris5560/for-15.05
[for-15.05] luci-app-radicale: copied from master
2015-06-16 21:59:10 +02:00
Christian Schoenebeck
aff488d5d1 [for-15.05] luci-app-radicale: copied from master
Initial release
with fixed function ipkg_ver_compare()

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-06-16 17:30:50 +02:00
Jo-Philipp Wich
f27ebb620c Merge pull request #415 from chris5560/for-15.05
[for-15.05]luci-app-privoxy: update to version 1.0.4-2
2015-06-16 09:55:47 +02:00
Jo-Philipp Wich
3d08fcb632 Merge pull request #417 from fabio70mi/patch-2
Update base.po
2015-06-16 09:54:36 +02:00
fabio70mi
0cf485c0d1 Update base.po
Corrected "Aggironamento Automatico" to "Aggiornamento Automatico"
2015-06-15 14:40:52 +02:00
Christian Schoenebeck
4ff133fe75 [for-15.05]luci-app-privoxy: update to version 1.0.4-2
* fixed function ipkg_ver_compare()
* add chinese translations (thanks to maz-1) taken from #410

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-06-14 21:03:15 +02:00
Christian Schoenebeck
ffd45fd9c5 Merge pull request #412 from chris5560/for-15.05
[for-15.05] luci-app-ddns: update to 2.2.4-1 (not copied from master)
2015-06-14 20:46:18 +02:00
Christian Schoenebeck
c2d3b9ed4f Merge pull request #413 from oneru/for-15.05
Luci-app-fwknopd:add a couple config options to the interface
2015-06-14 20:45:31 +02:00
Jonathan Bennett
0ccfd59325 Luci-app-fwknopd:add a couple config options to the interface
Minor tweaks to uci-defaults
refresh translation files
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2015-06-14 08:47:59 -05:00
Christian Schoenebeck
e00760a753 [for-15.05] luci-app-ddns: update to 2.2.4-1 (not copied from master)
* fixed version checking in function ipkg_ver_compare()
* Reported issue #387 and openwrt/packages issue 1285

changed in Version: 2.2.3-1
* reflect updated language file for zh-cn
* change default for retry_count to 0 compatible to ddns-scripts 2.4.2-1
* addition to retry_count help description
* modified dependency on ddns-scripts 2.4.2-1

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-06-14 13:12:41 +02:00
Jo-Philipp Wich
65e5e0dd89 Merge pull request #390 from hnyman/for-15.05
for-15.05: Update timezone data to 2015d
2015-06-10 10:19:38 +02:00
Jonathan Bennett
a497fbab4c Luci-app-fwknopd: Update uci-defaults as key-gen is now exposed in the fwknopd binary
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2015-05-26 17:15:48 +02:00
Jo-Philipp Wich
12cbfc8ec4 luci-base: rename .gitignore to .placeholder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-26 16:28:25 +02:00
Hannu Nyman
fdc83620a5 Update timezone data to 2015d
Timezone information is updated to 2015d, released on 24 Apr 2015.

I used build/zoneinfo2lua.pl to pull data from my Ubuntu 15.04.

Changes in 2015d are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-April/000031.html

Changes affecting future time stamps
Egypt will not observe DST in 2015 and will consider canceling it
permanently. For now, assume no DST indefinitely.

Change affecting time zone abbreviations
The abbreviations for Hawaii-Aleutian standard and daylight times
have been changed from HAST/HADT to HST/HDT, as per US Government
Printing Office style. This affects only America/Adak since 1983,
as America/Honolulu was already using the new style.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-05-23 17:41:12 +03:00
Jo-Philipp Wich
640ed04a86 Merge pull request #386 from oneru/for-15.05
[For 15.05] add luci-app-fwknopd to the release branch
2015-05-21 14:50:53 +02:00
Jonathan Bennett
ce3179c6d1 luci-app-fwknopd: Add qr code support
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
2015-05-20 18:09:49 -05:00