Merge branch 'maintenance' into devel

# Conflicts:
#	setup.py
This commit is contained in:
Gina Häußge committed 2020-07-08 13:59:57 +02:00
commit 248352ae5c
8 files changed
+42 -31

No files matched your search

+5 -5
View File
@@ -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
+1 -1
View File
@@ -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)!
and 1892 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)!
+2 -1
View File
@@ -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
+26
View File
@@ -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 <sec-development-virtual-printer>`.
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-development-virtual-printer-config>`.
.. _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``.
+3 -5
View File
@@ -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 <sec-bundledplugins-virtual_printer>`. 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 <sec-configuration-config_yaml-devel>` 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:
+1 -2
View File
@@ -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
@@ -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,
+2 -15
View File
@@ -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('/');