Commit graph

11612 commits

Author SHA1 Message Date
Yurii
cccd17c998
luci-base: update Ukrainian translation
Updating Ukrainian translation according the latest sync translation. Сorrections and additions.

Signed-off-by: Yurii <yuripet@gmail.com>
2019-10-09 19:36:05 +03:00
Florian Eckert
b7681230ce
Merge pull request #3160 from etactica/mosquitto-tls-master
luci-app-mosquitto: drop tls1.0, add tls1.3
2019-10-09 15:56:01 +02:00
Karl Palsson
a7b1d63eb9 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>
2019-10-09 13:52:48 +00:00
Hannu Nyman
37b6b3ee3c
Merge pull request #3159 from TDT-AG/pr/20191009-luci-app-statistics-german-translation
luci-app-statistics: fix german translation
2019-10-09 16:41:04 +03:00
Martin Schiller
8582ea3761 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>
2019-10-09 14:40:14 +02:00
Jo-Philipp Wich
f8c6eb67cd 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>
2019-10-09 09:55:44 +02:00
Florian Eckert
6d70b303ed
Merge pull request #3157 from TDT-AG/pr/20191009-luci-base-fix-typo
luci-base: fix typo in german translation
2019-10-09 09:03:33 +02:00
Martin Schiller
61cce42299 luci-base: fix typo in german translation
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-10-09 09:00:29 +02:00
Franco Castillo
5e8c107b3c 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>
2019-10-09 08:42:21 +02:00
Florian Eckert
a2b10b0385
Merge pull request #3154 from castillofrancodamian/base
luci-base: update Spanish translation
2019-10-09 08:37:10 +02:00
Franco Castillo
5eb8334953 luci-base: update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-10-08 16:47:19 -03:00
Hannu Nyman
a154533121
Merge pull request #3135 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
2019-10-08 18:50:27 +03:00
INAGAKI Hiroshi
96f37f475c luci-base: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-10-09 00:31:03 +09:00
INAGAKI Hiroshi
3d23e6d04f i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-10-08 23:47:58 +09:00
Florian Eckert
e459683822
Merge pull request #3134 from stangri/master-luci-app-https_dns_proxy
luci-app-https_dns_proxy: bugfix: proper formatting of dhcp server entries
2019-10-08 08:29:08 +02:00
Jo-Philipp Wich
5ccbda54e8 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>
2019-10-07 19:55:31 +02:00
Jo-Philipp Wich
e7ca163d7c 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>
2019-10-07 19:49:58 +02:00
Jo-Philipp Wich
5cfad8d65b luci-base: form.js: treat inactive options as optional
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 19:44:22 +02:00
Jo-Philipp Wich
90c52a1782 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>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
b637cf6750 luci-mod-system: port reboot view to client side js
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
1d68853cce luci-base: add reboot rpc call
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
29ccea14f1 luci-mod-system: use awaitReconnect() from ui.js
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
f3ef2ca2eb 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>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
55fb53e995 luci-mod-system: sshkeys.js: use common fs.js class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
811012cab5 luci-mod-system: startup.js: use common fs.js class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
807dd50640 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>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
641c82cb21 luci-mod-system: crontab.js: use common fs.js class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
df8078d542 luci-base: ui.js: use common fs.js class for filebrowser operations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:53:39 +02:00
Jo-Philipp Wich
8776e423d9 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>
2019-10-07 11:53:35 +02:00
Jo-Philipp Wich
1154e755f1 luci-base: luci.js: add resolveDefault() helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 11:48:33 +02:00
Hannu Nyman
95ea1e67fe 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>
2019-10-05 18:59:08 +03:00
Dirk Brenken
324f8daf31
Merge pull request #3142 from dibdot/banIP
luci-app-banip: sync with banIP 0.3.0
2019-10-04 18:22:02 +02:00
Dirk Brenken
8343e58d7f
luci-app-banip: sync with banIP 0.3.0
* see package PR for details

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-10-04 09:21:11 +02:00
Zheng Qian
aed5e932e3 luci-base: zh_CN: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-10-03 12:46:29 +08:00
Jo-Philipp Wich
020ac1e08d 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>
2019-10-02 13:02:04 +02:00
Rafał Miłecki
fb740f2c79 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>
2019-10-02 11:13:19 +02:00
Rafał Miłecki
5f2a17938f 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>
2019-10-02 09:47:20 +02:00
Rafał Miłecki
7c108683c6 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>
2019-10-02 09:46:18 +02:00
Jo-Philipp Wich
b2809cebd8 luci-base: luci.js, rpc.js, uci.js, network.js: add JSDoc annotations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-02 08:59:41 +02:00
Florian Eckert
93934c08ca
Merge pull request #3137 from stangri/master-luci-app-vpnbypass
luci-app-vpnbypass: fix dispatcher bug when VPN node is present
2019-10-02 08:24:17 +02:00
Stan Grishin
444b1c126e luci-app-vpnbypass: fix dispatcher bug when VPN node is present
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-10-01 18:22:35 -07:00
Florian Eckert
68190f43ca
Merge pull request #3064 from TDT-AG/pr/20190913-luci-app-commands
luci-app-commands: fix escaping of additional shell chars
2019-10-01 10:05:49 +02:00
Stan Grishin
95cf843774 luci-app-https_dns_proxy: bugfix: proper formatting of dhcp server entries
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-30 10:48:48 -07:00
Florian Eckert
b7ee57adaf
Merge pull request #3131 from tano-systems/pr/luci-base-i18n-ru
luci-base: update Russian translation
2019-09-30 13:05:07 +02:00
Anton Kikin
2b1b8e7e04 luci-base: update Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-09-30 13:49:39 +03:00
Jo-Philipp Wich
17800040f2 luci-mod-network: display the mesh ID in wireless overview if applicable
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30 12:40:12 +02:00
Jo-Philipp Wich
948ca3712f luci-base: network.js: implement getMeshID() getter
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30 12:39:33 +02:00
Jo-Philipp Wich
f1db82399a luci-mod-system: allow IPv6 addresses for external syslog server
Fixes: #3126
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30 10:28:11 +02:00
Hannu Nyman
cf887ba62f 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>
2019-09-28 21:51:35 +03:00
Jo-Philipp Wich
355223ecdd luci-mod-system: fix rerendering of ssh key list after add/remove
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-27 12:53:47 +02:00