project/luci.git
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>
7 years agoMerge pull request #974 from musashino205/base-upd-ja
Hannu Nyman [Thu, 26 Jan 2017 10:03:08 +0000 (12:03 +0200)]
Merge pull request #974 from musashino205/base-upd-ja

luci-base: Update Japanese translation

7 years agoluci-base: Update Japanese translation 974/head
INAGAKI Hiroshi [Thu, 26 Jan 2017 09:50:51 +0000 (18:50 +0900)]
luci-base: Update Japanese translation

Added and modified some translations for Japanese.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #973 from musashino205/sync-trans
Hannu Nyman [Thu, 26 Jan 2017 07:43:50 +0000 (09:43 +0200)]
Merge pull request #973 from musashino205/sync-trans

i18n: Sync translations

7 years agoi18n: Sync translations 973/head
INAGAKI Hiroshi [Thu, 26 Jan 2017 03:32:54 +0000 (12:32 +0900)]
i18n: Sync translations

Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-mod-admin-full: admin: change password in Map.parse()
Jo-Philipp Wich [Wed, 25 Jan 2017 23:21:17 +0000 (00:21 +0100)]
luci-mod-admin-full: admin: change password in Map.parse()

Move the password setting into the .parse() callback to ensure that it is
updated regardless of whether "Save" or "Save & Apply" has been pressed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: support configuring usbport LED triggers
Jo-Philipp Wich [Wed, 25 Jan 2017 23:08:43 +0000 (00:08 +0100)]
luci-mod-admin-full: support configuring usbport LED triggers

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: mvalue: fix column wrapping
Jo-Philipp Wich [Wed, 25 Jan 2017 23:07:26 +0000 (00:07 +0100)]
luci-base: mvalue: fix column wrapping

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: reload wifi settings page after changing countey code
Jo-Philipp Wich [Wed, 25 Jan 2017 22:37:40 +0000 (23:37 +0100)]
luci-mod-admin-full: reload wifi settings page after changing countey code

Reloading the page ensures that the allowed tx power values and channel select
lists are properly populated with the new effective values.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-mod-admin-full: allow unset txpower value
Rafał Miłecki [Tue, 3 Jan 2017 14:54:57 +0000 (15:54 +0100)]
luci-mod-admin-full: allow unset txpower value

Sometimes txpower is not set so we should have an option with empty
value to let it stay unset.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agoluci-base: datatypes.lua: add missing parentheses in conditional
Jo-Philipp Wich [Tue, 24 Jan 2017 12:51:23 +0000 (13:51 +0100)]
luci-base: datatypes.lua: add missing parentheses in conditional

The missing parens lead to a wrong expression precedence, causing a runtime
error when attempting to compare nil with a number.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoMerge pull request #972 from musashino205/stat-upd-ja
Hannu Nyman [Tue, 24 Jan 2017 06:19:56 +0000 (08:19 +0200)]
Merge pull request #972 from musashino205/stat-upd-ja

luci-app-statistics: Update Japanese translation

7 years agoluci-app-statistics: Update Japanese translation 972/head
INAGAKI Hiroshi [Tue, 24 Jan 2017 06:08:48 +0000 (15:08 +0900)]
luci-app-statistics: Update Japanese translation

Added some Japanese translations and fixed some mistranslations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-statistics: Sync translations
INAGAKI Hiroshi [Tue, 24 Jan 2017 05:46:30 +0000 (14:46 +0900)]
luci-app-statistics: Sync translations

Synchronized translation of each language po file and po templates
with Lua source.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #959 from EricLuehrsen/unbound_odhcpd
Hannu Nyman [Tue, 24 Jan 2017 05:35:48 +0000 (07:35 +0200)]
Merge pull request #959 from EricLuehrsen/unbound_odhcpd

unbound: update UCI for odhcpd and hostname

7 years agounbound: update UCI for odhcpd and hostname 959/head
Eric Luehrsen [Thu, 19 Jan 2017 06:33:44 +0000 (01:33 -0500)]
unbound: update UCI for odhcpd and hostname

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agoluci-app-statistics: add advice about data directory permissions
Hannu Nyman [Mon, 23 Jan 2017 17:31:40 +0000 (19:31 +0200)]
luci-app-statistics: add advice about data directory permissions

Add advice about the permissions needed for the data directory:

  Pages are rendered as user 'nobody', so the *.rrd files,
  data directory and all its parent directories need to be
  world readable.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agoluci-app-firewall: use new ipmask validation types when applicable
Jo-Philipp Wich [Mon, 23 Jan 2017 15:18:20 +0000 (16:18 +0100)]
luci-app-firewall: use new ipmask validation types when applicable

This allows for address specifications like "fdca:1234:0123::abcd/::ffff:ffff:ffff:ffff"
which only match the last 64 bits of an address. This syntax is legal and already supported
by iptables and firewall3.

Fixes https://bugs.lede-project.org/index.php?do=details&task_id=417

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: ipmask, ipmask4 and ipmask6 validators
Jo-Philipp Wich [Mon, 23 Jan 2017 15:10:36 +0000 (16:10 +0100)]
luci-base: ipmask, ipmask4 and ipmask6 validators

These validators accept IP address specifications in the form

 - address
 - address/bits
 - address/netmask

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: datatypes.lua: cleanup white space
Jo-Philipp Wich [Mon, 23 Jan 2017 15:10:07 +0000 (16:10 +0100)]
luci-base: datatypes.lua: cleanup white space

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoluci-base: luci.tools.status: properly parse infinite dnsmasq leases
Cody R. Brown [Mon, 23 Jan 2017 06:25:44 +0000 (22:25 -0800)]
luci-base: luci.tools.status: properly parse infinite dnsmasq leases

The expiry time in a dnsmasq lease file line may be 0 (i.e.
expiry date = 01/01/1970 00:00:00 GMT) to denote an infinite
lease time, so adjust the code to properly support that.

The expiry attribute of the lease object will be set to "false"
in case of an infinite lease. This is to mimic the odhcp code below.
If the expiry date is not equal to 0, then just do exactly what was
done before (return the os.diff of current time and ts).

Signed-off-by: Cody R. Brown <dev@codybrown.ca>
7 years agoMerge pull request #967 from musashino205/cmd-upd-ja
Hannu Nyman [Sun, 22 Jan 2017 05:49:19 +0000 (07:49 +0200)]
Merge pull request #967 from musashino205/cmd-upd-ja

luci-app-commands: Update Japanese translation

7 years agoluci-app-commands: Update Japanese translation 967/head
INAGAKI Hiroshi [Sat, 21 Jan 2017 09:24:22 +0000 (18:24 +0900)]
luci-app-commands: Update Japanese translation

Added some Japanese translations of recently added strings.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoluci-app-commands: Sync translations
INAGAKI Hiroshi [Sat, 21 Jan 2017 00:35:01 +0000 (09:35 +0900)]
luci-app-commands: Sync translations

Synchronized translation of each languate and po templates with Lua
sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #768 from t123yh/app_commands_nodownload
Daniel Dickinson [Fri, 20 Jan 2017 23:00:42 +0000 (18:00 -0500)]
Merge pull request #768 from t123yh/app_commands_nodownload

luci-app-commands: allow executing without downloading on public links

7 years agobase: status: For odhpcd leases display MAC formatted with colons 965/head
Daniel Dickinson [Fri, 9 Dec 2016 16:58:21 +0000 (11:58 -0500)]
base: status: For odhpcd leases display MAC formatted with colons

This should result in the MAC address display being the same
using odhcpd for v4 DHCP as when using DNSMasq for v4 DHCP.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
7 years agoAdd luci-proto-ncm for comgt-ncm 956/head
Lucian Cristian [Tue, 17 Jan 2017 16:21:55 +0000 (18:21 +0200)]
Add luci-proto-ncm for comgt-ncm

NCM is used by some 3G/LTE dongles.
First introduced in https://github.com/lede-project/source/commit/51a5ff094703c4db984284913d605e83e819d99c

light modified file taken from OpenWRT/Gargoyle github
https://github.com/obsy/packages/tree/master/luci-proto-wwan

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
7 years agoMerge pull request #954 from musashino205/dynpnt-add-ja
Daniel Dickinson [Tue, 17 Jan 2017 03:47:19 +0000 (22:47 -0500)]
Merge pull request #954 from musashino205/dynpnt-add-ja

luci-app-dynapoint: Add Japanese translation

7 years agoluci-app-dynapoint: Add Japanese translation 954/head
INAGAKI Hiroshi [Mon, 16 Jan 2017 18:23:38 +0000 (03:23 +0900)]
luci-app-dynapoint: Add Japanese translation

Added Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
7 years agoMerge pull request #953 from musashino205/mount-fix-disp
Daniel Dickinson [Mon, 16 Jan 2017 15:45:20 +0000 (10:45 -0500)]
Merge pull request #953 from musashino205/mount-fix-disp

luci-mod-admin-full: Fix display problems of mount

7 years agoMerge pull request #947 from danrl/proto-wireguard
Daniel Dickinson [Mon, 16 Jan 2017 14:39:55 +0000 (09:39 -0500)]
Merge pull request #947 from danrl/proto-wireguard

luci-proto-wireguard: enable addressing for tunnel interfaces

7 years agoMerge pull request #817 from ascob/luci-app-dynapoint
Daniel Dickinson [Mon, 16 Jan 2017 14:28:26 +0000 (09:28 -0500)]
Merge pull request #817 from ascob/luci-app-dynapoint

luci-app-dynapoint: new package

7 years agoMerge pull request #917 from aa65535/master
Daniel Dickinson [Mon, 16 Jan 2017 14:26:42 +0000 (09:26 -0500)]
Merge pull request #917 from aa65535/master

luci-base:adjust the code order

7 years agoMerge pull request #946 from chloe-jeong/trunk-ko
Daniel Dickinson [Mon, 16 Jan 2017 07:07:36 +0000 (02:07 -0500)]
Merge pull request #946 from chloe-jeong/trunk-ko

Updates korean languages.

7 years agoMerge pull request #861 from ynezz/master
Daniel Dickinson [Mon, 16 Jan 2017 06:49:21 +0000 (01:49 -0500)]
Merge pull request #861 from ynezz/master

luci-mod-admin-full: Store system time into RTC also