Commit graph

8397 commits

Author SHA1 Message Date
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
Cody R. Brown
5377d22b4a 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>
2017-01-28 01:38:06 -08:00
Hannu Nyman
f5461669af Merge pull request #979 from musashino205/wol-upd-ja
luci-app-wol: Update Japanese translation
2017-01-27 15:32:25 +02:00
Hannu Nyman
4e6010cd73 Merge pull request #977 from stangri/luci-app-vpnbypass
luci-app-vpnbypass: initial commit of companion app to vpnbypass package
2017-01-27 15:31:48 +02:00
INAGAKI Hiroshi
38fa3899b5 luci-app-wol: Update Japanese translation
Added one Japanese translation of recently added string.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-27 21:03:42 +09:00
INAGAKI Hiroshi
d4f4885739 luci-app-wol: Sync translations
Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-27 19:17:20 +09:00
Hannu Nyman
16bbe45e95 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>
2017-01-27 10:37:54 +02:00
Hannu Nyman
c5b84f2fba 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>
2017-01-27 10:34:46 +02:00
Stan Grishin
c9c76a136a luci-app-vpnbypass: initial commit of companion app to vpnbypass package
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-01-26 14:54:48 -08:00
Hannu Nyman
afb5c8682d Merge pull request #974 from musashino205/base-upd-ja
luci-base: Update Japanese translation
2017-01-26 12:03:08 +02:00
INAGAKI Hiroshi
6a15c10835 luci-base: Update Japanese translation
Added and modified some translations for Japanese.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-26 18:50:51 +09:00
Hannu Nyman
135ffeac83 Merge pull request #973 from musashino205/sync-trans
i18n: Sync translations
2017-01-26 09:43:50 +02:00
INAGAKI Hiroshi
fbc06f2ab2 i18n: Sync translations
Synchronized translations with Lua sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-26 12:38:28 +09:00