From 2087c3da541baf2d7eefc9c2249ac884cff633e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 10 May 2021 15:40:37 +0200 Subject: [PATCH 01/24] =?UTF-8?q?=F0=9F=94=96=20staging/bugfix=20is=20now?= =?UTF-8?q?=201.6.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 977aeb0d9..12837185a 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -24,10 +24,10 @@ maintenance 1.6.0 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev fix/.* 1.6.0 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev improve/.* 1.6.0 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev -# staging/bugfix is the branch for preparation of the 1.6.1 bugfix release +# staging/bugfix is the branch for preparation of the 1.6.2 bugfix release # so are any bug/... branches -staging/bugfix 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev -bug/.* 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev +staging/bugfix 1.6.2 8b319e9637f1a55465b5116c68664634792200b7 pep440-dev +bug/.* 1.6.2 8b319e9637f1a55465b5116c68664634792200b7 pep440-dev # staging/maintenance is currently the branch for preparation of 1.6.0rc4 # so is regressionfix/... From 1b04c08a1a8a604bff3506e9eceb39f4cc114ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 12 Oct 2021 11:29:38 +0200 Subject: [PATCH 02/24] =?UTF-8?q?=F0=9F=94=96=20staging/bugfix=20is=20now?= =?UTF-8?q?=201.7.1.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 c7af97d89..4a882cfe0 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.6.2 bugfix release +# staging/bugfix is the branch for preparation of the 1.7.1 bugfix release # so are any bug/... branches -staging/bugfix 1.6.2 8b319e9637f1a55465b5116c68664634792200b7 pep440-dev -bug/.* 1.6.2 8b319e9637f1a55465b5116c68664634792200b7 pep440-dev +staging/bugfix 1.7.1 ddfd333b6238f3250f9d7ad598031bd0ec8e9734 pep440-dev +bug/.* 1.7.1 ddfd333b6238f3250f9d7ad598031bd0ec8e9734 pep440-dev # staging/maintenance is currently the branch for preparation of 1.7.0rc4 # so is regressionfix/... From a1dee07d76a0b5e4a70afbf024607a0522419aad Mon Sep 17 00:00:00 2001 From: thelastWallE <12502210+thelastWallE@users.noreply.github.com> Date: Tue, 26 Oct 2021 16:37:25 +0200 Subject: [PATCH 03/24] =?UTF-8?q?=F0=9F=90=9BLogin:=20Refocus=20on=20usern?= =?UTF-8?q?ame=20after=20failed=20login=20(#4249)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #4242 Co-authored-by: Gina Häußge --- AUTHORS.md | 1 + src/octoprint/static/js/login/login.js | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS.md b/AUTHORS.md index 8c6e18395..bf9ba451f 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -152,6 +152,7 @@ date of first contribution): * [Adam DeMuri](https://github.com/ademuri) * [Daniel Shenkle](https://github.com/DShenkle) * [Bryan Kenote](https://github.com/bryankenote) + * [Sven Samoray](https://github.com/thelastWallE) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/static/js/login/login.js b/src/octoprint/static/js/login/login.js index b79f8f89a..afc60e873 100644 --- a/src/octoprint/static/js/login/login.js +++ b/src/octoprint/static/js/login/login.js @@ -39,6 +39,7 @@ $(function () { .fail(function () { usernameElement.val(""); passwordElement.val(""); + usernameElement.focus(); overlayElement.removeClass("in"); errorElement.addClass("in"); From 14c2d49d12c413def37d02efdc755d48ff34c69d Mon Sep 17 00:00:00 2001 From: Quinn Damerell Date: Tue, 26 Oct 2021 07:39:55 -0700 Subject: [PATCH 04/24] =?UTF-8?q?=F0=9F=90=9B=20Gcode=20Viewer:=20Prevent?= =?UTF-8?q?=20middle=20mouse=20wheel=20from=20scrolling=20the=20entire=20p?= =?UTF-8?q?age=20and=20panning=20the=20canvas=20(#4274)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #4218 --- .../plugins/gcodeviewer/static/js/gcodeviewer.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js b/src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js index fcf717b8a..b2ae6fdfe 100644 --- a/src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js +++ b/src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js @@ -371,6 +371,7 @@ $(function () { self._configureLayerSlider(layerSliderElement); self._configureLayerCommandSlider(commandSliderElement); + self._configureContainerElement(containerElement); self.settings.firstRequest.done(function () { var initResult = GCODE.ui.init({ @@ -475,6 +476,18 @@ $(function () { .on("slide", self.changeCommandRange); }; + self._configureContainerElement = function (containerElement) { + // Prevent the default browser action for the mouse wheel down event. The desired behavor is to have the + // gocde canvas pan on mouse down + drag, which happens. But if we don't prevent the default action, the browser + // will also scroll the entire page. + containerElement.mousedown(function (event) { + // Middle mouse button + if (event.which === 2) { + event.preventDefault(); + } + }); + }; + self.loadFile = function (path, date) { self.enableReload(false); self.needsLoad = false; From 9990e432dd740a215f4f2dd52c5b7e92d9b17e26 Mon Sep 17 00:00:00 2001 From: Quinn Damerell Date: Tue, 26 Oct 2021 08:15:48 -0700 Subject: [PATCH 05/24] =?UTF-8?q?=F0=9F=90=9B=20PMGR:=20Fix=20bug=20in=20d?= =?UTF-8?q?efault=20sort=20of=20plugins=20from=20the=20repo=20(#4273)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to #4031 Co-authored-by: Gina Häußge --- AUTHORS.md | 1 + .../plugins/pluginmanager/static/js/pluginmanager.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index bf9ba451f..47e1237dd 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -153,6 +153,7 @@ date of first contribution): * [Daniel Shenkle](https://github.com/DShenkle) * [Bryan Kenote](https://github.com/bryankenote) * [Sven Samoray](https://github.com/thelastWallE) + * [Quinn Damerell](https://github.com/QuinnDamerell) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js index 4d1276b33..28f515056 100644 --- a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js +++ b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js @@ -50,7 +50,7 @@ $(function () { return !item.enabled; } }, - "popularity", + "name", [], [ ["bundled", "3rdparty"], @@ -138,7 +138,7 @@ $(function () { return !plugin.abandoned; } }, - "title", + "popularity", ["filter_installed", "filter_incompatible"], [], 0 From 0ae536a895d72ac0f0acb0efa2d49e3a0e4b5d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 26 Oct 2021 19:02:50 +0200 Subject: [PATCH 06/24] =?UTF-8?q?=F0=9F=90=9B=20Add=20prefixes=20for=20plu?= =?UTF-8?q?gin=20template=20resolution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Templates provided by plugins are now internally registered under "plugin_/