luci-app-attendedsysupgrade: clear request hash before every build request

Since commit b2ad5d724ef8d0f248080109b7098626e5b5c40c enables you to do multiple searches for a firmware upgrade without reloading the page, it was discovered that if the request hash is not reset, you will get the previous build with that specific request hash as the response even if you select new packages.

Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
This commit is contained in:
Daniel Nilsson
2024-02-29 22:27:10 +01:00
committed by Paul Donald
parent ae4e305b0d
commit 79436167ea
38 changed files with 741 additions and 740 deletions
@@ -23,7 +23,7 @@ msgid "Advanced Mode"
msgstr "Modo avançado"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js:11
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:602
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:603
#: applications/luci-app-attendedsysupgrade/root/usr/share/luci/menu.d/luci-app-attendedsysupgrade.json:3
msgid "Attended Sysupgrade"
msgstr "Sysupgrade Assistido"
@@ -32,7 +32,7 @@ msgstr "Sysupgrade Assistido"
msgid "Attendedsysupgrade Configuration."
msgstr "Configuração do attendedsysupgrade."
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:511
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:512
msgid "Board Name / Profile"
msgstr "Nome da placa / perfil"
@@ -45,7 +45,7 @@ msgid "Building Firmware..."
msgstr "Construindo o firmware..."
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:156
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:526
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:527
msgid "Cancel"
msgstr "Cancelar"
@@ -55,8 +55,8 @@ msgstr "Cliente"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:237
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:374
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:429
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:563
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:430
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:564
msgid "Close"
msgstr "Fechar"
@@ -64,12 +64,12 @@ msgstr "Fechar"
msgid "Configuration"
msgstr "Configuração"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:423
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:424
msgid "Could not reach API at \"%s\". Please try again later."
msgstr "Não foi possível alcançar a API em \"%s\". tente novamente mais tarde."
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:519
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:617
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:520
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:618
msgid "Currently running: %s - %s"
msgstr "Atualmente em execução: %s - %s"
@@ -97,7 +97,7 @@ msgstr "Baixando..."
msgid "Error building the firmware image"
msgstr "Houve um erro ao construir a imagem do firmware"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:419
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:420
msgid "Error connecting to upgrade server"
msgstr "Erro ao conectar o servidor de atualização"
@@ -137,11 +137,11 @@ msgstr "Instalando..."
msgid "Keep settings and retain the current configuration"
msgstr "Mantenha as configurações e preserve a configuração atual"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:516
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:517
msgid "New firmware upgrade available"
msgstr "Uma nova atualização do firmware está disponível"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:554
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:555
msgid "No upgrade available"
msgstr "Nenhum upgrade disponível"
@@ -157,7 +157,7 @@ msgstr ""
msgid "Overview"
msgstr "Visão geral"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:512
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:513
msgid "Packages"
msgstr "Pacotes"
@@ -193,7 +193,7 @@ msgstr "Solicitação de compilação recebida"
msgid "Request Data:"
msgstr "Solicitar dados:"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:548
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:549
msgid "Request firmware image"
msgstr "Solicitar a imagem do firmware"
@@ -205,7 +205,7 @@ msgstr "Pedido posicionado na fila de compilação %s"
msgid "SHA256"
msgstr "SHA256"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:628
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:629
msgid "Search for firmware upgrade"
msgstr "Procurar pela atualização do firmware"
@@ -217,11 +217,11 @@ msgstr "Pesquisar por novos sysupgrades ao abrir a aba"
msgid "Search on opening"
msgstr "Pesquisar ao abrir"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:410
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:411
msgid "Searching for an available sysupgrade of %s - %s"
msgstr "Procurando pela disponibilidade de um sysupgrade em %s - %s"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:406
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:407
msgid "Searching..."
msgstr "Procurando..."
@@ -249,7 +249,7 @@ msgstr "A imagem do firmware foi criada com sucesso"
msgid "Target"
msgstr "Destino"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:606
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:607
msgid ""
"The attended sysupgrade service allows to easily upgrade vanilla and custom "
"firmware images."
@@ -257,11 +257,11 @@ msgstr ""
"O serviço autônomo sysupgrade permite facilmente realizar o upgrade de "
"imagens de firmware vanilla e personalizadas."
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:557
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:558
msgid "The device runs the latest firmware version %s - %s"
msgstr "O dispositivo possui a versão mas recente do firmware %s - %s"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:612
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:613
msgid ""
"This is done by building a new firmware on demand via an online service."
msgstr ""
@@ -288,7 +288,7 @@ msgstr "Versão"
msgid "Wrong checksum"
msgstr "Checksum incorreto"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:496
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:497
msgid "[installed] %s"
msgstr "[instalado] %s"