From ae407492bc63ad2b1972868f495c5dd99713ccb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 17 Oct 2022 17:16:48 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=96=20staging/bugfix=20is=20now=20?= =?UTF-8?q?1.8.6.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 e67009478..288e7a71a 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -24,10 +24,10 @@ maintenance 1.8.0 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 pep440-dev fix/.* 1.8.0 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 pep440-dev improve/.* 1.8.0 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 pep440-dev -# staging/bugfix is the branch for preparation of the 1.8.5 bugfix release +# staging/bugfix is the branch for preparation of the 1.8.6 bugfix release # so are any bug/... branches -staging/bugfix 1.8.5 27a576e352a9b3d9abee89ab92cd02012c0e39dd pep440-dev -bug/.* 1.8.5 27a576e352a9b3d9abee89ab92cd02012c0e39dd pep440-dev +staging/bugfix 1.8.6 395354212c2bb65b37b303de171418f6475ca346 pep440-dev +bug/.* 1.8.6 395354212c2bb65b37b303de171418f6475ca346 pep440-dev # staging/maintenance is currently the branch for preparation of 1.8.0rc6 # so is regressionfix/... From ac6240a3a37312222ba6b963a550fd761422023d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 17 Oct 2022 21:14:29 +0200 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=90=9B=20Fix=20tornado=20download=20e?= =?UTF-8?q?ndpoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Something broke during the initial fix for #4659. Fixes #4659 --- src/octoprint/plugins/backup/__init__.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/octoprint/plugins/backup/__init__.py b/src/octoprint/plugins/backup/__init__.py index 643f9aa11..aad296fb0 100644 --- a/src/octoprint/plugins/backup/__init__.py +++ b/src/octoprint/plugins/backup/__init__.py @@ -381,16 +381,21 @@ class BackupPlugin( ) from octoprint.util import is_hidden_path + plugin_folder = self.get_plugin_data_folder() + + def path_check(path): + joined = os.path.join(plugin_folder, path) + return not is_hidden_path(joined) and self._valid_backup(joined) + return [ ( r"/download/(.*)", LargeResponseHandler, { - "path": self.get_plugin_data_folder(), + "path": plugin_folder, "as_attachment": True, "path_validation": path_validation_factory( - lambda path: not is_hidden_path(path) - and self._valid_backup(path), + path_check, status_code=404, ), "access_validation": access_validation_factory( From 1875623f05e14c3a197c6ff324f02dce55cec7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 18 Oct 2022 10:38:08 +0200 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=96=20Prepare=20release=20of=201.8?= =?UTF-8?q?.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/errortracking/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/plugins/errortracking/__init__.py b/src/octoprint/plugins/errortracking/__init__.py index 7e0fc5647..cb633a65c 100644 --- a/src/octoprint/plugins/errortracking/__init__.py +++ b/src/octoprint/plugins/errortracking/__init__.py @@ -18,10 +18,10 @@ from octoprint.util.version import ( ) SENTRY_URL_SERVER = ( - "https://ed6946a2c4f344738768ac7f34ce27df@o118517.ingest.sentry.io/1373987" + "https://faa02914ec8f42139e12a36482cfdb60@o118517.ingest.sentry.io/1373987" ) SENTRY_URL_COREUI = ( - "https://1b37bf389cbc4150890838f99c42adab@o118517.ingest.sentry.io/1374096" + "https://be7a53389fb045b48d6c384bb8ee89eb@o118517.ingest.sentry.io/1374096" ) SETTINGS_DEFAULTS = {