summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/htdocs
AgeCommit message (Collapse)Author
2019-10-07luci-mod-system: port reboot view to client side jsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-mod-system: use awaitReconnect() from ui.jsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-mod-system: sshkeys.js: use common fs.js classJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-mod-system: startup.js: use common fs.js classJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-mod-system: flash.js: use common fs.js classJo-Philipp Wich
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-07luci-mod-system: crontab.js: use common fs.js classJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-02luci-mod-system: flash.js: fix "rootfs_data" partition detectionJo-Philipp Wich
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-02luci-mod-system: check for sysupgrade with backup possibilityRafał Miłecki
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-02luci-mod-system: check if it's possible to force sysupgradeRafał Miłecki
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-02luci-mod-system: use "system" new "validate_firmware_image" ubus methodRafał Miłecki
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-09-30luci-mod-system: allow IPv6 addresses for external syslog serverJo-Philipp Wich
Fixes: #3126 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-27luci-mod-system: fix rerendering of ssh key list after add/removeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-27luci-mod-system: allow deleting all NTP serversJo-Philipp Wich
Fixes: #3121 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-25luci-mod-system: flash.js: disable mtdblock downloads on mtd-less systemsJo-Philipp Wich
Ref: https://github.com/openwrt/luci/commit/3c40a7450a9b7d340cdc9e233818c63a8092fec2#commitcomment-35233073 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-25luci-mod-system: flash.js: rename handleReset to handleFirstbootJo-Philipp Wich
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>
2019-09-25luci-mod-system: flash.js: improve storage size detection heuristicsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-system: system.js: use more concise label for use_dhcpJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-system: system.js: expose use_dhcp NTP optionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-system: reimplement flashops as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-system: startup.js: fix syntax errorJo-Philipp Wich
Fixes: f3ff641d8 ("luci-mod-system: ensure that textarea contents are properly escaped") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-23luci-mod-system: ensure that textarea contents are properly escapedJo-Philipp Wich
Fixes: #3090 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-mod-system: mounts.js: preload fstab uciJo-Philipp Wich
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>
2019-09-21luci-mod-system: mounts.js: implicitely create globals sectionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-mod-system: remplement fstab settings as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-mod-system: system.js: simplify btn actions, use feature flagsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-mod-system: disable redundant page actions in crontab, startup viewsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-17luci-mod-system: remplement dropbear settings as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-16luci-mod-system: remplement password change as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-15luci-mod-system: reimplement SSH key mgmt as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: improve LED configuration pageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: add heading to startup page, improve error reportingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: reimplent system/crontab as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: restore rc.local editing functionalityJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: reimplent system/startup as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-14luci-app-firewall: honour global default policies in per-zone settingsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-25luci-mod-system: leds.js: fix crash when no usb devices or ports are presentJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-08luci-base,luci-mod-system: split ubus localtime into get and set callJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-mod-system: rework leds.js and system.js viewsJo-Philipp Wich
- Drop manual RPC batch usage - Use LuCI.Poll for status updates Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-mod-system: use client side cbi forms for system and led configJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-mod-system: move password and sshkey JS code into external filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>