project/luci.git
6 years agoluci-app-mosquitto: validate paths as path, not file 2179/head
Karl Palsson [Mon, 24 Sep 2018 16:00:52 +0000 (16:00 +0000)]
luci-app-mosquitto: validate paths as path, not file

luci has separate validation for directories and files, make sure to
use the right one.

Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years agoMerge pull request #2178 from booo/fix/profile_berlin-mesh_network
Jo-Philipp Wich [Mon, 24 Sep 2018 12:12:23 +0000 (14:12 +0200)]
Merge pull request #2178 from booo/fix/profile_berlin-mesh_network

community-profiles: change subnet of mesh_network option for Berlin

6 years agocommunity-profiles: change subnet of mesh_network option for Berlin 2178/head
Philipp Borgers [Mon, 24 Sep 2018 11:43:51 +0000 (13:43 +0200)]
community-profiles: change subnet of mesh_network option for Berlin

The mesh_network option is used to check the user input. The wizard
checks if the input ip address is part of the mesh_network. We use
multiple /16 networks. There is no support for multiple ranges so we the
10.0.0.0/8.

For reference the ip list:

https://wiki.freifunk.net/IP-Netze

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
6 years agoMerge pull request #2169 from luizluca/pt-br-update
Jo-Philipp Wich [Fri, 21 Sep 2018 06:40:00 +0000 (08:40 +0200)]
Merge pull request #2169 from luizluca/pt-br-update

i18n: update pt-br translation

6 years agoi18n: update pt-br translation 2169/head
Luiz Angelo Daros de Luca [Fri, 21 Sep 2018 00:58:33 +0000 (21:58 -0300)]
i18n: update pt-br translation

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
6 years agoMerge pull request #2168 from remakeelectric/app-snmpd
Jo-Philipp Wich [Thu, 20 Sep 2018 10:41:13 +0000 (12:41 +0200)]
Merge pull request #2168 from remakeelectric/app-snmpd

luci-app-snmpd: Basic net-snmpd config options

6 years agoluci-app-snmpd: Basic net-snmpd config options 2168/head
Karl Palsson [Thu, 20 Sep 2018 10:36:34 +0000 (10:36 +0000)]
luci-app-snmpd: Basic net-snmpd config options

Imported from https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-snmpd

Only provides configuration of basic authentication and system level
options, not even close to the entire slew of options that net-snmp
supports, but the basics are still helpful, and a base for future work.

Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years agoMerge pull request #2167 from YuriPet/master
Jo-Philipp Wich [Thu, 20 Sep 2018 07:39:51 +0000 (09:39 +0200)]
Merge pull request #2167 from YuriPet/master

luci-base: update Ukrainian translation

6 years agoluci-mod-status: fix querying IPv6 address
Jo-Philipp Wich [Thu, 20 Sep 2018 00:41:15 +0000 (03:41 +0300)]
luci-mod-status: fix querying IPv6 address

Correct a typo that prevents displaying the interface IPv6 address in
some cases.

Fixes: #2166
Reported-by: Vladislav Grigoryev <20725816+vgaetera@users.noreply.github.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: update Ukrainian translation 2167/head
Yurii [Thu, 20 Sep 2018 00:45:22 +0000 (03:45 +0300)]
luci-base: update Ukrainian translation

luci-base: corrected and update Ukrainian translation with the latest resync.

Signed-off-by: Yurii yuripet@gmail.com
6 years agoMerge pull request #2165 from musashino205/l10n/base-upd-ja
Hannu Nyman [Wed, 19 Sep 2018 20:20:33 +0000 (23:20 +0300)]
Merge pull request #2165 from musashino205/l10n/base-upd-ja

luci-base: update Japanese translation

6 years agoluci-base: update Japanese translation 2165/head
INAGAKI Hiroshi [Wed, 19 Sep 2018 20:12:50 +0000 (05:12 +0900)]
luci-base: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoMerge pull request #2164 from Ansuel/ddns_fix
Hannu Nyman [Wed, 19 Sep 2018 19:24:34 +0000 (22:24 +0300)]
Merge pull request #2164 from Ansuel/ddns_fix

luci-app-ddns: fix overview page

6 years agoi18n: sync translations
Hannu Nyman [Wed, 19 Sep 2018 18:55:12 +0000 (21:55 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agobuild/mkbasepot.sh: Fix i18n after luci-mod-admin-full split
Hannu Nyman [Wed, 19 Sep 2018 18:43:44 +0000 (21:43 +0300)]
build/mkbasepot.sh: Fix i18n after luci-mod-admin-full split

Fix i18n sync scripts by including also the three new modules
luci-mod-{network,status,system} in base.pot.

Note: I did not remove luci.mod-admin-full in case it will ever
get some new contents.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-base: switch admin category node to firstnode() action
Jo-Philipp Wich [Wed, 19 Sep 2018 18:05:16 +0000 (20:05 +0200)]
luci-base: switch admin category node to firstnode() action

After this change, luci-base will render the first module or application
page installed on the system, instead of rendering a "Component not found"
message when the status category is unavailable.

This allows for single-purpose LuCI installations like e.g. luci-base with
luci-app-travelmate which only presents application specific views without
any of the standard system pages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: dispatcher: introduce firstnode() dispatching target
Jo-Philipp Wich [Wed, 19 Sep 2018 17:58:45 +0000 (19:58 +0200)]
luci-base: dispatcher: introduce firstnode() dispatching target

The firstnode target will dispatch the request to the first eligible menu
subtree node that is not a redirect to another node, a special action or
post security enabled page.

That action is specifically useful for global category toplevel nodes like
"admin" which are supposed to simply direct access to the first installed
page node without having to hardcode specific choices.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agomodules: Split luci-mod-full
Daniel F. Dickinson [Fri, 3 Aug 2018 16:36:51 +0000 (12:36 -0400)]
modules: Split luci-mod-full

Move some common elements to luci-base, and otherwise make three
packages out of status, system, and network.  They were mostly
separated already, but there were some shared elements between
status and network that are now in luci-base.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
6 years agomodules: Make luci-base sufficient to use luci apps
Daniel F. Dickinson [Thu, 2 Aug 2018 13:39:48 +0000 (09:39 -0400)]
modules: Make luci-base sufficient to use luci apps

Per the discussion in https://github.com/openwrt/luci/issues/869, make
luci-base sufficient to login, logout, and review and apply or revert
uci changes.  This allows most luci-app-xxx to work without having
luci-mod-admin-full installed.

It has been tested with some apps and not luci-mod-admin-full, as well
as with luci-mod-admin-full (to make sure the usual case doesn't break).

Instead of creating a new module namespace (e.g. 'Base') we reduce the
opportunities for breakage by having luci-base take over the 'shell' of
the 'Administration' (admin/....) namespace.

Since admin is assumed by all current building LuCI components (including
Freifunk), this doesn't introduce the 'Administration' tab into any
situation where it would not already be present (but includes it where it
was before).

We also add a "Component not installed" page to avoid fatal errors and
backtrace when e.g. luci-mod-admin-full is not installed.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
6 years agoluci-app-ddns: fix overview page 2164/head
Ansuel Smith [Wed, 19 Sep 2018 12:00:43 +0000 (14:00 +0200)]
luci-app-ddns: fix overview page

Small fix for wrong display of next update data

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoMerge pull request #2140 from kristrev/multiple-upstream-interfaces-status
Jo-Philipp Wich [Wed, 19 Sep 2018 09:36:30 +0000 (11:36 +0200)]
Merge pull request #2140 from kristrev/multiple-upstream-interfaces-status

luci-base: Show multiple upstream interface

6 years agoluci-base: Show multiple upstream interface 2140/head
Kristian Evensen [Sun, 9 Sep 2018 15:27:28 +0000 (17:27 +0200)]
luci-base: Show multiple upstream interface

Several devices have multiple upstream interfaces, for example a fixed
and a mobile broadband connection. Currently, only one upstream
interface is shown per address family in Luci. So in my example, one of
the interfaces would not appear on the Status-page.

This PR introduces support for showing multiple upstream interfaces on
the Status-page. The code is not very complicated. get_status_by_route()
has been extended to return a list of all routes, and
get_wannet()/get_wan6net() now returns all upstream interfaces.

I could not find any other (active) users of these three functions than
calls triggered from the Status-page, so changing the default behavior
should be fine. get_wandev()/get_wan6dev() called get_status_by_route(),
but I could not find any place where those functions were called. I
removed the dev-functions instead of keeping the old
get_status_by_route().

On the status page, the wan/wan6-variables have been replaced with
arrays. When populating the html, we now iterate through these arrays
and create one element for each interface.

I have tested the code with different interface types, v4, v6, as well as
disconnecting and connecting interfaces. The status is updated and the
correct interfaces (or sometimes none at all) are shown.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
6 years agoluci-mod-admin-full: fix diagnostic page glitch
Jo-Philipp Wich [Tue, 18 Sep 2018 16:45:19 +0000 (18:45 +0200)]
luci-mod-admin-full: fix diagnostic page glitch

Slightly restructure markup to avoid inconsistent button rendering.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1865 from Ansuel/ddns_fixget
Jo-Philipp Wich [Tue, 18 Sep 2018 16:30:22 +0000 (18:30 +0200)]
Merge pull request #1865 from Ansuel/ddns_fixget

luci-app-ddns: various fix

6 years agoMerge pull request #2160 from remakeelectric/app-mosq
Jo-Philipp Wich [Tue, 18 Sep 2018 16:07:27 +0000 (18:07 +0200)]
Merge pull request #2160 from remakeelectric/app-mosq

luci-app-mosquitto: import new application

6 years agoluci-app-mosquitto: import new application 2160/head
Karl Palsson [Tue, 18 Sep 2018 12:47:40 +0000 (12:47 +0000)]
luci-app-mosquitto: import new application

Originally developed and maintained at https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-mosquitto

Vs the original, this version has been converted to use the luci.mk
style, and has dropped the now obsolete ucitrack entries.

Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years agoMerge pull request #2157 from Ansuel/unbound
Jo-Philipp Wich [Tue, 18 Sep 2018 15:38:41 +0000 (17:38 +0200)]
Merge pull request #2157 from Ansuel/unbound

luci-app-unbound: add cache_dump tab

6 years agoluci-app-unbound: add cache_dump tab 2157/head
Ansuel Smith [Tue, 18 Sep 2018 10:17:19 +0000 (12:17 +0200)]
luci-app-unbound: add cache_dump tab

This adds in the State tab a new option to dump cache from unbound-control application

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoMerge pull request #2121 from jokdarius/feature/0001-performace-fix
Jo-Philipp Wich [Tue, 18 Sep 2018 15:18:23 +0000 (17:18 +0200)]
Merge pull request #2121 from jokdarius/feature/0001-performace-fix

luci-mod-admin-full: performance fix

6 years agoMerge pull request #2159 from TDT-AG/pr/20180918-luci-theme-material-css-customize
Jo-Philipp Wich [Tue, 18 Sep 2018 15:15:38 +0000 (17:15 +0200)]
Merge pull request #2159 from TDT-AG/pr/20180918-luci-theme-material-css-customize

luci-theme-material: make colors configurable

6 years agoMerge pull request #2126 from rosysong/ipv6
Jo-Philipp Wich [Tue, 18 Sep 2018 15:02:26 +0000 (17:02 +0200)]
Merge pull request #2126 from rosysong/ipv6

luci-proto-ipv6: fix dependency for IPv6

6 years agoMerge pull request #2150 from ameer1234567890/material-theme-monospace-font
Jo-Philipp Wich [Tue, 18 Sep 2018 15:01:46 +0000 (17:01 +0200)]
Merge pull request #2150 from ameer1234567890/material-theme-monospace-font

luci-theme-material: Monospace font for textarea elements

6 years agoluci-theme-material: make colors configurable 2159/head
Florian Eckert [Mon, 3 Sep 2018 08:46:47 +0000 (10:46 +0200)]
luci-theme-material: make colors configurable

The var() css function can be used to insert the value of a custom property.
A custom.css file is added to change the colors. This file will get included
in the cascade.css file.

The following colors could be costomized in the file costom.css.

--header-bg
--header-color
--menu-bg-color
--menu-color
--submenu-bg-hover
--submenu-bg-hover-active

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #2154 from dibdot/openvpn-fix
Dirk Brenken [Mon, 17 Sep 2018 18:36:48 +0000 (20:36 +0200)]
Merge pull request #2154 from dibdot/openvpn-fix

luci-app-openvpn: remove obsolete config options

6 years agoluci-app-openvpn: remove obsolete config options 2154/head
Dirk Brenken [Sun, 16 Sep 2018 16:58:26 +0000 (18:58 +0200)]
luci-app-openvpn: remove obsolete config options

* remove obsolete config options according to
  openwrt/openwrt@89b8ba9, fix for #2135
* whitespace/intendation fixes
* replace fieldset leftover with div
* fix finally recipe options transfer to regular config with "Add"

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #2149 from dibdot/openvpn-fix
Dirk Brenken [Sun, 16 Sep 2018 06:42:21 +0000 (08:42 +0200)]
Merge pull request #2149 from dibdot/openvpn-fix

luci-app-openvpn: fix template based config creation

6 years agoMerge pull request #2152 from EricLuehrsen/unbound-1.8.0
Dirk Brenken [Sun, 16 Sep 2018 06:41:25 +0000 (08:41 +0200)]
Merge pull request #2152 from EricLuehrsen/unbound-1.8.0

luci-app-unbound: add protocol=ip4_local option support

6 years agoluci-app-unbound: add protocol=ip4_local option support 2152/head
Eric Luehrsen [Sun, 16 Sep 2018 00:35:26 +0000 (20:35 -0400)]
luci-app-unbound: add protocol=ip4_local option support

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
6 years agoMerge pull request #2122 from rosysong/backup
Hannu Nyman [Fri, 14 Sep 2018 17:05:36 +0000 (20:05 +0300)]
Merge pull request #2122 from rosysong/backup

Backup: add firmware backup for mtdblock devices

6 years agoluci-theme-material: Monospace font for textarea elements 2150/head
Ameer Dawood [Fri, 14 Sep 2018 07:50:20 +0000 (12:50 +0500)]
luci-theme-material: Monospace font for textarea elements

Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
6 years agoluci-app-openvpn: fix template based config creation 2149/head
Dirk Brenken [Fri, 14 Sep 2018 06:57:06 +0000 (08:57 +0200)]
luci-app-openvpn: fix template based config creation

* minimal fix to bring back openvpn config creation based on
openvpn_recipes template, fix for #2146

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #2148 from ysoyipek/patch-5
Hannu Nyman [Fri, 14 Sep 2018 06:32:50 +0000 (09:32 +0300)]
Merge pull request #2148 from ysoyipek/patch-5

luci-base: update Turkish translation

6 years agoluci-base: update Turkish translation 2148/head
Yusuf Soyipek [Thu, 13 Sep 2018 20:17:57 +0000 (23:17 +0300)]
luci-base: update Turkish translation

Add missing translations.

Signed-off-by: Yusuf Soyipek <yusuf@soyipek.com>
6 years agoMerge pull request #2144 from TDT-AG/pr/20180912-i18n-sync-translations
Hannu Nyman [Wed, 12 Sep 2018 15:47:48 +0000 (18:47 +0300)]
Merge pull request #2144 from TDT-AG/pr/20180912-i18n-sync-translations

i18n: sync translations

6 years agoi18n: sync translations 2144/head
Martin Schiller [Wed, 12 Sep 2018 09:17:30 +0000 (11:17 +0200)]
i18n: sync translations

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
6 years agoMerge pull request #2071 from Andy2244/luci-app-samba4-timemachine
Dirk Brenken [Tue, 11 Sep 2018 08:26:48 +0000 (10:26 +0200)]
Merge pull request #2071 from Andy2244/luci-app-samba4-timemachine

luci-app-samba4: add macOS and Apple Timemachine support

6 years agoluci-app-samba4: add macOS compatibility option and Apple Timemachine support 2071/head
Andy Walsh [Thu, 16 Aug 2018 22:11:10 +0000 (00:11 +0200)]
luci-app-samba4: add macOS compatibility option and Apple Timemachine support

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
6 years agoMerge pull request #2136 from aft90/luci-app-adblock-query-box-placeholder
Dirk Brenken [Sat, 8 Sep 2018 18:23:15 +0000 (20:23 +0200)]
Merge pull request #2136 from aft90/luci-app-adblock-query-box-placeholder

luci-app-adblock: use placeholder in query tool

6 years agoMerge pull request #2137 from musashino205/l10n/adblk-upd-ja
Dirk Brenken [Sat, 8 Sep 2018 18:21:56 +0000 (20:21 +0200)]
Merge pull request #2137 from musashino205/l10n/adblk-upd-ja

luci-app-adblock: update Japanese translation

6 years agoluci-app-adblock: update Japanese translation 2137/head
INAGAKI Hiroshi [Sat, 8 Sep 2018 17:40:08 +0000 (02:40 +0900)]
luci-app-adblock: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agomodules: add backup module for mtdblock devices 2122/head
Rosy Song [Sat, 8 Sep 2018 07:07:01 +0000 (15:07 +0800)]
modules: add backup module for mtdblock devices

Signed-off-by: Rosy Song <rosysong@rosinson.com>
6 years agoluci-app-adblock: use placeholder in query tool 2136/head
Andrei Troie [Fri, 7 Sep 2018 22:56:23 +0000 (23:56 +0100)]
luci-app-adblock: use placeholder in query tool

Use the placeholder property on the textbox in the query tool so it's more convenient.

Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
6 years agoMerge pull request #2131 from tano-systems/firewall-fix-russian-translation
Hannu Nyman [Fri, 7 Sep 2018 13:35:34 +0000 (16:35 +0300)]
Merge pull request #2131 from tano-systems/firewall-fix-russian-translation

luci-app-firewall: fix and update Russian translation

6 years agoluci-app-firewall: fix and update Russian translation 2131/head
Anton Kikin [Mon, 3 Sep 2018 23:10:40 +0000 (02:10 +0300)]
luci-app-firewall: fix and update Russian translation

Add missing translations and update existing not quite correct translations.
Removed redundant <br> tags from translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
6 years agoluci-base: fix a typo in Russian translation
Anton Kikin [Wed, 5 Sep 2018 21:48:53 +0000 (00:48 +0300)]
luci-base: fix a typo in Russian translation

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
6 years agoMerge pull request #2110 from stangri/luci-app-https_dns_proxy
Dirk Brenken [Tue, 4 Sep 2018 14:49:43 +0000 (16:49 +0200)]
Merge pull request #2110 from stangri/luci-app-https_dns_proxy

luci-app-https_dns_proxy: initial commit

6 years agoMerge pull request #2120 from TDT-AG/pr/20180830-luci-app-mwan3-fixes
Dirk Brenken [Mon, 3 Sep 2018 14:31:41 +0000 (16:31 +0200)]
Merge pull request #2120 from TDT-AG/pr/20180830-luci-app-mwan3-fixes

luci-app-mwan3:  fixes and improvements

6 years agoluci-app-https_dns_proxy: initial commit 2110/head
Stan Grishin [Thu, 23 Aug 2018 22:11:49 +0000 (15:11 -0700)]
luci-app-https_dns_proxy: initial commit

Signed-off-by: Stan Grishin <stangri@melmac.net>
6 years agoMerge pull request #2129 from Rixerx/master
Hannu Nyman [Sun, 2 Sep 2018 17:29:25 +0000 (20:29 +0300)]
Merge pull request #2129 from Rixerx/master

luci-base: update Polish translation

6 years agoluci-base: update Polish translation 2129/head
Krystian Kozak [Sun, 2 Sep 2018 13:28:59 +0000 (15:28 +0200)]
luci-base: update Polish translation

Updated Polish translations.

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
6 years agoluci-app-ddns: various fix 1865/head
Ansuel Smith [Mon, 16 Jul 2018 01:30:43 +0000 (03:30 +0200)]
luci-app-ddns: various fix

Rework overview page, sync with new style and simplify the code by removing unnecessary check.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoMerge pull request #2127 from tano-systems/update-russian-translation
Hannu Nyman [Sun, 2 Sep 2018 07:54:06 +0000 (10:54 +0300)]
Merge pull request #2127 from tano-systems/update-russian-translation

luci-base: update Russian translation

6 years agoMerge pull request #2125 from dibdot/adblock
Dirk Brenken [Sat, 1 Sep 2018 15:10:37 +0000 (17:10 +0200)]
Merge pull request #2125 from dibdot/adblock

luci-app-adblock: sync with adblock 3.5.5

6 years agoluci-base: update Russian translation 2127/head
Anton Kikin [Sat, 1 Sep 2018 13:38:36 +0000 (16:38 +0300)]
luci-base: update Russian translation

Add missing translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
6 years agoluci-proto-ipv6: fix dependency for IPv6 2126/head
Rosy Song [Fri, 31 Aug 2018 10:01:24 +0000 (18:01 +0800)]
luci-proto-ipv6: fix dependency for IPv6

Signed-off-by: Rosy Song <rosysong@rosinson.com>
6 years agoMerge pull request #2124 from YuriPet/master
Hannu Nyman [Sat, 1 Sep 2018 07:25:35 +0000 (10:25 +0300)]
Merge pull request #2124 from YuriPet/master

luci-base: update Ukrainian translation

6 years agoluci-app-adblock: sync with adblock 3.5.5 2125/head
Dirk Brenken [Sat, 1 Sep 2018 06:42:00 +0000 (08:42 +0200)]
luci-app-adblock: sync with adblock 3.5.5

* fix cornercase issues in runtime information/json parsing

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-base: update Ukrainian translation 2124/head
Yurii [Fri, 31 Aug 2018 21:16:40 +0000 (00:16 +0300)]
luci-base: update Ukrainian translation

Updated with the latest sync translation.

Signed-off-by: Yurii yuripet@gmail.com
6 years agoMerge pull request #2123 from musashino205/l10n/base-upd-ja
Hannu Nyman [Fri, 31 Aug 2018 19:25:03 +0000 (22:25 +0300)]
Merge pull request #2123 from musashino205/l10n/base-upd-ja

luci-base: update Japanese translation

6 years agoluci-base: update Japanese translation 2123/head
INAGAKI Hiroshi [Fri, 31 Aug 2018 18:30:34 +0000 (03:30 +0900)]
luci-base: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoi18n: sync translations
INAGAKI Hiroshi [Fri, 31 Aug 2018 17:23:25 +0000 (02:23 +0900)]
i18n: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-mod-admin-full: performance fix 2121/head
Darius [Fri, 31 Aug 2018 07:54:35 +0000 (10:54 +0300)]
luci-mod-admin-full: performance fix

* uci:get replaced with direct access of value (functions has 3x better performance in that way)

Signed-off-by: Darius Joksas <jok.darius@gmail.com>
6 years agoluci-proto-ppp: align keepalive defaults with current OpenWrt
Jo-Philipp Wich [Thu, 30 Aug 2018 13:28:19 +0000 (15:28 +0200)]
luci-proto-ppp: align keepalive defaults with current OpenWrt

Disabling LCP echos by *not* setting "option keepalive" was broken in
OpenWrt since https://dev.archive.openwrt.org/ticket/2373.html so setting
"0" in LuCI had the effect of reverting back to "5, 1" while the help
suggested otherwise.

Support for "keepalive 0" was fixed with https://git.openwrt.org/555c59230
so align LuCI now to emit "option keepalive 0" instead of removing the
option when entering "0" in the gui.

Fixes #2112
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-app-mwan3: translate missing text in diagnostic page 2120/head
Florian Eckert [Thu, 30 Aug 2018 12:41:06 +0000 (14:41 +0200)]
luci-app-mwan3: translate missing text in diagnostic page

Translate missing text.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: diagnostic fix physical device lookup
Florian Eckert [Thu, 30 Aug 2018 07:04:48 +0000 (09:04 +0200)]
luci-app-mwan3: diagnostic fix physical device lookup

Use diffrent function to get the physical interface name.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: change interface enabled option to use flag cbi class
Florian Eckert [Fri, 13 Jul 2018 12:34:28 +0000 (14:34 +0200)]
luci-app-mwan3: change interface enabled option to use flag cbi class

Make mwan3 interface enable config option use cbi flag.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: add command to diag_command output view
Florian Eckert [Fri, 22 Jun 2018 06:51:27 +0000 (08:51 +0200)]
luci-app-mwan3: add command to diag_command output view

Add executed command to diagnostic output.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #2117 from cshoredaniel/pr-app-nut
Hannu Nyman [Wed, 29 Aug 2018 13:32:58 +0000 (16:32 +0300)]
Merge pull request #2117 from cshoredaniel/pr-app-nut

luci-app-nut: Add support for NUT configuration

6 years agoluci-app-nut: Add support for NUT configuration 2117/head
Daniel Dickinson [Sun, 14 Aug 2016 00:35:01 +0000 (20:35 -0400)]
luci-app-nut: Add support for NUT configuration

Adds app to configure NUT (Network UPS Tools), including
nut-server, nut-monitor, and nut-cgi.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
6 years agoMerge pull request #2103 from dibdot/force_fix
Hannu Nyman [Mon, 20 Aug 2018 20:41:20 +0000 (23:41 +0300)]
Merge pull request #2103 from dibdot/force_fix

luci-mod-admin-full: fix forced upgrade

6 years agoluci-mod-admin-full: fix forced upgrade 2103/head
Dirk Brenken [Mon, 20 Aug 2018 19:36:11 +0000 (21:36 +0200)]
luci-mod-admin-full: fix forced upgrade

* fix logical glitch in forced upgrade logic

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #2095 from ameer1234567890/remove-colons-unbound
Dirk Brenken [Mon, 20 Aug 2018 15:11:06 +0000 (17:11 +0200)]
Merge pull request #2095 from ameer1234567890/remove-colons-unbound

luci-app-unbound: Colons removed from input headers

6 years agoluci-app-unbound: Colons removed from input headers 2095/head
Ameer Dawood [Sun, 19 Aug 2018 08:42:49 +0000 (13:42 +0500)]
luci-app-unbound: Colons removed from input headers
Most OpenWrt applications do not have a colon in input headers.
This has been explained in #1566 as well.
This commit removes the said colons.

Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
6 years agoMerge pull request #2075 from dibdot/force_update
Dirk Brenken [Fri, 17 Aug 2018 14:11:27 +0000 (16:11 +0200)]
Merge pull request #2075 from dibdot/force_update

luci-mod-admin-full: allow forced upgrade (revised)

6 years agoluci-mod-admin-full: allow forced upgrade (revised) 2075/head
Dirk Brenken [Fri, 17 Aug 2018 10:52:36 +0000 (12:52 +0200)]
luci-mod-admin-full: allow forced upgrade (revised)

* allow 'forced' firmware upgrades, even if the image format check
fails. Useful where flashing back to the OEM versions or switching
between ar71xx and ath79 builds
* option is only visible after first/failed image check
* added warning info (see screenshots below)

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-base: remove fake password field from tab order
Jo-Philipp Wich [Fri, 17 Aug 2018 04:58:53 +0000 (06:58 +0200)]
luci-base: remove fake password field from tab order

Set a negative tabindex on the dummy password field to not break the form
tab order flow.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: mark password template dummy field as hidden
Jo-Philipp Wich [Thu, 16 Aug 2018 07:36:37 +0000 (09:36 +0200)]
luci-base: mark password template dummy field as hidden

Mark the dummy input field as aria-hidden, should fix #2063.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #2068 from ameer1234567890/patch-1
Dirk Brenken [Wed, 15 Aug 2018 17:30:10 +0000 (19:30 +0200)]
Merge pull request #2068 from ameer1234567890/patch-1

luci-app-minidlna: Colons removed

6 years agoluci-app-minidlna: Colons removed 2068/head
Ameer Dawood [Wed, 15 Aug 2018 17:13:59 +0000 (22:13 +0500)]
luci-app-minidlna: Colons removed
Colons have been removed as asked in #1566
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
6 years agoMerge pull request #2066 from hcwhan/master
Hannu Nyman [Wed, 15 Aug 2018 15:41:15 +0000 (18:41 +0300)]
Merge pull request #2066 from hcwhan/master

the 'infinite' error in zh-cn

6 years agoUpdate base.po 2066/head
hcwhan [Wed, 15 Aug 2018 05:43:49 +0000 (13:43 +0800)]
Update base.po

6 years agoMerge pull request #2040 from yangfl/master
Jo-Philipp Wich [Mon, 13 Aug 2018 13:23:27 +0000 (15:23 +0200)]
Merge pull request #2040 from yangfl/master

luci-app: update Chinese translation

6 years agoMerge pull request #1989 from hanipouspilot/ncm
Jo-Philipp Wich [Mon, 13 Aug 2018 13:23:02 +0000 (15:23 +0200)]
Merge pull request #1989 from hanipouspilot/ncm

luci-proto-ncm: suggest both tty and wdm devices

6 years agoMerge pull request #2060 from Ansuel/reboo
Jo-Philipp Wich [Mon, 13 Aug 2018 13:21:40 +0000 (15:21 +0200)]
Merge pull request #2060 from Ansuel/reboo

luci-mod-admin-full: applyreboot doesn't reload page

6 years agoMerge pull request #2058 from EricLuehrsen/unbound_20180810
Jo-Philipp Wich [Mon, 13 Aug 2018 13:21:01 +0000 (15:21 +0200)]
Merge pull request #2058 from EricLuehrsen/unbound_20180810

luci-app-unbound: add zone-details combined tab

6 years agoluci-mod-admin-full: applyreboot doesn't reload page 2060/head
Ansuel Smith [Mon, 13 Aug 2018 08:57:21 +0000 (10:57 +0200)]
luci-mod-admin-full: applyreboot doesn't reload page

The applyreboot page doesn't reload the page onload of the loding gif. This adds the right function.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoluci-app-firewall: allow "open ports" when no wan zone exists
Jo-Philipp Wich [Mon, 13 Aug 2018 07:20:43 +0000 (09:20 +0200)]
luci-app-firewall: allow "open ports" when no wan zone exists

Arguably this makes little if no wan zone exists but prefer consistency
over heuristics and always render the "open port" shortcut.

Fixes #2056
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agotreewide: rework uci change display
Jo-Philipp Wich [Sat, 4 Aug 2018 20:09:49 +0000 (22:09 +0200)]
treewide: rework uci change display

 - Use native rpcd uci changes format instead of incompletely converting
   back and forth between the old and the new format
 - Rework uci changelog template to print the equivalent uci commands
   for the various changes
 - Rework theme headers to properly count the uncomitted changes
 - Rework theme CSS to properly style new changelog

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-app-unbound: add zone-details combined tab 2058/head
Eric Luehrsen [Sun, 12 Aug 2018 15:13:31 +0000 (11:13 -0400)]
luci-app-unbound: add zone-details combined tab

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
6 years agoluci-app: update Chinese translation 2040/head
yangfl [Tue, 7 Aug 2018 12:25:39 +0000 (20:25 +0800)]
luci-app: update Chinese translation

Signed-off-by: David Yang <mmyangfl@gmail.com>