From 7d5474cb3d1a88f252794b2131017c88117ff424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 1 Nov 2021 16:30:21 +0100 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=94=96=20staging/bugfix=20is=20now=20?= =?UTF-8?q?1.7.2.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 4a882cfe0..3385166b9 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -24,10 +24,10 @@ maintenance 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev fix/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev improve/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev -# staging/bugfix is the branch for preparation of the 1.7.1 bugfix release +# staging/bugfix is the branch for preparation of the 1.7.2 bugfix release # so are any bug/... branches -staging/bugfix 1.7.1 ddfd333b6238f3250f9d7ad598031bd0ec8e9734 pep440-dev -bug/.* 1.7.1 ddfd333b6238f3250f9d7ad598031bd0ec8e9734 pep440-dev +staging/bugfix 1.7.2 945825f03fbd2417a009dd33daf9f787aff60211 pep440-dev +bug/.* 1.7.2 945825f03fbd2417a009dd33daf9f787aff60211 pep440-dev # staging/maintenance is currently the branch for preparation of 1.7.0rc4 # so is regressionfix/... From 444fe44d480ff49b12775b1dee3986f3f88a51ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 2 Nov 2021 17:19:32 +0100 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=90=9B=20Fix=20double=20encoding=20of?= =?UTF-8?q?=20file=20resources?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `url_for` seems to be doing the encoding already after all, so we must not do it as well. Fixes #4293 --- src/octoprint/server/api/files.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/octoprint/server/api/files.py b/src/octoprint/server/api/files.py index b76f2c737..8106d4497 100644 --- a/src/octoprint/server/api/files.py +++ b/src/octoprint/server/api/files.py @@ -330,7 +330,7 @@ def _getFileList( "resource": url_for( ".readGcodeFile", target=FileDestinations.SDCARD, - filename=urlquote(f["name"]), + filename=f["name"], _external=True, ) }, @@ -392,7 +392,7 @@ def _getFileList( "resource": url_for( ".readGcodeFile", target=FileDestinations.LOCAL, - filename=urlquote(path + file_or_folder["name"]), + filename=path + file_or_folder["name"], _external=True, ) } @@ -446,7 +446,7 @@ def _getFileList( "resource": url_for( ".readGcodeFile", target=FileDestinations.LOCAL, - filename=urlquote(file_or_folder["path"]), + filename=file_or_folder["path"], _external=True, ), "download": url_for("index", _external=True) @@ -692,7 +692,7 @@ def uploadGcodeFile(target): location = url_for( ".readGcodeFile", target=FileDestinations.LOCAL, - filename=urlquote(filename), + filename=filename, _external=True, ) files.update( @@ -717,7 +717,7 @@ def uploadGcodeFile(target): location = url_for( ".readGcodeFile", target=FileDestinations.SDCARD, - filename=urlquote(sdFilename), + filename=sdFilename, _external=True, ) files.update( @@ -769,7 +769,7 @@ def uploadGcodeFile(target): location = url_for( ".readGcodeFile", target=FileDestinations.LOCAL, - filename=urlquote(added_folder), + filename=added_folder, _external=True, ) folder = { @@ -1041,7 +1041,7 @@ def gcodeFileCommand(filename, target): location = url_for( ".readGcodeFile", target=target, - filename=urlquote(full_path), + filename=full_path, _external=True, ) result = { @@ -1164,7 +1164,7 @@ def gcodeFileCommand(filename, target): location = url_for( ".readGcodeFile", target=target, - filename=urlquote(destination), + filename=destination, _external=True, ) result = { From d60c5a631aedf2328e4492125d9b86f595e43d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 2 Nov 2021 17:31:00 +0100 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=94=96=20Prepare=20release=20of=201.7?= =?UTF-8?q?.2?= 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 a6ec776ba..c4b4bd627 100644 --- a/src/octoprint/plugins/errortracking/__init__.py +++ b/src/octoprint/plugins/errortracking/__init__.py @@ -21,10 +21,10 @@ from octoprint.util.version import ( ) SENTRY_URL_SERVER = ( - "https://6600411b6f6b4a959d53037e782a8f73@o118517.ingest.sentry.io/1373987" + "https://690e174698034bcc95928e6bfa8573f7@o118517.ingest.sentry.io/1373987" ) SENTRY_URL_COREUI = ( - "https://72b9fc82150d47bead5c940ccbd05995@o118517.ingest.sentry.io/1374096" + "https://186f1dc5da7d46ab9d6b6de564d839bb@o118517.ingest.sentry.io/1374096" ) SETTINGS_DEFAULTS = { From 28852449880dc81dc3ddfbb2e3896bfa78c85820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 3 Nov 2021 09:24:28 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20I?= =?UTF-8?q?gnore=20approved=20issues=20too?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue_automation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue_automation.yml b/.github/workflows/issue_automation.yml index facf1ade8..40a89ba60 100644 --- a/.github/workflows/issue_automation.yml +++ b/.github/workflows/issue_automation.yml @@ -110,8 +110,8 @@ jobs: }) const comment = comments.data.find(c => c.user.login === "github-actions[bot]" && c.body.includes(marker)); - if (!labels.includes("triage")) { - console.log("No label, deleting comment if needed"); + if (!labels.includes("triage") || labels.includes("approved")) { + console.log("Deleting comment if it exists..."); if (comment) { await github.rest.issues.deleteComment({ owner: context.repo.owner,