diff options
Diffstat (limited to 'applications/luci-app-attendedsysupgrade')
4 files changed, 31 insertions, 12 deletions
diff --git a/applications/luci-app-attendedsysupgrade/Makefile b/applications/luci-app-attendedsysupgrade/Makefile index dbb572bd28..cab27e6751 100644 --- a/applications/luci-app-attendedsysupgrade/Makefile +++ b/applications/luci-app-attendedsysupgrade/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI support for attended sysupgrades -LUCI_DEPENDS:=+luci-base +uhttpd-mod-ubus +attendedsysupgrade-common +cgi-io +LUCI_DEPENDS:=+luci-base +attendedsysupgrade-common +cgi-io include ../../luci.mk diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js index a99e646064..2ec486caf2 100644 --- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js +++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js @@ -24,7 +24,7 @@ return view.extend({ o.default = '1'; o.rmempty = false; - o = s.option(form.Flag, 'advanced_mode', _('Advances Mode'), + o = s.option(form.Flag, 'advanced_mode', _('Advanced Mode'), _('Show advanced options like packge list modification')); o.default = '0'; o.rmempty = false; diff --git a/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po b/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po index 5785a47d1f..b72f964958 100644 --- a/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po +++ b/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po @@ -1,14 +1,14 @@ msgid "" msgstr "" -"PO-Revision-Date: 2021-06-01 13:26+0000\n" -"Last-Translator: Kalin Iliev <kalin.t.iliev@gmail.com>\n" +"PO-Revision-Date: 2021-07-05 20:29+0000\n" +"Last-Translator: Iskren Mihaylov <iskren.mihaylov91@gmail.com>\n" "Language-Team: Bulgarian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsattendedsysupgrade/bg/>\n" "Language: bg\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js:16 msgid "Address" @@ -121,7 +121,7 @@ msgstr "" #: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:119 msgid "SHA256" -msgstr "" +msgstr "SHA256" #: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js:23 msgid "Search for new sysupgrades on opening the tab" diff --git a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json index e3ceeaa35d..ec102e3dad 100644 --- a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json +++ b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json @@ -2,16 +2,35 @@ "luci-app-attendedsysupgrade": { "description": "Grant UCI access to LuCI app attendedsysupgrade", "read": { - "uci": ["attendedsysupgrade"], "ubus": { - "rpc-sys": ["upgrade_start", "packagelist"] - } + "rpc-sys": [ + "upgrade_start", + "packagelist" + ], + "system": [ + "board", + "info" + ], + "uci": [ + "get" + ] + }, + "uci": [ + "attendedsysupgrade" + ] }, "write": { - "uci": ["attendedsysupgrade"], + "cgi-io": [ + "upload" + ], "ubus": { - "rpc-sys": ["upgrade_start"] - } + "uci": [ + "set", "commit" + ] + }, + "uci": [ + "attendedsysupgrade" + ] } } } |