From 588a1c4cc80c207f9e7285a32997aeb568abe07a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 18 Oct 2022 11:44:07 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=96=20staging/bugfix=20is=20now=20?= =?UTF-8?q?1.8.7.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 288e7a71a..1beb1e2eb 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.6 bugfix release +# staging/bugfix is the branch for preparation of the 1.8.7 bugfix release # so are any bug/... branches -staging/bugfix 1.8.6 395354212c2bb65b37b303de171418f6475ca346 pep440-dev -bug/.* 1.8.6 395354212c2bb65b37b303de171418f6475ca346 pep440-dev +staging/bugfix 1.8.7 1875623f05e14c3a197c6ff324f02dce55cec7d2 pep440-dev +bug/.* 1.8.7 1875623f05e14c3a197c6ff324f02dce55cec7d2 pep440-dev # staging/maintenance is currently the branch for preparation of 1.8.0rc6 # so is regressionfix/... From 59054cc1e58c241909f1ecba1ebc33ada01e3e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Mar 2023 15:34:39 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A5=85=20Don't=20send=20`None`=20to?= =?UTF-8?q?=20`Locale.parse`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The latest version of Babel no longer supports this but raises an error, which in turn leads to a 500 Server Error response here. To fix this, we set a default for best_match. Closes #4744 --- src/octoprint/server/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index 659d83bd0..48568133c 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -1349,7 +1349,7 @@ class Server: ): return Locale.negotiate([default_language], LANGUAGES) - return Locale.parse(request.accept_languages.best_match(LANGUAGES)) + return Locale.parse(request.accept_languages.best_match(LANGUAGES, default="en")) def _setup_heartbeat_logging(self): logger = logging.getLogger(__name__ + ".heartbeat") From 6e009d25441b3e9a15e335844c4d8f11ad13fe6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Mar 2023 15:51:32 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=96=20Preparing=20release=20of=201?= =?UTF-8?q?.8.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUPPORTERS.md | 12 +++++++----- setup.py | 2 +- src/octoprint/plugins/errortracking/__init__.py | 8 +++++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/SUPPORTERS.md b/SUPPORTERS.md index 4edb73897..e2a70859c 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -11,33 +11,36 @@ thanks to everyone who contributed! * Al Mucci * Arnljot Arntsen * Ash King + * Ben Fritsch * BigTreeTech * Boris Hussein * Brad Jackson - * Calvin Vette * Christian Petropolis * Christian Wolf * Christian Würthner * Christoph Sigrist - * Codense Consulting Oy + * CooperSpartan * Creality3D * DeltaMaker 3D Printers * Dennis Breining + * Douglas Floyd + * Ed Crump * Ernesto Martinez * Franziska Kunsmann * Hog Duske + * Jacob Renstrom * James Mackay * Jeff Green * Jeff Moe * jeffiel * Jeremy Cole + * John Cassel * Julian Melo * Justin Kaufman * Kaile Riser * Kazuhiro Ogura * Kenneth Jiang * Kurt Wubbels - * Kyle Menigoz * Lachlan Bell * Lefteris Lertas * LulzBot @@ -65,7 +68,6 @@ thanks to everyone who contributed! * Stefan Krister * Steve Dougherty * Steve Thompson - * TJ Horner * Ulrich Kempken -and 2145 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)! +and 2036 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)! diff --git a/setup.py b/setup.py index 73c625257..1c4da3af5 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ SETUP_REQUIRES = [] bundled_plugins = [ "OctoPrint-FileCheck>=2021.2.23", "OctoPrint-FirmwareCheck>=2021.10.11", - "OctoPrint-PiSupport>=2022.3.28", + "OctoPrint-PiSupport>=2022.6.13", ] core_deps = [ "argon2_cffi>=21.3.0,<22", diff --git a/src/octoprint/plugins/errortracking/__init__.py b/src/octoprint/plugins/errortracking/__init__.py index cb633a65c..08d7aff77 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://faa02914ec8f42139e12a36482cfdb60@o118517.ingest.sentry.io/1373987" + "https://9c242ccf183444eaacd046d86d8b0ea2@o118517.ingest.sentry.io/1373987" ) SENTRY_URL_COREUI = ( - "https://be7a53389fb045b48d6c384bb8ee89eb@o118517.ingest.sentry.io/1374096" + "https://4d9844043596415faa606ff722174b90@o118517.ingest.sentry.io/1374096" ) SETTINGS_DEFAULTS = { @@ -158,7 +158,9 @@ def _enable_errortracking(): unique_id = str(uuid.uuid4()) s.set( - ["plugins", "errortracking", "unique_id"], unique_id, defaults=plugin_defaults + ["plugins", "errortracking", "unique_id"], + unique_id, + defaults=plugin_defaults, ) s.save()