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
Jo-Philipp Wich
ad05b61dce
luci-mod-system: allow deleting all NTP servers
...
Fixes : #3121
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-27 12:02:08 +02:00
Florian Eckert
111fdcef7f
Merge pull request #3117 from YuriPet/patch-5
...
luci-base: update Ukrainian translation
2019-09-26 07:52:28 +02:00
Yurii
a56e58f32e
luci-base: update Ukrainian translation
...
Updating Ukrainian translation according the latest sync translation. Сorrections and additions.
Signed-off-by: Yurii <yuripet@gmail.com>
2019-09-25 22:46:59 +03:00
Jo-Philipp Wich
855208c59d
luci-mod-system: flash.js: disable mtdblock downloads on mtd-less systems
...
Ref: 3c40a7450a (commitcomment-35233073)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-25 19:42:06 +02:00
Jo-Philipp Wich
e17cd94be7
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: 3c40a7450a (commitcomment-35233207)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-25 19:37:27 +02:00
Hannu Nyman
dfe9d28987
Merge pull request #3116 from castillofrancodamian/luci
...
luci-base: update Spanish translation
2019-09-25 19:39:03 +03:00
Franco Castillo
cb1189a2fe
luci-base: update Spanish translation
...
Update Spanish translation.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-09-25 13:35:44 -03:00
Jo-Philipp Wich
3c40a7450a
luci-mod-system: flash.js: improve storage size detection heuristics
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-25 16:23:02 +02:00
Jo-Philipp Wich
66749b4fe3
Merge pull request #2756 from Ansuel/wps
...
luci-mod-network: permit WPS push-button on WPA3
2019-09-24 19:56:44 +02:00
Ansuel Smith
9f0f6cbd31
luci-base: update translation with changed string
...
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24 19:40:26 +02:00
Ansuel Smith
3571af9488
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>
2019-09-24 19:39:12 +02:00
Jo-Philipp Wich
aac046271b
Merge pull request #2357 from Ansuel/mastero
...
luci-mod-network: add master option
2019-09-24 19:27:18 +02:00
Jo-Philipp Wich
e091859116
luci-mod-system: system.js: use more concise label for use_dhcp
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24 19:26:33 +02:00
Ansuel Smith
6bd7295a46
luci-base: adds italian translation for master description
...
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24 19:10:20 +02:00
Ansuel Smith
3444aae69a
luci-base: sync translations
...
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24 19:10:19 +02:00
Ansuel Smith
d3541e9269
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>
2019-09-24 19:10:11 +02:00
Dirk Brenken
5c8a3c5b79
Merge pull request #3083 from onjen/captive-optional-args
...
luci-app-travelmate: add support for optional args in auto-login script
2019-09-24 18:52:49 +02:00
Jo-Philipp Wich
1bad6f3e61
luci-mod-system: system.js: expose use_dhcp NTP option
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24 18:41:54 +02:00
Hannu Nyman
e4ca5b237f
Merge pull request #3112 from stangri/master-luci-app-simple-adblock
...
luci-app-simple-adblock: dnsmasq.ipset option support
2019-09-24 19:30:05 +03:00