Commit graph

8409 commits

Author SHA1 Message Date
danrl
85ed192e3d luci-app-bcp38: added bcp38 application
This application was moved from the packages repository to luci.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-15 14:38:10 +01:00
Hannu Nyman
dea880ef72 Merge pull request #1015 from danrl/proto-wireguard
luci-proto-wireguard: stricter input validation
2017-02-15 11:09:17 +02:00
danrl
8fc55591b9 luci-proto-wireguard: stricter input validation
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-15 10:03:29 +01:00
Hannu Nyman
3d4fbc9a86 Merge pull request #1014 from danrl/datatypes
luci-base: added datatypes `hostid` and `base64`
2017-02-15 10:56:41 +02:00
danrl
94d6b7b70d luci-base: added dhcpv6 datatypes
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-15 09:50:58 +01:00
Hannu Nyman
2f0e7eb5ed luci-base: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-15 10:15:36 +02:00
Hannu Nyman
4854ed66b6 Merge pull request #1012 from stangri/luci-app-vpnbypass
luci-app-vpnbypass: cbi file fix for README link and an unneeded section
2017-02-15 10:08:34 +02:00
Hannu Nyman
6a2a62fa4f 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>
2017-02-15 08:52:10 +02:00
Stan Grishin
ca0d990704 luci-app-vpnbypass: cbi file fix for README and an unneeded section
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-14 17:19:11 -08:00
Hannu Nyman
07e01d094e 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>
2017-02-14 23:30:51 +02:00
Hannu Nyman
d0dda31644 Merge pull request #1008 from stangri/luci-app-vpnbypass
luci-app-vpnbypass: include dnsmasq settings, link to README
2017-02-14 09:26:06 +02:00
Stan Grishin
980195277f luci-app-vpnbypass: include dnsmasq settings, link to README
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-13 19:30:00 -08:00
Hannu Nyman
298f838d39 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>
2017-02-13 19:10:51 +02:00
Hannu Nyman
afc7321c6a Merge pull request #1004 from kdarbyshirebryant/miniupnpluci
luci-app-miniupnpd: restore missing luci install file
2017-02-13 10:30:13 +02:00
Hannu Nyman
e28660c26a Merge pull request #1002 from EricLuehrsen/unbound_uci_defaults
unbound: add uci-default script
2017-02-12 10:41:17 +02:00
Hannu Nyman
0bfe064cc3 Merge pull request #1003 from stangri/luci-app-vpnbypass
luci-app-vpnbypass: makefile fix & controller fix
2017-02-12 10:19:00 +02:00
Eric Luehrsen
2dc66acf2d 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>
2017-02-11 22:00:50 -05:00
Stan Grishin
5e5d2e1e15 luci-app-vpnbypass: makefile fix & controller fix
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-11 17:11:59 -08:00
Kevin Darbyshire-Bryant
5ef9a3a009 luci-app-miniupnpd: restore missing luci install file
Restore luci indexcache handling incorrect removed in
387a06bb73

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-02-11 19:48:37 +00:00
Hannu Nyman
16395c31bf Merge pull request #1001 from kdarbyshirebryant/minidlna
luci-app-minidlna: permit minidlna after sysupgrade
2017-02-11 20:54:01 +02:00
Kevin Darbyshire-Bryant
9b35ded53b 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>
2017-02-11 11:12:12 +00:00
Hannu Nyman
0934d7552c Merge pull request #1000 from EricLuehrsen/luci_rt_con_cc1
luci: ignore '::1' in realtime connections
2017-02-11 09:52:49 +02:00
Eric Luehrsen
52771816a0 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>
2017-02-10 21:38:25 -05:00
Hannu Nyman
1834eff97a Merge pull request #999 from musashino205/base-upd-ja
luci-base: Update Japanese translation
2017-02-10 20:38:36 +02:00
INAGAKI Hiroshi
48435bb1ac luci-base: Update Japanese translation
Added some Japanese translations of recently added strings.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-02-11 03:30:17 +09:00
INAGAKI Hiroshi
041c7fedb0 luci-base: Sync translations
Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-02-11 02:45:32 +09:00
Hannu Nyman
4d31f7ca30 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>
2017-02-10 15:07:17 +02:00
Hannu Nyman
a225e4ac59 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>
2017-02-10 11:23:55 +02:00
Hannu Nyman
4ddb6b2816 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>
2017-02-09 21:35:24 +02:00
Hannu Nyman
c491c181ea 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>
2017-02-09 17:01:44 +02:00
Hannu Nyman
11f23559e4 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>
2017-02-09 16:58:07 +02:00
Hannu Nyman
02bed26188 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>
2017-02-09 14:49:08 +02:00
muddyfeet
171c06146a 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)
2017-02-09 13:46:11 +02:00
Hannu Nyman
f02794f28c 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>
2017-02-09 10:23:53 +02:00
Daniel Dickinson
fecf6e1d11 Merge pull request #965 from cshore-firmware/pull-request-odhcpd-mac
base: status: For odhpcd leases display MAC formatted with colons
2017-02-07 16:00:09 -05:00
Daniel Dickinson
5180a5bb8b Merge pull request #798 from thoto/feature_lstat
luci-lib-nixio: nixio_lstat calls stat instead of lstat
2017-02-07 15:56:02 -05:00
Hannu Nyman
5ecd5f5bb0 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>
2017-02-07 11:52:01 +02:00
Hannu Nyman
2292327415 Merge pull request #992 from dibdot/master
luci-app-adblock: put backup options to global section
2017-02-05 10:33:28 +02:00
Dirk Brenken
d3a74836b7 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>
2017-02-05 08:02:39 +01:00
Hannu Nyman
f1820dee25 Merge pull request #988 from danrl/proto-wireguard
luci-proto-wireguard: fix wrong maximum MTU
2017-02-03 22:16:03 +02:00
danrl
a9463d3d1a luci-proto-wireguard: fix wrong maximum MTU
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-03 21:05:01 +01:00
Hannu Nyman
b6341bd197 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:
3c4858eeb2
82132540a3
9097dc5ad8

Openwrt:
6ec32832d2

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-31 16:47:12 +02:00
Jo-Philipp Wich
d85f7a8a00 luci-base: fix logic errors in ipmask4 and ipmask6 datatype validators
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-30 19:14:08 +01:00
Jo-Philipp Wich
926935f831 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>
2017-01-30 15:50:45 +01:00
Hannu Nyman
7c744309c5 Merge pull request #984 from musashino205/base-upd-ja
luci-base: Update Japanese translation
2017-01-30 11:29:11 +02:00
INAGAKI Hiroshi
63a6671b97 luci-base: Update Japanese translation
Added and modified some Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-30 02:41:25 +09:00
INAGAKI Hiroshi
81be1471c6 luci-base: Sync translations
Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-30 01:11:15 +09:00
Hannu Nyman
4b3b9be098 Merge pull request #983 from stangri/luci-app-vpnbypass_makefileFix
luci-app-vpnbypass: luci tree Makefile + i18n support.
2017-01-28 18:50:36 +02:00
Stan Grishin
d2fcd543a4 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>
2017-01-28 08:42:29 -08:00
Jo-Philipp Wich
e6f158b2ee Merge pull request #981 from NvrBst/pull-request-ipv6_prefix_status_display
mod-admin-full: Add IPv6 Prefix Delegation information to Status Pages
2017-01-28 13:45:44 +01:00