luci/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade
Paul Spooren 85e9ee3123 luci-app-attendedsysupgrade: fix branch detection
The running branch determines which upgrades are suggested. A jump to a
newer branch (e.g. 19.07.8 to 21.02.1) is only suggested if the advanced
mode is enable, since it may break the router.

OpenWrt versions end in either `-SNAPSHOT`, `.X-rcY` or `.x`. All these
suffixes are removed, resulting in the branch name.

Previously the `-SNAPSHOT` suffix wasn't removed resulting in wrong
branch names.

Also clean up some log spam.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-05-05 06:14:32 -10:00
..
configuration.js luci-app-attendedsysupgrade: Render on client 2021-03-07 23:17:06 -10:00
overview.js luci-app-attendedsysupgrade: fix branch detection 2021-05-05 06:14:32 -10:00