From 736dca4d075d484052983d05090e7b068921cd34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 6 Jul 2020 22:56:58 +0200 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=92=9A=20Disable=20login=20tests=20fo?= =?UTF-8?q?r=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They aren't stable and currently can't be relied upon. For some reason the page sometimes just doesn't reload in the test browsers. --- tests/cypress/integration/login.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/tests/cypress/integration/login.js b/tests/cypress/integration/login.js index bc0567224..a1c2676f3 100644 --- a/tests/cypress/integration/login.js +++ b/tests/cypress/integration/login.js @@ -2,21 +2,8 @@ describe('Login tests', () => { const username = 'admin'; const password = 'test'; - it('ensure cache hit', () => { - // login - cy.request({ - method: 'POST', - url: '/api/login', - body: { - "user": username, - "pass": password - } - }); + describe.skip('Successful login', () => { - cy.visit('/'); - }); - - context('Successful login', () => { it('logs in', () => { cy.visit('/'); cy.get('#login-user') @@ -90,7 +77,7 @@ describe('Login tests', () => { }) }); - context('Unauthorized', () => { + context('Unauthorized login attempts', () => { it('uses wrong user name', () => { cy.visit('/'); From 42abcd7009e896fd797eac1a228312fd0476d960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 7 Jul 2020 12:01:11 +0200 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=93=9D=20Fix=20docs=20for=20virtual?= =?UTF-8?q?=20printer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/bundledplugins/index.rst | 3 ++- docs/bundledplugins/virtual_printer.rst | 26 +++++++++++++++++++++++++ docs/development/virtual_printer.rst | 8 +++----- 3 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 docs/bundledplugins/virtual_printer.rst diff --git a/docs/bundledplugins/index.rst b/docs/bundledplugins/index.rst index d26c4fa87..2a802a0b8 100644 --- a/docs/bundledplugins/index.rst +++ b/docs/bundledplugins/index.rst @@ -10,6 +10,7 @@ Bundled Plugins action_command_notification.rst action_command_prompt.rst announcements.rst + tracking.rst appkeys.rst backup.rst discovery.rst @@ -22,4 +23,4 @@ Bundled Plugins pluginmanager.rst printer_safety_check.rst softwareupdate.rst - tracking.rst + virtual_printer.rst diff --git a/docs/bundledplugins/virtual_printer.rst b/docs/bundledplugins/virtual_printer.rst new file mode 100644 index 000000000..e4ec0c48e --- /dev/null +++ b/docs/bundledplugins/virtual_printer.rst @@ -0,0 +1,26 @@ +.. _sec-bundledplugins-virtual_printer: + +Virtual Printer +=============== + +The Virtual Printer plugin provides a virtual printer to connect to during development. It is able to simulate various +firmware quirks, communication issues and can be heavily configured through ``config.yaml``. See +:ref:`the development documentation on details and usage `. + +The virtual printer has been included in OctoPrint ever since the first releases back in 2013, however as of +OctoPrint 1.4.1 it has finally been fully extracted into its own bundled plugin. + +.. _sec-bundledplugins-virtual_printer-configuration: + +Configuring the plugin +---------------------- + +Please refer to :ref:`the development documentation `. + +.. _sec-bundledplugins-virtual_printer-sourcecode: + +Source Code +----------- + +The source of the Virtual Printer plugin is bundled with OctoPrint and can be +found in its source repository under ``src/octoprint/plugins/virtual_printer``. diff --git a/docs/development/virtual_printer.rst b/docs/development/virtual_printer.rst index 48f57ede3..27ab8c7d6 100644 --- a/docs/development/virtual_printer.rst +++ b/docs/development/virtual_printer.rst @@ -3,7 +3,7 @@ Setting up the virtual printer for debugging ============================================ -OctoPrint includes, by default, a virtual printer plugin. This plugin allows you to debug OctoPrint's serial +OctoPrint includes, by default, a :ref:`virtual printer plugin `. This plugin allows you to debug OctoPrint's serial communication without connecting to an actual printer. Furthermore, it is possible to create certain edge conditions that may be hard to reproduce with a real printer. @@ -19,9 +19,7 @@ The virtual printer can be enabled through its Settings pane. Virtual printer configuration options ------------------------------------- -The config.yaml file has many configuration options for the virtual printer that allow you to fine-tune its behavior. - -Please see the relevant :ref:`config.yaml section ` for the full details. +There many configuration options via ``config.yaml`` for the virtual printer that allow you to fine-tune its behavior: .. code-block:: yaml @@ -201,7 +199,7 @@ Log file -------- Once activated, the virtual printer will log all serial communication in the ``plugin_virtual_printer_serial.log`` file -that can be found in the OctoPrint settings folder. +that can be found in the OctoPrint logs folder. .. _sec-development-virtual-printer-debug: From a2510cf32aa660e0a99475b200b0083f5a0f1acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 8 Jul 2020 09:47:24 +0200 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=94=96=20Preparing=20release=20of=201?= =?UTF-8?q?.4.1rc2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUPPORTERS.md | 2 +- src/octoprint/plugins/errortracking/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SUPPORTERS.md b/SUPPORTERS.md index 8876adb44..7524818c2 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -66,4 +66,4 @@ thanks to everyone who contributed! * Sven Mueller * Ulrich Kempken -and 1886 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! \ No newline at end of file +and 1892 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! \ No newline at end of file diff --git a/src/octoprint/plugins/errortracking/__init__.py b/src/octoprint/plugins/errortracking/__init__.py index d205c3a78..b8865e53d 100644 --- a/src/octoprint/plugins/errortracking/__init__.py +++ b/src/octoprint/plugins/errortracking/__init__.py @@ -13,8 +13,8 @@ from octoprint.util.version import get_octoprint_version_string, is_released_oct from flask import jsonify from flask_babel import gettext -SENTRY_URL_SERVER = "https://a928e3eb40864ed086f765d6976bf792@o118517.ingest.sentry.io/1373987" -SENTRY_URL_COREUI = "https://26fe846c0ff34995a39bbb67a04b3f42@o118517.ingest.sentry.io/1374096" +SENTRY_URL_SERVER = "https://183f89aa959044fa8ff4e2a55383ed36@o118517.ingest.sentry.io/1373987" +SENTRY_URL_COREUI = "https://fcd757c96a204000828449be1ba53d3b@o118517.ingest.sentry.io/1374096" SETTINGS_DEFAULTS = dict(enabled=False, enabled_unreleased=False, From 650d54d1885409fa1d411eb54b9e8c7ff428910f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 8 Jul 2020 10:02:54 +0200 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=93=8C=20rsa=204.1+=20requires=20pyth?= =?UTF-8?q?on=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I really wish people would adhere to semver... --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 2937c4385..3ed2b4237 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ SETUP_REQUIRES = [ INSTALL_REQUIRES = [ # additional OctoPrint plugins that are maintained on a different release cycle "OctoPrint-FirmwareCheck>=2020.06.22", - "OctoPrint-FileCheck>=2020.06.22", + "OctoPrint-FileCheck>=2020.07.06", # the following dependencies are non trivial to update since later versions introduce backwards incompatible # changes that might affect plugins, or due to other observed problems @@ -33,6 +33,7 @@ INSTALL_REQUIRES = [ "markupsafe>=1.1,<2.0", # Jinja dependency, newer versions require Python 3 "tornado==5.1.1", # newer versions require Python 3 "markdown>=3.1,<3.2", # newer versions require Python 3 + "rsa==4.0", # newer versions require Python 3 "regex!=2018.11.6", # avoid broken 2018.11.6. See #2874 # anything below this should be checked on releases for new versions @@ -51,7 +52,6 @@ INSTALL_REQUIRES = [ "sarge==0.1.5post0", "netifaces>=0.10.9,<1", "pylru>=1.2,<2", - "rsa>=4.0,<5", "pkginfo>=1.5.0.1,<2", "requests>=2.23.0,<3", "semantic_version>=2.8.5,<3", From 87cd6de96c9d02377b723acb95b96ca7a2ddf1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 8 Jul 2020 13:58:20 +0200 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=94=96=20staging/maintenance=20is=20n?= =?UTF-8?q?ow=201.4.1rc3.dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versioneer-lookup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index 0d87a2e5f..9e4211b63 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -24,13 +24,13 @@ maintenance 1.4.1 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev fix/.* 1.4.1 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev improve/.* 1.4.1 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev -# staging/maintenance is currently the branch for preparation of 1.4.0rc7 +# staging/maintenance is currently the branch for preparation of 1.4.1rc3 # so is regressionfix/... -staging/maintenance 1.4.1rc2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev -regressionfix/.* 1.4.1rc2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev +staging/maintenance 1.4.1rc3 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev +regressionfix/.* 1.4.1rc3 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev -# staging/devel is currently inactive (but has the 1.4.1rc2 namespace) -staging/devel 1.4.1rc2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev +# staging/devel is currently inactive (but has the 1.4.1rc3 namespace) +staging/devel 1.4.1rc3 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev # every other branch is a development branch and thus gets resolved to 1.5.0-dev for now .* 1.5.0 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev