project/luci.git
7 years agotreewide: cleanup references to madwifi from LuCI
Hannu Nyman [Tue, 28 Feb 2017 16:55:11 +0000 (18:55 +0200)]
treewide: cleanup references to madwifi from LuCI

Remove the code related to the deprecated madwifi driver.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1043 from hnyman/ieee80211
Hannu Nyman [Tue, 28 Feb 2017 12:24:20 +0000 (14:24 +0200)]
Merge pull request #1043 from hnyman/ieee80211

luci-mod-admin-full: new hostapd functionality for 80211w/r detection

7 years agoluci-mod-admin-full: new hostapd functionality for 80211w/r detection 1043/head
Hannu Nyman [Tue, 28 Feb 2017 12:16:19 +0000 (14:16 +0200)]
luci-mod-admin-full: new hostapd functionality for 80211w/r detection

Use the new hostapd functionality (in LEDE) to detect 802.11r and 802.11w
more properly. Leave the old logic in place for Openwrt.

Adjust 802.11w default value from "0" to "" in order to avoid unnecessary
"option ieee80211w 0" lines in /etc/config/wireless

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1042 from musashino205/wg-add-ja
Hannu Nyman [Mon, 27 Feb 2017 21:05:46 +0000 (23:05 +0200)]
Merge pull request #1042 from musashino205/wg-add-ja

luci-app-wireguard: Add Japanese translation

7 years agoluci-app-wireguard: Add Japanese translation 1042/head
INAGAKI Hiroshi [Mon, 27 Feb 2017 20:37:11 +0000 (05:37 +0900)]
luci-app-wireguard: Add Japanese translation

Added po templates file and Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #1039 from danrl/luci-proto-wireguard
Hannu Nyman [Mon, 27 Feb 2017 19:50:52 +0000 (21:50 +0200)]
Merge pull request #1039 from danrl/luci-proto-wireguard

luci-proto-wireguard: add support for fwmark option

7 years agoluci-proto-wireguard: add support for fwmark option 1039/head
danrl [Fri, 24 Feb 2017 14:03:11 +0000 (15:03 +0100)]
luci-proto-wireguard: add support for fwmark option

Adds support for the fwmark option.

FwMark is a 32-bit fwmark for outgoing packets.
If set to 0 or "off", this option is disabled.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoMerge pull request #1038 from danrl/luci-app-wireguard
Hannu Nyman [Mon, 27 Feb 2017 14:50:52 +0000 (16:50 +0200)]
Merge pull request #1038 from danrl/luci-app-wireguard

luci-app-wireguard: performance+ (no more sys.exec calls)

7 years agoluci-app-wireguard: performance+ (less sys.exec calls) 1038/head
danrl [Fri, 24 Feb 2017 08:26:03 +0000 (09:26 +0100)]
luci-app-wireguard: performance+ (less sys.exec calls)

Thanks to latest developments in wireguard-tools, we can now
fetch all data we need for display using a single sys.exec()
call instead of multiple ones. This application is now
significantly smaller and runs much faster.

Added Firewall Mark feature.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoMerge pull request #1005 from kdarbyshirebryant/miniupnpenable
Hannu Nyman [Sun, 26 Feb 2017 18:25:33 +0000 (20:25 +0200)]
Merge pull request #1005 from kdarbyshirebryant/miniupnpenable

luci-minuupnpd: use enable flag

7 years agoMerge pull request #1037 from musashino205/adblock-upd-ja
Hannu Nyman [Sun, 26 Feb 2017 17:58:18 +0000 (19:58 +0200)]
Merge pull request #1037 from musashino205/adblock-upd-ja

luci-app-adblock: Update Japanese translation

7 years agoMerge pull request #1034 from feckert/bootstrap_javascript_warning
Hannu Nyman [Sun, 26 Feb 2017 17:50:25 +0000 (19:50 +0200)]
Merge pull request #1034 from feckert/bootstrap_javascript_warning

luci-theme-boostrap: add javascript warning if disabled

7 years agoMerge pull request #1036 from luizluca/pt-br-update
Christian Schoenebeck [Sat, 25 Feb 2017 20:32:21 +0000 (21:32 +0100)]
Merge pull request #1036 from luizluca/pt-br-update

i18n: complete pt-br translation

7 years agoluci-minuupnpd: use enable flag 1005/head
Kevin Darbyshire-Bryant [Sat, 11 Feb 2017 20:31:58 +0000 (20:31 +0000)]
luci-minuupnpd: use enable flag

Add a 'master' miniupnpd service enable flag rather than just relying on
rcS.d script existence.  This allows the service to be disabled
across sysupgrade, similar to minidlna.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoluci-app-adblock: Update Japanese translation 1037/head
INAGAKI Hiroshi [Thu, 23 Feb 2017 06:11:41 +0000 (15:11 +0900)]
luci-app-adblock: Update Japanese translation

Improved existing translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoi18n: complete pt-br translation 1036/head
Luiz Angelo Daros de Luca [Mon, 20 Feb 2017 21:15:47 +0000 (18:15 -0300)]
i18n: complete pt-br translation

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
7 years agoluci-theme-boostrap: add JavaScript warning if disabled 1034/head
Florian Eckert [Tue, 21 Feb 2017 14:16:49 +0000 (15:16 +0100)]
luci-theme-boostrap: add JavaScript warning if disabled

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
7 years agoluci-base/po: update JavaScript nameing
Florian Eckert [Wed, 22 Feb 2017 09:09:46 +0000 (10:09 +0100)]
luci-base/po: update JavaScript nameing

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
7 years agoluci-theme-openwrt: fix JavaScript nameing
Florian Eckert [Wed, 22 Feb 2017 09:09:04 +0000 (10:09 +0100)]
luci-theme-openwrt: fix JavaScript nameing

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
7 years agoluci-theme-freifunk-generic: fix JavaScript naming
Florian Eckert [Wed, 22 Feb 2017 09:08:08 +0000 (10:08 +0100)]
luci-theme-freifunk-generic: fix JavaScript naming

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
7 years agoMerge pull request #1032 from feckert/update_base_po
Hannu Nyman [Tue, 21 Feb 2017 12:32:32 +0000 (14:32 +0200)]
Merge pull request #1032 from feckert/update_base_po

luci-base: sync translations

7 years agoluci-base: sync translations 1032/head
Florian Eckert [Tue, 21 Feb 2017 12:06:02 +0000 (13:06 +0100)]
luci-base: sync translations

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
7 years agoMerge pull request #1027 from danrl/lxc
Hannu Nyman [Tue, 21 Feb 2017 09:00:16 +0000 (11:00 +0200)]
Merge pull request #1027 from danrl/lxc

luci-app-lxc: initial commit

7 years agoluci-app-lxc: initial commit 1027/head
danrl [Fri, 17 Feb 2017 10:07:34 +0000 (11:07 +0100)]
luci-app-lxc: initial commit

Moved over here from the packages repository.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoMerge pull request #1030 from danrl/luci-app-wireguard
Hannu Nyman [Tue, 21 Feb 2017 08:17:07 +0000 (10:17 +0200)]
Merge pull request #1030 from danrl/luci-app-wireguard

luci-app-wireguard: resolve meta package in depdencies

7 years agoluci-app-wireguard: resolve meta package in depdencies 1030/head
danrl [Tue, 21 Feb 2017 07:59:32 +0000 (08:59 +0100)]
luci-app-wireguard: resolve meta package in depdencies

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci.mk: only use remote branch detection
Jo-Philipp Wich [Mon, 20 Feb 2017 13:34:16 +0000 (14:34 +0100)]
luci.mk: only use remote branch detection

LEDE's scripts/feeds script creates local branches named after the checked
out commit hash, confusing local branch detection.

Solely use remote branch detection to avoid misidentifying such cases.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci.mk: fix branch detection in detached HEAD state
Jo-Philipp Wich [Mon, 20 Feb 2017 13:14:49 +0000 (14:14 +0100)]
luci.mk: fix branch detection in detached HEAD state

When LuCI is checked out via pinned feeds configuration, its source tree will
end up in detached head state, requiring some more magic to figure out the
proper branch.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #1022 from danrl/luci-app-wireguard
Hannu Nyman [Sun, 19 Feb 2017 14:13:19 +0000 (16:13 +0200)]
Merge pull request #1022 from danrl/luci-app-wireguard

luci-app-wireguard: initial commit

7 years agoMerge pull request #1024 from stangri/luci-app-vpnbypass
Hannu Nyman [Fri, 17 Feb 2017 07:07:47 +0000 (09:07 +0200)]
Merge pull request #1024 from stangri/luci-app-vpnbypass

luci-app-vpnbypass: add datatypes and placeholders to fields

7 years agoluci-app-wireguard: initial commit 1022/head
danrl [Thu, 16 Feb 2017 18:40:26 +0000 (19:40 +0100)]
luci-app-wireguard: initial commit

This application allows for monitoring of WireGuard interfaces via the
Status menu.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-app-vpnbypass: add datatypes and placeholders to addresses and ports 1024/head
Stan Grishin [Fri, 17 Feb 2017 04:16:56 +0000 (20:16 -0800)]
luci-app-vpnbypass: add datatypes and placeholders to addresses and ports

Signed-off-by: Stan Grishin <stangri@melmac.net>
7 years agoMerge pull request #1023 from danrl/luci-proto-wireguard
Hannu Nyman [Thu, 16 Feb 2017 20:53:28 +0000 (22:53 +0200)]
Merge pull request #1023 from danrl/luci-proto-wireguard

luci-proto-wireguard: mark package as arch indep.

7 years agoluci-proto-wireguard: mark package as arch indep. 1023/head
Dan Lüdtke [Thu, 16 Feb 2017 20:50:39 +0000 (21:50 +0100)]
luci-proto-wireguard: mark package as arch indep.

Marks package luci-proto-wireguard as architecture independent.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-app-bcp38: fix typo in dependency
Hannu Nyman [Thu, 16 Feb 2017 10:14:45 +0000 (12:14 +0200)]
luci-app-bcp38: fix typo in dependency

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1017 from danrl/luci-app-bcp38
Hannu Nyman [Thu, 16 Feb 2017 09:32:08 +0000 (11:32 +0200)]
Merge pull request #1017 from danrl/luci-app-bcp38

luci-app-bcp38: added bcp38 application

7 years agoMerge pull request #1018 from danrl/luci-app-clamav
Hannu Nyman [Thu, 16 Feb 2017 09:31:42 +0000 (11:31 +0200)]
Merge pull request #1018 from danrl/luci-app-clamav

luci-app-clamav: added clamav application

7 years agoMerge pull request #1019 from danrl/luci-app-e2guardian
Hannu Nyman [Thu, 16 Feb 2017 09:31:26 +0000 (11:31 +0200)]
Merge pull request #1019 from danrl/luci-app-e2guardian

luci-app-e2guardian: add e2guardian application

7 years agoMerge pull request #1020 from danrl/luci-app-squid
Hannu Nyman [Thu, 16 Feb 2017 09:31:09 +0000 (11:31 +0200)]
Merge pull request #1020 from danrl/luci-app-squid

luci-app-squid: added squid application

7 years agoluci-app-clamav: added clamav application 1018/head
danrl [Thu, 16 Feb 2017 08:50:20 +0000 (09:50 +0100)]
luci-app-clamav: added clamav application

This application was moved from the packages repository to luci.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-app-squid: added squid application 1020/head
danrl [Wed, 15 Feb 2017 12:58:27 +0000 (13:58 +0100)]
luci-app-squid: added squid application

This application was moved from the packages repository to luci.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-app-e2guardian: add e2guardian application 1019/head
danrl [Wed, 15 Feb 2017 12:48:56 +0000 (13:48 +0100)]
luci-app-e2guardian: add e2guardian application

This application was moved from the packages repository to luci.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-app-bcp38: added bcp38 application 1017/head
danrl [Wed, 15 Feb 2017 09:55:41 +0000 (10:55 +0100)]
luci-app-bcp38: added bcp38 application

This application was moved from the packages repository to luci.

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoMerge pull request #1015 from danrl/proto-wireguard
Hannu Nyman [Wed, 15 Feb 2017 09:09:17 +0000 (11:09 +0200)]
Merge pull request #1015 from danrl/proto-wireguard

luci-proto-wireguard: stricter input validation

7 years agoluci-proto-wireguard: stricter input validation 1015/head
danrl [Wed, 15 Feb 2017 08:23:06 +0000 (09:23 +0100)]
luci-proto-wireguard: stricter input validation

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoMerge pull request #1014 from danrl/datatypes
Hannu Nyman [Wed, 15 Feb 2017 08:56:41 +0000 (10:56 +0200)]
Merge pull request #1014 from danrl/datatypes

luci-base: added datatypes `hostid` and `base64`

7 years agoluci-base: added dhcpv6 datatypes 1014/head
danrl [Wed, 15 Feb 2017 06:46:38 +0000 (07:46 +0100)]
luci-base: added dhcpv6 datatypes

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-base: sync translations
Hannu Nyman [Wed, 15 Feb 2017 08:15:36 +0000 (10:15 +0200)]
luci-base: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1012 from stangri/luci-app-vpnbypass
Hannu Nyman [Wed, 15 Feb 2017 08:08:34 +0000 (10:08 +0200)]
Merge pull request #1012 from stangri/luci-app-vpnbypass

luci-app-vpnbypass: cbi file fix for README link and an unneeded section

7 years agoluci-mod-admin-full: change html for compatibility with openwrt theme
Hannu Nyman [Wed, 15 Feb 2017 06:48:22 +0000 (08:48 +0200)]
luci-mod-admin-full: change html for compatibility with openwrt theme

Openwrt theme apparently accepsts slightly different html than
Bootstrap or Material. Cahnge code to <br /> to make it compatible.

This fixes #1011

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-app-vpnbypass: cbi file fix for README and an unneeded section 1012/head
Stan Grishin [Wed, 15 Feb 2017 01:19:11 +0000 (17:19 -0800)]
luci-app-vpnbypass: cbi file fix for README and an unneeded section

Signed-off-by: Stan Grishin <stangri@melmac.net>
7 years agoluci-mod-admin-full: place 80211w options behind a check for wpad-full
Hannu Nyman [Tue, 14 Feb 2017 21:30:51 +0000 (23:30 +0200)]
luci-mod-admin-full: place 80211w options behind a check for wpad-full

The default hostapd/wpad mini version does not support ieee80211w
and the option's visibility in LuCI may lead it to be placed in user's
/etc/config/wireless preventing wifi from starting.

Check for hostapd/wpad full before exposing the option.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1008 from stangri/luci-app-vpnbypass
Hannu Nyman [Tue, 14 Feb 2017 07:26:06 +0000 (09:26 +0200)]
Merge pull request #1008 from stangri/luci-app-vpnbypass

luci-app-vpnbypass: include dnsmasq settings, link to README

7 years agoluci-app-vpnbypass: include dnsmasq settings, link to README 1008/head
Stan Grishin [Thu, 26 Jan 2017 22:54:48 +0000 (14:54 -0800)]
luci-app-vpnbypass: include dnsmasq settings, link to README

Signed-off-by: Stan Grishin <stangri@melmac.net>
7 years agoluci-app-statistics: remove non-functional links from graphs
Hannu Nyman [Mon, 13 Feb 2017 17:05:35 +0000 (19:05 +0200)]
luci-app-statistics: remove non-functional links from graphs

The statistics graphs on the pages with multiple data sources
have contained links to the data sources, but those links
have not worked. Remove the links as they are unnecessary.

This commit fixes #1006

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #1004 from kdarbyshirebryant/miniupnpluci
Hannu Nyman [Mon, 13 Feb 2017 08:30:13 +0000 (10:30 +0200)]
Merge pull request #1004 from kdarbyshirebryant/miniupnpluci

luci-app-miniupnpd: restore missing luci install file

7 years agoMerge pull request #1002 from EricLuehrsen/unbound_uci_defaults
Hannu Nyman [Sun, 12 Feb 2017 08:41:17 +0000 (10:41 +0200)]
Merge pull request #1002 from EricLuehrsen/unbound_uci_defaults

unbound: add uci-default script

7 years agoMerge pull request #1003 from stangri/luci-app-vpnbypass
Hannu Nyman [Sun, 12 Feb 2017 08:19:00 +0000 (10:19 +0200)]
Merge pull request #1003 from stangri/luci-app-vpnbypass

luci-app-vpnbypass: makefile fix & controller fix

7 years agounbound: add uci-default script 1002/head
Eric Luehrsen [Sat, 11 Feb 2017 21:57:15 +0000 (16:57 -0500)]
unbound: add uci-default script

Also if unbound-control is installed, then configure so
luci-app-commands can quickly show the "local zones" and
"local data" (aka hosts). This helps diagnose DHCP-DNS
zone data and adblock zone data.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agoluci-app-vpnbypass: makefile fix & controller fix 1003/head
Stan Grishin [Thu, 26 Jan 2017 22:54:48 +0000 (14:54 -0800)]
luci-app-vpnbypass: makefile fix & controller fix

Signed-off-by: Stan Grishin <stangri@melmac.net>
7 years agoluci-app-miniupnpd: restore missing luci install file 1004/head
Kevin Darbyshire-Bryant [Sat, 11 Feb 2017 19:41:31 +0000 (19:41 +0000)]
luci-app-miniupnpd: restore missing luci install file

Restore luci indexcache handling incorrect removed in
https://github.com/openwrt/luci/commit/387a06bb73462312c075e53ce9e6002d4af09e92

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoMerge pull request #1001 from kdarbyshirebryant/minidlna
Hannu Nyman [Sat, 11 Feb 2017 18:54:01 +0000 (20:54 +0200)]
Merge pull request #1001 from kdarbyshirebryant/minidlna

luci-app-minidlna: permit minidlna after sysupgrade

7 years agoluci-app-minidlna: permit minidlna after sysupgrade 1001/head
Kevin Darbyshire-Bryant [Tue, 24 Jan 2017 20:27:38 +0000 (20:27 +0000)]
luci-app-minidlna: permit minidlna after sysupgrade

Do not disable minidlna after sysupgrade, rather trust the config
enabled status in /etc/config/minidlna.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoMerge pull request #1000 from EricLuehrsen/luci_rt_con_cc1
Hannu Nyman [Sat, 11 Feb 2017 07:52:49 +0000 (09:52 +0200)]
Merge pull request #1000 from EricLuehrsen/luci_rt_con_cc1

luci: ignore '::1' in realtime connections

7 years agoluci: ignore '::1' in realtime connections 1000/head
Eric Luehrsen [Sat, 11 Feb 2017 02:38:00 +0000 (21:38 -0500)]
luci: ignore '::1' in realtime connections

luci ignores only 127.0.0.1 in real time connections.
The dnsmasq.init script sets up resolv.conf(s) as such.
With alternate DNS servers configured 'localhost' will
resolve to '127.0.0.1' or '::1'. The connections graph
will spam itself. openwrt/luci#996

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agoMerge pull request #999 from musashino205/base-upd-ja
Hannu Nyman [Fri, 10 Feb 2017 18:38:36 +0000 (20:38 +0200)]
Merge pull request #999 from musashino205/base-upd-ja

luci-base: Update Japanese translation

7 years agoluci-base: Update Japanese translation 999/head
INAGAKI Hiroshi [Fri, 10 Feb 2017 18:30:17 +0000 (03:30 +0900)]
luci-base: Update Japanese translation

Added some Japanese translations of recently added strings.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-base: Sync translations
INAGAKI Hiroshi [Fri, 10 Feb 2017 17:45:32 +0000 (02:45 +0900)]
luci-base: Sync translations

Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-mod-admin-full: tweak 80211w options
Hannu Nyman [Fri, 10 Feb 2017 13:07:17 +0000 (15:07 +0200)]
luci-mod-admin-full: tweak 80211w options

Use ListValue type and enable translation of the option values.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoremote-update: remove ancient non-maintained package
Hannu Nyman [Fri, 10 Feb 2017 09:21:01 +0000 (11:21 +0200)]
remote-update: remove ancient non-maintained package

Remove the ancient 'remote-update' package that has not been
updated for years. It e.g. references two non-existing targets.

Reference to discussion in #995

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-mod-admin-full: add support for 802.11w options
Hannu Nyman [Thu, 9 Feb 2017 19:35:24 +0000 (21:35 +0200)]
luci-mod-admin-full: add support for 802.11w options

Add support for IEEE802.11w Management Frame Protection options.

Mention in the help text that the full version of wpad/hostapd is
needed.

Currently supported by ath9k and ath10k, and in LEDE also by
mwlwifi and mt76.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-mod-admin-full: add validation to more 802.11r options
Hannu Nyman [Thu, 9 Feb 2017 15:01:44 +0000 (17:01 +0200)]
luci-mod-admin-full: add validation to more 802.11r options

Apply hexstring datatype to mobility domain and r1_key_holder.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-base: add hexstring datatype
Hannu Nyman [Thu, 9 Feb 2017 14:58:07 +0000 (16:58 +0200)]
luci-base: add hexstring datatype

Add datatype 'hexstring' for input validaiton datatypes.

It will accept any hexadecimal string.

(no length validation, as rangelength can be used for that.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-mod-admin-full: improve 802.11r support
Hannu Nyman [Thu, 9 Feb 2017 12:49:08 +0000 (14:49 +0200)]
luci-mod-admin-full: improve 802.11r support

* Add WPA/WPA2-PSK mixed mode to the list of allowed modes
* Add datatype validation to some fields
* Add help texts
* Reformat longest lines

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoAdd support for 802.11r fast transition to wireless config
muddyfeet [Thu, 9 Feb 2017 09:18:36 +0000 (09:18 +0000)]
Add support for 802.11r fast transition to wireless config

Adds support for 802.11r fast transition to luci.
Corrects the deletion on nasid in issue #844

The R0KH & R1KH options are not perfect as it would be better
to separate out each option and do some sanity checking on
the values, but that is beyond my capabilities.

Signed-off-by: Warren Linton warren@linton.id.au
(squashed from three original commits in #994. commit message reworded)

7 years agoluci-mod-admin-full: prevent accidental deletion of 802.11r nasid
Hannu Nyman [Thu, 9 Feb 2017 08:02:49 +0000 (10:02 +0200)]
luci-mod-admin-full: prevent accidental deletion of 802.11r nasid

The same wifi option 'nasid' is used for two purposes,
RADIUS NAS ID and 802.11r NAS ID / R0KH-ID.

In LuCI the 'nasid' option has depended on WPA-EAP/WPA2-EAP, which
can lead to accidental deletion of the option, if the user modifies
any wifi settings while he has WPA(2)-PSK & 802.11r mode.

802.11r can also be with WPA(2)-PSK, so add them to the dependency
list of allowed encryptions.

(Note: after this fix the 'nasid' field is shown unnecessarily
to "normal" WPA(2)-PSK users. It might later be set to depend on
802.11r being used, after 802.11r has been added to LuCI.)

Reference to bugs:
https://github.com/openwrt/luci/issues/844
https://dev.openwrt.org/ticket/20764
https://bugs.lede-project.org/index.php?do=details&task_id=274

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #965 from cshore-firmware/pull-request-odhcpd-mac
Daniel Dickinson [Tue, 7 Feb 2017 21:00:09 +0000 (16:00 -0500)]
Merge pull request #965 from cshore-firmware/pull-request-odhcpd-mac

base: status: For odhpcd leases display MAC formatted with colons

7 years agoMerge pull request #798 from thoto/feature_lstat
Daniel Dickinson [Tue, 7 Feb 2017 20:56:02 +0000 (15:56 -0500)]
Merge pull request #798 from thoto/feature_lstat

luci-lib-nixio: nixio_lstat calls stat instead of lstat

7 years agoluci-app-wshaper: remove package
Hannu Nyman [Tue, 7 Feb 2017 09:49:10 +0000 (11:49 +0200)]
luci-app-wshaper: remove package

wshaper was removed from the Packages repo
so remove also the corresponding LuCI app.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoMerge pull request #992 from dibdot/master
Hannu Nyman [Sun, 5 Feb 2017 08:33:28 +0000 (10:33 +0200)]
Merge pull request #992 from dibdot/master

luci-app-adblock: put backup options to global section

7 years agoluci-app-adblock: put backup options to global section 992/head
Dirk Brenken [Sun, 5 Feb 2017 07:02:39 +0000 (08:02 +0100)]
luci-app-adblock: put backup options to global section

this PR reflect the changes made in adblock 2.3.0

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #988 from danrl/proto-wireguard
Hannu Nyman [Fri, 3 Feb 2017 20:16:03 +0000 (22:16 +0200)]
Merge pull request #988 from danrl/proto-wireguard

luci-proto-wireguard: fix wrong maximum MTU

7 years agoluci-proto-wireguard: fix wrong maximum MTU 988/head
danrl [Fri, 3 Feb 2017 20:05:01 +0000 (21:05 +0100)]
luci-proto-wireguard: fix wrong maximum MTU

Signed-off-by: Dan Luedtke <mail@danrl.com>
7 years agoluci-ssl-openssl: use OpenSSL for key generation, drop px5g
Hannu Nyman [Tue, 31 Jan 2017 14:47:12 +0000 (16:47 +0200)]
luci-ssl-openssl: use OpenSSL for key generation, drop px5g

Replace a dependency for px5g with openssl-util. Both LEDE and
Openwrt have now uhttpd versions that can generate keys with
OpenSSL cmd tools if px5g is not found. This change enables an
"OpenSSL-only" version of LuCI without mbedTLS/PolarSSL.

(Note: if px5g is found, uhttpd will prefer that.)

Relevant commits in uhttpd:

LEDE:
https://github.com/lede-project/source/commit/3c4858eeb2bbb3107f87bb3be07d5c172c8e0ef9
https://github.com/lede-project/source/commit/82132540a3efbc98f8f4379b26d4b4541013e69d
https://github.com/lede-project/source/commit/9097dc5ad844c336020be11085e1c8c80390ac9c

Openwrt:
https://github.com/openwrt/openwrt/commit/6ec32832d25335355d205c4601d4a8ca5dfd6808

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-base: fix logic errors in ipmask4 and ipmask6 datatype validators
Jo-Philipp Wich [Mon, 30 Jan 2017 18:14:08 +0000 (19:14 +0100)]
luci-base: fix logic errors in ipmask4 and ipmask6 datatype validators

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: fixes for usbport LED triggers
Jo-Philipp Wich [Mon, 30 Jan 2017 14:50:08 +0000 (15:50 +0100)]
luci-mod-admin-full: fixes for usbport LED triggers

The previous commit erroneously used "ports" instead of "port" as name for the
option widget, causing wrong uci values to be written.

Also work around some cbi idiosyncrasies regarding MultiValue widgets which
prevented rendering the correct initial selection state.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #984 from musashino205/base-upd-ja
Hannu Nyman [Mon, 30 Jan 2017 09:29:11 +0000 (11:29 +0200)]
Merge pull request #984 from musashino205/base-upd-ja

luci-base: Update Japanese translation

7 years agoluci-base: Update Japanese translation 984/head
INAGAKI Hiroshi [Sun, 29 Jan 2017 17:41:25 +0000 (02:41 +0900)]
luci-base: Update Japanese translation

Added and modified some Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-base: Sync translations
INAGAKI Hiroshi [Sun, 29 Jan 2017 16:11:15 +0000 (01:11 +0900)]
luci-base: Sync translations

Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #983 from stangri/luci-app-vpnbypass_makefileFix
Hannu Nyman [Sat, 28 Jan 2017 16:50:36 +0000 (18:50 +0200)]
Merge pull request #983 from stangri/luci-app-vpnbypass_makefileFix

luci-app-vpnbypass: luci tree Makefile + i18n support.

7 years agoluci-app-vpnbypass: switch to luci-tree Makefile, i18n support 983/head
Stan Grishin [Sat, 28 Jan 2017 15:38:05 +0000 (07:38 -0800)]
luci-app-vpnbypass: switch to luci-tree Makefile, i18n support

Signed-off-by: Stan Grishin <stangri@melmac.net>
luci-app-vpnbypass: fixed makefile, fixed pot-file

Signed-off-by: Stan Grishin <stangri@melmac.net>
7 years agoMerge pull request #981 from NvrBst/pull-request-ipv6_prefix_status_display
Jo-Philipp Wich [Sat, 28 Jan 2017 12:45:44 +0000 (13:45 +0100)]
Merge pull request #981 from NvrBst/pull-request-ipv6_prefix_status_display

mod-admin-full: Add IPv6 Prefix Delegation information to Status Pages

7 years agomod-admin-full: Add IPv6 Prefix Delegation information to Status Pages 981/head
Cody R. Brown [Sat, 28 Jan 2017 09:38:06 +0000 (01:38 -0800)]
mod-admin-full: Add IPv6 Prefix Delegation information to Status Pages
The Overview page and Network>Interfaces page currently do not give much information about IPv6, particularly with Prefix Delegated setups. In these setups, ISP will delegate a prefix to the router. Currently LuCI doesn't display this Prefix Delegation from the ISP anywhere. A number of changes was added to this commit:

1) self:_ubus("ipv6-prefix") was extracted and put into protocol.ip6prefix.
2) Network>Interfaces page, if a .ip6prefix is present, show it under Status. (IPv6-PD).
3) On the Overview page, "Type" and "Prefix Delegated" has been added to the IPv6 Network Overview Status:
  - Type will display the .proto, similar to the IPv4 case. If a .ip6prefix is present, it'll display a "-pd" at the end of the Type: i.e. dhcpv6-pd vs. dhcpv6.
  - If no .ip6prefix is present, it'll do what it does currently, and just show Address, or :: if no address is present.
  - If .ip6prefix is present, it'll show the "Prefix Delegated", it'll also hide "Address" if no address is present, else it'll show ifc6.ip6addr as well.

Signed-off-by: Cody R. Brown <dev@codybrown.ca>
7 years agoMerge pull request #979 from musashino205/wol-upd-ja
Hannu Nyman [Fri, 27 Jan 2017 13:32:25 +0000 (15:32 +0200)]
Merge pull request #979 from musashino205/wol-upd-ja

luci-app-wol: Update Japanese translation

7 years agoMerge pull request #977 from stangri/luci-app-vpnbypass
Hannu Nyman [Fri, 27 Jan 2017 13:31:48 +0000 (15:31 +0200)]
Merge pull request #977 from stangri/luci-app-vpnbypass

luci-app-vpnbypass: initial commit of companion app to vpnbypass package

7 years agoluci-app-wol: Update Japanese translation 979/head
INAGAKI Hiroshi [Fri, 27 Jan 2017 12:03:42 +0000 (21:03 +0900)]
luci-app-wol: Update Japanese translation

Added one Japanese translation of recently added string.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-wol: Sync translations
INAGAKI Hiroshi [Fri, 27 Jan 2017 10:17:20 +0000 (19:17 +0900)]
luci-app-wol: Sync translations

Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-wol: add ability to send packet to broadcast address
Hannu Nyman [Fri, 27 Jan 2017 08:36:12 +0000 (10:36 +0200)]
luci-app-wol: add ability to send packet to broadcast address

Add the ability to send the WOL packet to the broadcast address,
if etherwake is used as the wol tool.

Modified from the original idea in #975

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-app-wol: move to services menu
Hannu Nyman [Fri, 27 Jan 2017 08:34:46 +0000 (10:34 +0200)]
luci-app-wol: move to services menu

Move the wake-on-lan app from the network menu to services menu,
where other similar apps are located.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-app-vpnbypass: initial commit of companion app to vpnbypass package 977/head
Stan Grishin [Thu, 26 Jan 2017 22:54:48 +0000 (14:54 -0800)]
luci-app-vpnbypass: initial commit of companion app to vpnbypass package

Signed-off-by: Stan Grishin <stangri@melmac.net>