project/luci.git
5 years agoluci-app-statistics: update Simplified Chinese translation
Zheng Qian [Tue, 15 Oct 2019 03:47:37 +0000 (11:47 +0800)]
luci-app-statistics: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-app-opkg: update Simplified Chinese translation
Zheng Qian [Tue, 15 Oct 2019 04:54:19 +0000 (12:54 +0800)]
luci-app-opkg: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-app-advanced-reboot: update Simplified Chinese translation
Zheng Qian [Tue, 15 Oct 2019 04:48:26 +0000 (12:48 +0800)]
luci-app-advanced-reboot: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-app-simple-adblock: update Simplefied Chinese translation
Zheng Qian [Tue, 15 Oct 2019 03:30:49 +0000 (11:30 +0800)]
luci-app-simple-adblock: update Simplefied Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-app-firewall: update Simplified Chinese translation
Zheng Qian [Tue, 15 Oct 2019 03:03:25 +0000 (11:03 +0800)]
luci-app-firewall: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-mod-network: wireless.js: fix null access on failing iwinfo calls
Jo-Philipp Wich [Tue, 15 Oct 2019 16:42:04 +0000 (18:42 +0200)]
luci-mod-network: wireless.js: fix null access on failing iwinfo calls

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: wireless.js: fix null access on unavailable country list
Jo-Philipp Wich [Tue, 15 Oct 2019 08:03:48 +0000 (10:03 +0200)]
luci-mod-network: wireless.js: fix null access on unavailable country list

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: static.js: make IPv6 assignment hint optional
Jo-Philipp Wich [Tue, 15 Oct 2019 07:14:36 +0000 (09:14 +0200)]
luci-base: static.js: make IPv6 assignment hint optional

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3181 from tano-systems/pr/mmproto
Florian Eckert [Mon, 14 Oct 2019 19:12:32 +0000 (21:12 +0200)]
Merge pull request #3181 from tano-systems/pr/mmproto

luci-proto-modemmanager: add translation for values

5 years agoluci-proto-modemmanager: add translation for values 3181/head
Anton Kikin [Mon, 14 Oct 2019 16:03:50 +0000 (19:03 +0300)]
luci-proto-modemmanager: add translation for values

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoMerge pull request #3175 from nickberry17/add_proto_mm
Jo-Philipp Wich [Mon, 14 Oct 2019 14:44:44 +0000 (16:44 +0200)]
Merge pull request #3175 from nickberry17/add_proto_mm

luci-proto-modemmanager: add luci-proto-modemmanager

5 years agoMerge pull request #3179 from TDT-AG/pr/20191014-luci-app-openvpn
Jo-Philipp Wich [Mon, 14 Oct 2019 14:40:20 +0000 (16:40 +0200)]
Merge pull request #3179 from TDT-AG/pr/20191014-luci-app-openvpn

luci-app-openvpn: add missing proto param for ipv6

5 years agoluci-app-openvpn: add missing proto param for ipv6 3179/head
Florian Eckert [Mon, 14 Oct 2019 08:44:25 +0000 (10:44 +0200)]
luci-app-openvpn: add missing proto param for ipv6

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #3167 from Ashus/master
Florian Eckert [Mon, 14 Oct 2019 08:02:57 +0000 (10:02 +0200)]
Merge pull request #3167 from Ashus/master

luci-theme-bootstrap: replace the old favicon

5 years agoMerge pull request #3176 from sotux/master
Florian Eckert [Fri, 11 Oct 2019 07:31:55 +0000 (09:31 +0200)]
Merge pull request #3176 from sotux/master

luci-base: zh_CN: update Simplified Chinese translation

5 years agoMerge pull request #3174 from castillofrancodamian/dcwapd
Florian Eckert [Fri, 11 Oct 2019 07:30:28 +0000 (09:30 +0200)]
Merge pull request #3174 from castillofrancodamian/dcwapd

luci-app-dcwapd: add template and Spanish translation

5 years agoluci-base: zh_CN: update Simplified Chinese translation 3176/head
Zheng Qian [Fri, 11 Oct 2019 07:02:05 +0000 (15:02 +0800)]
luci-base: zh_CN: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-proto-modemmanager: add luci-proto-modemmanager 3175/head
Nicholas Smith [Tue, 8 Oct 2019 23:51:20 +0000 (09:51 +1000)]
luci-proto-modemmanager: add luci-proto-modemmanager

Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
5 years agoluci-app-dcwapd: add template and Spanish translation 3174/head
Franco Castillo [Thu, 10 Oct 2019 21:50:19 +0000 (18:50 -0300)]
luci-app-dcwapd: add template and Spanish translation

Add template and Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoMerge pull request #3058 from ewsi/feature_dcwifi
Florian Eckert [Thu, 10 Oct 2019 21:07:02 +0000 (23:07 +0200)]
Merge pull request #3058 from ewsi/feature_dcwifi

luci-app-dcwapd: Add Dual Channel Wi-Fi AP Daemon Management LuCI pages

5 years agoMerge pull request #3169 from stangri/master-luci-app-simple-adblock
Florian Eckert [Thu, 10 Oct 2019 21:03:53 +0000 (23:03 +0200)]
Merge pull request #3169 from stangri/master-luci-app-simple-adblock

luci-app-simple-adblock: bugfix: fix invalid <br> entries

5 years agoMerge pull request #3172 from ysc3839/userselect
Jo-Philipp Wich [Thu, 10 Oct 2019 17:12:01 +0000 (19:12 +0200)]
Merge pull request #3172 from ysc3839/userselect

luci-base: widgets.js: add user and group select

5 years agoluci-base: widgets.js: add user and group select 3172/head
Richard Yu [Thu, 10 Oct 2019 17:05:08 +0000 (01:05 +0800)]
luci-base: widgets.js: add user and group select

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
5 years agoluci-app-simple-adblock: bugfix: fix invalid <br> entries 3169/head
Stan Grishin [Thu, 10 Oct 2019 12:12:12 +0000 (05:12 -0700)]
luci-app-simple-adblock: bugfix: fix invalid <br> entries

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agoMerge pull request #3168 from castillofrancodamian/apps
Florian Eckert [Thu, 10 Oct 2019 05:50:20 +0000 (07:50 +0200)]
Merge pull request #3168 from castillofrancodamian/apps

i18n: update spanish translations

5 years agoMerge pull request #3151 from stangri/master-luci-app-https_dns_proxy
Florian Eckert [Thu, 10 Oct 2019 05:36:56 +0000 (07:36 +0200)]
Merge pull request #3151 from stangri/master-luci-app-https_dns_proxy

luci-app-https_dns_proxy: bugfix: subnet address datatype, add DNS.SB provider

5 years agoi18n: i18n: update spanish translations 3168/head
Franco Castillo [Wed, 9 Oct 2019 22:10:01 +0000 (19:10 -0300)]
i18n: i18n: update spanish translations

Updated translations:

* banip
* openvpn
* simple-adblock
* statistics
* transmission
* travelmate
* uhttpd
* unbound

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoReplaced an old icon with a new one, format changed from ICO to PNG to make it even... 3167/head
Ashus [Wed, 9 Oct 2019 21:17:59 +0000 (23:17 +0200)]
Replaced an old icon with a new one, format changed from ICO to PNG to make it even smaller.
- references #2251

Signed-off-by: Ashus <github.com@ashus.net>
5 years agoMerge pull request #3166 from YuriPet/patch-1
Hannu Nyman [Wed, 9 Oct 2019 18:23:42 +0000 (21:23 +0300)]
Merge pull request #3166 from YuriPet/patch-1

luci-base: update Ukrainian translation

5 years agoluci-base: update Ukrainian translation 3166/head
Yurii [Wed, 9 Oct 2019 18:08:01 +0000 (21:08 +0300)]
luci-base: update Ukrainian translation

Corrected typo.

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoMerge pull request #3158 from dibdot/banIP
Dirk Brenken [Wed, 9 Oct 2019 17:05:11 +0000 (19:05 +0200)]
Merge pull request #3158 from dibdot/banIP

luci-app-banip: sync with update 0.3.1

5 years agoMerge pull request #3164 from YuriPet/patch-6
Hannu Nyman [Wed, 9 Oct 2019 16:44:06 +0000 (19:44 +0300)]
Merge pull request #3164 from YuriPet/patch-6

luci-base: update Ukrainian translation

5 years agoluci-base: update Ukrainian translation 3164/head
Yurii [Wed, 9 Oct 2019 16:36:05 +0000 (19:36 +0300)]
luci-base: update Ukrainian translation

Updating Ukrainian translation according the latest sync translation. Сorrections and additions.

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoMerge pull request #3160 from etactica/mosquitto-tls-master
Florian Eckert [Wed, 9 Oct 2019 13:56:01 +0000 (15:56 +0200)]
Merge pull request #3160 from etactica/mosquitto-tls-master

luci-app-mosquitto: drop tls1.0, add tls1.3

5 years agoluci-app-mosquitto: drop tls1.0, add tls1.3 3160/head
Karl Palsson [Wed, 9 Oct 2019 13:47:01 +0000 (13:47 +0000)]
luci-app-mosquitto: drop tls1.0, add tls1.3

This was dropped in mosquitto 1.6.0.

Signed-off-by: Karl Palsson <karlp@etactica.com>
5 years agoMerge pull request #3159 from TDT-AG/pr/20191009-luci-app-statistics-german-translation
Hannu Nyman [Wed, 9 Oct 2019 13:41:04 +0000 (16:41 +0300)]
Merge pull request #3159 from TDT-AG/pr/20191009-luci-app-statistics-german-translation

luci-app-statistics: fix german translation

5 years agoluci-app-statistics: fix german translation 3159/head
Martin Schiller [Wed, 9 Oct 2019 12:36:14 +0000 (14:36 +0200)]
luci-app-statistics: fix german translation

... of the msgid "Wireless".

The luci-base also use the same msgid "Wireless", where it is translated
with "WLAN".

The translation in luci-app-statistics overlays the translation in
luci-base, so use the same translation here.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoluci-app-banip: sync with update 0.3.1 3158/head
Dirk Brenken [Wed, 9 Oct 2019 12:06:33 +0000 (14:06 +0200)]
luci-app-banip: sync with update 0.3.1

* no longer filter out possible lan devices

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-base: fix CSRF prevention for arcombine targets
Jo-Philipp Wich [Wed, 9 Oct 2019 07:55:44 +0000 (09:55 +0200)]
luci-base: fix CSRF prevention for arcombine targets

The dispatcher failed to propagate the child target post security
requirements to the arcombine() dispatch target so far - fix this
by recursively testing the post security requirements.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3157 from TDT-AG/pr/20191009-luci-base-fix-typo
Florian Eckert [Wed, 9 Oct 2019 07:03:33 +0000 (09:03 +0200)]
Merge pull request #3157 from TDT-AG/pr/20191009-luci-base-fix-typo

luci-base: fix typo in german translation

5 years agoluci-base: fix typo in german translation 3157/head
Martin Schiller [Wed, 9 Oct 2019 07:00:29 +0000 (09:00 +0200)]
luci-base: fix typo in german translation

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoi18n: update spanish translations 3720/head
Franco Castillo [Tue, 8 Oct 2019 19:50:53 +0000 (16:50 -0300)]
i18n: update spanish translations

Updated translations:

* adblock
* advanced-reboot
* aria2
* ddns
* firewall
* ocserv
* samba4
* schedule

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Commit heading changed
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #3154 from castillofrancodamian/base
Florian Eckert [Wed, 9 Oct 2019 06:37:10 +0000 (08:37 +0200)]
Merge pull request #3154 from castillofrancodamian/base

luci-base: update Spanish translation

5 years agoluci-base: update Spanish translation 3154/head
Franco Castillo [Tue, 8 Oct 2019 19:47:19 +0000 (16:47 -0300)]
luci-base: update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-https_dns_proxy: bugfix: subnet address datatype, add DNS.SB provider 3151/head
Stan Grishin [Tue, 8 Oct 2019 16:36:25 +0000 (09:36 -0700)]
luci-app-https_dns_proxy: bugfix: subnet address datatype, add DNS.SB provider

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agoMerge pull request #3135 from musashino205/l10n/base-upd-ja
Hannu Nyman [Tue, 8 Oct 2019 15:50:27 +0000 (18:50 +0300)]
Merge pull request #3135 from musashino205/l10n/base-upd-ja

luci-base: update Japanese translation

5 years agoluci-base: update Japanese translation 3135/head
INAGAKI Hiroshi [Tue, 8 Oct 2019 15:31:03 +0000 (00:31 +0900)]
luci-base: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoi18n: sync translations
INAGAKI Hiroshi [Tue, 8 Oct 2019 14:47:58 +0000 (23:47 +0900)]
i18n: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-app-dcwapd: Add Dual Channel Wi-Fi AP Daemon Pages 3058/head
Carey Sonsino [Thu, 12 Sep 2019 00:38:35 +0000 (00:38 +0000)]
luci-app-dcwapd: Add Dual Channel Wi-Fi AP Daemon Pages

Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com>
Signed-off-by: Carey Sonsino <csonsino@gmail.com>
5 years agoMerge pull request #3134 from stangri/master-luci-app-https_dns_proxy
Florian Eckert [Tue, 8 Oct 2019 06:29:08 +0000 (08:29 +0200)]
Merge pull request #3134 from stangri/master-luci-app-https_dns_proxy

luci-app-https_dns_proxy: bugfix: proper formatting of dhcp server entries

5 years agoluci-mod-system: flash.js: fix passing sysupgrade opts
Jo-Philipp Wich [Mon, 7 Oct 2019 17:55:31 +0000 (19:55 +0200)]
luci-mod-system: flash.js: fix passing sysupgrade opts

Instead of binding the checked state to the button handler function,
bind the underlying checkboxes instead to observe the actual user
choice instead of the initial value.

This fixes forcing sysupgrade or deselecting keep settings.

Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: fix anonymous section table titles
Jo-Philipp Wich [Mon, 7 Oct 2019 17:46:57 +0000 (19:46 +0200)]
luci-base: form.js: fix anonymous section table titles

When no section title is defined, the table renderer is supposed to use
the uci section id as fallback when the table section is not declared
to be anonymous.

Fixes: #3147
Fixes: a90bf384b ("luci-base: form.js: harmonize title property handling")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: treat inactive options as optional
Jo-Philipp Wich [Mon, 7 Oct 2019 17:44:22 +0000 (19:44 +0200)]
luci-base: form.js: treat inactive options as optional

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-advanced-reboot: import applyreboot template from luci-mod-system
Jo-Philipp Wich [Mon, 7 Oct 2019 09:41:42 +0000 (11:41 +0200)]
luci-app-advanced-reboot: import applyreboot template from luci-mod-system

Since the advanced-reboot app is the sole remaining user of the applyreboot
template, import it into this package to avoid the need for shipping it
with the default installation.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: port reboot view to client side js
Jo-Philipp Wich [Mon, 7 Oct 2019 08:51:28 +0000 (10:51 +0200)]
luci-mod-system: port reboot view to client side js

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add reboot rpc call
Jo-Philipp Wich [Mon, 7 Oct 2019 08:51:04 +0000 (10:51 +0200)]
luci-base: add reboot rpc call

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: use awaitReconnect() from ui.js
Jo-Philipp Wich [Mon, 7 Oct 2019 08:09:09 +0000 (10:09 +0200)]
luci-mod-system: use awaitReconnect() from ui.js

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: ui.js: add pingDevice() and awaitReconnect() functions
Jo-Philipp Wich [Mon, 7 Oct 2019 08:07:49 +0000 (10:07 +0200)]
luci-base: ui.js: add pingDevice() and awaitReconnect() functions

Import these functions from the flash.js for use with other views that
might trigger a device reboot.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: sshkeys.js: use common fs.js class
Jo-Philipp Wich [Wed, 2 Oct 2019 18:01:27 +0000 (20:01 +0200)]
luci-mod-system: sshkeys.js: use common fs.js class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: startup.js: use common fs.js class
Jo-Philipp Wich [Wed, 2 Oct 2019 17:58:09 +0000 (19:58 +0200)]
luci-mod-system: startup.js: use common fs.js class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: flash.js: use common fs.js class
Jo-Philipp Wich [Wed, 2 Oct 2019 17:53:17 +0000 (19:53 +0200)]
luci-mod-system: flash.js: use common fs.js class

Also move the keep settings checkbox above the error messages in the
sysupgrade confirmation dialog.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: crontab.js: use common fs.js class
Jo-Philipp Wich [Wed, 2 Oct 2019 17:45:36 +0000 (19:45 +0200)]
luci-mod-system: crontab.js: use common fs.js class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: ui.js: use common fs.js class for filebrowser operations
Jo-Philipp Wich [Wed, 2 Oct 2019 17:42:48 +0000 (19:42 +0200)]
luci-base: ui.js: use common fs.js class for filebrowser operations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: introduce common fs.js helper class
Jo-Philipp Wich [Wed, 2 Oct 2019 17:41:29 +0000 (19:41 +0200)]
luci-base: introduce common fs.js helper class

Introduce a new fs.js helper class to gather filesystem related RPC
operations in a single file.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add resolveDefault() helper
Jo-Philipp Wich [Wed, 2 Oct 2019 17:39:23 +0000 (19:39 +0200)]
luci-base: luci.js: add resolveDefault() helper

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-statistics: fix memory plugin config
Hannu Nyman [Sat, 5 Oct 2019 15:59:08 +0000 (18:59 +0300)]
luci-app-statistics: fix memory plugin config

Fix d064cbcf9 by actually enabling ValuesAbsolute in the
config file and also prevent removing that option by LuCI.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoMerge pull request #3142 from dibdot/banIP
Dirk Brenken [Fri, 4 Oct 2019 16:22:02 +0000 (18:22 +0200)]
Merge pull request #3142 from dibdot/banIP

luci-app-banip: sync with banIP 0.3.0

5 years agoluci-app-banip: sync with banIP 0.3.0 3142/head
Dirk Brenken [Fri, 4 Oct 2019 07:21:11 +0000 (09:21 +0200)]
luci-app-banip: sync with banIP 0.3.0

* see package PR for details

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-base: zh_CN: update Simplified Chinese translation
Zheng Qian [Sun, 29 Sep 2019 07:33:35 +0000 (15:33 +0800)]
luci-base: zh_CN: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-mod-system: flash.js: fix "rootfs_data" partition detection
Jo-Philipp Wich [Wed, 2 Oct 2019 10:59:23 +0000 (12:59 +0200)]
luci-mod-system: flash.js: fix "rootfs_data" partition detection

The `/sys/devices/virtual/mtd/` information is not available on all
devices so rely on the contents of `/proc/mtd` instead to check for
the existence of the `rootfs_data` partition.

Fixes: #3136
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: check for sysupgrade with backup possibility
Rafał Miłecki [Wed, 25 Sep 2019 15:55:43 +0000 (17:55 +0200)]
luci-mod-system: check for sysupgrade with backup possibility

Some firmware images may not support preserving backup. In such cases
display a warning and disable relevant checkbox.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
5 years agoluci-mod-system: check if it's possible to force sysupgrade
Rafał Miłecki [Wed, 25 Sep 2019 14:51:38 +0000 (16:51 +0200)]
luci-mod-system: check if it's possible to force sysupgrade

Some validation errors may be critical enough to prevent sysupgrade.
Check the "forceable" property and disallow forcing sysupgrade if
applicable. It would fail anyway at the "sysupgrade" call.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
5 years agoluci-mod-system: use "system" new "validate_firmware_image" ubus method
Rafał Miłecki [Wed, 25 Sep 2019 14:51:37 +0000 (16:51 +0200)]
luci-mod-system: use "system" new "validate_firmware_image" ubus method

This new ubus method provides more properly-formatted details about
firmware file. Use it to check if uploaded image is valid.

The old "sysupgrade --test" method is left for now to provide stderr
output.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
[Added missing ACL, add default value for the ubus failure case]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js, rpc.js, uci.js, network.js: add JSDoc annotations
Jo-Philipp Wich [Wed, 2 Oct 2019 06:59:00 +0000 (08:59 +0200)]
luci-base: luci.js, rpc.js, uci.js, network.js: add JSDoc annotations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3137 from stangri/master-luci-app-vpnbypass
Florian Eckert [Wed, 2 Oct 2019 06:24:17 +0000 (08:24 +0200)]
Merge pull request #3137 from stangri/master-luci-app-vpnbypass

luci-app-vpnbypass: fix dispatcher bug when VPN node is present

5 years agoluci-app-vpnbypass: fix dispatcher bug when VPN node is present 3137/head
Stan Grishin [Wed, 2 Oct 2019 01:22:35 +0000 (18:22 -0700)]
luci-app-vpnbypass: fix dispatcher bug when VPN node is present

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agoMerge pull request #3064 from TDT-AG/pr/20190913-luci-app-commands
Florian Eckert [Tue, 1 Oct 2019 08:05:49 +0000 (10:05 +0200)]
Merge pull request #3064 from TDT-AG/pr/20190913-luci-app-commands

luci-app-commands: fix escaping of additional shell chars

5 years agoluci-app-https_dns_proxy: bugfix: proper formatting of dhcp server entries 3134/head
Stan Grishin [Mon, 30 Sep 2019 17:48:48 +0000 (10:48 -0700)]
luci-app-https_dns_proxy: bugfix: proper formatting of dhcp server entries

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agoMerge pull request #3131 from tano-systems/pr/luci-base-i18n-ru
Florian Eckert [Mon, 30 Sep 2019 11:05:07 +0000 (13:05 +0200)]
Merge pull request #3131 from tano-systems/pr/luci-base-i18n-ru

luci-base: update Russian translation

5 years agoluci-base: update Russian translation 3131/head
Anton Kikin [Mon, 30 Sep 2019 10:49:39 +0000 (13:49 +0300)]
luci-base: update Russian translation

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoluci-mod-network: display the mesh ID in wireless overview if applicable
Jo-Philipp Wich [Mon, 30 Sep 2019 10:40:12 +0000 (12:40 +0200)]
luci-mod-network: display the mesh ID in wireless overview if applicable

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: network.js: implement getMeshID() getter
Jo-Philipp Wich [Mon, 30 Sep 2019 10:39:33 +0000 (12:39 +0200)]
luci-base: network.js: implement getMeshID() getter

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: allow IPv6 addresses for external syslog server
Jo-Philipp Wich [Mon, 30 Sep 2019 08:27:35 +0000 (10:27 +0200)]
luci-mod-system: allow IPv6 addresses for external syslog server

Fixes: #3126
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agotimezone data: update to 2019c
Hannu Nyman [Sat, 28 Sep 2019 18:45:21 +0000 (18:45 +0000)]
timezone data: update to 2019c

Update timezone data to 2019c

http://mm.icann.org/pipermail/tz-announce/2019-September/000057.html

2019c:
* Fiji observes DST from 2019-11-10 to 2020-01-12.
* Norfolk Island starts observing Australian-style DST.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoluci-mod-system: fix rerendering of ssh key list after add/remove
Jo-Philipp Wich [Fri, 27 Sep 2019 10:53:47 +0000 (12:53 +0200)]
luci-mod-system: fix rerendering of ssh key list after add/remove

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: allow deleting all NTP servers
Jo-Philipp Wich [Fri, 27 Sep 2019 10:01:41 +0000 (12:01 +0200)]
luci-mod-system: allow deleting all NTP servers

Fixes: #3121
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3117 from YuriPet/patch-5
Florian Eckert [Thu, 26 Sep 2019 05:52:28 +0000 (07:52 +0200)]
Merge pull request #3117 from YuriPet/patch-5

luci-base: update Ukrainian translation

5 years agoluci-base: update Ukrainian translation 3117/head
Yurii [Wed, 25 Sep 2019 19:46:59 +0000 (22:46 +0300)]
luci-base: update Ukrainian translation

Updating Ukrainian translation according the latest sync translation. Сorrections and additions.

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoluci-mod-system: flash.js: disable mtdblock downloads on mtd-less systems
Jo-Philipp Wich [Wed, 25 Sep 2019 17:42:06 +0000 (19:42 +0200)]
luci-mod-system: flash.js: disable mtdblock downloads on mtd-less systems

Ref: https://github.com/openwrt/luci/commit/3c40a7450a9b7d340cdc9e233818c63a8092fec2#commitcomment-35233073
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: flash.js: rename handleReset to handleFirstboot
Jo-Philipp Wich [Wed, 25 Sep 2019 17:37:27 +0000 (19:37 +0200)]
luci-mod-system: flash.js: rename handleReset to handleFirstboot

Rename the procedure to prevent a name clash with the standard view action
which we intentionally disable.

Ref: https://github.com/openwrt/luci/commit/3c40a7450a9b7d340cdc9e233818c63a8092fec2#commitcomment-35233207
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3116 from castillofrancodamian/luci
Hannu Nyman [Wed, 25 Sep 2019 16:39:03 +0000 (19:39 +0300)]
Merge pull request #3116 from castillofrancodamian/luci

luci-base: update Spanish translation

5 years agoluci-base: update Spanish translation 3116/head
Franco Castillo [Wed, 25 Sep 2019 16:35:44 +0000 (13:35 -0300)]
luci-base: update Spanish translation

Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-mod-system: flash.js: improve storage size detection heuristics
Jo-Philipp Wich [Wed, 25 Sep 2019 14:23:02 +0000 (16:23 +0200)]
luci-mod-system: flash.js: improve storage size detection heuristics

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2756 from Ansuel/wps
Jo-Philipp Wich [Tue, 24 Sep 2019 17:56:44 +0000 (19:56 +0200)]
Merge pull request #2756 from Ansuel/wps

luci-mod-network: permit WPS push-button on WPA3

5 years agoluci-base: update translation with changed string 2756/head
Ansuel Smith [Tue, 24 Sep 2019 17:38:01 +0000 (19:38 +0200)]
luci-base: update translation with changed string

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
5 years agoluci-mod-network: permit WPS push-button on WPA3
Ansuel Smith [Tue, 24 Sep 2019 17:16:14 +0000 (19:16 +0200)]
luci-mod-network: permit WPS push-button on WPA3

Currently WPS push-button is dropped when SAE or SAE-Mixed is selected. WPS is still supported in WPA3.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
5 years agoMerge pull request #2357 from Ansuel/mastero
Jo-Philipp Wich [Tue, 24 Sep 2019 17:27:18 +0000 (19:27 +0200)]
Merge pull request #2357 from Ansuel/mastero

luci-mod-network: add master option

5 years agoluci-mod-system: system.js: use more concise label for use_dhcp
Jo-Philipp Wich [Tue, 24 Sep 2019 17:26:24 +0000 (19:26 +0200)]
luci-mod-system: system.js: use more concise label for use_dhcp

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: adds italian translation for master description 2357/head
Ansuel Smith [Tue, 24 Sep 2019 15:59:20 +0000 (17:59 +0200)]
luci-base: adds italian translation for master description

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
5 years agoluci-base: sync translations
Ansuel Smith [Tue, 24 Sep 2019 15:57:22 +0000 (17:57 +0200)]
luci-base: sync translations

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>