Compare commits

...
53 Commits
Author SHA1 Message Date
Gina Häußge 3ab84ed7e4 Merge branch 'master' into staging/maintenance 2020-08-04 10:34:21 +02:00
Gina Häußge 3f7bc1ebb5 🔖 Preparing release of 1.4.1 2020-08-04 10:27:21 +02:00
Gina Häußge 57b8d0b88e 🔖 staging/maintenance is now 1.4.1rc5.dev 2020-07-29 12:20:33 +02:00
Gina Häußge 458ab91f91 🔖 Preparing release of 1.4.1rc4 2020-07-29 10:35:49 +02:00
Gina Häußge ab8ad72bc3 🥅 PMGR: Ensure validity of latest release data
Closes #3661
2020-07-28 19:33:48 +02:00
Gina Häußge e9b6d22932 👷‍️ Trigger for docker builds 2020-07-28 14:15:28 +02:00
Gina Häußge 57b085ff5c 🐛 Remove accidentally committed debug code
See #3653
2020-07-27 16:00:39 +02:00
Gina Häußge 0cfc08748b 🐛 Set closed state even if not yet open
And also ensure we only attempt serial auto detect if we are still in
the correct state for it.

Closes #3653
2020-07-27 15:59:47 +02:00
Gina Häußge 0188745d05 🐛 Fix 500 on /api/files/local
Closes #3655
2020-07-27 12:08:39 +02:00
Gina Häußge 5246e2ccb4 🐛 Fix for some bugs in auto detection
Probably related to #3653
2020-07-27 11:35:07 +02:00
Gina Häußge f1d4cb670a 🐛 Fix held back messages not actually being sent
Probably part of #3653
2020-07-27 11:35:07 +02:00
Gina Häußge 9dd1e95eae 🐛 Fix a potential race condition
If the comm layer starts sending state changes (e.g. to auto detect)
before the constructor returns, self._comm in the printer interface is
still None and thus states can't be decoded.

Probably part of #3653
2020-07-27 11:34:55 +02:00
Gina Häußge 6083943e03 🚸 Improve disconnect response while not operational
We don't want to try to send our beforeDisconnect script if we aren't
properly connected, as that will severely delay Disconnect execution, so
we now limit that to operational states and thus allow a quick(er)
connection abort during auto detection or connection attempt.
2020-07-24 13:55:03 +02:00
Gina Häußge a8ba43308e 🐛 Don't drop state messages due to rate limits
Instead hold them back until the next slot.

Otherwise we might never get the final switch to Offline as after that
there are no current data upgrades anymore.
2020-07-24 13:54:56 +02:00
Gina Häußge 4511d8667b ✅ E2E: Add basic upload test 2020-07-22 14:02:36 +02:00
Gina Häußge af3a63fd9b 🐛 Fix a duplicated id 2020-07-21 17:50:12 +02:00
Gina Häußge 93e54f57e0 🔖 staging/maintenance is now 1.4.1rc4.dev 2020-07-15 14:21:32 +02:00
Gina Häußge a884888caa ⬆️ Ensure current versions of itsdangerous 2020-07-15 12:33:13 +02:00
Gina Häußge c40ae9f181 🐛 Don't show restore wizard on Windows
Restore doesn't work on Windows, so the wizard also shouldn't be shown.
2020-07-15 12:11:18 +02:00
Gina Häußge e33b3b5883 📝 Update dev environment docs 2020-07-15 11:25:31 +02:00
Gina Häußge 1da4c2b7ab 🔖 Preparing release of 1.4.1rc3 2020-07-15 10:49:29 +02:00
Gina Häußge c5baa05b5e 🐛 Fix file list title in case of CSS :after
Compare eyal0/OctoPrint-PrintTimeGenius#202

Closes #3642
2020-07-14 21:26:25 +02:00
Gina Häußge 719c3e3b0b 💚 And now REALLY reenable them 😅 2020-07-14 18:23:15 +02:00
Gina Häußge 123266d0ff 💚 Forgot to re-enable some E2E tests 2020-07-14 17:52:42 +02:00
Gina Häußge aa0ba6881c 💚 Improve E2E tests
Way less flaky now, and sprinkled with some helpers to ensure stuff has
loaded fine before trying to fire off tests 🥳
2020-07-14 17:48:36 +02:00
Gina Häußge b8246d41e3 💚 Improving testability of UI in E2E tests 2020-07-14 17:44:58 +02:00
Gina Häußge 7d037ab1a4 🐛 Fix potential race condition
Static assets where being sent with session cookies. That doesn't make
sense and might actually cause issues if an asset takes *just* long
enough to load to be overtaken by a login request from something like
the loginui.

Found with the E2E tests, which turned out to be less flaky themselves
than thought 🥳
2020-07-14 17:43:01 +02:00
Gina Häußge 01940bbb10 💚 (Hopefully) fix & re-enable E2E tests
We now wait for full app initialization (OctoPrint.coreui.startedUp &
OctoPrint.loginui.startedUp) before trying to test against things.

At least in local test runs that solved the flakiness.
2020-07-13 16:06:28 +02:00
Gina Häußge 6ef5b5001e 💚 Disable E2E for now
They sadly are flaky due to some weird race condition issues inside
cypress. Need to investigate.
2020-07-13 14:27:14 +02:00
Gina Häußge 2a4853bbd4 ✨ New flag devel.webassets.minify_plugins
As suggested in @b-morgan in #3638, to allow plugin authors to detect
minification issues with their code during development.

See also #3640
2020-07-13 14:22:29 +02:00
Gina Häußge 6bac39c193 🥅 Disable minification only for third party plugins
Better solution than 7915e6c04e.

Closes #3640
2020-07-10 18:55:40 +02:00
Gina Häußge 7915e6c04e 🥅 Disable minification again by default
It might cause SyntaxErrors in third party plugins that cannot be
caught by the system and which then nuke ALL other third party plugins.

See Sebclem/OctoPrint-SimpleEmergencyStop#14 and
FormerLurker/Octolapse#567

This change can manually be applied by setting

``` yaml
devel:
  webassets:
    minify: false
```

in config.yaml
2020-07-10 18:32:26 +02:00
Gina Häußge d2a23c3dc7 ♻ Improve timeout handling during auto connect
That should work around issues when the printer takes longer to boot up
and respond properly.

See #3627
2020-07-08 18:19:20 +02:00
Gina Häußge 27191f5202 🐛 Don't trigger error handling on autodetect failure
See #3627
2020-07-08 14:15:09 +02:00
Gina Häußge 87cd6de96c 🔖 staging/maintenance is now 1.4.1rc3.dev 2020-07-08 13:58:20 +02:00
Gina Häußge 650d54d188 📌 rsa 4.1+ requires python 3
I really wish people would adhere to semver...
2020-07-08 10:02:54 +02:00
Gina Häußge a2510cf32a 🔖 Preparing release of 1.4.1rc2 2020-07-08 09:47:24 +02:00
Gina Häußge 42abcd7009 📝 Fix docs for virtual printer 2020-07-07 12:01:11 +02:00
Gina Häußge b150989286 👷‍️ Add workflow_dispatch trigger for install test 2020-07-07 11:35:58 +02:00
Gina Häußge 736dca4d07 💚 Disable login tests for now
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.
2020-07-06 22:56:58 +02:00
Gina Häußge f2ca247731 💚 Fix cypress login test's wobbliness
Hopefully at least...
2020-07-06 22:30:36 +02:00
Gina Häußge fa148a8b7e 🐛 Fix async issue with logging on shutdown
Asynchronous components might be active after on_shutdown, and
AsyncLogHandlerMixin should be able to cope with logs generated by
them.

Closes #3629
2020-07-06 21:56:43 +02:00
Gina Häußge 20a3700a2c 🐛 Fix busy loop
Closes #3633
2020-07-06 21:49:18 +02:00
Gina Häußge f1cc40a87c 🐛 PMGR: Fix single file plugins under Py2.7
filetype dependency requires paths as str, so we need to make sure
we provide what will be identified as a native str type under both
py2 and 3.

Closes #3630
2020-07-06 18:31:30 +02:00
Gina Häußge a19c9366ed 🐛 Fix german translation
Contains some mismatched/broken tags causing severe rendering issues.

Closes #3628
2020-07-06 18:17:28 +02:00
Gina Häußge 46203fd43c 🐛 Fix auto detect with auto port and set baudrate
Closes #3627
2020-07-06 15:34:14 +02:00
Gina Häußge 38f1c74379 👷‍ Enable pypi push for releases 2020-07-06 15:12:08 +02:00
Gina Häußge 113dcd3fc9 🔖 staging/maintenance is now 1.4.1rc2.dev 2020-07-06 14:32:23 +02:00
Gina Häußge 0b471aae9e Merge branch 'rc/maintenance' into staging/maintenance 2020-07-06 14:29:56 +02:00
Gina Häußge 5b795014e2 Merge branch 'master' into staging/maintenance 2020-03-04 13:01:15 +01:00
Gina Häußge 504137d249 Merge branch 'rc/maintenance' into staging/maintenance 2020-03-03 12:37:34 +01:00
Gina Häußge fe7894fb5f Merge branch 'rc/maintenance' into staging/maintenance 2020-03-02 13:46:29 +01:00
Gina Häußge 38e8878ded Merge branch 'rc/maintenance' into staging/maintenance 2020-03-02 13:08:45 +01:00
54 changed files with 4039 additions and 1825 deletions

No files matched your search

+15 -15
View File
@@ -158,18 +158,18 @@ jobs:
password: ${{ secrets.testpypi_password }}
repository_url: https://test.pypi.org/legacy/
#publish-on-pypi:
# name: 📦 Publish tagged releases to PyPI
# if: github.event_name == 'release'
# needs: publish-on-testpypi
# runs-on: ubuntu-latest
# steps:
# - name: ⬇ Download build result
# uses: actions/download-artifact@v1
# with:
# name: dist
# path: dist
# - name: 📦 Publish to index
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.pypi_password }}
publish-on-pypi:
name: 📦 Publish tagged releases to PyPI
if: github.event_name == 'release'
needs: publish-on-testpypi
runs-on: ubuntu-latest
steps:
- name: ⬇ Download build result
uses: actions/download-artifact@v1
with:
name: dist
path: dist
- name: 📦 Publish to index
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}
+4
View File
@@ -1,6 +1,10 @@
name: Test install of branches and latest release twice per day
on:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: '0 */12 * * *'
+18
View File
@@ -0,0 +1,18 @@
name: Trigger docker build
on:
release:
types:
- released
- prereleased
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: 🚀 Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: OctoPrint/docker
event-type: octoprint-release
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "event-name": "${{ github.event_name }}", "event-type": "${{ github.event.action }}"}'
+5 -5
View File
@@ -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.1rc5
# so is regressionfix/...
staging/maintenance 1.4.0rc7 d99af420acb9d5b18a4f60f9cae8abb458e131d4 pep440-dev
regressionfix/.* 1.4.0rc7 d99af420acb9d5b18a4f60f9cae8abb458e131d4 pep440-dev
staging/maintenance 1.4.1rc5 458ab91f915307857941f839a1b743430b8786a4 pep440-dev
regressionfix/.* 1.4.1rc5 458ab91f915307857941f839a1b743430b8786a4 pep440-dev
# staging/devel is currently inactive (but has the 1.4.0rc7 namespace)
staging/devel 1.4.0rc7 d99af420acb9d5b18a4f60f9cae8abb458e131d4 pep440-dev
# staging/devel is currently inactive (but has the 1.4.1rc4 namespace)
staging/devel 1.4.1rc4 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
+2 -2
View File
@@ -12,12 +12,12 @@ thanks to everyone who contributed!
* BigTreeTech
* Boris Hussein
* Brad Jackson
* BuildBee
* Christian Petropolis
* Christian Wolf
* D Brian Kimmel
* DeltaMaker 3D Printers
* Dennis Breining
* Dorian Gray
* Eric Betts
* Ernesto Martinez
* Franziska Kunsmann
@@ -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 1932 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``.
+5 -1
View File
@@ -283,10 +283,14 @@ The following settings are only relevant to you if you want to do OctoPrint deve
# false, no minification will take place regardless of the minify setting below.
bundle: true
# If set to true, OctoPrint will minify its viewmodels (that includes those of plugins). Note: if bundle is
# If set to true, OctoPrint will the core and library javascript assets. Note: if bundle is
# set to false, no minification will take place either.
minify: true
# If set to true, OctoPrint will also minify the third party plugin javascript assets. Note: if bundle or
# minify are set to false, no minification of the plugin assets will take place either.
minify_plugins: false
# Whether to delete generated web assets on server startup (forcing a regeneration)
clean_on_startup: true
+72 -54
View File
@@ -22,9 +22,9 @@ below.
* ``git clone https://github.com/OctoPrint/OctoPrint.git``
* Enter the checked out source folder: ``cd OctoPrint``
* Create virtual environments in the checked out source folder for both Python 2.7 and Python 3.7 to use for
installing and running OctoPrint and its dependencies (this avoids potential versioning issues for the dependencies
with system wide installed instances):
* Create virtual environments in the checked out source folder for both Python 2 and Python 3 to use for
installing and running OctoPrint and its dependencies. Creating virtual environments avoids potential versioning
issues for the dependencies with system wide installed instances:
* PY2: ``virtualenv --python=python2 venv2``
* PY3: ``virtualenv --python=python3 venv3``
@@ -52,46 +52,42 @@ below.
When the virtual environment is activated you can then:
* run the OctoPrint server via ``octoprint serve``
* run the test suite from the checked out source folder via ``nosetests --with-doctest``
* build the documentation from the ``docs`` sub folder of the checked out sources via ``sphinx-build -b html . _build``
* run the test suite from the checked out source folder via ``pytest``
To switch the activated virtual environment, simply activate the new environment as described above.
To deactivate the virtual environment and return to the system's default Python: ``deactivate``.
If you also want to be able to build the documentation that resides in the ``docs`` subfolder, you need to activate
the *Python 3* environment and install the docs dependencies as well:
* ``source venv3/bin/activate`` (Linux, macOS) or ``source venv3/Scripts/activate`` (Git Bash under Windows, see below)
* ``pip install -e .[develop,plugins,docs]``
You can then build the documentation:
* ``sphinx-build -b html . _build``
.. _sec-development-environment-source-linux:
Linux
.....
.. todo::
This guide is not yet adapted to the concurrent use of Python 2.7 and 3.7 environments during development.
This assumes you'll host your OctoPrint development checkout at ``~/devel/OctoPrint``. If you want to use a different
location, please substitute accordingly.
First make sure you have python including its header files, pip, setuptools, virtualenv, git and some build requirements
First make sure you have python 2 and 3 including their header files, pip, setuptools, virtualenv, git and some build requirements
installed:
* On apt based distributions (e.g. Debian, Ubuntu, ...):
.. code-block:: none
sudo apt-get install python python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential
* On zypper based distributions (example below for SLES 12 SP2):
.. code-block:: none
sudo zypper ar https://download.opensuse.org/repositories/devel:/languages:/python/SLE_12_SP2/ python_devel
sudo zypper ref
sudo zypper in python python-pip python-devel python-setuptools python-virtualenv git libyaml-devel
sudo zypper in -t pattern Basis-Devel
sudo apt-get install python python-pip python-dev python-setuptools python-virtualenv python3 python3-virtualenv python3-dev git libyaml-dev build-essential
.. todo::
Using a Linux distribution that doesn't use ``apt`` or ``zypper``? Please send a
Using a Linux distribution that doesn't use ``apt``? Please send a
`Pull Request <https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md#pull-requests>`_ to get the necessary
steps into this guide!
@@ -100,36 +96,42 @@ Then:
.. code-block:: none
cd ~/devel
git clone -b devel https://github.com/OctoPrint/OctoPrint.git
git clone https://github.com/OctoPrint/OctoPrint.git
cd OctoPrint
virtualenv venv
source ./venv/bin/activate
virtualenv --python=python2 venv2
virtualenv --python=python3 venv3
source ./venv2/bin/activate
pip install --upgrade pip
pip install -e .[develop,plugins]
source ./venv3/bin/activate
pip install --upgrade pip
pip install -e .[develop,plugins,docs]
You can then start OctoPrint via ``~/devel/OctoPrint/venv/bin/octoprint`` or just ``octoprint`` if you activated the virtual
environment.
You can then start OctoPrint via ``octoprint`` after activating one of the two virtual environments.
.. _sec-development-environment-windows:
Windows
.......
.. todo::
This guide is not yet adapted to the concurrent use of Python 2.7 and 3.7 environments during development.
This assumes you'll host your OctoPrint development checkout at ``C:\Devel\OctoPrint``. If you want to use a different
location, please substitute accordingly.
First download & install:
* `Python 2.7.15 Windows x86 MSI installer <https://www.python.org/downloads/release/python-2715/>`_
* `Git for Windows <https://git-for-windows.github.io/>`_
* `Latest *stable* Python 2.7 and Python 3.8 releases from python.org <https://www.python.org/downloads/windows/>`_
(at the time of writing those are ``2.7.18`` and ``3.8.4``)
* make sure to have the installer add Python to the ``PATH`` and have it install ``pip`` too
* it's recommended to install Python 2.7 into ``C:\Python27`` and Python 3 into ``C:\Python38`` - if you select
different install locations please substitute accordingly
* `Microsoft Visual C++ Compiler for Python 2.7 <http://www.microsoft.com/en-us/download/details.aspx?id=44266>`_
* `Git for Windows <https://git-for-windows.github.io/>`_
* `Build Tools For Visual Studio 2019 <https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019>`_
* install "C++ build tools" and ensure the latest versions of "MSVCv142 - VS 2019 C++ x64/x86 build tools" and
"Windows 10 SDK" are checked.
Open the Git Bash you just installed and in that:
@@ -139,10 +141,14 @@ Open the Git Bash you just installed and in that:
cd /c/Devel
git clone https://github.com/OctoPrint/OctoPrint.git
cd OctoPrint
virtualenv venv
source ./venv/Scripts/activate
virtualenv --python=C:\Python27\python.exe venv2
virtualenv --python=C:\Python38\python.exe venv3
source ./venv2/Scripts/activate
pip install --upgrade pip
pip install -e .[develop,plugins]
source ./venv3/Scripts/activate
pip install --upgrade pip
pip install -e .[develop,plugins,docs]
.. _sec-development-environment-mac:
@@ -156,7 +162,9 @@ Mac OS X
.. todo::
This guide is not yet adapted to the concurrent use of Python 2.7 and 3.7 environments during development.
This guide is not yet adapted to the concurrent use of Python 2 and 3 environments during development. Please send a
`Pull Request <https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md#pull-requests>`_ to get the necessary
steps into this guide!
This assumes you'll host your OctoPrint development checkout at ``~/devel/OctoPrint``. If you want to use a different
location, please substitute accordingly.
@@ -196,10 +204,6 @@ You'll need a user account with administrator privileges.
IDE Setup
---------
.. todo::
This guide is not yet adapted to the concurrent use of Python 2.7 and 3.7 environments during development.
.. todo::
Using another IDE than the ones below? Please send a
@@ -212,18 +216,23 @@ PyCharm
.......
- "File" > "Open ...", select OctoPrint checkout folder (e.g. ``~/devel/OctoPrint`` or ``C:\Devel\OctoPrint``)
- **(Linux, Windows)** "File" > "Settings ..." > "Project: OctoPrint" > "Project Interpreter" > "Add local ...", select OctoPrint venv
folder (e.g. ``~/devel/OctoPrint/venv`` or ``C:\Devel\OctoPrint\venv``)
- **(macOS)** "PyCharm" > "Preferences ..." > "Project: OctoPrint" > "Project Interpreter" > "Add ..." >
"Virtualenv Environment > "Existing Environment", select OctoPrint venv folder (e.g. ``~/devel/OctoPrint/venv``)
- Register virtual environments:
- **(Linux, Windows)** "File" > "Settings ..." > "Project: OctoPrint" > "Project Interpreter" > "Add local ...",
select OctoPrint ``venv2`` folder (e.g. ``~/devel/OctoPrint/venv2`` or ``C:\Devel\OctoPrint\venv2``).
- **(macOS)** "PyCharm" > "Preferences ..." > "Project: OctoPrint" > "Project Interpreter" > "Add ..." >
"Virtualenv Environment > "Existing Environment", select OctoPrint ``venv2`` folder (e.g. ``~/devel/OctoPrint/venv2``).
Repeat for the ``venv3`` folder.
- Right click "src" in project tree, mark as source folder
- Add Run/Debug Configuration, select "Python":
* Name: OctoPrint server
* Module name: ``octoprint``
* Module parameters: ``serve --debug``
* Parameters: ``serve --debug``
* Project: ``OctoPrint``
* Python interpreter: the ``venv`` local virtual environment
* Python interpreter: Project Default
* Working directory: the OctoPrint checkout folder (e.g. ``~/devel/OctoPrint`` or ``C:\Devel\OctoPrint``)
* If you want build artifacts to be cleaned up on run (recommended): "Before Launch" > "+" > "Run external tool" > "+"
@@ -239,29 +248,38 @@ PyCharm
* Parameters: ``-m pip install -e .[develop,plugins]``
* Working directory: ``$ProjectFileDir$``
Note that sadly that seems to cause some hiccups on current PyCharm versions due to ``$PyInterpreterDirectory$``
being empty sometimes, so if this fails to run on your installation, you should update your dependencies manually
for now.
- Add Run/Debug Configuration, select "Python tests" and therein "pytest":
* Name: OctoPrint pytest
* Name: OctoPrint tests
* Target: Custom
* Project: ``OctoPrint``
* Python interpreter: the ``venv`` local virtual environment
* Python interpreter: Project Default
* Working directory: the OctoPrint checkout folder (e.g. ``~/devel/OctoPrint`` or ``C:\Devel\OctoPrint``)
* Just like with the run configuration for the server you can also have the dependencies auto-update on run of
the tests, see above on how to set this up.
- Add Run/Debug Configuration, select "Python docs" and therein "Sphinx task"
- Add Run/Debug Configuration, select "Python":
* Name: OctoPrint docs
* Command: ``html``
* Input: the ``docs`` folder in the OctoPrint checkout folder (e.g. ``~/devel/OctoPrint/docs`` or
``C:\Devel\OctoPrint\docs``)
* Output: the ``docs/_build`` folder in the OctoPrint checkout folder (e.g. ``~/devel/OctoPrint/docs/_build`` or
``C:\Devel\OctoPrint\docs\_build``)
* Module name: ``sphinx.cmd.build``
* Parameters: ``-v -T -E ./docs ./docs/_build -b html``
* Project: ``OctoPrint``
* Python interpreter: the ``venv`` local virtual environment
* Python interpreter: ``venv3`` environment (the docs build requires Python 3)
* Working directory: the OctoPrint checkout folder (e.g. ``~/devel/OctoPrint`` or ``C:\Devel\OctoPrint``)
* Just like with the run configuration for the server you can also have the dependencies auto-update when building
the documentation, see above on how to set this up.
Note that this requires you to also have installed the additional ``docs`` dependencies into the Python 3 venv as
described above via ``pip install -e .[develop,plugins,docs]``.
To switch between Python 2 and 3, all you need to do now is change the Project Default Interpreter and restart
OctoPrint. On current PyCharm versions you can do that right from a small selection field in the footer of the IDE.
Otherwise go through Settings.
.. note::
Make sure you are running a PyCharm version of 2016.1 or later, or manually fix
+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:
+3 -2
View File
@@ -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
@@ -43,6 +44,7 @@ INSTALL_REQUIRES = [
"Flask-Babel>=1.0,<2",
"Flask-Assets>=2.0,<3",
"werkzeug>=1.0.1,<2",
"itsdangerous>=1.1.0,<2",
"cachelib>=0.1,<1",
"PyYAML>=5.3.1,<6",
"pyserial>=3.4,<4",
@@ -51,7 +53,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",
+7
View File
@@ -16,6 +16,9 @@ class AsyncLogHandlerMixin(logging.Handler):
super(AsyncLogHandlerMixin, self).__init__(*args, **kwargs)
def emit(self, record):
if getattr(self._executor, "_shutdown", False):
return
try:
self._executor.submit(self._emit, record)
except Exception:
@@ -25,6 +28,10 @@ class AsyncLogHandlerMixin(logging.Handler):
# noinspection PyUnresolvedReferences
super(AsyncLogHandlerMixin, self).emit(record)
def close(self):
self._executor.shutdown(wait=True)
super(AsyncLogHandlerMixin, self).close()
class CleaningTimedRotatingFileHandler(logging.handlers.TimedRotatingFileHandler):
+1 -1
View File
@@ -331,7 +331,7 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
##~~ WizardPlugin
def is_wizard_required(self):
return self._settings.global_get(["server", "firstRun"])
return self._settings.global_get(["server", "firstRun"]) and is_os_compatible(["!windows"])
def get_wizard_details(self):
return dict(required=self.is_wizard_required())
@@ -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://9a2cb386ed8640e8a7fa0276f613be69@o118517.ingest.sentry.io/1373987"
SENTRY_URL_COREUI = "https://2350156be0954d299dd07a4cef2650b2@o118517.ingest.sentry.io/1374096"
SETTINGS_DEFAULTS = dict(enabled=False,
enabled_unreleased=False,
@@ -4,6 +4,12 @@
*/
$(function() {
var OctoPrint = window.OctoPrint;
OctoPrint.loginui = {
startedUp: false
}
var overlayElement = $("#login-overlay");
var errorElement = $("#login-error");
var offlineElement = $("#login-offline");
@@ -37,8 +43,6 @@ $(function() {
return false;
});
var OctoPrint = window.OctoPrint;
OctoPrint.options.baseurl = BASE_URL;
OctoPrint.socket.onConnected = function() {
@@ -56,4 +60,5 @@ $(function() {
});
OctoPrint.socket.connect();
OctoPrint.loginui.startedUp = true;
});
@@ -16,18 +16,18 @@
<body>
<div class="container">
<form class="form-signin">
<h2 class="form-signin-heading">{{ _('Please log in') }}</h2>
<h2 class="form-signin-heading" data-test-id="login-title">{{ _('Please log in') }}</h2>
<div id="login-error" class="alert alert-error">{{ _('Incorrect username or password.') }}</div>
<div id="login-error" class="alert alert-error" data-test-id="login-error">{{ _('Incorrect username or password.') }}</div>
<div id="login-offline" class="alert alert-error">{{ _('Server is currently offline.') }} <a id="login-reconnect" href="javascript:void(0)">{{ _('Reconnect...') }}</a></div>
<input type="text" id="login-user" class="input-block-level" placeholder="{{ _('Username')|edq }}" autofocus>
<input type="password" id="login-password" class="input-block-level" placeholder="{{ _('Password')|edq }}">
<input type="text" id="login-user" data-test-id="login-username" class="input-block-level" placeholder="{{ _('Username')|edq }}" autofocus>
<input type="password" id="login-password" data-test-id="login-password" class="input-block-level" placeholder="{{ _('Password')|edq }}">
<span class="pull-right"><small><a href="https://faq.octoprint.org/forgotten-password" id="login-forgotpassword" target="_blank" tabindex="-1">{{ _('Forgot password?') }}</a></small></span>
<label class="checkbox">
<input type="checkbox" id="login-remember"> {{ _('Remember me') }}
<input type="checkbox" id="login-remember" data-test-id="login-remember-me"> {{ _('Remember me') }}
</label>
<button class="btn btn-block btn-large btn-primary" id="login-button" type="submit">{{ _('Log in') }}</button>
<button class="btn btn-block btn-large btn-primary" id="login-button" data-test-id="login-submit" type="submit">{{ _('Log in') }}</button>
</form>
</div>
@@ -14,7 +14,7 @@ from octoprint.settings import valid_boolean_trues
from octoprint.server.util.flask import no_firstrun_access, with_revalidation_checking, check_etag
from octoprint.access import ADMIN_GROUP
from octoprint.access.permissions import Permissions
from octoprint.util import to_bytes, TemporaryDirectory
from octoprint.util import to_bytes, to_native_str, TemporaryDirectory
from octoprint.util.pip import LocalPipCaller
from octoprint.util.version import get_octoprint_version_string, get_octoprint_version, is_octoprint_compatible, is_python_compatible
from octoprint.util.platform import get_os, is_os_compatible
@@ -429,7 +429,7 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin,
if ext in PluginManagerPlugin.ARCHIVE_EXTENSIONS:
return True
kind = filetype.guess(path)
kind = filetype.guess(to_native_str(path))
if kind:
return ".{}".format(kind.extension) in PluginManagerPlugin.ARCHIVE_EXTENSIONS
return False
@@ -268,7 +268,7 @@
<small class="prop" data-bind="visible: $data.stats !== undefined" title="{{ _('Active instances past month')|edq }}"><i class="fa fa-server"></i> <span data-bind="text: $data.stats !== undefined ? formatNumberK($data.stats.instances_month) : 0"></span></small>
<small class="prop" data-bind="visible: $data.github !== undefined && $data.github.stars !== undefined" title="{{ _('Github stars')|edq }}"><i class="fa fa-star"></i> <span data-bind="text: ($data.github !== undefined && $data.github.stars !== undefined) ? formatNumberK($data.github.stars) : 0"></span></small>
<small class="prop" data-bind="visible: $data.github !== undefined && $data.github.last_push !== undefined" title="{{ _('Last push to main branch')|edq }}"><i class="fa fa-refresh"></i> <span data-bind="text: ($data.github !== undefined && $data.github.last_push !== undefined) ? $data.github.last_push.substring(0, 10) : ''"></span></small>
<small class="prop" data-bind="visible: $data.github !== undefined && $data.github.latest_release != undefined" title="{{ _('Latest release & date')|edq }}"><i class="fa fa-tag"></i> <span data-bind="text: $data.github !== undefined && $data.github.latest_release !== undefined ? $data.github.latest_release.tag : ''"></span> (<span data-bind="text: $data.github !== undefined && $data.github.latest_release !== undefined ? $data.github.latest_release.date.substring(0, 10) : ''"></span>)</small>
<small class="prop" data-bind="visible: $data.github !== undefined && $data.github.latest_release != undefined && $data.github.latest_release.tag && $data.github.latest_release.date" title="{{ _('Latest release & date')|edq }}"><i class="fa fa-tag"></i> <span data-bind="text: $data.github !== undefined && $data.github.latest_release !== undefined && $data.github.latest_release.tag ? $data.github.latest_release.tag : ''"></span> (<span data-bind="text: $data.github !== undefined && $data.github.latest_release !== undefined && $data.github.latest_release.date ? $data.github.latest_release.date.substring(0, 10) : ''"></span>)</small>
</div>
</div>
@@ -102,6 +102,7 @@ class TrackingPlugin(octoprint.plugin.SettingsPlugin,
if not self._settings.get_boolean(["enabled"]):
return
self._track_shutdown()
self._executor.shutdown(wait=True)
##~~ EventHandlerPlugin
+4 -1
View File
@@ -267,6 +267,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
logging.getLogger("SERIAL").info("serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log")
self._comm = comm.MachineCom(port, baudrate, callbackObject=self, printerProfileManager=self._printerProfileManager)
self._comm.start()
def disconnect(self, *args, **kwargs):
"""
@@ -1505,7 +1506,9 @@ class StateMonitor(object):
self._last_update = monotonic_time()
self._change_event.clear()
except Exception:
logging.getLogger(__name__).exception("Looks like something crashed inside the state update worker. Please report this on the OctoPrint issue tracker (make sure to include logs!)")
logging.getLogger(__name__).exception("Looks like something crashed inside the state update worker. "
"Please report this on the OctoPrint issue tracker (make sure "
"to include logs!)")
def get_current_data(self):
with self._progress_lock:
+9 -3
View File
@@ -903,6 +903,8 @@ class Server(object):
observer.stop()
observer.join()
eventManager.fire(events.Events.SHUTDOWN)
self._logger.info("Calling on_shutdown on plugins")
octoprint.plugin.call_plugin(octoprint.plugin.ShutdownPlugin,
"on_shutdown",
sorting_context="ShutdownPlugin.on_shutdown")
@@ -1603,7 +1605,11 @@ class Server(object):
filters.append("rjsmin")
filters.append("gzip")
js_filters = js_plugin_filters = filters
js_filters = filters
if self._settings.getBoolean(["devel", "webassets", "minify_plugins"]):
js_plugin_filters = js_filters
else:
js_plugin_filters = [x for x in js_filters if x not in ("rjsmin",)]
def js_bundles_for_plugins(collection, filters=None):
"""Produces JsPluginBundle instances that output IIFE wrapped assets"""
@@ -1643,7 +1649,7 @@ class Server(object):
js_app_bundle = Bundle(js_plugins_bundle, js_core_bundle,
output="webassets/packed_app.js",
filters=",".join(js_filters))
filters=",".join(js_plugin_filters))
js_client_core_bundle = Bundle(*clientjs_core,
output="webassets/packed_client_core.js",
@@ -1658,7 +1664,7 @@ class Server(object):
js_client_bundle = Bundle(js_client_core_bundle, js_client_plugins_bundle,
output="webassets/packed_client.js",
filters=",".join(js_filters))
filters=",".join(js_plugin_filters))
# -- CSS -------------------------------------------------------------------------------------------------------
+6 -1
View File
@@ -63,7 +63,12 @@ def _create_lastmodified(path, recursive):
return max(lms)
else:
storage, path_in_storage = path.split("/", 1)
if "/" in path:
storage, path_in_storage = path.split("/", 1)
else:
storage = path
path_in_storage = None
try:
return fileManager.last_modified(storage, path=path_in_storage, recursive=recursive)
except Exception:
+5 -3
View File
@@ -145,7 +145,8 @@ def getSettings():
"baudrateOptions": connectionOptions["baudrates"],
"autoconnect": s.getBoolean(["serial", "autoconnect"]),
"timeoutConnection": s.getFloat(["serial", "timeout", "connection"]),
"timeoutDetection": s.getFloat(["serial", "timeout", "detection"]),
"timeoutDetectionFirst": s.getFloat(["serial", "timeout", "detectionFirst"]),
"timeoutDetectionConsecutive": s.getFloat(["serial", "timeout", "detectionConsecutive"]),
"timeoutCommunication": s.getFloat(["serial", "timeout", "communication"]),
"timeoutCommunicationBusy": s.getFloat(["serial", "timeout", "communicationBusy"]),
"timeoutTemperature": s.getFloat(["serial", "timeout", "temperature"]),
@@ -442,8 +443,9 @@ def _saveSettings(data):
if "baudrate" in data["serial"]: s.setInt(["serial", "baudrate"], data["serial"]["baudrate"])
if "exclusive" in data["serial"]: s.setBoolean(["serial", "exclusive"], data["serial"]["exclusive"])
if "timeoutConnection" in data["serial"]: s.setFloat(["serial", "timeout", "connection"], data["serial"]["timeoutConnection"], min=1.0)
if "timeoutDetection" in data["serial"]: s.setFloat(["serial", "timeout", "detection"], data["serial"]["timeoutDetection"], min=1.0)
if "timeoutCommunication" in data["serial"]: s.setFloat(["serial", "timeout", "communication"], data["serial"]["timeoutCommunication"], min=1.0)
if "timeoutDetectionFirst" in data["serial"]: s.setFloat(["serial", "timeout", "detectionFirst"], data["serial"]["timeoutDetectionFirst"], min=1.0)
if "timeoutDetectionConsecutive" in data["serial"]: s.setFloat(["serial", "timeout", "detectionConsecutive"], data["serial"]["timeoutDetectionConsecutive"], min=1.0)
if "timeoutCommunication" in data["serial"]: s.setFloat(["serial", "timeout", "communication"], data["serial"]["timeoutCommunicationFirst"], min=1.0)
if "timeoutCommunicationBusy" in data["serial"]: s.setFloat(["serial", "timeout", "communicationBusy"], data["serial"]["timeoutCommunicationBusy"], min=1.0)
if "timeoutTemperature" in data["serial"]: s.setFloat(["serial", "timeout", "temperature"], data["serial"]["timeoutTemperature"], min=1.0)
if "timeoutTemperatureTargetSet" in data["serial"]: s.setFloat(["serial", "timeout", "temperatureTargetSet"], data["serial"]["timeoutTemperatureTargetSet"], min=1.0)
+4
View File
@@ -10,6 +10,7 @@ __copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms
import tornado.web
import flask
import flask.json
import flask.sessions
import flask_login
import octoprint.vendor.flask_principal as flask_principal
import flask_assets
@@ -531,6 +532,9 @@ class OctoPrintFlaskResponse(flask.Response):
class OctoPrintSessionInterface(flask.sessions.SecureCookieSessionInterface):
def should_set_cookie(self, app, session):
return flask.request.endpoint != "static"
def save_session(self, app, session, response):
if flask.g.get("login_via_apikey", False):
return
+21 -9
View File
@@ -117,9 +117,12 @@ class PrinterStateConnection(octoprint.vendor.sockjs.tornado.SockJSConnection,
self._remoteAddress = None
self._user = self._userManager.anonymous_user_factory()
self._throttleFactor = 1
self._lastCurrent = 0
self._baseRateLimit = 0.5
self._throttle_factor = 1
self._last_current = 0
self._base_rate_limit = 0.5
self._held_back_current = None
self._held_back_mutex = threading.RLock()
self._register_hooks = self._pluginManager.get_hooks("octoprint.server.sockjs.register")
self._authed_hooks = self._pluginManager.get_hooks("octoprint.server.sockjs.authed")
@@ -222,18 +225,27 @@ class PrinterStateConnection(octoprint.vendor.sockjs.tornado.SockJSConnection,
except ValueError:
self._logger.warning("Got invalid throttle factor from client {}, ignoring: {!r}".format(self._remoteAddress, message["throttle"]))
else:
self._throttleFactor = throttle
self._logger.debug("Set throttle factor for client {} to {}".format(self._remoteAddress, self._throttleFactor))
self._throttle_factor = throttle
self._logger.debug("Set throttle factor for client {} to {}".format(self._remoteAddress, self._throttle_factor))
def on_printer_send_current_data(self, data):
if not self._user.has_permission(Permissions.STATUS):
return
# make sure we rate limit the updates according to our throttle factor
now = time.time()
if now < self._lastCurrent + self._baseRateLimit * self._throttleFactor:
return
self._lastCurrent = now
with self._held_back_mutex:
if self._held_back_current is not None:
self._held_back_current.cancel()
self._held_back_current = None
now = time.time()
delta = self._last_current + self._base_rate_limit * self._throttle_factor - now
if delta > 0:
self._held_back_current = threading.Timer(delta, lambda: self.on_printer_send_current_data(data))
self._held_back_current.start()
return
self._last_current = now
# add current temperature, log and message backlogs to sent data
with self._temperatureBacklogMutex:
+4 -2
View File
@@ -98,7 +98,8 @@ default_settings = {
"autoconnect": False,
"log": False,
"timeout": {
"detection": 1,
"detectionFirst": 10,
"detectionConsecutive": 2,
"connection": 10,
"communication": 30,
"communicationBusy": 3,
@@ -414,7 +415,8 @@ default_settings = {
"webassets": {
"bundle": True,
"clean_on_startup": True,
"minify": True
"minify": True,
"minify_plugins": False
},
"useFrozenDictForPrinterState": True,
"showLoadingAnimation": True,
+1 -1
View File
@@ -1 +1 @@
.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn.active,.btn.disabled,.btn:active,.btn:focus,.btn:hover,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn.active,.btn:active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:focus,.btn:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class*=" icon-"],.btn-large [class^=icon-]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class*=" icon-"],.btn-small [class^=icon-]{margin-top:0}.btn-mini [class*=" icon-"],.btn-mini [class^=icon-]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary.active,.btn-primary.disabled,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary.active,.btn-primary:active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning.active,.btn-warning.disabled,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning.active,.btn-warning:active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeaLine truncated
.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn.active,.btn.disabled,.btn:active,.btn:focus,.btn:hover,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn.active,.btn:active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:focus,.btn:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class*=" icon-"],.btn-large [class^=icon-]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class*=" icon-"],.btn-small [class^=icon-]{margin-top:0}.btn-mini [class*=" icon-"],.btn-mini [class^=icon-]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary.active,.btn-primary.disabled,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary.active,.btn-primary:active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning.active,.btn-warning.disabled,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning.active,.btn-warning:active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeaLine truncated
+4 -1
View File
@@ -39,7 +39,8 @@ $(function() {
mobile: false,
desktop: false
},
viewmodels: {}
viewmodels: {},
startedUp: false
};
var browserVisibilityCallbacks = [];
@@ -734,6 +735,8 @@ $(function() {
// Use bootstrap tabdrop for tabs and pills
$('.nav-pills, .nav-tabs').tabdrop();
OctoPrint.coreui.startedUp = true;
};
var fetchSettings = function() {
@@ -158,7 +158,8 @@ $(function() {
self.serial_baudrateOptions = ko.observableArray([]);
self.serial_autoconnect = ko.observable(undefined);
self.serial_timeoutConnection = ko.observable(undefined);
self.serial_timeoutDetection = ko.observable(undefined);
self.serial_timeoutDetectionFirst = ko.observable(undefined);
self.serial_timeoutDetectionConsecutive = ko.observable(undefined);
self.serial_timeoutCommunication = ko.observable(undefined);
self.serial_timeoutCommunicationBusy = ko.observable(undefined);
self.serial_timeoutTemperature = ko.observable(undefined);
+1 -1
View File
@@ -728,10 +728,10 @@ ul.dropdown-menu li a {
.title {
text-overflow: ellipsis;
word-break: break-all;
margin-right: 30px;
}
.toggleAdditionalData {
margin-left: 5px;
}
.internal, .uploaded, .size, .additionalInfo {
@@ -173,13 +173,21 @@
</div>
</div>
</div>
<div class="control-group" title="{{ _('Time after which to consider an auto detection attempt to have failed if no successful connection is detected')|edq }}">
<label class="control-label" for="settings-serialTimeoutDetection">{{ _('Autodetection timeout') }}</label>
<div class="control-group" title="{{ _('Time after which to consider the auto detection handshake attempt to have failed if no successful connection is detected')|edq }}">
<label class="control-label" for="settings-serialTimeoutDetectionFirst">{{ _('Autodetection timeout') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="any" min="1" class="input-mini text-right" data-bind="value: serial_timeoutDetection" id="settings-serialTimeoutDetection">
<input type="number" step="any" min="1" class="input-mini text-right" data-bind="value: serial_timeoutDetectionFirst" id="settings-serialTimeoutDetectionFirst">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('First handshake attempt')}}</span>
</div>
<div class="controls">
<div class="input-append">
<input type="number" step="any" min="1" class="input-mini text-right" data-bind="value: serial_timeoutDetectionConsecutive" id="settings-serialTimeoutDetectionConsecutive">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('Consecutive handshake attempts')}}</span>
</div>
</div>
<div class="control-group" title="{{ _('Time after which to consider a position query on pause or cancel to have failed')|edq }}">
+2 -2
View File
@@ -96,7 +96,7 @@
{% if "styles_wrapper" in data %} style="{{ data.styles_wrapper|join(', ') }}" {% elif "styles" in data %} style="{{ data.styles|join(', ') }}" {% endif %}
>
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-target="#{{ data._div }}">
<a class="accordion-toggle" data-toggle="collapse" data-test-id="sidebar-{{ data._div }}-toggle" data-target="#{{ data._div }}">
{% if "icon" in data %}<i class="fa icon-black fa-{{ data.icon }}"></i> {% endif %}{{ entry|e }}
</a>
{% if "template_header" in data %}
@@ -107,7 +107,7 @@
class="accordion-body collapse in {% if "classes_content" in data %}{{ data.classes_content|join(' ') }}{% elif "classes" in data %}{{ data.classes|join(' ') }}{% endif %}"
{% if "styles_content" in data %} style="{{ data.styles_content|join(', ') }}" {% elif "styles" in data %} style="{{ data.styles|join(', ') }}"{% endif %}
>
<div class="accordion-inner">
<div class="accordion-inner" data-test-id="sidebar-{{ data._div }}-content">
{% try "There was an error with the template {filename} at line number {lineno}: {exception}" %}{% include data.template ignore missing %}{% endtry %}
</div>
</div>
+7 -7
View File
@@ -1,21 +1,21 @@
<a href="javascript:void(0)" class="dropdown-toggle">
<i class="fa fa-user"></i> <span data-bind="text: loginState.userMenuText, attr: {title: loginState.userMenuTitle}">{{ _('Login') }}</span>
<a href="javascript:void(0)" data-test-id="login-menu" class="dropdown-toggle">
<i class="fa fa-user"></i> <span data-test-id="login-menu-title" data-bind="text: loginState.userMenuText, attr: {title: loginState.userMenuTitle}">{{ _('Login') }}</span>
<b class="caret"></b>
</a>
<div id="login_dropdown_loggedout" style="padding: 15px" class="dropdown-menu" data-bind="css: {hide: loginState.loggedIn(), 'dropdown-menu': !loginState.loggedIn()}">
<form id="loginForm" data-bind="event: {'submit': loginState.prepareLogin }" onsubmit="return false; // this gets overwritten on view model bind">
<label for="login_user">{{ _('Username') }}</label>
<input type="text" id="login_user" name="username" data-bind="valueWithInit: loginState.loginUser" placeholder="{{ _('Username')|edq }}" autocapitalize="none" autocorrect="off">
<input type="text" id="login_user" data-test-id="login-username" name="username" data-bind="valueWithInit: loginState.loginUser" placeholder="{{ _('Username')|edq }}" autocapitalize="none" autocorrect="off">
<span class="pull-right"><small><a href="https://faq.octoprint.org/forgotten-password" target="_blank" rel="noreferrer noopener" tabindex="-1">{{ _('Forgot password?') }}</a></small></span>
<label for="login_pass">{{ _('Password') }}</label>
<input type="password" id="login_pass" name="password" data-bind="valueWithInit: loginState.loginPass" placeholder="{{ _('Password')|edq }}">
<input type="password" id="login_pass" data-test-id="login-password" name="password" data-bind="valueWithInit: loginState.loginPass" placeholder="{{ _('Password')|edq }}">
<label class="checkbox">
<input type="checkbox" id="login_remember" data-bind="checked: loginState.loginRemember"> {{ _('Remember me') }}
<input type="checkbox" id="login_remember" data-test-id="login-remember-me" data-bind="checked: loginState.loginRemember"> {{ _('Remember me') }}
</label>
<button type="submit" class="btn btn-block btn-primary" id="login_button">{{ _('Login') }}</button>
<button type="submit" class="btn btn-block btn-primary" id="login_button" data-test-id="login-submit">{{ _('Login') }}</button>
</form>
</div>
<ul id="login_dropdown_loggedin" class="hide" data-bind="css: {hide: !loginState.loggedIn(), 'dropdown-menu': loginState.loggedIn()}">
<li><a href="#" id="usersettings_button" data-bind="click: function() { usersettings.show(); }">{{ _('User Settings') }}</a></li>
<li><a href="#" id="logout_button" data-bind="click: loginState.logout">{{ _('Logout') }}</a></li>
<li><a href="#" id="logout_button" data-bind="click: loginState.logout" data-test-id="logout-submit">{{ _('Logout') }}</a></li>
</ul>
@@ -1,13 +1,13 @@
<label for="connection_ports" data-bind="css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()">{{ _('Serial Port') }}</label>
<select id="connection_ports" data-bind="options: portOptions, optionsCaption: 'AUTO', value: selectedPort, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"></select>
<select id="connection_ports" data-test-id="connection-ports" data-bind="options: portOptions, optionsCaption: 'AUTO', value: selectedPort, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"></select>
<label for="connection_baudrates" data-bind="css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()">{{ _('Baudrate') }}</label>
<select id="connection_baudrates" data-bind="options: baudrateOptions, optionsCaption: 'AUTO', value: selectedBaudrate, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"></select>
<select id="connection_baudrates" data-test-id="connection-baudrates" data-bind="options: baudrateOptions, optionsCaption: 'AUTO', value: selectedBaudrate, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"></select>
<label for="connection_printers" data-bind="css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()">{{ _('Printer Profile') }}</label>
<select id="connection_printers" data-bind="options: printerOptions, optionsText: 'name', optionsValue: 'id', value: selectedPrinter, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"></select>
<select id="connection_printers" data-test-id="connection-printer-profiles" data-bind="options: printerOptions, optionsText: 'name', optionsValue: 'id', value: selectedPrinter, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"></select>
<label class="checkbox">
<input type="checkbox" id="connection_save" data-bind="checked: saveSettings, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"> {{ _('Save connection settings') }}
</label>
<label class="checkbox">
<input type="checkbox" id="connection_autoconnect" data-bind="checked: settings.serial_autoconnect, css: {disabled: !isErrorOrClosed()}, enable: isErrorOrClosed()"> {{ _('Auto-connect on server startup') }}
</label>
<button class="btn btn-block" id="printer_connect" data-bind="click: connect, text: buttonText">{{ _('Connect') }}</button>
<button class="btn btn-block" id="printer_connect" data-test-id="connection-connect" data-bind="click: connect, text: buttonText">{{ _('Connect') }}</button>
+4 -4
View File
@@ -4,7 +4,7 @@
<span class="search-clear" data-bind="click: clearSearchQuery"><i class="fa fa-remove"></i></span>
</div>
</form>
<div class="gcode_files" data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.FILES_LIST)">
<div class="gcode_files" data-test-id="files-list" data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.FILES_LIST)">
<div class="entry back clickable" data-bind="visible: currentPath() != '', click: function() { $root.navigateUp(); }" style="display: none">
<div class="back-arrow"><i class="fa fa-arrow-left"></i> {{ _('Back') }}</div>
<div class="back-path"><small class="muted">{{ _('Currently in') }} <span data-bind="text: currentPath"></span></small></div>
@@ -67,18 +67,18 @@
<span class="btn btn-primary fileinput-button span6" style="margin-bottom: 10px">
<i class="fa fa-upload"></i>
<span>{{ _('Upload') }}</span>
<input id="gcode_upload" accept="{{ ",".join(supportedExtensions) }}" type="file" name="file" class="fileinput-button">
<input id="gcode_upload" data-test-id="upload-local" accept="{{ ",".join(supportedExtensions) }}" type="file" name="file" class="fileinput-button">
</span>
<span class="btn btn-primary fileinput-button span6" data-bind="enable: $root.isSdReady() && !$root.isPrinting(), css: {disabled: !$root.isSdReady() || $root.isPrinting()}" style="margin-bottom: 10px">
<i class="fa fa-upload"></i>
<span>{{ _('Upload to SD') }}</span>
<input id="gcode_upload_sd" accept="{{ ",".join(supportedExtensions) }}" type="file" name="file" class="fileinput-button" data-bind="enable: isSdReady()">
<input id="gcode_upload_sd" data-test-id="upload-sd" accept="{{ ",".join(supportedExtensions) }}" type="file" name="file" class="fileinput-button" data-bind="enable: isSdReady()">
</span>
{% else %}
<span class="btn btn-primary fileinput-button span12" style="margin-bottom: 10px">
<i class="icon-upload-alt icon-white"></i>
<span>{{ _('Upload') }}</span>
<input id="gcode_upload" accept="{{ ",".join(supportedExtensions) }}" type="file" name="file" class="fileinput-button">
<input id="gcode_upload" data-test-id="upload-local" accept="{{ ",".join(supportedExtensions) }}" type="file" name="file" class="fileinput-button">
</span>
{% endif %}
</div>
+1 -1
View File
@@ -1,4 +1,4 @@
<span title="{{ _('Current printer state')|edq }}">{{ _('State') }}</span>: <strong data-bind="text: stateString"></strong><br>
<span title="{{ _('Current printer state')|edq }}">{{ _('State') }}</span>: <strong data-test-id="state-string" data-bind="text: stateString"></strong><br>
<hr>
<span title="{{ _('Name of file currently selected for printing')|edq }}">{{ _('File') }}</span>: <strong data-bind="text: filedisplay, attr: {title: filepath}"></strong>&nbsp;<strong data-bind="visible: sd">(SD)</strong><br>
<span title="{{ _('Upload date of the file currently selected or printing')|edq }}">{{ _('Uploaded') }}</span>: <strong data-bind="text: dateString"></strong><br>
+1 -1
View File
@@ -109,7 +109,7 @@
<button class="btn btn-block control-box" data-bind="enable: isOperational() && !isPrinting(), click: function() { $root.sendRetractCommand() }">{{ _('Retract') }}</button>
<!-- Flow rate -->
<div id="control-jog-feedrate" class="jog-panel">
<div id="control-jog-flowrate" class="jog-panel">
<label>{{ _('Flow rate modifier:') }} <a class="text-info" href="javascript:void(0)" data-bind="popover: {placement: 'top', trigger: 'hover', title: '{{ _('Please note!') }}', content: '{{ _('The flow rate can only be set, it cannot be read back from the firmware due to a limitation of the communication protocol. There is no way to show the current setting.') }}'}"><i class="fa fa-info-circle"></i></a></label>
<div class="input-append control-box">
<input type="number" class="input-mini" min="1" step="1" data-bind="value: flowRate, event: { blur: resetFlowRateDisplay, focus: cancelFlowRateDisplayReset }, css: { pulsate_text_opacity: flowRateResetter() !== undefined }">
File diff suppressed because it is too large. Load diff
+71 -31
View File
@@ -648,12 +648,17 @@ class MachineCom(object):
self._monitoring_active = True
self.monitoring_thread = threading.Thread(target=self._monitor, name="comm._monitor")
self.monitoring_thread.daemon = True
self.monitoring_thread.start()
# sending thread
self._send_queue_active = True
self.sending_thread = threading.Thread(target=self._send_loop, name="comm.sending_thread")
self.sending_thread.daemon = True
def start(self):
# doing this here instead of __init__ combats a race condition where
# self._comm in the printer interface is still None on first pushs from
# the comm layer during detection
self.monitoring_thread.start()
self.sending_thread.start()
def __del__(self):
@@ -959,7 +964,7 @@ class MachineCom(object):
self._send_queue_active = False
if self._serial is not None:
if not is_error:
if not is_error and self._state in self.OPERATIONAL_STATES:
self.sendGcodeScript("beforePrinterDisconnected")
if wait:
if timeout is not None:
@@ -990,15 +995,17 @@ class MachineCom(object):
self._logger.exception("Error while trying to close serial port")
is_error = True
# if we are printing, this will also make sure of firing PRINT_FAILED
if is_error:
self._changeState(self.STATE_CLOSED_WITH_ERROR)
else:
self._changeState(self.STATE_CLOSED)
else:
deactivate_monitoring_and_send_queue()
self._serial = None
# if we are printing, this will also make sure of firing PRINT_FAILED
if is_error:
self._changeState(self.STATE_CLOSED_WITH_ERROR)
else:
self._changeState(self.STATE_CLOSED)
if settings().getBoolean(["feature", "sdSupport"]):
self._sdFileList = []
@@ -1672,14 +1679,17 @@ class MachineCom(object):
return
try_hello = not settings().getBoolean(["serial", "waitForStartOnConnect"])
self._changeState(self.STATE_CONNECTING)
self._timeout = self._ok_timeout = self._get_new_communication_timeout()
else:
self._changeState(self.STATE_DETECT_SERIAL)
self._perform_detection_step(init=True)
self._log("Connected to: %s, starting monitor" % self._serial)
if not self._state in (self.STATE_CONNECTING, self.STATE_DETECT_SERIAL):
# we got cancelled during connection, bail
return
#Start monitoring the serial port.
self._timeout = self._ok_timeout = self._get_new_communication_timeout()
# Start monitoring the serial port
self._log("Connected to: %s, starting monitor" % self._serial)
startSeen = False
supportRepetierTargetTemp = settings().getBoolean(["serial", "repetierTargetTemp"])
@@ -1839,7 +1849,8 @@ class MachineCom(object):
and (not self.job_on_hold or self._resendActive)
and not self._long_running_command
and not self._heating and now >= self._ok_timeout)) \
and (not self._blockWhileDwelling or not self._dwelling_until or now > self._dwelling_until):
and (not self._blockWhileDwelling or not self._dwelling_until or now > self._dwelling_until)\
and not self._state in (self.STATE_DETECT_SERIAL,):
# We have two timeout variants:
#
# Variant 1: No line at all received within the communication timeout. This can always happen.
@@ -2218,7 +2229,7 @@ class MachineCom(object):
### Serial detection
if self._state == self.STATE_DETECT_SERIAL:
if line == '' or monotonic_time() > self._timeout:
if line == '' or monotonic_time() > self._ok_timeout:
self._perform_detection_step()
elif 'start' in line or line.startswith('ok'):
self._onConnected()
@@ -2377,7 +2388,6 @@ class MachineCom(object):
self._logger.info("Serial detection: {}".format(message))
if init:
timeout = settings().getFloat(["serial", "timeout", "connection"])
port = self._port
baudrate = self._baudrate
@@ -2396,32 +2406,46 @@ class MachineCom(object):
baudrate_candidates = baudrateList([115200, 250000])
self._detection_candidates = [(p, b) for p in port_candidates for b in baudrate_candidates]
self._detection_retry = self.DETECTION_RETRIES
log("Performing autodetection with {} " \
"port/baudrate candidates: {}".format(len(self._detection_candidates),
", ".join(map(lambda x: "{}@{}".format(x[0], x[1]),
self._detection_candidates))))
else:
timeout = settings().getFloat(["serial", "timeout", "detection"])
def attempt_handshake():
self._detection_retry += 1
timeout = self._get_communication_timeout_interval()
while len(self._detection_candidates) > 0:
if self._detection_retry < self.DETECTION_RETRIES:
log("Handshake attempt #{} with timeout {}s".format(self._detection_retry, timeout))
try:
if self._serial.timeout != timeout:
self._serial.timeout = timeout
self._timeout = monotonic_time() + timeout
log("Handshake attempt #{}".format(self._detection_retry + 1))
self._detection_retry += 1
self._do_send_without_checksum(b"", log=False) # new line to reset things
self._timeout = self._ok_timeout = monotonic_time() + timeout
except Exception:
self._log("Unexpected error while setting timeout {}: {}".format(timeout, get_exception_string()))
self._logger.exception("Unexpected error while setting timeout {}".format(timeout))
else:
self._do_send_without_checksum(b"", log=False) # new line to reset things
self.sayHello(tags={"trigger:detection", })
while len(self._detection_candidates) > 0 or self._detection_retry < self.DETECTION_RETRIES:
if self._state not in (self.STATE_DETECT_SERIAL,):
return
if self._detection_retry < self.DETECTION_RETRIES:
if self._serial is None:
self._detection_retry = self.DETECTION_RETRIES
continue
attempt_handshake()
return
else:
(p, b) = self._detection_candidates.pop(0)
try:
log("Trying port {}, baudrate {}".format(p, b))
if self._serial is None or self._serial.port != p:
if not self._open_serial(p, b, trigger_errors=False):
log("Could not open port {}, baudrate {}, skipping".format(p, b))
@@ -2429,13 +2453,11 @@ class MachineCom(object):
else:
self._serial.baudrate = b
if self._serial.timeout != timeout:
self._serial.timeout = timeout
self._timeout = monotonic_time() + timeout
log("Trying port {}, baudrate {}".format(p, b))
self._detection_retry = 0
attempt_handshake()
return
except Exception:
self._log("Unexpected error while setting baudrate {}: {}".format(b, get_exception_string()))
self._logger.exception("Unexpected error while setting baudrate {}".format(b))
@@ -2652,6 +2674,15 @@ class MachineCom(object):
return interval
def _get_communication_timeout_interval(self):
# special rules during serial detection
if self._state in (self.STATE_DETECT_SERIAL,):
if self._detection_retry == 0:
# first try
return self._timeout_intervals.get("detectionFirst", 10.0)
else:
# consecutive tries
return self._timeout_intervals.get("detectionConsecutive", 2.0)
# communication timeout
if self._busy_protocol_support:
comm_timeout = self._timeout_intervals.get("communicationBusy", 2.0)
@@ -2873,8 +2904,7 @@ class MachineCom(object):
eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": reason})
if close:
if self._send_m112_on_error and not self.isSdPrinting() and reason not in ("connection",
"autodetect_baudrate",
"autodetect_port"):
"autodetect"):
self._trigger_emergency_stop(close=False)
self.close(is_error=True)
@@ -5023,7 +5053,7 @@ class BufferedReadlineWrapper(wrapt.ObjectProxy):
timeout = serial.Timeout(self._timeout)
while not timeout.expired():
self._buffered += self.read(min(self.in_waiting, 1))
self._buffered += self.read(self.in_waiting)
# check for terminator, if it's there we have found our line
termpos = self._buffered.find(terminator)
@@ -5033,6 +5063,16 @@ class BufferedReadlineWrapper(wrapt.ObjectProxy):
del self._buffered[:termpos + termlen]
return bytes(line)
if timeout.expired():
break
c = self.read(1)
if not c:
# EOF
break
self._buffered += c
return b""
+3
View File
@@ -0,0 +1,3 @@
M117 I'm just a test upload during E2E
G28 X0 Y0
M117 That is all folks!
+18 -29
View File
@@ -1,60 +1,49 @@
describe('Connection test against virtual printer', () => {
import { prepare_server, login, disconnect, await_coreui } from "../util/util"
context('Connection test against virtual printer', () => {
const username = 'admin';
const password = 'test';
beforeEach(() => {
prepare_server();
// login
cy.request({
method: 'POST',
url: '/api/login',
body: {
"user": username,
"pass": password
}
});
login(username, password);
// ensure we are disconnected
cy.request({
method: 'POST',
url: '/api/connection',
body: {
"command": "disconnect"
}
});
disconnect();
cy.visit('/');
cy.get('#navbar', {timeout: 10000})
.should('be.visible');
await_coreui();
});
it('connect & disconnect', () => {
cy.get('#state .accordion-inner strong:first')
cy.get('[data-test-id=state-string]', {timeout: 10000})
.should('contain', 'Offline');
cy.get('#connection_printers')
cy.get('[data-test-id=connection-printer-profiles]')
.should('have.length.greaterThan', 0);
cy.get('#connection_ports')
cy.get('[data-test-id=connection-ports]')
.select('VIRTUAL');
cy.get('#connection_baudrates')
cy.get('[data-test-id=connection-baudrates]')
.select('AUTO');
cy.get('#printer_connect')
cy.get('[data-test-id=connection-connect]')
.should('contain', 'Connect')
.click();
cy.get('#connection .accordion-inner')
cy.get('[data-test-id=sidebar-connection-content]', {timeout: 10000})
.should('not.be.visible');
cy.get('#state .accordion-inner strong:first')
cy.get('[data-test-id=state-string]')
.should('contain', 'Operational');
cy.get('#connection_wrapper a.accordion-toggle')
cy.get('[data-test-id=sidebar-connection-toggle]')
.click();
cy.get('#printer_connect')
cy.get('[data-test-id=connection-connect]')
.should('be.visible')
.should('contain', 'Disconnect')
.click();
cy.get('#state .accordion-inner strong:first')
cy.get('[data-test-id=state-string]')
.should('contain', 'Offline');
});
});
+67 -53
View File
@@ -1,45 +1,58 @@
describe('Login tests', () => {
import { prepare_server, await_coreui, await_loginui, login } from "../util/util"
context('Login tests', () => {
const username = 'admin';
const password = 'test';
beforeEach(() => {
prepare_server();
});
context('Successful login', () => {
beforeEach(() => {
cy.visit('/?l10n=en');
await_loginui();
});
it('logs in', () => {
cy.visit('/');
cy.get('#login-user')
cy.get('[data-test-id=login-username]')
.type(username);
cy.get('#login-password')
cy.get('[data-test-id=login-password]')
.type(password);
cy.get('#login-button')
.click();
cy.get('[data-test-id=login-submit]')
.click({ force: true });
cy.wait("@login");
cy.get('#navbar', {timeout: 10000})
.should('be.visible');
cy.get('#navbar_login a.dropdown-toggle span')
await_coreui();
cy.get('[data-test-id=login-menu-title]')
.should('contain', username);
cy.getCookie('session_P5000')
.should('exist');
cy.getCookie('remember_token_P5000')
.should('not.exist');
cy.url()
.should('contain', '#temp');
cy.location()
.should((loc) => {
expect(loc.hash).to.eq("#temp");
});
});
it('logs in with remember me', () => {
cy.visit('/');
cy.get('#login-user')
cy.get('[data-test-id=login-username]')
.type(username);
cy.get('#login-password')
cy.get('[data-test-id=login-password]')
.type(password);
cy.get('#login-remember')
.click();
cy.get('#login-button')
cy.get('[data-test-id=login-remember-me]')
.click();
cy.get('#navbar', {timeout: 10000})
.should('be.visible');
cy.get('#navbar_login a.dropdown-toggle span')
cy.get('[data-test-id=login-submit]')
.click({ force: true });
cy.wait("@login");
await_coreui();
cy.get('[data-test-id=login-menu-title]')
.should('contain', username);
cy.getCookie('session_P5000')
.should('exist');
@@ -48,62 +61,63 @@ describe('Login tests', () => {
expect($cookie).to.have.property('value');
expect($cookie.value).to.match(new RegExp('^' + username + '\|'));
});
cy.url()
.should('contain', '#temp');
cy.location()
.should((loc) => {
expect(loc.hash).to.eq("#temp");
});
});
});
it('logs in and logs out again', () => {
cy.visit('/');
cy.get('#login-user')
.type(username);
cy.get('#login-password')
.type(password);
context('Successful logout', () => {
it('logs out', () => {
Cypress.currentTest.retries(3);
cy.get('#login-button')
// login
login(username, password);
cy.visit('/?l10n=en');
await_coreui();
cy.get('[data-test-id=login-menu]')
.click();
cy.get('#navbar', {timeout: 10000})
.should('be.visible');
cy.get('#navbar_login a.dropdown-toggle')
.click();
cy.get('#logout_button')
cy.get('[data-test-id=logout-submit]')
.click();
cy.wait("@logout");
cy.get('h2.form-signin-heading')
.should('be.visible')
.should('contain', 'Please log in');
await_loginui();
})
});
context('Unauthorized', () => {
it('uses wrong user name', () => {
cy.visit('/');
context('Unauthorized login attempts', () => {
beforeEach(() => {
cy.visit('/?l10n=en');
await_loginui();
})
cy.get('#login-user')
it('uses wrong user name', () => {
cy.get('[data-test-id=login-username]')
.type('idonotexist');
cy.get('#login-password')
cy.get('[data-test-id=login-password]')
.type('test');
cy.get('#login-button')
cy.get('[data-test-id=login-submit]')
.click();
});
it('uses wrong password', () => {
cy.visit('/');
cy.get('#login-user')
cy.get('[data-test-id=login-username]')
.type('admin');
cy.get('#login-password')
cy.get('[data-test-id=login-password]')
.type('wrongpassword');
cy.get('#login-button')
cy.get('[data-test-id=login-submit]')
.click();
});
afterEach(() => {
cy.get('h2.form-signin-heading')
cy.get('[data-test-id=login-title]')
.should('be.visible')
.should('contain', 'Please log in');
cy.get('#login-error')
cy.get('[data-test-id=login-error]')
.should('be.visible')
.should('contain', 'Incorrect username or password');
});
+29
View File
@@ -0,0 +1,29 @@
import { prepare_server, login, await_coreui } from "../util/util"
context("Error free page load", () => {
let spy;
Cypress.on('uncaught:exception', (err, runnable) => {
console.error(err);
return false;
});
Cypress.on("window:before:load", (win) => {
spy = cy.spy(win.console, "error");
});
const username = 'admin';
const password = 'test';
beforeEach(() => {
prepare_server();
login(username, password);
cy.visit('/');
await_coreui();
});
it("loads without error", () => {
expect(spy).not.to.be.called;
});
})
+24
View File
@@ -0,0 +1,24 @@
import { prepare_server, login, await_coreui } from "../util/util"
context('Upload tests', () => {
const username = 'admin';
const password = 'test';
beforeEach(() => {
prepare_server();
// login
login(username, password);
cy.visit('/');
await_coreui();
});
it("uploads file to local via button", () => {
cy.get('[data-test-id=upload-local]')
.attachFile("e2e-test.gcode");
cy.wait("@files");
cy.get('[data-test-id=files-list]')
.contains("e2e-test.gcode");
});
});
+116
View File
@@ -88,6 +88,11 @@
"any-observable": "0.3.0"
}
},
"@types/color-name": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
"integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ=="
},
"@types/sinonjs__fake-timers": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.1.tgz",
@@ -418,6 +423,107 @@
"yauzl": "2.10.0"
}
},
"cypress-commands": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/cypress-commands/-/cypress-commands-1.1.0.tgz",
"integrity": "sha512-Q8Jr25pHJQFXwln6Hp8O+Hgs8Z506Y2wA9F1Te2cTajjc5L9gtt9WPOcw1Ogh+OgyqaMHF+uq31vdfImRTio5Q=="
},
"cypress-file-upload": {
"version": "4.0.7",
"resolved": "https://registry.npmjs.org/cypress-file-upload/-/cypress-file-upload-4.0.7.tgz",
"integrity": "sha512-rFFmnoZ2bWyWFpSV09AhkSUgYEiVy70pcQ6nf/mGTMTrVHvKCCCIfRu3TbgVYHbgBq+0hqjfjQrtz4IbgH7qZA==",
"requires": {
"mime": "2.4.6"
}
},
"cypress-plugin-retries": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/cypress-plugin-retries/-/cypress-plugin-retries-1.5.2.tgz",
"integrity": "sha512-o1xVIGtv4WvNVxoVJ2X08eAuvditPHrePRzHqhwwHbMKu3C2rtxCdanRCZdO5fjh8ww+q4v4V0e9GmysbOvu3A==",
"requires": {
"chalk": "3.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
"integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
"requires": {
"@types/color-name": "1.1.1",
"color-convert": "2.0.1"
}
},
"chalk": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
"requires": {
"ansi-styles": "4.2.1",
"supports-color": "7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"requires": {
"color-name": "1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
}
}
},
"cypress-terminal-report": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/cypress-terminal-report/-/cypress-terminal-report-1.4.1.tgz",
"integrity": "sha512-Oyx7VQCSh4Nh1q0ROo9Wq6KrxxbP8adhUQRxVpNlXeyyfLj2X8AXxqbIh6Ct3V8oENKh5iHHhuOfRfQ1tmE4Tw==",
"requires": {
"chalk": "3.0.0",
"methods": "1.1.2"
},
"dependencies": {
"ansi-styles": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
"integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
"requires": {
"@types/color-name": "1.1.1",
"color-convert": "2.0.1"
}
},
"chalk": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
"requires": {
"ansi-styles": "4.2.1",
"supports-color": "7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"requires": {
"color-name": "1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
}
}
},
"cypress-wait-until": {
"version": "1.7.1",
"resolved": "https://registry.npmjs.org/cypress-wait-until/-/cypress-wait-until-1.7.1.tgz",
"integrity": "sha512-8DL5IsBTbAxBjfYgCzdbohPq/bY+IKc63fxtso1C8RWhLnQkZbVESyaclNr76jyxfId6uyzX8+Xnt0ZwaXNtkA=="
},
"dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
@@ -980,6 +1086,16 @@
}
}
},
"methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
},
"mime": {
"version": "2.4.6",
"resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",
"integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA=="
},
"mime-db": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
+6 -1
View File
@@ -17,6 +17,11 @@
},
"homepage": "https://octoprint.org",
"dependencies": {
"cypress": "^4.9.0"
"cypress": "^4.9.0",
"cypress-commands": "^1.1.0",
"cypress-file-upload": "^4.0.7",
"cypress-plugin-retries": "^1.5.2",
"cypress-terminal-report": "^1.4.1",
"cypress-wait-until": "^1.7.1"
}
}
+2
View File
@@ -18,4 +18,6 @@
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
require("cypress-terminal-report/src/installLogsPrinter")(on);
require("cypress-plugin-retries/lib/plugin")(on);
}
+2 -25
View File
@@ -1,25 +1,2 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add("login", (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
import 'cypress-wait-until';
import 'cypress-file-upload';
+4
View File
@@ -18,3 +18,7 @@ import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
require('cypress-terminal-report/src/installLogsCollector')();
require('cypress-commands');
require('cypress-plugin-retries');
+67
View File
@@ -0,0 +1,67 @@
export const prepare_server = () => {
cy.server();
cy.route("POST", "/api/login").as("login");
cy.route("POST", "/api/logout").as("logout");
cy.route("GET", "/api/settings").as("settings");
cy.route("GET", "/api/files?recursive=true").as("files")
cy.route("GET", "/plugin/softwareupdate/check").as("softwareupdate");
cy.route("GET", "/api/plugin/pluginmanager").as("pluginmanager");
}
export const await_loginui = () => {
cy.get('[data-test-id=login-title]')
.should('be.visible')
.should('contain', 'Please log in');
cy.window()
.its('OctoPrint.loginui.startedUp', { timeout: 30000 })
.should('be.true');
}
export const await_coreui = () => {
cy.wait(["@login", "@settings", "@files", "@softwareupdate", "@pluginmanager"]);
cy.window()
.its('OctoPrint.coreui.startedUp', { timeout: 30000 })
.should('be.true');
}
export const login = (username, password) => {
cy.request({
method: 'POST',
url: '/api/login',
body: {
"user": username,
"pass": password
}
});
}
export const logout = () => {
cy.request({
method: 'POST',
url: '/api/logout'
});
}
export const connect = (port, baudrate) => {
port = port || "AUTO";
baudrate = baudrate || 0;
cy.request({
method: 'POST',
url: '/api/connection',
body: {
"command": "connect",
"port": port,
"baudrate": baudrate
}
});
}
export const disconnect = () => {
cy.request({
method: 'POST',
url: '/api/connection',
body: {
"command": "disconnect"
}
});
}
Binary file not shown.
+170 -151
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2020-07-06 09:41+0200\n"
"PO-Revision-Date: 2020-06-26 13:57+0200\n"
"POT-Creation-Date: 2020-08-04 10:26+0200\n"
"PO-Revision-Date: 2020-07-14 21:42+0200\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German "
@@ -247,16 +247,16 @@ msgstr ""
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:365
msgid "Always"
msgstr "Immer"
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:14
#: src/octoprint/templates/dialogs/settings/features.jinja2:70
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:306
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:314
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:368
msgid "Never"
msgstr "Nie"
@@ -265,9 +265,9 @@ msgstr "Nie"
#: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:16
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:327
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:105
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:195
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:312
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:399
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:203
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:320
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:407
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:10
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:25
#: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5
@@ -1519,7 +1519,7 @@ msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:310
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:336
#: src/octoprint/static/js/app/viewmodels/loginstate.js:110
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
msgid "Ignore"
msgstr "Ignorieren"
@@ -1624,7 +1624,7 @@ msgstr "GCode Viewer"
msgid ""
"Without this plugin the GCode Viewer in OctoPrint will no longer be "
"available."
msgstr ""
msgstr "Ohne dieses Plugin ist der GCode Viewer in OctoPrint nicht verfügbar"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:18
msgid "Loading..."
@@ -1695,14 +1695,12 @@ msgid "Estimated print time"
msgstr "Geschätzte Dauer"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:2
#, fuzzy
msgid "Maximum size for which the GCode Viewer autoloads the file for preview"
msgstr ""
"Maximale Größe für die der GCODE Viewer automatisch das Preview der Datei"
" lädt"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:3
#, fuzzy
msgid "GCode Viewer file size threshold"
msgstr "Grenze für GCODE Viewer Dateigröße"
@@ -1840,10 +1838,10 @@ msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:117
#: src/octoprint/templates/dialogs/settings/folders.jinja2:67
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:471
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:480
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:495
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
msgid "Warning"
@@ -3363,9 +3361,9 @@ msgid ""
"href=\"https://docs.octoprint.org/en/master/bundledplugins/softwareupdate.html\""
" target=\"_blank\">Documentation</a>.\n"
msgstr ""
"Bitte konfiguriere das <strong>Checkoutverzeichnis</code> von OctoPrint, "
"andernfalls kann dieses Plugin es nicht updaten. Klick dafür auf den <i "
"class=\"fa fa-wrench\"></i> Button. Siehe auch die <a "
"Bitte konfiguriere das <strong>Checkoutverzeichnis</strong> von "
"OctoPrint, andernfalls kann dieses Plugin es nicht updaten. Klick dafür "
"auf den <i class=\"fa fa-wrench\"></i> Button. Siehe auch die <a "
"href=\"https://docs.octoprint.org/en/master/bundledplugins/softwareupdate.html\""
" target=\"_blank\">Dokumentation</a>.\n"
@@ -3391,7 +3389,7 @@ msgid ""
msgstr ""
"\n"
" <p> <strong>Du nutzt eine unveröffentlichte Version von OctoPrint, "
"trackst aber OctoPrint Releases.</strong </p> <p> Du willst "
"trackst aber OctoPrint Releases.</strong> </p> <p> Du willst "
"vermutlich, dass OctoPrint stattdessen die entsprechende "
"Entwicklungsversion trackt. Falls Du dein lokales OctoPrint-"
"Checkoutverzeichnis auf einen anderen Branch gewechselt hast, dann "
@@ -3723,8 +3721,8 @@ msgstr "Getrackter Branch"
msgid "OctoPrint version tracking"
msgstr "OctoPrint Versionstracking"
#: src/octoprint/plugins/tracking/__init__.py:151
#: src/octoprint/plugins/tracking/__init__.py:152
#: src/octoprint/plugins/tracking/__init__.py:153
#: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:1
msgid "Anonymous Usage Tracking"
msgstr "Anonymous Usage Tracking"
@@ -4357,77 +4355,77 @@ msgstr "Bist Du sicher?"
msgid "Progress"
msgstr "Fortschritt"
#: src/octoprint/static/js/app/main.js:205
#: src/octoprint/static/js/app/main.js:206
msgid "Offline"
msgstr "Offline"
#: src/octoprint/static/js/app/main.js:206
#: src/octoprint/static/js/app/main.js:207
msgid "Opening serial connection"
msgstr "Öffne serielle Verbindung"
#: src/octoprint/static/js/app/main.js:207
#: src/octoprint/static/js/app/main.js:208
msgid "Detecting serial connection"
msgstr "Detektiere serielle Verbindung"
#: src/octoprint/static/js/app/main.js:208
#: src/octoprint/static/js/app/main.js:209
msgid "Connecting"
msgstr "Verbinde"
#: src/octoprint/static/js/app/main.js:209
#: src/octoprint/static/js/app/main.js:210
msgid "Operational"
msgstr "Bereit"
#: src/octoprint/static/js/app/main.js:210
#: src/octoprint/static/js/app/main.js:211
msgid "Starting"
msgstr "Starte"
#: src/octoprint/static/js/app/main.js:211
#: src/octoprint/static/js/app/main.js:212
msgid "Starting print from SD"
msgstr "Starte Druck von SD"
#: src/octoprint/static/js/app/main.js:212
#: src/octoprint/static/js/app/main.js:213
msgid "Printing from SD"
msgstr "Drucke von SD"
#: src/octoprint/static/js/app/main.js:213
#: src/octoprint/static/js/app/main.js:214
msgid "Sending file to SD"
msgstr "Sende Datei zu SD"
#: src/octoprint/static/js/app/main.js:214
#: src/octoprint/static/js/app/main.js:215
msgid "Printing"
msgstr "Drucke"
#: src/octoprint/static/js/app/main.js:215
#: src/octoprint/static/js/app/main.js:216
msgid "Paused"
msgstr "Pausiert"
#: src/octoprint/static/js/app/main.js:216
#: src/octoprint/static/js/app/main.js:217
msgid "Closed"
msgstr "Geschlossen"
#: src/octoprint/static/js/app/main.js:217
#: src/octoprint/static/js/app/main.js:218
msgid "Transferring file to SD"
msgstr "Sende Datei zu SD"
#: src/octoprint/static/js/app/main.js:218
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:460
#: src/octoprint/static/js/app/main.js:219
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:468
msgid "Pausing"
msgstr "Pausiere"
#: src/octoprint/static/js/app/main.js:219
#: src/octoprint/static/js/app/main.js:220
msgid "Resuming"
msgstr "Setze fort"
#: src/octoprint/static/js/app/main.js:220
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:469
#: src/octoprint/static/js/app/main.js:221
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:477
msgid "Cancelling"
msgstr "Breche ab"
#: src/octoprint/static/js/app/main.js:221
#: src/octoprint/static/js/app/main.js:222
msgid "Finishing"
msgstr "Beende"
#: src/octoprint/static/js/app/main.js:833
#: src/octoprint/static/js/app/main.js:836
msgid "Loading OctoPrint's UI, please wait..."
msgstr "Lade OctoPrints Userinterface, bitte warten..."
@@ -4977,23 +4975,23 @@ msgstr "Weiß"
msgid "Autodetect from browser"
msgstr "Automatisch vom Browser erkennen"
#: src/octoprint/static/js/app/viewmodels/settings.js:348
#: src/octoprint/static/js/app/viewmodels/settings.js:349
msgid "If you see your webcam stream below, the entered stream URL is ok."
msgstr "Falls du unten den Webcamstream sehen kannst, ist die Stream-URL ok."
#: src/octoprint/static/js/app/viewmodels/settings.js:356
#: src/octoprint/static/js/app/viewmodels/settings.js:357
msgid "Stream test"
msgstr "Stream Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:374
#: src/octoprint/static/js/app/viewmodels/settings.js:375
msgid "Could not retrieve snapshot URL, please double check the URL"
msgstr "Konnte die Snapshot-URL nicht abgreifen, bitte prüfen"
#: src/octoprint/static/js/app/viewmodels/settings.js:375
#: src/octoprint/static/js/app/viewmodels/settings.js:376
msgid "Snapshot test failed"
msgstr "Snapshot Test fehlgeschlagen"
#: src/octoprint/static/js/app/viewmodels/settings.js:390
#: src/octoprint/static/js/app/viewmodels/settings.js:391
#, python-format
msgid ""
"Could retrieve the snapshot URL, but it didn't look like an image. Got "
@@ -5005,66 +5003,66 @@ msgstr ""
"aus: <code>%(content_type)s</code>. Bitte überprüfe, dass die URL "
"einzelne Bilder zurückliefert, nicht multipart Daten oder Videos."
#: src/octoprint/static/js/app/viewmodels/settings.js:415
#: src/octoprint/static/js/app/viewmodels/settings.js:416
msgid ""
"If you see your webcam snapshot picture below, the entered snapshot URL "
"is ok."
msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok."
#: src/octoprint/static/js/app/viewmodels/settings.js:417
#: src/octoprint/static/js/app/viewmodels/settings.js:418
msgid "Snapshot test"
msgstr "Snapshot Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:450
#: src/octoprint/static/js/app/viewmodels/settings.js:451
msgid "The path doesn't exist"
msgstr "Der Pfad existiert nicht"
#: src/octoprint/static/js/app/viewmodels/settings.js:452
#: src/octoprint/static/js/app/viewmodels/settings.js:453
msgid "The path is not a file"
msgstr "Der Pfad ist keine Datei"
#: src/octoprint/static/js/app/viewmodels/settings.js:454
#: src/octoprint/static/js/app/viewmodels/settings.js:455
msgid "The path is not an executable"
msgstr "Der Pfad ist nicht ausführbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:457
#: src/octoprint/static/js/app/viewmodels/settings.js:538
#: src/octoprint/static/js/app/viewmodels/settings.js:458
#: src/octoprint/static/js/app/viewmodels/settings.js:539
msgid "The path is valid"
msgstr "Der Pfad ist valide"
#: src/octoprint/static/js/app/viewmodels/settings.js:477
#: src/octoprint/static/js/app/viewmodels/settings.js:478
msgid "The server is not reachable"
msgstr "Der Server ist nicht erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:479
#: src/octoprint/static/js/app/viewmodels/settings.js:480
msgid "The server is reachable"
msgstr "Der Server ist erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:498
#: src/octoprint/static/js/app/viewmodels/settings.js:499
msgid "Name cannot be resolved"
msgstr "Name kann nicht aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:500
#: src/octoprint/static/js/app/viewmodels/settings.js:501
msgid "Name can be resolved"
msgstr "Name kann aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:529
#: src/octoprint/static/js/app/viewmodels/settings.js:530
msgid "The path is a broken symlink."
msgstr "Der Pfad ist ein kaputter Symlink"
#: src/octoprint/static/js/app/viewmodels/settings.js:531
#: src/octoprint/static/js/app/viewmodels/settings.js:532
msgid "The path does not exist and cannot be created."
msgstr "Der Pfad existiert nicht und kann nicht erstellt werden."
#: src/octoprint/static/js/app/viewmodels/settings.js:533
#: src/octoprint/static/js/app/viewmodels/settings.js:534
msgid "The path is not a folder."
msgstr "Der Pfad ist kein Verzeichnis"
#: src/octoprint/static/js/app/viewmodels/settings.js:535
#: src/octoprint/static/js/app/viewmodels/settings.js:536
msgid "The path is not writable."
msgstr "Der Pfad ist nicht beschreibbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:660
#: src/octoprint/static/js/app/viewmodels/settings.js:661
#: src/octoprint/static/js/app/viewmodels/usersettings.js:101
msgid ""
"This will generate a new API Key. The old API Key will cease to function "
@@ -6147,8 +6145,8 @@ msgid ""
"appear in OctoPrint. If the operating system doesn't see your printer you"
" need to solve this first."
msgstr ""
"Nutze diese Einstellung um zusätzliche <a href=\\\"%%(glob_url)s\\\">glob"
" patterns</a> zu konfigurieren, die auf serielle Ports deines Druckers "
"Nutze diese Einstellung um zusätzliche <a href=\"%%(glob_url)s\">glob "
"patterns</a> zu konfigurieren, die auf serielle Ports deines Druckers "
"matchen, z.B. <code>/dev/ttyAMA*</code>. Ein Eintrag pro Zeile. Bitte "
"beachte, dass nur solche Ports zur Auswahl angeboten werden können, die "
"auf vom darunter liegenden <em>Betriebssystem</em> erkannte werden. Einen"
@@ -6357,9 +6355,10 @@ msgid "Connection timeout"
msgstr "Verbindungstimeout"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176
#, fuzzy
msgid ""
"Time after which to consider an auto detection attempt to have failed if "
"no successful connection is detected"
"Time after which to consider the auto detection handshake attempt to have"
" failed if no successful connection is detected"
msgstr ""
"Zeit nach der ein unbeantworteter Autodetektierungsversuch als "
"gescheitert angenommen wird"
@@ -6368,7 +6367,15 @@ msgstr ""
msgid "Autodetection timeout"
msgstr "Autodetectiontimeout"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:185
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:183
msgid "First handshake attempt"
msgstr "Erster Handshakeversuch"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:190
msgid "Consecutive handshake attempts"
msgstr "Folgende Handshakeversuche"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:193
msgid ""
"Time after which to consider a position query on pause or cancel to have "
"failed"
@@ -6376,11 +6383,11 @@ msgstr ""
"Zeit nach der OctoPrint annimmt, dass die Positionsabfrage nach Pause "
"oder Abbruch fehlgeschlagen ist."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:186
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:194
msgid "Position query timeout"
msgstr "Positionsabfragetimeout"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:205
msgid ""
"Time to wait after opening the serial connection before starting baudrate"
" detection"
@@ -6388,11 +6395,11 @@ msgstr ""
"Zeit, die OctoPrint nach Öffnen der seriellen Schnittstelle warten soll, "
"bis es mit der Baudrateerkennung startet"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:198
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206
msgid "Initial baudrate detection pause"
msgstr "Baudrateerkennungsverzögerung"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:212
msgid ""
"Some controllers need a bit of a breather before baudrate detection after"
" initial connect. If baudrate detection fails due to a hanging "
@@ -6403,7 +6410,7 @@ msgstr ""
"erhöhen, falls die Baudrateerkennung aufgrund eines hängenden Controllers"
" fehlschlägt."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215
msgid ""
"Maximum consecutive communication timeouts while idle. More than this and"
" the printer will be considered to be gone. Set to 0 to disable."
@@ -6412,17 +6419,17 @@ msgstr ""
"Idlezustand. Mehr als das und es wird angenommen, dass der Drucker "
"offline ist. Auf 0 setzen um das zu verhindern."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:216
msgid "Max. consecutive timeouts while idle"
msgstr "Max. aufeinanderfolgende Timeouts wenn idle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:211
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:218
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:219
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:226
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:233
msgid "Set to 0 to disable consecutive timeout detection and handling."
msgstr "Auf 0 setzen um aufeinanderfolgende Timeouts zu ignorieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:214
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222
msgid ""
"Maximum consecutive communication timeouts while printing. More than this"
" and the printer will be considered to be gone. Set to 0 to disable."
@@ -6431,11 +6438,11 @@ msgstr ""
" Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0"
" setzen um das zu verhindern."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:223
msgid "Max. consecutive timeouts while printing"
msgstr "Max. aufeinanderfolgende Timeouts beim Drucken"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:221
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:229
msgid ""
"Maximum consecutive communication timeouts while a long running command "
"is active. More than this and the printer will be considered to be gone. "
@@ -6445,19 +6452,19 @@ msgstr ""
" laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass "
"der Drucker offline ist. Auf 0 setzen um das zu verhindern."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:230
msgid "Max. consecutive timeouts during long running commands"
msgstr "Max. aufeinanderfolgende Timeouts während lang laufender Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:234
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:242
msgid "Firmware specific settings"
msgstr "Firmwarespezifische Einstellungen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:246
msgid "Enable automatic firmware detection"
msgstr "Automatische Firmwareerkennung einschalten"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:239
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:247
msgid ""
"\n"
" If enabled, OctoPrint will try to figure "
@@ -6475,40 +6482,40 @@ msgstr ""
" Option aus und die entsprechenden Parameter werden zur manuellen "
"Konfiguration eingeblendet."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:258
msgid "Select SD files by relative path"
msgstr "SD Dateien per relativem Pfad adressieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:258
msgid "RepRap Firmware"
msgstr "RepRap Firmware"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:265
msgid "Always assume SD card is present"
msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:265
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:279
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:286
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:293
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
msgid "Repetier"
msgstr "Repetier"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:272
msgid "Disable SD printing detection"
msgstr "SD-Druck-Erkennung deaktivieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:272
msgid "Ultimaker 2/2+"
msgstr "Ultimaker 2/2+"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:279
msgid "Ignore consecutive resend requests for the same line"
msgstr "Aufeinanderfolgende Resend Requests für die selbe Zeilennummer ignorieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:286
#, python-format
msgid ""
"Support <code>TargetExtr%%n</code>/<code>TargetBed</code> target "
@@ -6517,33 +6524,33 @@ msgstr ""
"<code>TargetExtr%%n</code>/<code>TargetBed</code> Zieltemperaturformat "
"unterstützen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:293
msgid "Disable detection of external heatups"
msgstr "Detektierung externer Aufheizvorgänge deaktivieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300
msgid "Actively pause communication during <code>G4</code> dwell command"
msgstr ""
"Pausiere Kommunikation mit dem Drucker aktiv während eines "
"<code>G4</code> dwell Befehls."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:305
msgid "Send a checksum with the command"
msgstr "Eine Prüfsumme mit dem Befehl senden"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:308
msgid "When printing"
msgstr "Beim Drucken"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:325
msgid "Support temperature autoreporting by firmware, if detected"
msgstr "Temperaturautoreporting durch die Firmware unterstützen, falls detektiert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:332
msgid "Support sd status autoreporting by firmware, if detected"
msgstr "SD-Status-Autoreporting durch die Firmware unterstützen, falls detektiert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:339
msgid ""
"Send emergency GCODES <code>M108</code> and <code>M410</code> without "
"waiting for acknowledgement, if detected as supported by the firmware"
@@ -6551,15 +6558,15 @@ msgstr ""
"Emergency GCODES <code>M108</code> und <code>M410</code> ohne warten auf"
" Bestätigung absenden, falls Unterstützung durch Firmware erkannt"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346
msgid "Support <code>busy</code> protocol, if detected"
msgstr "<code>busy</code> Protokoll unterstützen, falls detektiert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:345
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:353
msgid "Simulate <code>ok</code> for <code>M29</code>"
msgstr "Zusätzliches <code>ok</code> für <code>M29</code> generieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354
msgid ""
"Most Marlin forks that were derived from Marlin versions &lt; v1.1.0 do "
"not send an acknowledging <code>ok</code> for a <code>M29</code>. Check "
@@ -6571,15 +6578,15 @@ msgstr ""
"<code>M29</code>. Aktiviere diese Option, falls du Kommunikationsprobleme"
" nach dem Streaming einer Datei zu der SD des Druckers beobachtest."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:351
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:359
msgid "Simulate <code>ok</code> for resend requests"
msgstr "Zusätzliches <code>ok</code> für Resendrequests simulieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362
msgid "If detected as necessary"
msgstr "Falls als notwendig erkannt"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:370
msgid ""
"Some Marlin forks lack an acknowledging <code>ok</code> with their resend"
" requests. Set this to \"always\" or \"if detected as necessary\" if you "
@@ -6590,15 +6597,15 @@ msgstr ""
"notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests "
"beobachtest."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:377
msgid "Protocol fine tuning"
msgstr "Protokollfinetuning"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:373
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:381
msgid "Wait for <code>start</code> on connect"
msgstr "Bei der Verbindung auf <code>start</code> warten"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382
msgid ""
"Try checking this if you run into connection timeouts due to your printer"
" taking too long to respond to OctoPrint's handshake attempts on connect."
@@ -6607,11 +6614,11 @@ msgstr ""
"beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints "
"Handshake Versuche zu antworten."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:387
msgid "Blocked commands"
msgstr "Blockierte Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:390
msgid ""
"Use this to specify commands that should never be sent to the printer. "
"Just the G or M code, comma separated. Defaults to <code>M0</code> and "
@@ -6624,11 +6631,11 @@ msgstr ""
" Empfang dieser Befehle blockiert, bis der Button am Druckercontroller "
"betätigt wurde."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:394
msgid "Pausing commands"
msgstr "Pausierende Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:389
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:397
msgid ""
"Use this to specify commands on which OctoPrint should pause the print "
"job. Just the G or M code, comma separated. Defaults to <code>M0</code>, "
@@ -6638,11 +6645,11 @@ msgstr ""
"pausieren sollte. Nur der G oder M Code, kommasepariert. Standard ist "
"<code>M0</code>, <code>M1</code> und <code>M25</code>."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
msgid "Emergency commands"
msgstr "Notfallbefehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:396
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:404
msgid ""
"Use this to specify emergency commands which should jump any queues and -"
" if supported by the firmware - be force sent. Just the G or M code, "
@@ -6654,17 +6661,17 @@ msgstr ""
" werden sollen. Nur der G oder M Code, kommasepariert. Standard ist "
"<code>M112</code>, <code>M108</code> und <code>M410</code>."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409
msgid "Command to send to the firmware on first handshake attempt."
msgstr ""
"Kommando, das als erster Handshakeversuch an die Firmware gesendet werden"
" soll"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:410
msgid "\"Hello\" command"
msgstr "\"Hallo\"-Befehl"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:413
msgid ""
"Use this to specify a different command than the default "
"<code>M110</code> to send to the printer on initial connection to trigger"
@@ -6673,7 +6680,7 @@ msgstr ""
"Nutze diese Einstellung um einen anderen Befehl als <code>M110</code> "
"beim initialen Verbindungsaufbau zum Drucker zu senden."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416
msgid ""
"Commands that are know to run long and hence should suppress "
"communication timeouts from being triggered."
@@ -6681,11 +6688,11 @@ msgstr ""
"Befehle, von denen bekannt ist, dass sie lang zur Ausführung benötigen "
"und daher das Auslösen von Kommunikationstimeouts unterdrücken sollten."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:417
msgid "Long running commands"
msgstr "Lang laufende Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:420
msgid ""
"Use this to specify the commands known to take a long time to complete "
"without output from your printer and hence might cause timeout issues. "
@@ -6696,7 +6703,7 @@ msgstr ""
"produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- "
"oder M-Code, kommasepariert."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423
msgid ""
"Commands that always require a line number and checksum to be sent with "
"them."
@@ -6704,11 +6711,11 @@ msgstr ""
"Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden "
"müssen."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:424
msgid "Commands that always require a checksum"
msgstr "Befehle, die immer eine Prüfsumme benötigen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:419
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:427
msgid ""
"Use this to specify which commands <strong>always</strong> need to be "
"sent with a checksum. Comma separated list."
@@ -6717,37 +6724,37 @@ msgstr ""
"<strong>immer</strong> mit Prüfsumme gesendet werden müssen. Komma-"
"separierte Liste."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:422
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:430
msgid "ok buffer size"
msgstr "ok Buffergröße"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:431
msgid "<code>ok</code> buffer size"
msgstr "<code>ok</code> Buffergröße"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434
msgid "Only modify if told to do so"
msgstr "Nur ändern wenn dazu aufgefordert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:443
msgid "Error handling"
msgstr "Fehlerbehandlung"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:437
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:445
msgid "What to do on a firmware error (<code>Error:</code> or <code>!!</code>)"
msgstr ""
"Was im Falle eines Firmwarefehlers (<code>Error:</code> oder "
"<code>!!</code>) gemacht werden soll"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448
msgid "Disconnect from the printer"
msgstr "Verbindung zum Drucker trennen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:443
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:451
msgid "Cancel any ongoing prints but stay connected to the printer"
msgstr "Laufende Druckaufträge abbrechen, aber mit dem Drucker verbunden bleiben"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:444
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:452
msgid ""
"Please note that if you choose this, OctoPrint will still disconnect from"
" the printer in case of <em>fatal</em> errors reported by your firmware "
@@ -6757,7 +6764,7 @@ msgstr ""
"trennen wird, wenn <em>fatale</em> Fehler durch die Firmware gemeldet "
"werden (z.B. <code>kill() called</code>, <code>fatal:</code>)."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:456
msgid ""
"Only choose this if your firmware sends error messages that are not "
"actual errors. Might mask printer issues (even fatal errors!), be "
@@ -6767,11 +6774,11 @@ msgstr ""
"die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen "
"(sogar fatale!), Vorsicht!"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:462
msgid "Send <code>M112</code> on disconnect due to error"
msgstr "Sende <code>M112</code> bei fehlerbedingten Disconnects."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
msgid ""
"If this is checked, OctoPrint will try to send an <code>M112</code> prior"
" to a disconnect due to a (fatal) error in order to disable heaters and "
@@ -6781,11 +6788,11 @@ msgstr ""
"durch einen (fatalen) Fehler verursacht wurden, ein <code>M112</code> zum"
" Drucker zu senden, um Heizelemente und Motoren zu deaktivieren."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:471
msgid "Log position on pause"
msgstr "Position bei Pause loggen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
msgid ""
"If you disable this, the <code>pause_position</code> placeholders in your"
" pause/resume GCODE scripts will stay unpopulated! However, pausing speed"
@@ -6796,11 +6803,11 @@ msgstr ""
"Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch "
"verbessern."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:480
msgid "Log position on cancel"
msgstr "Position bei Abbruch loggen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:481
msgid ""
"If you disable this, the <code>cancel_position</code> placeholders in "
"your cancel GCODE script and the corresponding data in the print recovery"
@@ -6811,13 +6818,13 @@ msgstr ""
"Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings "
"könnte sich die Abbruchgeschwindigkeit einen Hauch verbessern."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:478
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:486
msgid "Attempt to abort any blocking heatups on cancel via <code>M108</code>."
msgstr ""
"Versuche, blockierende Aufheizprozesse beim Abbruch mittel "
"<code>M108</code> zu stoppen."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487
msgid ""
"Uncheck this if your firmware doesn't support <code>M108</code> for "
"aborting blocking heatups!"
@@ -6825,15 +6832,15 @@ msgstr ""
"Deaktiviere dies, falls deine Firmware <code>M108</code> zum Stoppen "
"blockierender Aufheizprozesse nicht unterstützt!"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:492
msgid "Sanity Checking"
msgstr "Validitätsprüfung"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:495
msgid "Sanity check tool commands"
msgstr "Validität von Tool-Befehlen prüfen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:496
msgid ""
"If enabled, OctoPrint will not send tool commands to your printer that "
"exceed the number of extruders configured in the active printer profile, "
@@ -7867,7 +7874,7 @@ msgstr ""
msgid "Timeout after which to unload the stream if the control tab is not visible"
msgstr ""
"Timeout nach dem der Webcamstream deaktiviert werden soll wenn das "
"\"Steuerung\"-Tab nicht sichtbar ist"
"Steuerung-Tab nicht sichtbar ist"
#: src/octoprint/templates/snippets/settings/webcam/webcamStreamTimeout.jinja2:2
msgid "Stream timeout"
@@ -8035,9 +8042,8 @@ msgid "Current target temperature as reported by your printer"
msgstr "Aktuelle Zieltemperatur wie von deinem Drucker gemeldet"
#: src/octoprint/templates/tabs/temperature.jinja2:15
#, fuzzy
msgid "Set temperature profile"
msgstr "Temporäre Dateien"
msgstr "Temperaturprofil anwenden"
#: src/octoprint/templates/tabs/temperature.jinja2:29
msgid "Offset to apply to temperature commands sent from files"
@@ -9234,3 +9240,16 @@ msgstr "Zeitrafferaufnahme rendern"
#~ msgid "Enable GCode Visualizer"
#~ msgstr "GCode Viewer aktivieren"
#~ msgid ""
#~ "Time after which to consider further "
#~ "auto detection attempts to have failed"
#~ " if no successful connection is "
#~ "detected"
#~ msgstr ""
#~ "Zeit nach der ein unbeantworteter "
#~ "Autodetektierungsversuch als gescheitert angenommen"
#~ " wird"
#~ msgid "Autodetection timeout (further tries)"
#~ msgstr "Autodetectiontimeout (weitere Versuche)"
+147 -139
View File
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OctoPrint 1.4.1.dev393+g32b655451.dirty\n"
"Project-Id-Version: OctoPrint 1.4.1rc5.dev1+g57b8d0b88.dirty\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2020-07-06 09:41+0200\n"
"POT-Creation-Date: 2020-08-04 10:26+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -210,16 +210,16 @@ msgstr ""
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:365
msgid "Always"
msgstr ""
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:14
#: src/octoprint/templates/dialogs/settings/features.jinja2:70
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:306
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:314
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:368
msgid "Never"
msgstr ""
@@ -228,9 +228,9 @@ msgstr ""
#: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:16
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:327
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:105
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:195
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:312
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:399
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:203
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:320
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:407
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:10
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:25
#: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5
@@ -1270,7 +1270,7 @@ msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:310
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:336
#: src/octoprint/static/js/app/viewmodels/loginstate.js:110
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
msgid "Ignore"
msgstr ""
@@ -1539,10 +1539,10 @@ msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:117
#: src/octoprint/templates/dialogs/settings/folders.jinja2:67
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:471
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:480
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:495
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87
#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6
msgid "Warning"
@@ -3153,8 +3153,8 @@ msgstr ""
msgid "OctoPrint version tracking"
msgstr ""
#: src/octoprint/plugins/tracking/__init__.py:151
#: src/octoprint/plugins/tracking/__init__.py:152
#: src/octoprint/plugins/tracking/__init__.py:153
#: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:1
msgid "Anonymous Usage Tracking"
msgstr ""
@@ -3694,77 +3694,77 @@ msgstr ""
msgid "Progress"
msgstr ""
#: src/octoprint/static/js/app/main.js:205
#: src/octoprint/static/js/app/main.js:206
msgid "Offline"
msgstr ""
#: src/octoprint/static/js/app/main.js:206
#: src/octoprint/static/js/app/main.js:207
msgid "Opening serial connection"
msgstr ""
#: src/octoprint/static/js/app/main.js:207
#: src/octoprint/static/js/app/main.js:208
msgid "Detecting serial connection"
msgstr ""
#: src/octoprint/static/js/app/main.js:208
#: src/octoprint/static/js/app/main.js:209
msgid "Connecting"
msgstr ""
#: src/octoprint/static/js/app/main.js:209
#: src/octoprint/static/js/app/main.js:210
msgid "Operational"
msgstr ""
#: src/octoprint/static/js/app/main.js:210
#: src/octoprint/static/js/app/main.js:211
msgid "Starting"
msgstr ""
#: src/octoprint/static/js/app/main.js:211
#: src/octoprint/static/js/app/main.js:212
msgid "Starting print from SD"
msgstr ""
#: src/octoprint/static/js/app/main.js:212
#: src/octoprint/static/js/app/main.js:213
msgid "Printing from SD"
msgstr ""
#: src/octoprint/static/js/app/main.js:213
#: src/octoprint/static/js/app/main.js:214
msgid "Sending file to SD"
msgstr ""
#: src/octoprint/static/js/app/main.js:214
#: src/octoprint/static/js/app/main.js:215
msgid "Printing"
msgstr ""
#: src/octoprint/static/js/app/main.js:215
#: src/octoprint/static/js/app/main.js:216
msgid "Paused"
msgstr ""
#: src/octoprint/static/js/app/main.js:216
#: src/octoprint/static/js/app/main.js:217
msgid "Closed"
msgstr ""
#: src/octoprint/static/js/app/main.js:217
#: src/octoprint/static/js/app/main.js:218
msgid "Transferring file to SD"
msgstr ""
#: src/octoprint/static/js/app/main.js:218
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:460
#: src/octoprint/static/js/app/main.js:219
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:468
msgid "Pausing"
msgstr ""
#: src/octoprint/static/js/app/main.js:219
#: src/octoprint/static/js/app/main.js:220
msgid "Resuming"
msgstr ""
#: src/octoprint/static/js/app/main.js:220
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:469
#: src/octoprint/static/js/app/main.js:221
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:477
msgid "Cancelling"
msgstr ""
#: src/octoprint/static/js/app/main.js:221
#: src/octoprint/static/js/app/main.js:222
msgid "Finishing"
msgstr ""
#: src/octoprint/static/js/app/main.js:833
#: src/octoprint/static/js/app/main.js:836
msgid "Loading OctoPrint's UI, please wait..."
msgstr ""
@@ -4273,23 +4273,23 @@ msgstr ""
msgid "Autodetect from browser"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:348
#: src/octoprint/static/js/app/viewmodels/settings.js:349
msgid "If you see your webcam stream below, the entered stream URL is ok."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:356
#: src/octoprint/static/js/app/viewmodels/settings.js:357
msgid "Stream test"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:374
#: src/octoprint/static/js/app/viewmodels/settings.js:375
msgid "Could not retrieve snapshot URL, please double check the URL"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:375
#: src/octoprint/static/js/app/viewmodels/settings.js:376
msgid "Snapshot test failed"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:390
#: src/octoprint/static/js/app/viewmodels/settings.js:391
#, python-format
msgid ""
"Could retrieve the snapshot URL, but it didn't look like an image. Got "
@@ -4298,66 +4298,66 @@ msgid ""
"or videos."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:415
#: src/octoprint/static/js/app/viewmodels/settings.js:416
msgid ""
"If you see your webcam snapshot picture below, the entered snapshot URL "
"is ok."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:417
#: src/octoprint/static/js/app/viewmodels/settings.js:418
msgid "Snapshot test"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:450
#: src/octoprint/static/js/app/viewmodels/settings.js:451
msgid "The path doesn't exist"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:452
#: src/octoprint/static/js/app/viewmodels/settings.js:453
msgid "The path is not a file"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:454
#: src/octoprint/static/js/app/viewmodels/settings.js:455
msgid "The path is not an executable"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:457
#: src/octoprint/static/js/app/viewmodels/settings.js:538
#: src/octoprint/static/js/app/viewmodels/settings.js:458
#: src/octoprint/static/js/app/viewmodels/settings.js:539
msgid "The path is valid"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:477
#: src/octoprint/static/js/app/viewmodels/settings.js:478
msgid "The server is not reachable"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:479
#: src/octoprint/static/js/app/viewmodels/settings.js:480
msgid "The server is reachable"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:498
#: src/octoprint/static/js/app/viewmodels/settings.js:499
msgid "Name cannot be resolved"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:500
#: src/octoprint/static/js/app/viewmodels/settings.js:501
msgid "Name can be resolved"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:529
#: src/octoprint/static/js/app/viewmodels/settings.js:530
msgid "The path is a broken symlink."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:531
#: src/octoprint/static/js/app/viewmodels/settings.js:532
msgid "The path does not exist and cannot be created."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:533
#: src/octoprint/static/js/app/viewmodels/settings.js:534
msgid "The path is not a folder."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:535
#: src/octoprint/static/js/app/viewmodels/settings.js:536
msgid "The path is not writable."
msgstr ""
#: src/octoprint/static/js/app/viewmodels/settings.js:660
#: src/octoprint/static/js/app/viewmodels/settings.js:661
#: src/octoprint/static/js/app/viewmodels/usersettings.js:101
msgid ""
"This will generate a new API Key. The old API Key will cease to function "
@@ -5505,87 +5505,95 @@ msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176
msgid ""
"Time after which to consider an auto detection attempt to have failed if "
"no successful connection is detected"
"Time after which to consider the auto detection handshake attempt to have"
" failed if no successful connection is detected"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177
msgid "Autodetection timeout"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:185
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:183
msgid "First handshake attempt"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:190
msgid "Consecutive handshake attempts"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:193
msgid ""
"Time after which to consider a position query on pause or cancel to have "
"failed"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:186
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:194
msgid "Position query timeout"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:205
msgid ""
"Time to wait after opening the serial connection before starting baudrate"
" detection"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:198
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206
msgid "Initial baudrate detection pause"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:212
msgid ""
"Some controllers need a bit of a breather before baudrate detection after"
" initial connect. If baudrate detection fails due to a hanging "
"controller, try increasing this value."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215
msgid ""
"Maximum consecutive communication timeouts while idle. More than this and"
" the printer will be considered to be gone. Set to 0 to disable."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:216
msgid "Max. consecutive timeouts while idle"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:211
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:218
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:219
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:226
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:233
msgid "Set to 0 to disable consecutive timeout detection and handling."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:214
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222
msgid ""
"Maximum consecutive communication timeouts while printing. More than this"
" and the printer will be considered to be gone. Set to 0 to disable."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:223
msgid "Max. consecutive timeouts while printing"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:221
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:229
msgid ""
"Maximum consecutive communication timeouts while a long running command "
"is active. More than this and the printer will be considered to be gone. "
"Set to 0 to disable."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:230
msgid "Max. consecutive timeouts during long running commands"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:234
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:242
msgid "Firmware specific settings"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:246
msgid "Enable automatic firmware detection"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:239
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:247
msgid ""
"\n"
" If enabled, OctoPrint will try to figure "
@@ -5597,85 +5605,85 @@ msgid ""
" "
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:258
msgid "Select SD files by relative path"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:258
msgid "RepRap Firmware"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:265
msgid "Always assume SD card is present"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:265
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:279
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:286
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:293
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
msgid "Repetier"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:272
msgid "Disable SD printing detection"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:272
msgid "Ultimaker 2/2+"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:279
msgid "Ignore consecutive resend requests for the same line"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:286
#, python-format
msgid ""
"Support <code>TargetExtr%%n</code>/<code>TargetBed</code> target "
"temperature format"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:293
msgid "Disable detection of external heatups"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300
msgid "Actively pause communication during <code>G4</code> dwell command"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:305
msgid "Send a checksum with the command"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:308
msgid "When printing"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:325
msgid "Support temperature autoreporting by firmware, if detected"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:332
msgid "Support sd status autoreporting by firmware, if detected"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:339
msgid ""
"Send emergency GCODES <code>M108</code> and <code>M410</code> without "
"waiting for acknowledgement, if detected as supported by the firmware"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346
msgid "Support <code>busy</code> protocol, if detected"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:345
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:353
msgid "Simulate <code>ok</code> for <code>M29</code>"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354
msgid ""
"Most Marlin forks that were derived from Marlin versions &lt; v1.1.0 do "
"not send an acknowledging <code>ok</code> for a <code>M29</code>. Check "
@@ -5683,40 +5691,40 @@ msgid ""
"to your printer's SD."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:351
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:359
msgid "Simulate <code>ok</code> for resend requests"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362
msgid "If detected as necessary"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:370
msgid ""
"Some Marlin forks lack an acknowledging <code>ok</code> with their resend"
" requests. Set this to \"always\" or \"if detected as necessary\" if you "
"run into communication stalls on resend requests."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:377
msgid "Protocol fine tuning"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:373
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:381
msgid "Wait for <code>start</code> on connect"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382
msgid ""
"Try checking this if you run into connection timeouts due to your printer"
" taking too long to respond to OctoPrint's handshake attempts on connect."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:387
msgid "Blocked commands"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:390
msgid ""
"Use this to specify commands that should never be sent to the printer. "
"Just the G or M code, comma separated. Defaults to <code>M0</code> and "
@@ -5724,22 +5732,22 @@ msgid ""
"controller has been pressed if it receives either of those two commands."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:394
msgid "Pausing commands"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:389
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:397
msgid ""
"Use this to specify commands on which OctoPrint should pause the print "
"job. Just the G or M code, comma separated. Defaults to <code>M0</code>, "
"<code>M1</code> and <code>M25</code>."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
msgid "Emergency commands"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:396
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:404
msgid ""
"Use this to specify emergency commands which should jump any queues and -"
" if supported by the firmware - be force sent. Just the G or M code, "
@@ -5747,123 +5755,123 @@ msgid ""
"<code>M410</code>."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409
msgid "Command to send to the firmware on first handshake attempt."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:410
msgid "\"Hello\" command"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:413
msgid ""
"Use this to specify a different command than the default "
"<code>M110</code> to send to the printer on initial connection to trigger"
" a communication handshake."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416
msgid ""
"Commands that are know to run long and hence should suppress "
"communication timeouts from being triggered."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:417
msgid "Long running commands"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:420
msgid ""
"Use this to specify the commands known to take a long time to complete "
"without output from your printer and hence might cause timeout issues. "
"Just the G or M code, comma separated."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423
msgid ""
"Commands that always require a line number and checksum to be sent with "
"them."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:424
msgid "Commands that always require a checksum"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:419
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:427
msgid ""
"Use this to specify which commands <strong>always</strong> need to be "
"sent with a checksum. Comma separated list."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:422
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:430
msgid "ok buffer size"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:431
msgid "<code>ok</code> buffer size"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434
msgid "Only modify if told to do so"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:443
msgid "Error handling"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:437
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:445
msgid "What to do on a firmware error (<code>Error:</code> or <code>!!</code>)"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448
msgid "Disconnect from the printer"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:443
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:451
msgid "Cancel any ongoing prints but stay connected to the printer"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:444
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:452
msgid ""
"Please note that if you choose this, OctoPrint will still disconnect from"
" the printer in case of <em>fatal</em> errors reported by your firmware "
"(e.g. <code>kill() called</code>, <code>fatal:</code>)."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:456
msgid ""
"Only choose this if your firmware sends error messages that are not "
"actual errors. Might mask printer issues (even fatal errors!), be "
"careful!"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:462
msgid "Send <code>M112</code> on disconnect due to error"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
msgid ""
"If this is checked, OctoPrint will try to send an <code>M112</code> prior"
" to a disconnect due to a (fatal) error in order to disable heaters and "
"motors."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:471
msgid "Log position on pause"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
msgid ""
"If you disable this, the <code>pause_position</code> placeholders in your"
" pause/resume GCODE scripts will stay unpopulated! However, pausing speed"
" might improve slightly."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:480
msgid "Log position on cancel"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:481
msgid ""
"If you disable this, the <code>cancel_position</code> placeholders in "
"your cancel GCODE script and the corresponding data in the print recovery"
@@ -5871,25 +5879,25 @@ msgid ""
"slightly."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:478
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:486
msgid "Attempt to abort any blocking heatups on cancel via <code>M108</code>."
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487
msgid ""
"Uncheck this if your firmware doesn't support <code>M108</code> for "
"aborting blocking heatups!"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:492
msgid "Sanity Checking"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:495
msgid "Sanity check tool commands"
msgstr ""
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:496
msgid ""
"If enabled, OctoPrint will not send tool commands to your printer that "
"exceed the number of extruders configured in the active printer profile, "