From dfb0d71ed920589d5813c283696ae7e726810269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Apr 2021 14:46:19 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=96=20staging/maintenance=20is=20n?= =?UTF-8?q?ow=201.6.0rc4.dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versioneer-lookup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index f79b172f7..72dee2ab4 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -29,10 +29,10 @@ improve/.* 1.6.0 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev staging/bugfix 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev bug/.* 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev -# staging/maintenance is currently the branch for preparation of 1.6.0rc3 +# staging/maintenance is currently the branch for preparation of 1.6.0rc4 # so is regressionfix/... -staging/maintenance 1.6.0rc3 c2844c8132871f40f8dec3a0cdff8e7cfd25bab9 pep440-dev -regressionfix/.* 1.6.0rc3 c2844c8132871f40f8dec3a0cdff8e7cfd25bab9 pep440-dev +staging/maintenance 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev +regressionfix/.* 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev # staging/devel is currently inactive (but has the 1.4.1rc4 namespace) staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev From 0cf06a606d2a2476ce7e6e7d6287566c3d632406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Apr 2021 15:38:57 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20SWU:=20Disable=20update=20al?= =?UTF-8?q?l=20if=20no=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4109 --- .../plugins/softwareupdate/static/js/softwareupdate.js | 6 ++++++ .../softwareupdate/templates/softwareupdate_settings.jinja2 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js index 56e8b6f75..ebad30908 100644 --- a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js +++ b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js @@ -81,6 +81,12 @@ $(function () { ); }); + self.enableUpdateAll = ko.pureComputed(function () { + return ( + self.enableUpdate() && self.availableAndPossibleAndEnabled().length > 0 + ); + }); + self.enable_configSave = ko.pureComputed(function () { return ( self.config_checkType() === "github_release" || diff --git a/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 b/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 index a769c1fd3..b1263d052 100644 --- a/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 +++ b/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 @@ -71,7 +71,7 @@ {% endtrans %}
- +