oweals/luci.git
8 years agoluci-base: remove default diag host from /etc/config/luci
Jo-Philipp Wich [Thu, 6 Oct 2016 15:14:46 +0000 (17:14 +0200)]
luci-base: remove default diag host from /etc/config/luci

Now that luci-mod-admin-full figures out the proper diagnostics host
during postinstall we can remove the UCI section from the default
configuration file.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-mod-admin-full: figure out diagnostics host in postinstall
Jo-Philipp Wich [Thu, 6 Oct 2016 15:13:23 +0000 (17:13 +0200)]
luci-mod-admin-full: figure out diagnostics host in postinstall

Attempt to infer the default diagnostics host for nslookup / ping / traceroute
from the various URLs in /etc/os-release. Fall back to "openwrt.org" if no
host is found to preserve backwards compatibility.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoRevert "luci-base: use default install paths for host utils"
Jo-Philipp Wich [Tue, 4 Oct 2016 23:42:51 +0000 (01:42 +0200)]
Revert "luci-base: use default install paths for host utils"

This reverts commit 87a7570690f7aeffb1aff01f320973c9acb668d3.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoRevert "luci-base: fix luci-base host tool install on OpenWrt"
Jo-Philipp Wich [Tue, 4 Oct 2016 23:42:48 +0000 (01:42 +0200)]
Revert "luci-base: fix luci-base host tool install on OpenWrt"

This reverts commit f7639bcd6a2caf7cc0f03e85744906c577eefeab.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoMerge pull request #813 from NeoRaider/staging-dir-host
Hannu Nyman [Tue, 4 Oct 2016 08:27:31 +0000 (11:27 +0300)]
Merge pull request #813 from NeoRaider/staging-dir-host

luci-base: fix luci-base host tool install on OpenWrt

8 years agoluci-base: fix luci-base host tool install on OpenWrt 813/head
Matthias Schiffer [Mon, 3 Oct 2016 22:34:30 +0000 (00:34 +0200)]
luci-base: fix luci-base host tool install on OpenWrt

OpenWrt doesn't provide an argument to Host/Install like LEDE does; use
HOST_BUILD_PREFIX instead, which is available on both.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoMerge pull request #807 from hnyman/ssl-openssl
Hannu Nyman [Mon, 3 Oct 2016 18:11:23 +0000 (21:11 +0300)]
Merge pull request #807 from hnyman/ssl-openssl

luci-ssl-openssl: Provide OpenSSL-based LuCI collection

8 years agoluci-ssl-openssl: Provide OpenSSL-based LuCI collection 807/head
Hannu Nyman [Mon, 3 Oct 2016 18:09:08 +0000 (21:09 +0300)]
luci-ssl-openssl: Provide OpenSSL-based LuCI collection

Add a new OpenSSL-based collection that uses libustream-openssl
instead of the default libustream-polarssl.
(Note: px5g still needs libpolarssl, so both libs will be included)

Mention PolarSSL in the title of luci-ssl.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: use default install paths for host utils
Matthias Schiffer [Mon, 3 Oct 2016 11:06:54 +0000 (13:06 +0200)]
luci-base: use default install paths for host utils

Also, don't make any assumptions about the staging dir lua and LuaSrcDiet
were installed to.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoi18n: sync translations
Hannu Nyman [Fri, 30 Sep 2016 06:48:56 +0000 (09:48 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #770 from arturdm/patch-1
Hannu Nyman [Thu, 29 Sep 2016 08:59:13 +0000 (11:59 +0300)]
Merge pull request #770 from arturdm/patch-1

luci-app-statistics: Fix missing title in df graphs

8 years agoMerge pull request #805 from chris5560/master
Christian Schoenebeck [Tue, 27 Sep 2016 09:14:34 +0000 (11:14 +0200)]
Merge pull request #805 from chris5560/master

luci-app-ddns: no longer check for name lookup progs to support force ip version

8 years agoluci-app-ddns: correct required ddns-script version 805/head
Christian Schoenebeck [Sun, 25 Sep 2016 08:57:29 +0000 (10:57 +0200)]
luci-app-ddns: correct required ddns-script version

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoluci-app-ddns: ignore if name lookup progs not supporting force ip version
Christian Schoenebeck [Sun, 25 Sep 2016 08:53:13 +0000 (10:53 +0200)]
luci-app-ddns: ignore if name lookup progs not supporting force ip version

- no longer verify installed name lookup programs to set has_forceip flag inside tools/ddns.lua
- adapt messages inside hints.lua

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agofreifunk-p2pblock / luci-app-p2pblock: mark BROKEN
Hannu Nyman [Thu, 22 Sep 2016 18:30:25 +0000 (21:30 +0300)]
freifunk-p2pblock / luci-app-p2pblock: mark BROKEN

Mark freifunk-p2pblock and luci-app-p2pblock BROKEN
as p2pblock needs layer7 support in iptables, which
was removed in early 2015 from iptables-mod-filter:
https://dev.openwrt.org/changeset/45423
https://dev.openwrt.org/changeset/45424

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #800 from kuoruan/aria2
Hannu Nyman [Tue, 20 Sep 2016 06:47:29 +0000 (09:47 +0300)]
Merge pull request #800 from kuoruan/aria2

luci-app-aria2: fix template name

8 years agoluci-app-aria2: fix template name 800/head
Hsing-Wang Liao [Tue, 20 Sep 2016 03:44:03 +0000 (11:44 +0800)]
luci-app-aria2: fix template name

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoMerge pull request #799 from kuoruan/aria2
Hannu Nyman [Mon, 19 Sep 2016 10:31:25 +0000 (13:31 +0300)]
Merge pull request #799 from kuoruan/aria2

luci-app-aria2: fix and update

8 years agoluci-app-aria2: fix bugs and add log option 799/head
Hsing-Wang Liao [Mon, 19 Sep 2016 02:20:36 +0000 (10:20 +0800)]
luci-app-aria2: fix bugs and add log option

* Fix unable save authentication method;
* Use luci.dispatcher.build_url(...) to support Chaos Calmer;
* Add log file and log level options;
* Rename files.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoluci-app-aria2: add maintainer info
Hsing-Wang Liao [Mon, 19 Sep 2016 02:17:11 +0000 (10:17 +0800)]
luci-app-aria2: add maintainer info

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoMerge pull request #794 from remakeelectric/wiki-links
Jo-Philipp Wich [Wed, 7 Sep 2016 17:11:46 +0000 (19:11 +0200)]
Merge pull request #794 from remakeelectric/wiki-links

docs: link to the developer wiki documentation

8 years agodocs: link to the developer wiki documentation 794/head
Karl Palsson [Wed, 7 Sep 2016 17:10:05 +0000 (17:10 +0000)]
docs: link to the developer wiki documentation

Signed-off-by: Karl Palsson <karlp@etactica.com>
8 years agoluci-app-statistics: Add cpu and memory plugins to the default set
Hannu Nyman [Sun, 4 Sep 2016 10:18:59 +0000 (13:18 +0300)]
luci-app-statistics: Add cpu and memory plugins to the default set

Add cpu and memory statistics plugins to the default set included
in Luci statistics and enable them in the default config. They are
useful small collectd plugins for resource usage monitoring.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #782 from Ansuel/master
Hannu Nyman [Wed, 24 Aug 2016 21:45:41 +0000 (00:45 +0300)]
Merge pull request #782 from Ansuel/master

Fix some capital and add some translation

8 years agoluci-app-pbx(-voicemail): mark BROKEN
Hannu Nyman [Wed, 24 Aug 2016 15:58:00 +0000 (18:58 +0300)]
luci-app-pbx(-voicemail): mark BROKEN

Mark the luci-app-pbx(-voicemail) packages BROKEN as trying
to install them now produces dependency errors.

The pbx packages depend on asterisk 1.8 that is EOL upstream
and has been moved from the telephony feed to the abandoned feed.

If LuCI pbx packages are still needed, they should be refreshed
to depend on a current asterisk version from the telephony feed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoFix some capital and add some translation 782/head
BuildTools [Wed, 24 Aug 2016 10:27:01 +0000 (12:27 +0200)]
Fix some capital and add some translation

Hope this time I have done a good work

8 years agoi18n: sync translations
Hannu Nyman [Wed, 24 Aug 2016 08:49:13 +0000 (11:49 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-mod-admin-full: tweak checksum item presentation
Hannu Nyman [Wed, 24 Aug 2016 08:46:20 +0000 (11:46 +0300)]
luci-mod-admin-full: tweak checksum item presentation

Simplify the sysupgrade image checksum strings in order to
avoid translating "Checksum xxx" items both for MD5 and SHA256.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoRevert "Fix and update italian translation"
Jo-Philipp Wich [Wed, 24 Aug 2016 08:20:36 +0000 (10:20 +0200)]
Revert "Fix and update italian translation"

This reverts commit 66d5023891ee948480042e7e0af81b5fc3e3b53e since the
original change was apparently untested.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoMerge pull request #781 from Ansuel/patch-1
Jo-Philipp Wich [Tue, 23 Aug 2016 21:12:38 +0000 (23:12 +0200)]
Merge pull request #781 from Ansuel/patch-1

Fix and update italian translation

8 years agoFix and update italian translation 781/head
Ansuel [Tue, 23 Aug 2016 21:10:45 +0000 (23:10 +0200)]
Fix and update italian translation

I have fixed some capital letter and add some translation

8 years agoluci-mod-admin-full: show also sha256 checksum for sysupgrade images
Hannu Nyman [Fri, 19 Aug 2016 07:59:52 +0000 (10:59 +0300)]
luci-mod-admin-full: show also sha256 checksum for sysupgrade images

Show also the sha256 checksum in addition to MD5 checksum to enable
image verification also for builds with only sha256 checksums.

If the 'sha256sum' command is not present in the system, the value
remains empty.

Note: The easiest way to get the 'sha256sum' command is to compile it
into busybox.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-mod-admin-full: properly skip over unused switch ports
Jo-Philipp Wich [Thu, 18 Aug 2016 08:02:51 +0000 (10:02 +0200)]
luci-mod-admin-full: properly skip over unused switch ports

Fix incomplete port status display on vlan setup page when ports in the middle
are not used, e.g. some Lantiq boards use ports 0, 1, 2 and 4 for LAN ports so
JS code should not attempt to reference an undefined status element for port 3.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-mod-admin-full: fallback to generic switch topology
Jo-Philipp Wich [Thu, 18 Aug 2016 07:23:28 +0000 (09:23 +0200)]
luci-mod-admin-full: fallback to generic switch topology

Use a generic default topology if we cannot infer switch information from
board.json and display an error message in this case. Should fix #779 and
similar issues.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-base: properly style login alert message
Jo-Philipp Wich [Thu, 18 Aug 2016 07:19:54 +0000 (09:19 +0200)]
luci-base: properly style login alert message

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-theme-bootstrap: add missing CSS class
Jo-Philipp Wich [Thu, 18 Aug 2016 07:18:56 +0000 (09:18 +0200)]
luci-theme-bootstrap: add missing CSS class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoi18n: privoxy/zh-cn: correct linefeeds, sync translation
Hannu Nyman [Tue, 16 Aug 2016 09:40:04 +0000 (12:40 +0300)]
i18n: privoxy/zh-cn: correct linefeeds, sync translation

Incorrect linefeeds caused the i18n-sync script to misbehave.

* Line feeds corrected (from CRLF to LF)
* Synced ok after the linefeed change.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoi18n: sync translations, fix sv for adblock
Hannu Nyman [Tue, 16 Aug 2016 07:07:49 +0000 (10:07 +0300)]
i18n: sync translations, fix sv for adblock

Sync translations.
Fix the newly added sv translation for adblock.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #778 from Umeaboy/patch-26
Hannu Nyman [Tue, 16 Aug 2016 06:34:02 +0000 (09:34 +0300)]
Merge pull request #778 from Umeaboy/patch-26

Created sv.po

8 years agoCreated sv.po 778/head
Kristoffer Grundström [Tue, 16 Aug 2016 00:07:50 +0000 (02:07 +0200)]
Created sv.po

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
8 years agoluci-mod-admin-full: use switch toplogy information for vlan setup
Jo-Philipp Wich [Mon, 15 Aug 2016 15:57:01 +0000 (17:57 +0200)]
luci-mod-admin-full: use switch toplogy information for vlan setup

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-base: support reading switch topology from /etc/board.json
Jo-Philipp Wich [Mon, 15 Aug 2016 15:52:28 +0000 (17:52 +0200)]
luci-base: support reading switch topology from /etc/board.json

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoFix missing title in df graphs 770/head
Artur Stepniewski [Wed, 10 Aug 2016 20:09:32 +0000 (22:09 +0200)]
Fix missing title in df graphs

It used data source instance name instead of plugin instance name.

Signed-off-by: Artur Stepniewski <artur.stepniewski+openwrt@gmail.com>
8 years agoluci-base: cbi.js: handle undefined arguments in formatting
Jo-Philipp Wich [Thu, 4 Aug 2016 09:45:04 +0000 (11:45 +0200)]
luci-base: cbi.js: handle undefined arguments in formatting

Fix the JavaScript String.format() to not trigger an exception if the argument
for an escaped format like %h or %q is undefined.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-mod-admin-full: status page formatting fix
Jo-Philipp Wich [Thu, 4 Aug 2016 09:42:40 +0000 (11:42 +0200)]
luci-mod-admin-full: status page formatting fix

Display a question mark for undefined SSID and BSSID strings.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-base: fix handling of monitor ifaces
Jo-Philipp Wich [Thu, 4 Aug 2016 09:40:34 +0000 (11:40 +0200)]
luci-base: fix handling of monitor ifaces

Wireless monitor interfaces usually have no SSID set in their config and
various network model utility functions did not handle this case properly,
mainly while trying to incorperate the SSID string into various description
labels.

Fall back to the internal network id (radioX.networkY) in cases where neither
the SSID nor the BSSID are available.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-base: improve string format error reporting
Jo-Philipp Wich [Thu, 4 Aug 2016 09:37:13 +0000 (11:37 +0200)]
luci-base: improve string format error reporting

In mod metamethod, execute string format under pcall() and rethrow error in
caller context to report caller of function in errors and not the meta
method itself.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-mod-admin-full: fix net diagnostics with missing config
Jo-Philipp Wich [Sun, 31 Jul 2016 13:59:58 +0000 (15:59 +0200)]
luci-mod-admin-full: fix net diagnostics with missing config

Gracefully handle a missing diag section in /etc/config/luci when rendering
the network diagnostics tool page.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoMerge pull request #766 from feckert/config_diag_url
Jo-Philipp Wich [Fri, 29 Jul 2016 13:28:28 +0000 (15:28 +0200)]
Merge pull request #766 from feckert/config_diag_url

luci-mod-admin-full: make diagnostics url customizable

8 years agoluci-mod-admin-full: make diagnostics url customizable 766/head
Florian Eckert [Fri, 29 Jul 2016 06:21:23 +0000 (08:21 +0200)]
luci-mod-admin-full: make diagnostics url customizable

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
8 years agoMerge pull request #764 from chris5560/master
Christian Schoenebeck [Sun, 24 Jul 2016 18:29:27 +0000 (20:29 +0200)]
Merge pull request #764 from chris5560/master

luci-app-privoxy: change to tabbed display

8 years agoluci-app-privoxy: change to tabbed display 764/head
Christian Schoenebeck [Sun, 24 Jul 2016 08:59:21 +0000 (10:59 +0200)]
luci-app-privoxy: change to tabbed display

- changed to tabbed display
- modified version detection
- adaption to new function version_compare() in ipkg.lua
- adaption to fixed Flag.parse() in cbi.lua
- add support new option "system.boot_delay"
- also fix #763

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoMerge pull request #743 from HenryGiraldo/master
Jo-Philipp Wich [Fri, 8 Jul 2016 13:18:21 +0000 (15:18 +0200)]
Merge pull request #743 from HenryGiraldo/master

Closes #741: Can't delete disabled wireless networks

8 years agoMerge pull request #754 from dalmago/translation
Jo-Philipp Wich [Fri, 8 Jul 2016 13:16:28 +0000 (15:16 +0200)]
Merge pull request #754 from dalmago/translation

luci-app-ddns: adding pt-br translation

8 years agoMerge pull request #753 from platschi/master
Manuel Munz [Tue, 5 Jul 2016 18:36:24 +0000 (20:36 +0200)]
Merge pull request #753 from platschi/master

contrib/community_profiles: Add LibreTulum

8 years agoUpdate LibreTulum Profile 753/head
platschi [Tue, 5 Jul 2016 17:41:49 +0000 (12:41 -0500)]
Update LibreTulum Profile

8 years agoluci-app-ddns: adding pt-br translation 754/head
Matheus Dal Mago [Sat, 2 Jul 2016 20:57:39 +0000 (17:57 -0300)]
luci-app-ddns: adding pt-br translation

Signed-off-by: Matheus Dal Mago <matheusdalmago10@gmail.com>
8 years agoAdd LibreTulum
platschi [Sat, 2 Jul 2016 04:34:23 +0000 (23:34 -0500)]
Add LibreTulum

Adding Profile for LibreTulum

8 years agoluci-mod-admin-full: add log_file and log_proto support
John Crispin [Thu, 30 Jun 2016 01:18:49 +0000 (03:18 +0200)]
luci-mod-admin-full: add log_file and log_proto support

Signed-off-by: John Crispin <john@phrozen.org>
[Jo-Philipp Wich: remove file datatype constraint]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoluci-proto-vpnc: further typo fixes
Juan Manuel M [Tue, 28 Jun 2016 14:15:23 +0000 (11:15 -0300)]
luci-proto-vpnc: further typo fixes

8 years agoluci-app-openvpn: various fixes and optimizations
Vladimir Ulrich [Thu, 23 Jun 2016 16:12:18 +0000 (19:12 +0300)]
luci-app-openvpn: various fixes and optimizations

Closes #628 as suggestion was implemented and tested.
Added PID handling function (Fixes https://dev.openwrt.org/ticket/21506).

Signed-off-by: Vladimir Ulrich <admin@evl.su>
8 years agoMerge pull request #749 from TaiSHiNet/master
Jo-Philipp Wich [Tue, 28 Jun 2016 14:04:07 +0000 (16:04 +0200)]
Merge pull request #749 from TaiSHiNet/master

Fixed luci-proto-vpnc typos which rendered it unusable

8 years agoFixed luci-proto-vpnc typos which rendered it unusable 749/head
Juan Manuel M [Tue, 28 Jun 2016 14:01:41 +0000 (11:01 -0300)]
Fixed luci-proto-vpnc typos which rendered it unusable

8 years agoMerge pull request #744 from chris5560/master
Hannu Nyman [Sun, 19 Jun 2016 16:56:15 +0000 (19:56 +0300)]
Merge pull request #744 from chris5560/master

luci-app-ddns: fix handling of parameter "is_glue" and "dns_seerver"

8 years agoluci-app-ddns: - fix handling of parameter "is_glue" and "dns_seerver" 744/head
Christian Schoenebeck [Sat, 18 Jun 2016 19:58:02 +0000 (21:58 +0200)]
luci-app-ddns: - fix handling of parameter "is_glue" and "dns_seerver"

- fix handling of parameter "is_glue" and "dns_seerver"
- depends on https://github.com/openwrt/packages/pull/2875

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
8 years agoCloses #741: Can't delete disabled wireless networks 743/head
Enrique Giraldo [Thu, 16 Jun 2016 13:08:36 +0000 (15:08 +0200)]
Closes #741: Can't delete disabled wireless networks

When a wireless network is disabled it can't be removed. From
wifi_overview.htm the delete call is generated as wlan0, wlan1 or
whatever. This wlan is not working because it is disabled, then LuCI
deletes the virtual radio which really is named as wlan0.

8 years agoluci-app-adblock: adjust to adblock 1.2.0
Hannu Nyman [Sun, 12 Jun 2016 18:14:54 +0000 (21:14 +0300)]
luci-app-adblock: adjust to adblock 1.2.0

* more status info
* change in default nullipv addresses
* two uhttpd instances (for ports 80/443)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #740 from mkresin/master
Hannu Nyman [Sun, 12 Jun 2016 10:58:58 +0000 (13:58 +0300)]
Merge pull request #740 from mkresin/master

luci-app-ddns: pass the is_glue option value to the helper

8 years agoluci-app-ddns: pass the is_glue option value to the helper 740/head
Mathias Kresin [Sat, 4 Jun 2016 05:41:10 +0000 (07:41 +0200)]
luci-app-ddns: pass the is_glue option value to the helper

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agoMerge pull request #739 from LipkeGu/patch-1
Hannu Nyman [Sat, 11 Jun 2016 07:30:33 +0000 (10:30 +0300)]
Merge pull request #739 from LipkeGu/patch-1

luci-mod-freifunk: Fix "Undefined reference to net.iwdata"

8 years agoluci-mod-freifunk: Fix "Undefined reference to net.iwdata" 739/head
Guido L [Thu, 9 Jun 2016 23:55:33 +0000 (01:55 +0200)]
luci-mod-freifunk: Fix "Undefined reference to net.iwdata"

This PR fixes an Internal Server Error when requesting the Wireless Informations in luci-mod-freifunk.
It checks an unindexed value "net.iwdata".

```
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/freifunk/status'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'freifunk/public_status'.

A runtime error occured: [string "/usr/lib/lua/luci/view/freifunk/public_stat..."]:116: attempt to index field 'iwdata' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function...
```

signed-off.by: Guido Lipke <lipkegu@gmail.com>

8 years agoluci-app-firewall: cleanup translations
Hannu Nyman [Thu, 9 Jun 2016 17:26:18 +0000 (20:26 +0300)]
luci-app-firewall: cleanup translations

Cleanup the .po files by removing the archived old translation strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: cleanup translations
Hannu Nyman [Thu, 9 Jun 2016 09:51:21 +0000 (12:51 +0300)]
luci-base: cleanup translations

Cleanup the .po files by removing the archived old translation strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoi18n: sync translations
Hannu Nyman [Thu, 9 Jun 2016 08:58:00 +0000 (11:58 +0300)]
i18n: sync translations

sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-mod-admin-full/mini: replace Wifi with Wireless in menus
Hannu Nyman [Thu, 9 Jun 2016 08:55:20 +0000 (11:55 +0300)]
luci-mod-admin-full/mini: replace Wifi with Wireless in menus

Replace the menu item "Wifi" by "Wireless",
which is already used for page and section headings

This closes #695

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #735 from kdarbyshirebryant/srcdietfix
Jo-Philipp Wich [Wed, 8 Jun 2016 08:47:39 +0000 (10:47 +0200)]
Merge pull request #735 from kdarbyshirebryant/srcdietfix

luci-base: fix lua interpreter location

8 years agoMerge pull request #733 from kuoruan/jql
Jo-Philipp Wich [Sun, 5 Jun 2016 09:47:01 +0000 (11:47 +0200)]
Merge pull request #733 from kuoruan/jql

luci-theme-bootstrap: Remove jql.min.js which does not exist

8 years agoluci-app-adblock: support 1.16
Hannu Nyman [Fri, 3 Jun 2016 14:24:56 +0000 (17:24 +0300)]
luci-app-adblock: support 1.16

Add support for 'adb_restricted'

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoluci-base: fix lua interpreter location 735/head
Kevin Darbyshire-Bryant [Sun, 29 May 2016 13:56:51 +0000 (14:56 +0100)]
luci-base: fix lua interpreter location

An lua interpreter is required on the building host to run the
luasrcdiet lua script.  Due to a build change, the interpreter was not
being installed to the correct location.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years agoluci-base: fix whitespace
Hannu Nyman [Fri, 3 Jun 2016 07:35:37 +0000 (10:35 +0300)]
luci-base: fix whitespace

change spaces to tabs

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #732 from kuoruan/aria2
Hannu Nyman [Thu, 2 Jun 2016 08:53:30 +0000 (11:53 +0300)]
Merge pull request #732 from kuoruan/aria2

luci-app-aria2: Add package

8 years agoluci-theme-bootstrap: Remove jql.min.js which does not exist 733/head
Hsing-Wang Liao [Tue, 31 May 2016 04:28:10 +0000 (12:28 +0800)]
luci-theme-bootstrap: Remove jql.min.js which does not exist

Fix 404 error

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoluci-app-aria2: Add package 732/head
Hsing-Wang Liao [Mon, 30 May 2016 06:30:47 +0000 (14:30 +0800)]
luci-app-aria2: Add package

LuCI Support for Aria2

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoi18n: sync translations
Hannu Nyman [Mon, 30 May 2016 07:24:47 +0000 (10:24 +0300)]
i18n: sync translations

sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #730 from kuoruan/luci-master
Hannu Nyman [Mon, 30 May 2016 07:16:13 +0000 (10:16 +0300)]
Merge pull request #730 from kuoruan/luci-master

luci-app-adblock: Add translation

8 years agoluci-app-adblock: Add Simplified Chinese translation 730/head
kuoruan [Fri, 27 May 2016 10:34:33 +0000 (18:34 +0800)]
luci-app-adblock: Add Simplified Chinese translation

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoluci-app-adblock: Add po templates
kuoruan [Fri, 27 May 2016 10:30:11 +0000 (18:30 +0800)]
luci-app-adblock: Add po templates

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
8 years agoluci-app-adblock: support adb_fetchttl option
Hannu Nyman [Thu, 26 May 2016 16:01:12 +0000 (19:01 +0300)]
luci-app-adblock: support adb_fetchttl option

Support adb_fetchttl options from adblock 1.1.15

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #727 from LipkeGu/patch-1
Hannu Nyman [Thu, 26 May 2016 07:18:04 +0000 (10:18 +0300)]
Merge pull request #727 from LipkeGu/patch-1

ModulesHowTo: Fix typo

8 years agoluci-base: remove deprecated 6relayd from ucitrack
Hannu Nyman [Wed, 25 May 2016 19:26:36 +0000 (22:26 +0300)]
luci-base: remove deprecated 6relayd from ucitrack

Cleanup /etc/config/ucitrack by removing '6relayd' item,
as the whole 6relayd package was removed in 2014.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #728 from LipkeGu/luci-admin-system-fstab-ui
Jo-Philipp Wich [Mon, 23 May 2016 11:33:04 +0000 (13:33 +0200)]
Merge pull request #728 from LipkeGu/luci-admin-system-fstab-ui

luci-mod-admin-full: Look also if the file /etc/config/fstab exists.

8 years agoluci-mod-admin-full: Look also if the file /etc/config/fstab exists. 728/head
Guido Lipke [Mon, 23 May 2016 11:16:04 +0000 (13:16 +0200)]
luci-mod-admin-full: Look also if the file /etc/config/fstab exists.

This pull request adds a condition, which checks whether the file "/etc/config/fstab" exists before it allows access to "mount points".

Signed-off-by: Guido Lipke <lipkegu@gmail.com>
8 years agoModulesHowTo: Fix typo 727/head
Guido L [Mon, 23 May 2016 00:50:01 +0000 (02:50 +0200)]
ModulesHowTo: Fix typo

Signed-off-by: Guido Lipke <lipkegu@gmail.com>
8 years agoMerge pull request #723 from 981213/pr_disable_pattern
Hannu Nyman [Sat, 14 May 2016 07:37:07 +0000 (10:37 +0300)]
Merge pull request #723 from 981213/pr_disable_pattern

luci-base:Turn off pattern matching when generating distversion

8 years agoluci-base:Turn off pattern matching when generating distversion 723/head
Chuanhong Guo [Sat, 14 May 2016 03:46:28 +0000 (11:46 +0800)]
luci-base:Turn off pattern matching when generating distversion
Otherwize the distrevision may be displayed twice if it contains some special matching patterns.(For example I am using "git-$hash" in my own OpenWrt branch.)
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
8 years agoluci-app-statistics: option for max/avg data when not rrasingle
Hannu Nyman [Thu, 12 May 2016 07:26:59 +0000 (10:26 +0300)]
luci-app-statistics: option for max/avg data when not rrasingle

Introduce option that enables the user to select max values
instead of averages for graphs if the user has disabled RRAsingle.

The option defaults to average values, which have been the default
in Luci statistics.

Remove 'optional' from RRASingle, as it is a key option for statistics.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #721 from kdarbyshirebryant/maxrrdtool
Hannu Nyman [Thu, 12 May 2016 07:24:42 +0000 (10:24 +0300)]
Merge pull request #721 from kdarbyshirebryant/maxrrdtool

Graph the max value rather than avg if rrdsingle disabled

8 years agoGraph the max value rather than avg if rrdsingle disabled 721/head
Kevin Darbyshire-Bryant [Thu, 31 Dec 2015 18:00:55 +0000 (18:00 +0000)]
Graph the max value rather than avg if rrdsingle disabled

With rrdsingle the average values are used for graphing. As the
timescale increases (say over a day or month) the average values
progressively reduce.  Using the maximum value over the longer periods
is arguably no less deceptive but it does produce more informative
graphs.

V2 - Invert the default path logic related to rra.single

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years agoMerge pull request #717 from Umeaboy/patch-25
Hannu Nyman [Tue, 10 May 2016 19:25:35 +0000 (22:25 +0300)]
Merge pull request #717 from Umeaboy/patch-25

Update wshaper.po

8 years agoUpdate wshaper.po 717/head
Kristoffer Grundström [Tue, 10 May 2016 16:29:55 +0000 (18:29 +0200)]
Update wshaper.po