oweals/luci.git
7 years agoluci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2 1242/head
Yousong Zhou [Sat, 8 Jul 2017 19:18:15 +0000 (03:18 +0800)]
luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoluci-app-firewall: fix typo dsp -> ds
Yousong Zhou [Sat, 8 Jul 2017 04:48:05 +0000 (12:48 +0800)]
luci-app-firewall: fix typo dsp -> ds

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoluci-base: fix loading fold.gif for filebrowser
Yousong Zhou [Fri, 21 Jul 2017 12:09:43 +0000 (20:09 +0800)]
luci-base: fix loading fold.gif for filebrowser

cbi_init() needs to be called at the end of the page to initialize
cbi_strings with "[data-strings]" while cbi_browser_init() happened
before that.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoMerge pull request #1233 from stangri/luci-app-advanced-reboot
Hannu Nyman [Thu, 13 Jul 2017 07:51:56 +0000 (10:51 +0300)]
Merge pull request #1233 from stangri/luci-app-advanced-reboot

luci-app-advanced-reboot: initial commit

7 years agoluci-app-advanced-reboot: initial commit 1233/head
Stan Grishin [Thu, 13 Jul 2017 05:51:41 +0000 (22:51 -0700)]
luci-app-advanced-reboot: initial commit

Signed-off-by: Stan Grishin <stangri@melmac.net>
7 years agoluci-mod-admin-full: use rpcd-mod-rrdns for reverse DNS lookups
Jo-Philipp Wich [Tue, 11 Jul 2017 12:18:40 +0000 (14:18 +0200)]
luci-mod-admin-full: use rpcd-mod-rrdns for reverse DNS lookups

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: properly handle authentication without authenticator
Jo-Philipp Wich [Tue, 11 Jul 2017 12:12:50 +0000 (14:12 +0200)]
luci-base: properly handle authentication without authenticator

Some controller actions like the ones in "servicectl" require authentication
but are not meant to provide an authenticator because they're only invoked
by scripts.

Rework the dispatcher logic to handle this situation and only bail out if
an authenticator name other than "htmlauth" is set.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: use rpcd-mod-rrdns for reverse DNS lookups
Jo-Philipp Wich [Mon, 10 Jul 2017 16:43:21 +0000 (18:43 +0200)]
luci-base: use rpcd-mod-rrdns for reverse DNS lookups

Drop the individual calls to nixio.getnameinfo() in luci.sys.net and rely
on the "network.rrdns.lookup" ubus call instead to fetch domain information
within a guaranteed timeout.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci: depend on rpcd-mod-rrdns
Jo-Philipp Wich [Mon, 10 Jul 2017 16:43:09 +0000 (18:43 +0200)]
luci: depend on rpcd-mod-rrdns

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agorpcd-mod-rrdns: add new rpcd plugin for rapid reverse DNS lookups
Jo-Philipp Wich [Mon, 10 Jul 2017 16:38:03 +0000 (18:38 +0200)]
rpcd-mod-rrdns: add new rpcd plugin for rapid reverse DNS lookups

The plugin provides a new ubus procedure "network.rrdns.lookup" which
allows looking up the names of a large chunk of IP addresses at once,
within a fixed global timeout.

This is useful to have a guaranteed maximum query time even if the
local DNS setup is broken or timing out.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: drop unused functions in luci.sys
Jo-Philipp Wich [Mon, 10 Jul 2017 14:21:51 +0000 (16:21 +0200)]
luci-base: drop unused functions in luci.sys

Drop a number of redundant functions from luci.sys to shrink the code a bit:

 * luci.sys.net.arptable()   - replaced by luci.ip.neighbors()
 * luci.sys.net.routes()     - replaced by luci.ip.routes()
 * luci.sys.net.routes6()    - replaced by luci.ip.routes6()
 * luci.sys.net.deviceinfo() - replaced by nixio.getaddrinfo()
 * luci.sys.net.pingtest()   - no known user

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-shadowsocks-libev: eliminate use of luci.sys.net.arptable()
Jo-Philipp Wich [Mon, 10 Jul 2017 14:16:35 +0000 (16:16 +0200)]
luci-app-shadowsocks-libev: eliminate use of luci.sys.net.arptable()

Translate the use of luci.sys.net.arptable() to luci.ip.neighbors() to allow
dropping the former function from base LuCI later on.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-mini: eliminate use of luci.sys.net.deviceinfo()
Jo-Philipp Wich [Mon, 10 Jul 2017 14:08:21 +0000 (16:08 +0200)]
luci-mod-admin-mini: eliminate use of luci.sys.net.deviceinfo()

The luci-mod-admin-mini network controller is the only remaining user of the
deviceinfo() call so inline the required code there so that the function can
be dropped from base LuCI in a later commit.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-freifunk: eliminate use of luci.sys.net.deviceinfo()
Jo-Philipp Wich [Mon, 10 Jul 2017 14:07:21 +0000 (16:07 +0200)]
luci-mod-freifunk: eliminate use of luci.sys.net.deviceinfo()

The result of the luci.sys.net.deviceinfo() call was never actually used
anywhere in the following code, so simply drop the invocation.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: use rpcd session logins
Jo-Philipp Wich [Sun, 9 Jul 2017 19:26:49 +0000 (21:26 +0200)]
luci-base: use rpcd session logins

Drop the custom credentials checking in favor to perform proper session
logins via rpcd. This is needed to properly setup ACLs when spawning
rpcd sessions in order to support direct client side ubus access in the
future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1229 from dibdot/master
Hannu Nyman [Wed, 5 Jul 2017 19:38:32 +0000 (22:38 +0300)]
Merge pull request #1229 from dibdot/master

luci-app-adblock: bugfix

7 years agoluci-app-adblock: bugfix 1229/head
Dirk Brenken [Wed, 5 Jul 2017 19:31:56 +0000 (21:31 +0200)]
luci-app-adblock: bugfix

* fix nil error on overview page

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1227 from guidosarducci/lede-17.01-fix-apcups-statistics
Hannu Nyman [Wed, 5 Jul 2017 18:03:40 +0000 (21:03 +0300)]
Merge pull request #1227 from guidosarducci/lede-17.01-fix-apcups-statistics

luci-app-statistics: add support for apcups plugin

7 years agoluci-app-statistics: add support for apcups plugin 1227/head
guidosarducci [Tue, 14 Mar 2017 02:36:52 +0000 (19:36 -0700)]
luci-app-statistics: add support for apcups plugin

OpenWRT/LEDE support for APC UPSes is only partial: although the collectd
apcups plugin is included, related lua/luci code is missing. These changes
add the lua side and have been used for ~2 years, both on OpenWRT and LEDE.

Reworked from patches submitted by James Klaas to the luci development list
in 2015.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agoluci-app-statistics: set logfile as first item in collectd.conf
Hannu Nyman [Sun, 2 Jul 2017 20:22:26 +0000 (23:22 +0300)]
luci-app-statistics: set logfile as first item in collectd.conf

Force logfile plugin to be evaluated first so that it gets placed
first in the collectd.conf file.

Reference to https://collectd.org/wiki/index.php/Plugin:LogFile

Fixes #1219

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1225 from dibdot/master
Hannu Nyman [Thu, 29 Jun 2017 11:08:12 +0000 (14:08 +0300)]
Merge pull request #1225 from dibdot/master

luci-app-adblock: sync with adblock 2.8.1

7 years agoluci-app-adblock: sync with adblock 2.8.1 1225/head
Dirk Brenken [Thu, 29 Jun 2017 10:58:33 +0000 (12:58 +0200)]
luci-app-adblock: sync with adblock 2.8.1

* add bind support

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1182 from kishangondaliya/feature_x
Jo-Philipp Wich [Fri, 23 Jun 2017 11:23:53 +0000 (13:23 +0200)]
Merge pull request #1182 from kishangondaliya/feature_x

luci-mod-admin-full: Enable adhoc mode encryption options

7 years agoMerge pull request #1194 from TDT-GmbH/add-license-tags
Hannu Nyman [Tue, 20 Jun 2017 13:40:48 +0000 (16:40 +0300)]
Merge pull request #1194 from TDT-GmbH/add-license-tags

Add license tags

7 years agoMerge pull request #1135 from yousong/fix
Hannu Nyman [Mon, 19 Jun 2017 14:44:23 +0000 (17:44 +0300)]
Merge pull request #1135 from yousong/fix

luci-proto-openconnect: allow setting no_cert_check, password2, mtu

7 years agoluci-proto-openconnect: remove "interface" field 1135/head
Yousong Zhou [Mon, 19 Jun 2017 03:22:28 +0000 (11:22 +0800)]
luci-proto-openconnect: remove "interface" field

It's not needed anymore and removed in the openconnect package

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoluci-proto-openconnect: allow setting mtu, password2
Yousong Zhou [Sun, 30 Apr 2017 08:47:47 +0000 (16:47 +0800)]
luci-proto-openconnect: allow setting mtu, password2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoMerge pull request #1208 from Umeaboy/patch-35
Hannu Nyman [Sat, 17 Jun 2017 20:45:54 +0000 (23:45 +0300)]
Merge pull request #1208 from Umeaboy/patch-35

luci-app-firewall: Updated Swedish translation

7 years agoluci-app-firewall: Updated Swedish translation 1208/head
Kristoffer Grundström [Sat, 17 Jun 2017 20:08:51 +0000 (22:08 +0200)]
luci-app-firewall: Updated Swedish translation

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1207 from Umeaboy/patch-34
Hannu Nyman [Sat, 17 Jun 2017 19:11:58 +0000 (22:11 +0300)]
Merge pull request #1207 from Umeaboy/patch-34

luci-app-diag-core: Updated Swedish translation

7 years agoMerge pull request #1206 from Umeaboy/patch-33
Hannu Nyman [Sat, 17 Jun 2017 19:11:45 +0000 (22:11 +0300)]
Merge pull request #1206 from Umeaboy/patch-33

luci-app-aria2: Created Swedish translation

7 years agoMerge pull request #1205 from Umeaboy/patch-32
Hannu Nyman [Sat, 17 Jun 2017 19:11:20 +0000 (22:11 +0300)]
Merge pull request #1205 from Umeaboy/patch-32

clamav: Added the Swedish language

7 years agoMerge pull request #1204 from Umeaboy/patch-31
Hannu Nyman [Sat, 17 Jun 2017 19:10:35 +0000 (22:10 +0300)]
Merge pull request #1204 from Umeaboy/patch-31

luci-app-commands: Updated the Swedish translation

7 years agoluci-app-diag-core: Updated Swedish translation 1207/head
Kristoffer Grundström [Sat, 17 Jun 2017 18:36:02 +0000 (20:36 +0200)]
luci-app-diag-core: Updated Swedish translation

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoluci-app-aria2: Created Swedish translation 1206/head
Kristoffer Grundström [Sat, 17 Jun 2017 18:23:36 +0000 (20:23 +0200)]
luci-app-aria2: Created Swedish translation

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoclamav: Added the Swedish language 1205/head
Kristoffer Grundström [Sat, 17 Jun 2017 18:04:52 +0000 (20:04 +0200)]
clamav: Added the Swedish language

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoluci-app-commands-sv 1204/head
Kristoffer Grundström [Sat, 17 Jun 2017 17:49:23 +0000 (19:49 +0200)]
luci-app-commands-sv

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1199 from Umeaboy/patch-29
Hannu Nyman [Sat, 17 Jun 2017 06:22:10 +0000 (09:22 +0300)]
Merge pull request #1199 from Umeaboy/patch-29

Some translations for Swedish done.

7 years agoMerge pull request #1200 from Umeaboy/patch-30
Hannu Nyman [Wed, 14 Jun 2017 19:42:09 +0000 (22:42 +0300)]
Merge pull request #1200 from Umeaboy/patch-30

Some translation for Swedish done.

7 years agoSome translation for Swedish done. 1200/head
Kristoffer Grundström [Wed, 14 Jun 2017 16:08:43 +0000 (18:08 +0200)]
Some translation for Swedish done.

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoSome translations for Swedish done. 1199/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:36:47 +0000 (17:36 +0200)]
Some translations for Swedish done.

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1198 from Umeaboy/patch-28
Hannu Nyman [Wed, 14 Jun 2017 15:35:25 +0000 (18:35 +0300)]
Merge pull request #1198 from Umeaboy/patch-28

Some translation for Swedish done.

7 years agoSome translation for Swedish done. 1198/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:32:50 +0000 (17:32 +0200)]
Some translation for Swedish done.

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1197 from Umeaboy/patch-27
Hannu Nyman [Wed, 14 Jun 2017 15:20:34 +0000 (18:20 +0300)]
Merge pull request #1197 from Umeaboy/patch-27

Finished translation to Swedish

7 years agoFinished translation to Swedish 1197/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:19:33 +0000 (17:19 +0200)]
Finished translation to Swedish

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoMerge pull request #1196 from Umeaboy/patch-26
Hannu Nyman [Wed, 14 Jun 2017 15:16:13 +0000 (18:16 +0300)]
Merge pull request #1196 from Umeaboy/patch-26

Finished translation into Swedish

7 years agoFinished translation into Swedish 1196/head
Kristoffer Grundström [Wed, 14 Jun 2017 15:14:18 +0000 (17:14 +0200)]
Finished translation into Swedish

Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
7 years agoluci-base: add license tag 1194/head
Florian Eckert [Tue, 13 Jun 2017 09:57:44 +0000 (11:57 +0200)]
luci-base: add license tag

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-ssl: add license tag
Florian Eckert [Tue, 13 Jun 2017 09:55:59 +0000 (11:55 +0200)]
luci-ssl: add license tag

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:23:12 +0000 (14:23 +0100)]
luci: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-theme-bootstrap: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:22:24 +0000 (14:22 +0100)]
luci-theme-bootstrap: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-proto-ppp: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:16:24 +0000 (14:16 +0100)]
luci-proto-ppp: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-proto-ipv6: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:15:30 +0000 (14:15 +0100)]
luci-proto-ipv6: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-mod-rpc: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:14:40 +0000 (14:14 +0100)]
luci-mod-rpc: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-mod-admin-full: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:13:54 +0000 (14:13 +0100)]
luci-mod-admin-full: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-lib-px5g: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:11:48 +0000 (14:11 +0100)]
luci-lib-px5g: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-lib-nixio: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:09:03 +0000 (14:09 +0100)]
luci-lib-nixio: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-lib-json: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:07:36 +0000 (14:07 +0100)]
luci-lib-json: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-lib-ip: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:06:51 +0000 (14:06 +0100)]
luci-lib-ip: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-app-qos: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:03:59 +0000 (14:03 +0100)]
luci-app-qos: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-app-firewall: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:03:08 +0000 (14:03 +0100)]
luci-app-firewall: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoluci-app-commands: add license tag
Quirin Hofstaetter [Fri, 13 Jan 2017 13:01:42 +0000 (14:01 +0100)]
luci-app-commands: add license tag

Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
7 years agoMerge pull request #1191 from chris5560/master
Hannu Nyman [Sun, 11 Jun 2017 07:12:05 +0000 (10:12 +0300)]
Merge pull request #1191 from chris5560/master

luci-app-privoxy: clear PKG_MAINTAINER

7 years agoluci-app-privoxy: clear PKG_MAINTAINER 1191/head
Christian Schoenebeck [Sat, 10 Jun 2017 19:51:50 +0000 (21:51 +0200)]
luci-app-privoxy: clear PKG_MAINTAINER

I do not use this software any more and due to lack of time, I give the
maintenance responsibility back to the community.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
7 years agoluci-app-statistics: support specifying line width in graph definitions
Jo-Philipp Wich [Sat, 10 Jun 2017 18:37:29 +0000 (20:37 +0200)]
luci-app-statistics: support specifying line width in graph definitions

This allows a graph definition to explicitely request LINE1, LINE2 or
LINE3 for a data source.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-app-statistics: support graph menu entries without corresponding labels
Jo-Philipp Wich [Sat, 10 Jun 2017 18:26:10 +0000 (20:26 +0200)]
luci-app-statistics: support graph menu entries without corresponding labels

Properly render menu items for plugin instances that do not have a
corresponding label defined.

This allows for registering new graph pages solely by dropping files
into /usr/lib/lua/luci/statistics/rrdtool/definitions/

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1190 from musashino205/mwan3-fix-trans
Hannu Nyman [Sat, 10 Jun 2017 17:15:14 +0000 (20:15 +0300)]
Merge pull request #1190 from musashino205/mwan3-fix-trans

luci-app-mwan3: Fix mismatched texts

7 years agoluci-app-mwan3: Fix mismatched texts 1190/head
INAGAKI Hiroshi [Sat, 10 Jun 2017 15:47:42 +0000 (00:47 +0900)]
luci-app-mwan3: Fix mismatched texts

"hostname" and "address" in interfaceconfig.lua are mismatched with
the strings in po/pot files, and their translations are not applied.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1188 from dibdot/master
Hannu Nyman [Sat, 10 Jun 2017 07:20:31 +0000 (10:20 +0300)]
Merge pull request #1188 from dibdot/master

luci-app-adblock: sync with adblock 2.7.1

7 years agoluci-app-adblock: sync with adblock 2.7.1 1188/head
Dirk Brenken [Fri, 9 Jun 2017 18:18:23 +0000 (20:18 +0200)]
luci-app-adblock: sync with adblock 2.7.1

* "Save & Reply" now distinguish between normal and manual/backup mode
  and triggers an appropriate reload or a start action

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #1187 from musashino205/adblk-upd-ja
Hannu Nyman [Wed, 7 Jun 2017 21:12:38 +0000 (00:12 +0300)]
Merge pull request #1187 from musashino205/adblk-upd-ja

luci-app-adblock: Update Japanese translation

7 years agoluci-app-adblock: Update Japanese translation 1187/head
INAGAKI Hiroshi [Wed, 7 Jun 2017 20:55:29 +0000 (05:55 +0900)]
luci-app-adblock: Update Japanese translation

Updated Japanese translations, and cleaned up old translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-adblock: Sync translations
INAGAKI Hiroshi [Wed, 7 Jun 2017 20:22:11 +0000 (05:22 +0900)]
luci-app-adblock: Sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1185 from dibdot/master
Hannu Nyman [Wed, 7 Jun 2017 18:31:53 +0000 (21:31 +0300)]
Merge pull request #1185 from dibdot/master

luci-app-adblock: sync with adblock 2.7.0

7 years agoluci-app-adblock: sync with adblock 2.7.0 1185/head
Dirk Brenken [Wed, 7 Jun 2017 17:33:31 +0000 (19:33 +0200)]
luci-app-adblock: sync with adblock 2.7.0

* add new 'Manual mode' option

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoluci-mod-admin-full: Enable adhoc mode encryption options 1182/head
Kishan Gondaliya [Mon, 5 Jun 2017 08:04:03 +0000 (13:34 +0530)]
luci-mod-admin-full: Enable adhoc mode encryption options

Currently there are only 2 encryption options visible for adhoc
mode. But in netifd, others are also supported and working as
expected. So adding WPA-PSK, WPA2-PSK and WPA-PSK/WPA2-PSK Mixed
mode as encryption options.

Signed-off-by: Kishan Gondaliya <kishanpgondaliya@gmail.com>
7 years agoluci-mod-admin-full: automatically set dns=1 for static leases with hostname
Jo-Philipp Wich [Thu, 1 Jun 2017 23:00:12 +0000 (01:00 +0200)]
luci-mod-admin-full: automatically set dns=1 for static leases with hostname

Most users likely want the hostname of a static DHCP lease to be resolveable,
even if the corresponding host is currently offline.

Adjust the form logic to automatically set 'option dns 1' whenever a name is
specified in the static lease entry.

FIxes LEDE FS#815.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1180 from musashino205/mwan3-upd-ja
Jo-Philipp Wich [Thu, 1 Jun 2017 18:00:46 +0000 (20:00 +0200)]
Merge pull request #1180 from musashino205/mwan3-upd-ja

luci-app-mwan3: Update Japanese translation

7 years agoluci-app-mwan3: Update Japanese translation 1180/head
INAGAKI Hiroshi [Thu, 1 Jun 2017 17:56:22 +0000 (02:56 +0900)]
luci-app-mwan3: Update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1178 from TDT-GmbH/luci-app-mwan3-fixes
Hannu Nyman [Thu, 1 Jun 2017 10:04:21 +0000 (13:04 +0300)]
Merge pull request #1178 from TDT-GmbH/luci-app-mwan3-fixes

Luci app mwan3 fixes

7 years agoluci-app-mwan3: update language po 1178/head
Florian Eckert [Thu, 1 Jun 2017 09:55:41 +0000 (11:55 +0200)]
luci-app-mwan3: update language po

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-app-mwan3: fix css styling
Florian Eckert [Tue, 16 May 2017 13:34:43 +0000 (15:34 +0200)]
luci-app-mwan3: fix css styling

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-app-mwan3: make interface list non sortable
Florian Eckert [Tue, 16 May 2017 13:14:10 +0000 (15:14 +0200)]
luci-app-mwan3: make interface list non sortable

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-app-mwan3: change track_ip from ip to host datatype
Florian Eckert [Thu, 6 Apr 2017 10:05:58 +0000 (12:05 +0200)]
luci-app-mwan3: change track_ip from ip to host datatype

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoluci-base: resync translations, update German translations 1175/head
Jo-Philipp Wich [Tue, 30 May 2017 21:11:18 +0000 (23:11 +0200)]
luci-base: resync translations, update German translations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-theme-freifunk: fix a few broken translation directives
Jo-Philipp Wich [Tue, 30 May 2017 21:07:51 +0000 (23:07 +0200)]
luci-theme-freifunk: fix a few broken translation directives

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-proto-wireguard: use "Optional" instead of "Optional." as translation
Jo-Philipp Wich [Tue, 30 May 2017 19:45:54 +0000 (21:45 +0200)]
luci-proto-wireguard: use "Optional" instead of "Optional." as translation

This allows sharing the translation string with other components.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation label
Jo-Philipp Wich [Tue, 30 May 2017 19:24:41 +0000 (21:24 +0200)]
luci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation label

This allows sharing a common translation string between DHCP and interface pages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-proto-ipv6: use "Automatic" instead as "automatic" as translation label
Jo-Philipp Wich [Tue, 30 May 2017 18:20:34 +0000 (20:20 +0200)]
luci-proto-ipv6: use "Automatic" instead as "automatic" as translation label

This allows sharing a common translation string with all other protocols.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-proto-openconnect: fix authgroup translation
Jo-Philipp Wich [Tue, 30 May 2017 18:16:29 +0000 (20:16 +0200)]
luci-proto-openconnect: fix authgroup translation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: auto-migrate ifnames when changing VLAN configuration
Jo-Philipp Wich [Mon, 29 May 2017 06:45:38 +0000 (08:45 +0200)]
luci-mod-admin-full: auto-migrate ifnames when changing VLAN configuration

This change extends the switch VLAN configuration page to automatically
adjust interface ifname options when altering VLAN settings.

For example "eth0" is changed to "eth0.1" when a previously untagged LAN
VLAN is switched to tagged on the CPU port and vice versa.

Notifications are displayed in the page header if an auto migration was
performed.

This change should make the switch configuration more user friendly and
less prone to soft bricking.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1168 from EricLuehrsen/unbound_may2017
Hannu Nyman [Thu, 25 May 2017 05:21:43 +0000 (08:21 +0300)]
Merge pull request #1168 from EricLuehrsen/unbound_may2017

luci-app-unbound: option 'add_extra_dns' and list 'trigger'

7 years agoluci-app-unbound: option 'add_extra_dns' and list 'trigger' 1168/head
Eric Luehrsen [Tue, 16 May 2017 04:23:05 +0000 (00:23 -0400)]
luci-app-unbound: option 'add_extra_dns' and list 'trigger'

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agoluci-base: support ip6ifaceid option for proto_static
Hannu Nyman [Sun, 21 May 2017 19:02:46 +0000 (22:02 +0300)]
luci-base: support ip6ifaceid option for proto_static

Add support for 'ip6ifaceid' option for proto_static in LuCI.

Information about the option:
 The option is optional and defaults to '::1'.
 Allowed values: 'eui64', 'random', fixed value like '::1' or '::1:2'

 When IPv6 prefix (like 'a:b:c:d::') is received from a delegating
 server, the ip6ifaceid suffix (like '::1') is used to form
 the IPv6 address ('a:b:c:d::1') for the interface.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1160 from zx2c4/wg-psk-change
Hannu Nyman [Wed, 17 May 2017 19:36:31 +0000 (22:36 +0300)]
Merge pull request #1160 from zx2c4/wg-psk-change

wireguard: preshared-key is now an attribute of the peer

7 years agoMerge pull request #1167 from musashino205/mwan3-fix-path
Hannu Nyman [Tue, 16 May 2017 19:39:37 +0000 (22:39 +0300)]
Merge pull request #1167 from musashino205/mwan3-fix-path

luci-app-mwan3: Fix "ip" command path

7 years agoMerge pull request #1031 from feckert/add_dhcp_to_system_ucitrack
Hannu Nyman [Tue, 16 May 2017 16:28:57 +0000 (19:28 +0300)]
Merge pull request #1031 from feckert/add_dhcp_to_system_ucitrack

luci-base: add dhcp to system ucitrack

7 years agoluci-app-mwan3: Fix "ip" command path 1167/head
INAGAKI Hiroshi [Mon, 15 May 2017 06:24:42 +0000 (15:24 +0900)]
luci-app-mwan3: Fix "ip" command path

Fixed an issue that mwan3 fails to detect connection because "ip"
command relocated.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-statistics: check that uci config sections exist
Hannu Nyman [Wed, 10 May 2017 16:06:10 +0000 (19:06 +0300)]
luci-app-statistics: check that uci config sections exist

A missing or faulty luci_statistics config file may prevent
LuCI access completely already at the login phase as
the statistics config is parsed already then.

The error is like:
  .../statistics/datatree.lua:16: attempt to index upvalue 'sections' (a nil value)

User may be completely locked out of LuCI until he figures out
the need to have a proper luci_statistics config file.

Prevent the error by checking for the existence of
the uci config sections before trying to use values from them.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1163 from dibdot/luci-app-travelmate
Hannu Nyman [Wed, 10 May 2017 15:12:38 +0000 (18:12 +0300)]
Merge pull request #1163 from dibdot/luci-app-travelmate

luci-app-travelmate: sync with travelmate 0.7.3