luci-base, luci-mod-status: expose LuCI version via ubus
authorJo-Philipp Wich <[email protected]>
Sat, 17 Dec 2022 14:00:24 +0000 (15:00 +0100)
committerJo-Philipp Wich <[email protected]>
Sat, 17 Dec 2022 14:01:46 +0000 (15:01 +0100)
commita27d2dbc32785c3389ea77a26714e7f6c67c9185
tree578eed51469131c4ca9bdfe16894f964fc636453
parent05194712bb2119b79041f256c44e35a044594f75
luci-base, luci-mod-status: expose LuCI version via ubus

Instead of scraping the LuCI version from Lua sources, fetch it via ubus
in order to be independent from the Lua runtime.

Fixes: #6154
Signed-off-by: Jo-Philipp Wich <[email protected]>
modules/luci-base/root/usr/share/rpcd/ucode/luci
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/10_system.js
modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status-index.json