luci-app-attendedsysupgrade: report used client version
authorPaul Spooren <mail@aparcar.org>
Thu, 28 Jul 2022 20:43:46 +0000 (22:43 +0200)
committerPaul Spooren <mail@aparcar.org>
Fri, 29 Jul 2022 15:04:23 +0000 (17:04 +0200)
commitd4e919f363240c28a491877171d5712311f4aeda
tree1d62ed2ac7eb7b3706abbf11de8118927bf8f2b1
parentb356e9413791828cd40b626be0c9645c21c17c01
luci-app-attendedsysupgrade: report used client version

This allows the backend to track popular app versions and drop support for
unsed version in case of API changes.

Specifically the app sends a version string in the format "luci/GIT_HASH" to
the backend.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit f368faf6789a43c2e1a26b721f8115473672eb29)
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js