Compare commits

..
3 Commits
Author SHA1 Message Date
Gina Häußge d60c5a631a 🔖 Prepare release of 1.7.2 2021-11-02 17:31:00 +01:00
Gina Häußge 444fe44d48 🐛 Fix double encoding of file resources
`url_for` seems to be doing the encoding already after all,
so we must not do it as well.

Fixes #4293
2021-11-02 17:19:32 +01:00
Gina Häußge 7d5474cb3d 🔖 staging/bugfix is now 1.7.2.dev 2021-11-01 16:30:21 +01:00
3 changed files with 13 additions and 13 deletions

No files matched your search

+3 -3
View File
@@ -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/...
@@ -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 = {
+8 -8
View File
@@ -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 = {