luci-mod-system: check if it's possible to force sysupgrade
authorRafał Miłecki <rafal@milecki.pl>
Wed, 25 Sep 2019 14:51:38 +0000 (16:51 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 2 Oct 2019 07:47:20 +0000 (09:47 +0200)
commit5f2a17938f5f5cde444e398c02d2f67b3f914f95
tree50a7567df88d7b34290320faffeebd60ec7d9c82
parent7c108683c6b65007e3ce8ce6db5e0e48aee87e2b
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>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js