oweals/luci.git
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 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 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>
5 years agoluci-mod-network: add master option
Ansuel Smith [Tue, 24 Sep 2019 15:56:41 +0000 (17:56 +0200)]
luci-mod-network: add master option

Adds option to set interface as master in dhcpv6 relay mode.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
5 years agoMerge pull request #3083 from onjen/captive-optional-args
Dirk Brenken [Tue, 24 Sep 2019 16:52:49 +0000 (18:52 +0200)]
Merge pull request #3083 from onjen/captive-optional-args

luci-app-travelmate: add support for optional args in auto-login script

5 years agoluci-mod-system: system.js: expose use_dhcp NTP option
Jo-Philipp Wich [Tue, 24 Sep 2019 16:41:22 +0000 (18:41 +0200)]
luci-mod-system: system.js: expose use_dhcp NTP option

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3112 from stangri/master-luci-app-simple-adblock
Hannu Nyman [Tue, 24 Sep 2019 16:30:05 +0000 (19:30 +0300)]
Merge pull request #3112 from stangri/master-luci-app-simple-adblock

luci-app-simple-adblock: dnsmasq.ipset option support

5 years agoluci-app-simple-adblock: dnsmasq.ipset option support 3112/head
Stan Grishin [Tue, 24 Sep 2019 16:16:52 +0000 (09:16 -0700)]
luci-app-simple-adblock: dnsmasq.ipset option support

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agoluci-app-travelmate: add support for optional args in auto-login script 3083/head
Johannes Rothe [Thu, 19 Sep 2019 21:28:39 +0000 (23:28 +0200)]
luci-app-travelmate: add support for optional args in auto-login script

This can be helpful for example in hotels where you need to
enter a new user/password combination every week.

Signed-off-by: Johannes Rothe <mail@johannes-rothe.de>
5 years agoluci-mod-system: reimplement flashops as client side view
Jo-Philipp Wich [Tue, 24 Sep 2019 09:33:21 +0000 (11:33 +0200)]
luci-mod-system: reimplement flashops as client side view

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: startup.js: fix syntax error
Jo-Philipp Wich [Tue, 24 Sep 2019 10:17:26 +0000 (12:17 +0200)]
luci-mod-system: startup.js: fix syntax error

Fixes: f3ff641d8 ("luci-mod-system: ensure that textarea contents are properly escaped")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3107 from castillofrancodamian/udpxy
Jo-Philipp Wich [Tue, 24 Sep 2019 06:16:27 +0000 (08:16 +0200)]
Merge pull request #3107 from castillofrancodamian/udpxy

luci-app-udpxy: add Spanish translation

5 years agoluci-theme-openwrt: fix scrolling issue in syslog
mpratt14 [Sat, 21 Sep 2019 22:38:30 +0000 (18:38 -0400)]
luci-theme-openwrt: fix scrolling issue in syslog

Depending on the browser, it is sometimes difficult to scroll if moused
over or after clicking or highlighting text. I often have to click outside
the text to be able to scroll again. The browser perceives that there is
scrolling space/content within the <textarea> element because it is
almost, but not exactly, the same size as its parent <div> element,
when in reality, there is no more text content. This causes scrolling
within the element with a range of just a few pixels, and the rest of
the page remains static.

This is easily solved by adding the "overflow-y" property with value
"hidden". Tested by myself on Chrome 64-bit Windows 10

Signed-off-by: Michael Pratt <mpratt51@gmail.com>
[rewrap commit message, fix Sob syntax]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-statistics: show decimal in iptables values
Jo-Philipp Wich [Tue, 24 Sep 2019 06:10:16 +0000 (08:10 +0200)]
luci-app-statistics: show decimal in iptables values

Fixes: #3109
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: wireless.js: properly handle SAE in join confirmation
Jo-Philipp Wich [Tue, 24 Sep 2019 06:09:02 +0000 (08:09 +0200)]
luci-mod-network: wireless.js: properly handle SAE in join confirmation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: interfaces.js: map remove action to network.deleteNetwork()
Jo-Philipp Wich [Tue, 24 Sep 2019 06:05:11 +0000 (08:05 +0200)]
luci-mod-network: interfaces.js: map remove action to network.deleteNetwork()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: network.js: fix deleteNetwork() implementation
Jo-Philipp Wich [Tue, 24 Sep 2019 06:02:57 +0000 (08:02 +0200)]
luci-base: network.js: fix deleteNetwork() implementation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: do not inherit map tabbing to nested sections
Jo-Philipp Wich [Tue, 24 Sep 2019 06:01:04 +0000 (08:01 +0200)]
luci-base: form.js: do not inherit map tabbing to nested sections

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: allow overriding remove action in Table/GridSections
Jo-Philipp Wich [Tue, 24 Sep 2019 05:59:04 +0000 (07:59 +0200)]
luci-base: form.js: allow overriding remove action in Table/GridSections

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: wireless.js: prompt for passphrase when joining SAE net
Jo-Philipp Wich [Tue, 24 Sep 2019 05:24:11 +0000 (07:24 +0200)]
luci-mod-network: wireless.js: prompt for passphrase when joining SAE net

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: resort zonePromise order
Chen Minqiang [Mon, 23 Sep 2019 17:11:16 +0000 (01:11 +0800)]
luci-mod-network: resort zonePromise order

This fix #3103

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
5 years agoluci-app-udpxy: add Spanish translation 3107/head
Franco Castillo [Mon, 23 Sep 2019 19:48:11 +0000 (16:48 -0300)]
luci-app-udpxy: add Spanish translation

Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-mod-system: ensure that textarea contents are properly escaped
Jo-Philipp Wich [Mon, 23 Sep 2019 09:44:18 +0000 (11:44 +0200)]
luci-mod-system: ensure that textarea contents are properly escaped

Fixes: #3090
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #1735 from sumpfralle/olsr-jsoninfo-parser-handle-empty-result
Florian Eckert [Mon, 23 Sep 2019 07:04:17 +0000 (09:04 +0200)]
Merge pull request #1735 from sumpfralle/olsr-jsoninfo-parser-handle-empty-result

luci-app-olsr: handle empty result for non-status tables

5 years agoluci-theme-material: mobile style fixes
Jo-Philipp Wich [Sun, 22 Sep 2019 20:27:12 +0000 (22:27 +0200)]
luci-theme-material: mobile style fixes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: do not add title attributes for untitled options
Jo-Philipp Wich [Sun, 22 Sep 2019 20:26:36 +0000 (22:26 +0200)]
luci-base: form.js: do not add title attributes for untitled options

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-material: fix some severe styling issues
Jo-Philipp Wich [Sun, 22 Sep 2019 17:32:25 +0000 (19:32 +0200)]
luci-theme-material: fix some severe styling issues

Add some CSS band aids to fix styling and positioning of hidden tab panes,
cbi maps in modal dialogs and nested cbi sections.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3099 from EricLuehrsen/unbound_info
Hannu Nyman [Sun, 22 Sep 2019 06:21:08 +0000 (09:21 +0300)]
Merge pull request #3099 from EricLuehrsen/unbound_info

luci-app-unbound: inform if odhcpd is not configured

5 years agoluci-app-unbound: inform if odhcpd is not configured 3099/head
Eric Luehrsen [Sun, 22 Sep 2019 00:36:04 +0000 (20:36 -0400)]
luci-app-unbound: inform if odhcpd is not configured

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
5 years agoMerge pull request #3096 from YuriPet/patch-4
Florian Eckert [Sat, 21 Sep 2019 19:56:39 +0000 (21:56 +0200)]
Merge pull request #3096 from YuriPet/patch-4

luci-app-firewall: update Ukrainian translation

5 years agoluci-app-firewall: update Ukrainian translation 3096/head
Yurii [Sat, 21 Sep 2019 19:14:38 +0000 (22:14 +0300)]
luci-app-firewall: update Ukrainian translation

Update Ukrainian translation according the latest sync translation.

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoMerge pull request #3095 from YuriPet/patch-3
Hannu Nyman [Sat, 21 Sep 2019 18:59:05 +0000 (21:59 +0300)]
Merge pull request #3095 from YuriPet/patch-3

luci-base: update Ukrainian translation

5 years agoluci-base: update Ukrainian translation 3095/head
Yurii [Sat, 21 Sep 2019 18:58:26 +0000 (21:58 +0300)]
luci-base: update Ukrainian translation

Corrected my typo.

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoMerge pull request #3042 from muink/patch-1
Florian Eckert [Sat, 21 Sep 2019 18:53:08 +0000 (20:53 +0200)]
Merge pull request #3042 from muink/patch-1

luci-base: hosts.js: Update chinese translations

5 years agoMerge pull request #3094 from YuriPet/patch-2
Florian Eckert [Sat, 21 Sep 2019 18:50:38 +0000 (20:50 +0200)]
Merge pull request #3094 from YuriPet/patch-2

luci-base: update Ukrainian translation

5 years agoluci-base: update Ukrainian translation 3094/head
Yurii [Sat, 21 Sep 2019 18:49:11 +0000 (21:49 +0300)]
luci-base: update Ukrainian translation

Update Ukrainian translation according the latest translation resync. Сorrections and additions.

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoMerge pull request #3093 from castillofrancodamian/master
Hannu Nyman [Sat, 21 Sep 2019 17:47:32 +0000 (20:47 +0300)]
Merge pull request #3093 from castillofrancodamian/master

luci-base: update Spanish translation

5 years agoluci-base: update Spanish translation 3093/head
Franco Castillo [Sat, 21 Sep 2019 17:29:54 +0000 (14:29 -0300)]
luci-base: update Spanish translation

Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-mod-system: remove unused controller actions
Jo-Philipp Wich [Sat, 21 Sep 2019 17:06:30 +0000 (19:06 +0200)]
luci-mod-system: remove unused controller actions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: mounts.js: preload fstab uci
Jo-Philipp Wich [Sat, 21 Sep 2019 16:46:17 +0000 (18:46 +0200)]
luci-mod-system: mounts.js: preload fstab uci

Preload the uci configuration on page load to avoid accidential double
rendering of the globals section and mount overview table.

Fixes: e39ab8725 ("luci-mod-system: mounts.js: implicitely create globals section")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: mounts.js: implicitely create globals section
Jo-Philipp Wich [Sat, 21 Sep 2019 16:43:42 +0000 (18:43 +0200)]
luci-mod-system: mounts.js: implicitely create globals section

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: remplement fstab settings as client side view
Jo-Philipp Wich [Sat, 21 Sep 2019 16:36:31 +0000 (18:36 +0200)]
luci-mod-system: remplement fstab settings as client side view

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add rpc methods for mount management
Jo-Philipp Wich [Sat, 21 Sep 2019 16:30:34 +0000 (18:30 +0200)]
luci-base: add rpc methods for mount management

This commit introduces the new methods luci/getBlockDevices,
luci/setBlockDetect, luci/getMountPoints, luci/setUmount in
preparation for the reworked mount point management.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: tie cached system features to user session
Jo-Philipp Wich [Sat, 21 Sep 2019 08:55:54 +0000 (10:55 +0200)]
luci-base: tie cached system features to user session

Store the cached system feature flags keyed by the current session id,
this ensures that the features are refreshed on login.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: network.js: don't batch wireless scan requests
Jo-Philipp Wich [Sat, 21 Sep 2019 08:23:15 +0000 (10:23 +0200)]
luci-base: network.js: don't batch wireless scan requests

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: rpc.js: increase default timeout to 20s, allow batch prevention
Jo-Philipp Wich [Sat, 21 Sep 2019 08:21:15 +0000 (10:21 +0200)]
luci-base: rpc.js: increase default timeout to 20s, allow batch prevention

Support a new option "nobatch: true" in rpc.declare() which prevents the
underlying RPC call from being batched with other calls.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: improve XHR issue diagnostics
Jo-Philipp Wich [Sat, 21 Sep 2019 08:19:22 +0000 (10:19 +0200)]
luci-base: luci.js: improve XHR issue diagnostics

Differentiate between request timeouts and other error reasons.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #3091 from musashino205/l10n/base-upd-ja
Hannu Nyman [Sat, 21 Sep 2019 08:21:01 +0000 (11:21 +0300)]
Merge pull request #3091 from musashino205/l10n/base-upd-ja

luci-base: update Japanese translation