diff --git a/.versioneer-lookup b/.versioneer-lookup index ded4d8ec4..42852de9c 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -24,13 +24,13 @@ maintenance 1.4.2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev fix/.* 1.4.2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev improve/.* 1.4.2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 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 2.0.0-dev for now .* 2.0.0 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev 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/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: diff --git a/setup.py b/setup.py index a9239ec7d..9337313e9 100644 --- a/setup.py +++ b/setup.py @@ -17,14 +17,13 @@ PYTHON_REQUIRES = ">=3.6,<4" # Requirements for setup.py SETUP_REQUIRES = [ - "markdown>=3.1,<3.2" # newer versions require Python 3 ] # Requirements for our application 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 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, 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('/');