Merge branch 'devel' into dev/commRefactoringNG

This commit is contained in:
Gina Häußge committed 2021-05-20 17:12:41 +02:00
commit 04391495e7
77 files changed
+4353 -1565

No files matched your search

+5 -9
View File
@@ -1,6 +1,5 @@
name: 🐛 Report a bug
description: Create a bug report to help improve OctoPrint
title: ""
body:
- type: markdown
attributes:
@@ -106,10 +105,8 @@ body:
value: >-
Please also be sure to upload the following files below:
* `octoprint.log`: See [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know where to find that. Just attach down below as-is.
* `serial.log` or the contents of your terminal tab, if applicable. Always
include if unsure. **Please note that you need to enable `serial.log` first**,
see [here](https://community.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299) if you don't know how to do or where to find it. Just attach down below as-is.
* Systeminfo Bundle: See [here](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887) if you don't know where to find that. Just attach down below as-is. Note that you'll need at least OctoPrint 1.6.0 for this to be available - we no longer accept bug reports created for older versions than this.
* If you are reporting an issue that involves communicating with you printer, **be sure to enable `serial.log` before reproducing and creating the Systeminfo Bundle**!
* Your browser's JavaScript console, if you are reporting a problem with the
user interface. See [here](https://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers) on where to find that.
* If possible, screenshots or videos showing the problem, especially if you
@@ -117,15 +114,14 @@ body:
* GCODE files with which to reproduce, if you are reporting an issue with
GCODE file analysis or printing behaviour.
Please be aware that unless at least `octoprint.log` is included, your bug report
will not be processed.
Please be aware that unless at least Systeminfo Bundle is included, your bug report
will not be processed and closed after a while.
- type: checkboxes
attributes:
label: Checklist of files to include below
options:
- label: octoprint.log
- label: Systeminfo Bundle (always include!)
required: true
- label: serial.log or contents of your terminal tab (always include in cases of issues with printer communication)
- label: Contents of the JavaScript browser console (always include in cases of issues with the user interface)
- label: Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
- label: GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)
+6 -6
View File
@@ -24,15 +24,15 @@ maintenance 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev
fix/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev
improve/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev
# staging/bugfix is the branch for preparation of the 1.5.3 hotfix release
# staging/bugfix is the branch for preparation of the 1.6.1 bugfix release
# so are any bug/... branches
staging/bugfix 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev
bug/.* 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev
staging/bugfix 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev
bug/.* 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev
# staging/maintenance is currently the branch for preparation of 1.6.0rc3
# staging/maintenance is currently the branch for preparation of 1.6.0rc4
# so is regressionfix/...
staging/maintenance 1.6.0rc3 c2844c8132871f40f8dec3a0cdff8e7cfd25bab9 pep440-dev
regressionfix/.* 1.6.0rc3 c2844c8132871f40f8dec3a0cdff8e7cfd25bab9 pep440-dev
staging/maintenance 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev
regressionfix/.* 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev
# staging/devel is currently inactive (but has the 1.4.1rc4 namespace)
staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev
+4
View File
@@ -141,6 +141,10 @@ date of first contribution):
* [Joe Martella](https://github.com/martellaj)
* [Scott Lahteine](https://github.com/thinkyhead)
* [Karthikeyan Singaravelan](https://github.com/tirkarthi)
* [Yvan Rodrigues](https://github.com/TwoRedCells)
* [Elton Law](https://github.com/eltonlaw)
* ["sparxooo"](https://github.com/sparxooo)
* ["Stevil Knevil"](https://github.com/StevilKnevil)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
+131 -5
View File
@@ -31,7 +31,7 @@ nothing but ticket management.
- **[Read the FAQ](https://faq.octoprint.org)**
- If you want to report a **bug**, [read "How to file a bug report" below](#how-to-file-a-bug-report)
and *[use the provided form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml)*.
and *[use the provided template](#what-should-i-include-in-a-ticket)*.
You do not need to do anything else with your ticket.
- If you want to post a **feature request** or a **documentation request**, add `[Request]`
to your issue's title (e.g. `[Request] Awesome new feature`). A question on how to run/change/setup
@@ -48,6 +48,15 @@ nothing but ticket management.
No matter what kind of ticket you create, never mix two or more "ticket reasons"
into one ticket: One ticket per bug, request, brainstorming thread please.
> 👉 **Note**
>
> A bot is in place that monitors new tickets, automatically
> categorizes them and checks new bug reports for usage of the provided template.
> That bot will only bother you if you open a ticket that appears to be a bug (no
> `[Request]` in the title) without the complete template, and it
> will do that only to ensure that all information needed to solve the issue is
> available for the maintainers to directly start tackling that problem.
## How to file a bug report
If you encounter an issue with OctoPrint, you are welcome to
@@ -109,7 +118,7 @@ following section *completely* and also follow the instructions in the
it is the same as your's, it actually behaves the same as your's. E.g. if someone gives steps
to reproduce his bug that looks like your's, reproduce the bug like that if possible,
and only add a "me too" if you actually can reproduce the same
issue. Also **provide all information like logs, versions, different reproduction steps**
issue. Also **provide all information like Systeminfo Bundle, additional logs & versions, different reproduction steps**
and whatever was additionally requested over the course of the ticket
even if you "only" add to an existing ticket. The more information available regarding a bug, the higher
the chances of reproducing and solving it. But "me too" on an actually unrelated ticket
@@ -126,12 +135,128 @@ there.
First of all make sure your use **a descriptive title**. "It doesn't work"
and similar unspecific complaints are NOT descriptive titles.
Always fill out the [reporting form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml) **completely** and include as much
information as possible.
**Always use the following template, even if only adding a "me too" to an
existing ticket**:
```
<!--
READ THE FOLLOWING FIRST:
If not already done, please read the the Contribution Guidelines that
are linked to the right under "Helpful resources" > "Contributing".
Also read the FAQ: https://faq.octoprint.org
This is a bug and feature tracker, please only use it to report bugs
or request features within OctoPrint (not OctoPi, not any OctoPrint
plugins and not unofficial OctoPrint versions).
Do not seek support here ("I need help with ...", "I have a
question ..."), that belongs on the community forum at
community.octoprint.org, NOT here.
Mark requests with a "[Request]" prefix in the title please. For bug
reports fully fill out the bug reporting template (if you don't know
where to find some information - it's all described in the Contribution
Guidelines linked up there in the big yellow box).
When reporting a bug do NOT delete ANY lines from the template.
Make sure any bug you want to report is still present with the CURRENT
OctoPrint version and that it does not vanish when you start OctoPrint
in safe mode - how to do that is also explained in the Contribution
Guidelines linked up there in the big yellow box.
Thank you!
-->
#### What were you doing?
<!--
Please be as specific as possible here. The maintainers will need to
reproduce your issue in order to fix it and that is not possible if they
don't know what you did to get it to happen in the first place.
Ideally provide exact steps to follow in order to reproduce your problem:
-->
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
<!--
If you encountered a problem with specific files of any sorts, make sure
to also include a link to a file with which to reproduce the problem.
-->
#### What did you expect to happen?
#### What happened instead?
#### Did the same happen when running OctoPrint in safe mode?
<!--
Test if you can reproduce your problem in safe mode. You can find information
on how to enable safe mode in the Contribution Guidelines.
If you can't reproduce in safe mode, this is a bug with one of your
installed third party plugins. Don't open a ticket here!
If you can't test this in safe mode, state why.
-->
#### Version of OctoPrint
<!--
Can be found in the lower left corner of the web interface. ALWAYS INCLUDE.
-->
#### Printer model & used firmware incl. version
<!--
If applicable, always include if unsure.
-->
#### Browser and version of browser, operating system running browser
<!--
If applicable, always include if unsure.
-->
#### System Info Bundle
<!--
Directly uploaded here. ALWAYS INCLUDE.
The Contribution Guidelines tell you where to find that.
-->
#### Link to contents of Javascript console in the browser
<!--
Directly uploaded here or on gist.github.com or pastebin.com.
If applicable - always include if unsure or reporting UI issues.
The Contribution Guidelines tell you where to find that.
-->
#### Screenshot(s)/video(s) showing the problem:
<!--
If applicable. Always include if unsure or reporting UI issues.
-->
I have read the FAQ.
```
Provide the same kind and amount of information also when you are just adding on to an
existing ticket!
### Where can I find the System Info Bundle?
Please refer to [this FAQ entry](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887).
### Where can I find which version and branch I'm on?
Please refer to [this FAQ entry](https://community.octoprint.org/t/how-can-i-find-out-the-version-of-octoprint-or-octopi-i-am-running/204/1).
@@ -287,7 +412,8 @@ See [the corresponding chapter in the documentation](https://docs.octoprint.org/
* 2020-09-23: Move branch & versioning into development docs
* 2020-10-07: Introduce `pre-commit`
* 2021-02-04: Issue forms! \o/
* 2020-03-04: Correct issue forms link
* 2021-03-04: Correct issue forms link
* 2021-04-27: Systeminfo Bundles! \o/
## Footnotes
* [1] - If you are wondering why, the problem is that anything that you add
+2 -3
View File
@@ -10,12 +10,12 @@ thanks to everyone who contributed!
* 3DPrinterOS
* Arnljot Arntsen
* Ash King
* Ashley Merrick
* BigTreeTech
* Boris Hussein
* Brad Jackson
* BRANDON ROBERTSON
* BuildBee
* Chris Lynch
* Christian Petropolis
* Christian Wolf
* Christoph Sigrist
@@ -25,7 +25,6 @@ thanks to everyone who contributed!
* DeltaMaker 3D Printers
* Dennis Breining
* Dennis Christilaw
* Diana C Rodriguez
* Douglas Floyd
* Eric Betts
* Ernesto Martinez
@@ -78,4 +77,4 @@ thanks to everyone who contributed!
* Ulderico Cirello
* Ulrich Kempken
and 2309 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
and 2350 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
+1 -1
View File
@@ -33,7 +33,6 @@
* [Moment.js](http://momentjs.com/): MIT
* [PNotify](http://sciactive.com/pnotify/): GPL, LGPL, MPL (triple licensed)
* [pusher.color.js](http://cache.preserve.io/5g18q0pw/index.html) (original link dead): MIT
* [ResizeSensor.js](https://github.com/procurios/ResizeSensor): MIT
* [SockJS](https://github.com/sockjs/sockjs-client): MIT
* [sprintf-js](http://alexei.ro/): BSD
@@ -58,6 +57,7 @@
* [monotonic](https://github.com/atdt/monotonic): Apache License 2.0
* [netaddr](https://github.com/drkjam/netaddr/): BSD
* [netifaces](https://bitbucket.org/al45tair/netifaces): MIT
* [pathvalidate](https://pathvalidate.readthedocs.io/en/latest/index.html): MIT
* [pkginfo](http://pypi.python.org/pypi/pkginfo/): Python
* [psutil](https://github.com/giampaolo/psutil): BSD
* [pylru](https://github.com/jlhutch/pylru): GPLv2
+5 -5
View File
@@ -195,11 +195,11 @@ Job information
- The file that is the target of the current print job
* - ``estimatedPrintTime``
- 0..1
- Integer
- Float
- The estimated print time for the file, in seconds.
* - ``lastPrintTime``
- 0..1
- Integer
- Float
- The print time of the last print of the file, in seconds.
* - ``filament``
- 0..1
@@ -207,7 +207,7 @@ Job information
- Information regarding the estimated filament usage of the print job
* - ``filament.length``
- 0..1
- Integer
- Float
- Length of filament used, in mm
* - ``filament.volume``
- 0..1
@@ -419,7 +419,7 @@ GCODE analysis information
- Description
* - ``estimatedPrintTime``
- 0..1
- Integer
- Float
- The estimated print time of the file, in seconds
* - ``filament``
- 0..1
@@ -427,7 +427,7 @@ GCODE analysis information
- The estimated usage of filament
* - ``filament.tool{n}.length``
- 0..1
- Integer
- Float
- The length of filament used, in mm
* - ``filament.tool{n}.volume``
- 0..1
+14 -1
View File
@@ -15,7 +15,9 @@ Retrieve all files
Retrieve information regarding all files currently available and regarding the disk space still available
locally in the system. The results are cached for performance reasons. If you
want to override the cache, supply the query parameter ``force`` and set it to ``true``.
want to override the cache, supply the query parameter ``force`` and set it to ``true``. Note that
while printing a refresh/override of the cache for files stored on the printer's SD card
is disabled due to bandwidth restrictions on the serial interface.
By default only returns the files and folders in the root directory. If the query parameter ``recursive``
is provided and set to ``true``, returns all files and folders.
@@ -249,6 +251,8 @@ Retrieve files from specific location
Retrieve information regarding the files currently available on the selected `location` and -- if targeting
the ``local`` location -- regarding the disk space still available locally in the system. The results are cached for performance reasons. If you
want to override the cache, supply the query parameter ``force`` and set it to ``true``.
Note that while printing a refresh/override of the cache for files stored on the printer's SD card
is disabled due to bandwidth restrictions on the serial interface.
By default only returns the files and folders in the root directory. If the query parameter ``recursive``
is provided and set to ``true``, returns all files and folders.
@@ -585,6 +589,15 @@ Issue a file command
Requires the ``FILES_SELECT`` permission.
unselect
Unselects the currently selected file for printing.
Upon success, a status code of :http:statuscode:`204` and an empty body is returned. If no file is selected
or there already is an active print job, a :http:statuscode:`409` is returned. If path isn't ``current```
or the filename of the current selection, a :http:statuscode:`400` is returned
Requires the ``FILES_SELECT`` permission.
slice
Slices an STL file into GCODE. Note that this is an asynchronous operation that will take place in the background
after the response has been sent back to the client. Additional parameters are:
+8 -3
View File
@@ -708,6 +708,11 @@ Use the following settings to configure the serial connection to the printer:
- M0
- M1
# Commands which should not be sent to the printer and just silently ignored.
# An example of when you may wish to use this could be useful if you wish to manually change a filament on M600,
# by using that as a Pausing command (below)
ignoredCommands:
# Commands which should cause OctoPrint to pause any ongoing prints.
pausingCommands:
- M0
@@ -904,9 +909,9 @@ Use the following settings to configure the server:
# Settings for further configuration of the cookies that OctoPrint sets (login, remember me, ...)
cookies:
# SameSite setting to use on the cookies. Possible values are None, Lax and Strict. Defaults to None but
# be advised that browsers will soon force this to Lax unless also being set as Secure and served over
# https, which will cause issues with embedding OctoPrint in frames.
# SameSite setting to use on the cookies. Possible values are None, Lax and Strict. Defaults to not set but
# be advised that many browsers now default to Lax unless set as Secure, explicitly setting the cookie type
# here and served over https, which causes issues with embedding OctoPrint in frames.
#
# See also https://www.chromestatus.com/feature/5088147346030592,
# https://www.chromestatus.com/feature/5633521622188032 and issue #3482
+11 -25
View File
@@ -22,7 +22,7 @@ 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 and Python 3 to use for
* Create a virtual environment in the checked out source folder 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:
@@ -34,10 +34,7 @@ below.
binary cannot be found on your ``PATH`` like this you'll need to specify the full path to it here,
e.g. ``virtualenv --python=/path/to/python3/bin/python venv``
* Activate one of the virtual environments (the Python 3 venv should be considered the
primary one at this point):
* ``source venv/bin/activate`` (Linux, macOS) or ``source venv/Scripts/activate`` (Git Bash under Windows, see below)
* Activate the virtual environment: ``source venv/bin/activate`` (Linux, macOS) or ``source venv/Scripts/activate`` (Git Bash under Windows, see below)
* Update ``pip`` in the virtual environment:
@@ -62,22 +59,9 @@ When the virtual environment is activated you can then:
* run the test suite from the checked out source folder via ``pytest``
* trigger the pre-commit check suite manually from the checked out source folder via
``pre-commit run --hook-stage manual --all-files``
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]'``
Go to the directory `docs` and you can then build the documentation:
* ``sphinx-build -b html . _build``
The documentation will be available in the newly created ``_build`` directory. You can simply browse it locally by opening ``index.html``
* build the documentation running ``sphinx-build -b html . _build`` in the ``docs``
folder -- the documentation will be available in the newly created ``_build``
directory. You can simply browse it locally by opening ``index.html``
.. _sec-development-environment-source-linux:
@@ -94,7 +78,7 @@ installed:
.. code-block:: none
sudo apt-get install python3 python3-pip python3-dev python3-setuptools python3-virtualenv python3 python3-virtualenv python3-dev git libyaml-dev build-essential
sudo apt-get install python3 python3-pip python3-dev python3-setuptools python3-virtualenv git libyaml-dev build-essential
.. todo::
@@ -131,9 +115,9 @@ First download & install:
* `The current Python 3.8 Windows x86 executable installer <https://www.python.org/downloads/windows/>`_
* 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
* it's recommended to install Python 3 into ``C:\Python3`` - if you select
different install locations please substitute accordingly
* it's also recommended to have both versions get installed for all users
* it's also recommended to install for all users
* `Build Tools for Visual Studio 2019 <https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019>`_
@@ -257,6 +241,8 @@ PyCharm
- **(macOS)** "PyCharm" > "Preferences ..." > "Project: OctoPrint" > "Project Interpreter" > "Add ..." >
"Virtualenv Environment > "Existing Environment", select OctoPrint ``venv`` folder (e.g. ``~/devel/OctoPrint/venv``).
If desired, repeat for any other additional Python venvs (e.g. different versions).
- Right click "src" in project tree, mark as source folder
- Add Run/Debug Configuration, select "Python":
@@ -320,7 +306,7 @@ PyCharm
* disable "Auto-save edited files to trigger the watched"
* enable "Trigger the watched on external changes"
To switch between Python 2 and 3, all you need to do now is change the Project Default Interpreter and restart
To switch between virtual environments (e.g. various Python 3 versions), 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.
+1 -1
View File
@@ -1430,7 +1430,7 @@ octoprint.server.api.after_request
octoprint.server.api.before_request
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. py:function:: after_request_handlers_hook(*args, **kwargs)
.. py:function:: before_request_handlers_hook(*args, **kwargs)
.. versionadded:: 1.3.10
+4 -3
View File
@@ -63,6 +63,7 @@ INSTALL_REQUIRES = [
"filetype>=1.0.7,<2",
"zeroconf>=0.24,<0.25",
"zipstream-new>=1.1.8,<1.2",
"pathvalidate>=2.4.1,<3",
# vendor bundled dependencies
"unidecode>=0.04.14,<0.05", # dependency of awesome-slugify
"blinker>=1.4,<2", # dependency of flask_principal
@@ -240,9 +241,9 @@ def params():
project_urls = {
"Community Forum": "https://community.octoprint.org",
"Bug Reports": "https://github.com/foosel/OctoPrint/issues",
"Source": "https://github.com/foosel/OctoPrint",
"Funding": "https://donate.octoprint.org",
"Bug Reports": "https://github.com/OctoPrint/OctoPrint/issues",
"Source": "https://github.com/OctoPrint/OctoPrint",
"Funding": "https://support.octoprint.org",
}
packages = setuptools.find_packages(where="src")
+14 -20
View File
@@ -13,7 +13,7 @@ import pylru
import octoprint.filemanager
from octoprint.util import atomic_write, is_hidden_path, time_this, to_bytes, to_unicode
from octoprint.util.text import sanitize
from octoprint.util.files import sanitize_filename
from . import Storage, StorageError
@@ -28,13 +28,14 @@ class LocalFileStorage(Storage):
This storage type implements :func:`path_on_disk`.
"""
def __init__(self, basefolder, create=False, key="local"):
def __init__(self, basefolder, create=False, key="local", really_universal=False):
"""
Initializes a ``LocalFileStorage`` instance under the given ``basefolder``, creating the necessary folder
if necessary and ``create`` is set to ``True``.
:param string basefolder: the path to the folder under which to create the storage
:param bool create: ``True`` if the folder should be created if it doesn't exist yet, ``False`` otherwise
:param string basefolder: the path to the folder under which to create the storage
:param bool create: ``True`` if the folder should be created if it doesn't exist yet, ``False`` otherwise
:param bool really_universal: ``True`` if the file names should be forced to really universal, ``False`` otherwise
"""
self._logger = logging.getLogger(__name__)
@@ -47,6 +48,8 @@ class LocalFileStorage(Storage):
code=StorageError.INVALID_DIRECTORY,
)
self._really_universal = really_universal
import threading
self._metadata_lock_mutex = threading.RLock()
@@ -738,22 +741,10 @@ class LocalFileStorage(Storage):
def sanitize_name(self, name):
"""
Raises a :class:`ValueError` for a ``name`` containing ``/`` or ``\\``. Otherwise
slugifies the given ``name`` by converting it to ASCII, leaving ``-``, ``_``, ``.``,
``(``, and ``)`` as is.
sanitizes the given ``name`` using ``octoprint.files.sanitize_filename``. Also
strips leading ``.``s.
"""
name = to_unicode(name)
if name is None:
return None
if "/" in name or "\\" in name:
raise ValueError("name must not contain / or \\")
result = sanitize(name, safe_chars="-_.()[] ").replace(" ", "_")
if result and result != "." and result != ".." and result[0] == ".":
# hidden files under *nix
result = result[1:]
return result
return sanitize_filename(name, really_universal=self._really_universal)
def sanitize_path(self, path):
"""
@@ -772,7 +763,10 @@ class LocalFileStorage(Storage):
path_elements = path.split("/")
joined_path = self.basefolder
for path_element in path_elements:
joined_path = os.path.join(joined_path, self.sanitize_name(path_element))
if path_element == ".." or path_element == ".":
joined_path = os.path.join(joined_path, path_element)
else:
joined_path = os.path.join(joined_path, self.sanitize_name(path_element))
path = os.path.realpath(joined_path)
if not path.startswith(self.basefolder):
raise ValueError(
@@ -1,4 +1,4 @@
<div id="plugin_announcements_dialog" class="modal hide fade large" tabindex="-1" role="dialog" aria-labelledby="announcements_dialog_label" aria-hidden="true">
<div id="plugin_announcements_dialog" class="modal hide fade-in large" tabindex="-1" role="dialog" aria-labelledby="announcements_dialog_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h3 id="announcements_dialog_label">{{ _('Announcements') }}</h3>
@@ -1,4 +1,4 @@
<div id="plugin_appkeys_keygenerated" class="modal hide fade">
<div id="plugin_appkeys_keygenerated" class="modal hide fade-in">
<div class="modal-header">
<a href="javascript:void(0)" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 id="plugin_appkeys_keygenerated_title"></h3>
@@ -18,10 +18,10 @@ from octoprint.util.version import (
)
SENTRY_URL_SERVER = (
"https://650d1f41ffc14ded800d7862f887af20@o118517.ingest.sentry.io/1373987"
"https://6a544965fe6c4c6eb96f7e39352b2924@o118517.ingest.sentry.io/1373987"
)
SENTRY_URL_COREUI = (
"https://775a5d0614c34a47b9fd1c92e16771af@o118517.ingest.sentry.io/1374096"
"https://840570e9555741bcb82bd56a084fb46e@o118517.ingest.sentry.io/1374096"
)
SETTINGS_DEFAULTS = {
@@ -60,6 +60,8 @@ $(function () {
self.renderer_showRetracts = ko.observable(true);
self.renderer_showPrinthead = ko.observable(true);
self.renderer_showSegmentStarts = ko.observable(false);
self.renderer_showDebugArcs = ko.observable(false);
self.renderer_chromeArcFix = ko.observable(OctoPrint.coreui.browser.chrome);
self.renderer_showBoundingBox = ko.observable(false);
self.renderer_showLayerBoundingBox = ko.observable(false);
self.renderer_showFullSize = ko.observable(false);
@@ -97,6 +99,8 @@ $(function () {
showRetracts: self.renderer_showRetracts(),
showHead: self.renderer_showPrinthead(),
showSegmentStarts: self.renderer_showSegmentStarts(),
showDebugArcs: self.renderer_showDebugArcs(),
chromeArcFix: self.renderer_chromeArcFix(),
showBoundingBox: self.renderer_showBoundingBox(),
showLayerBoundingBox: self.renderer_showLayerBoundingBox(),
showFullSize: self.renderer_showFullSize(),
@@ -146,6 +150,8 @@ $(function () {
self.renderer_showRetracts.subscribe(self.rendererOptionUpdated);
self.renderer_showPrinthead.subscribe(self.rendererOptionUpdated);
self.renderer_showSegmentStarts.subscribe(self.rendererOptionUpdated);
self.renderer_showDebugArcs.subscribe(self.rendererOptionUpdated);
self.renderer_chromeArcFix.subscribe(self.rendererOptionUpdated);
self.renderer_showBoundingBox.subscribe(self.rendererOptionUpdated);
self.renderer_showLayerBoundingBox.subscribe(self.rendererOptionUpdated);
self.renderer_showFullSize.subscribe(self.rendererOptionUpdated);
@@ -214,6 +220,9 @@ $(function () {
self.settings.printerProfiles
.currentProfileData()
.volume.formFactor.subscribe(self._printerProfileUpdated);
self.settings.printerProfiles
.currentProfileData()
.volume.origin.subscribe(self._printerProfileUpdated);
}
if (self.settings.printerProfiles.currentProfileData().axes) {
self.settings.printerProfiles
@@ -393,6 +402,10 @@ $(function () {
self.clear();
};
self.resetViewport = function () {
GCODE.ui.resetViewport();
};
self.resetOptions = function () {
self.renderer_centerModel(false);
self.renderer_centerViewport(false);
@@ -401,6 +414,8 @@ $(function () {
self.renderer_showRetracts(true);
self.renderer_showPrinthead(true);
self.renderer_showSegmentStarts(false);
self.renderer_showDebugArcs(false);
self.renderer_chromeArcFix(OctoPrint.coreui.browser.chrome);
self.renderer_showBoundingBox(false);
self.renderer_showLayerBoundingBox(false);
self.renderer_showFullSize(false);
@@ -454,8 +469,8 @@ $(function () {
max: 1,
step: 1,
value: [0, 1],
enabled: false,
tooltip: "hide"
enabled: false
//tooltip: "hide"
})
.on("slide", self.changeCommandRange);
};
@@ -890,6 +905,8 @@ $(function () {
showRetracts: self.renderer_showRetracts(),
showPrinthead: self.renderer_showPrinthead(),
showSegmentStarts: self.renderer_showSegmentStarts(),
showDebugArcs: self.renderer_showDebugArcs(),
chromeArcFix: self.renderer_chromeArcFix(),
showPrevious: self.renderer_showPrevious(),
showCurrent: self.renderer_showCurrent(),
showNext: self.renderer_showNext(),
@@ -916,6 +933,10 @@ $(function () {
self.renderer_showPrinthead(current["showPrinthead"]);
if (current["showSegmentStarts"] !== undefined)
self.renderer_showSegmentStarts(current["showSegmentStarts"]);
if (current["showDebugArcs"] !== undefined)
self.renderer_showDebugArcs(current["showDebugArcs"]);
if (current["chromeArcFix"] !== undefined)
self.renderer_chromeArcFix(current["chromeArcFix"]);
if (current["showPrevious"] !== undefined)
self.renderer_showPrevious(current["showPrevious"]);
if (current["showCurrent"] !== undefined)
@@ -56,6 +56,8 @@ GCODE.renderer = (function () {
showHead: false,
showSegmentStarts: false,
sizeSegmentStart: 2 * pixelRatio,
showDebugArcs: false,
chromeArcFix: false,
moveModel: true,
zoomInOnModel: false,
@@ -74,17 +76,29 @@ GCODE.renderer = (function () {
onDragStop: undefined
};
// offset due to dragging
var offsetModelX = 0,
offsetModelY = 0;
// TODO: remove in 1.7.0
var offsetBedX = 0,
offsetBedY = 0;
// scale due to zooming
var scaleX = 1,
scaleY = 1;
var speeds = [];
var speedsByLayer = {};
var currentInvertX = false,
currentInvertY = false;
var deg0 = 0.0;
var deg90 = Math.PI / 2.0;
var deg180 = Math.PI;
var deg270 = Math.PI * 1.5;
var deg360 = Math.PI * 2.0;
function notifyIfViewportChanged() {
if (viewportChanged) {
if (renderOptions["onViewportChange"]) {
@@ -192,12 +206,77 @@ GCODE.renderer = (function () {
minY = Math.min(minY, cmds[i].y);
maxY = Math.max(maxY, cmds[i].y);
}
if (!!cmds[i].direction) {
var dir = cmds[i].direction;
var arc = getArcParams(cmds[i]);
var startAngle, endAngle;
if (dir < 0) {
// cw: start = start and end = end
startAngle = arc.startAngle;
endAngle = arc.endAngle;
} else {
// ccw: start = end and end = start for clockwise
startAngle = arc.endAngle;
endAngle = arc.startAngle;
}
if (startAngle < 0) startAngle += deg360;
if (endAngle < 0) endAngle += deg360;
// from now on we only think in clockwise direction
var intersectsAngle = function (sA, eA, angle) {
return (
(sA >= angle && (eA <= angle || eA > sA)) ||
(sA <= angle && eA <= angle && eA > sA)
);
};
if (intersectsAngle(startAngle, endAngle, deg0)) {
// arc crosses positive x
maxX = Math.max(maxX, arc.x + arc.r);
}
if (intersectsAngle(startAngle, endAngle, deg90)) {
// arc crosses positive y
maxY = Math.max(maxY, arc.y + arc.r);
}
if (intersectsAngle(startAngle, endAngle, deg180)) {
// arc crosses negative x
minX = Math.min(minX, arc.x - arc.r);
}
if (intersectsAngle(startAngle, endAngle, deg270)) {
// arc crosses negative y
minY = Math.min(minY, arc.y - arc.r);
}
}
}
}
return {minX: minX, maxX: maxX, minY: minY, maxY: maxY};
}
function getArcParams(cmd) {
var x = cmd.x !== undefined ? cmd.x : cmd.prevX;
var y = cmd.y !== undefined ? cmd.y : cmd.prevY;
var centerX = cmd.prevX + cmd.i;
var centerY = cmd.prevY + cmd.j;
return {
x: centerX,
y: centerY,
r: Math.sqrt(cmd.i * cmd.i + cmd.j * cmd.j),
startAngle: Math.atan2(cmd.prevY - centerY, cmd.prevX - centerX),
endAngle: Math.atan2(y - centerY, x - centerX),
startX: cmd.prevX,
startY: cmd.prevY,
endX: x,
endY: y
};
}
function trackTransforms(ctx) {
var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
var xform = svg.createSVGMatrix();
@@ -268,12 +347,80 @@ GCODE.renderer = (function () {
};
}
// replace arc for chrome, code from https://stackoverflow.com/a/11689752
var bezierArc = function (x, y, radius, startAngle, endAngle, anticlockwise) {
// Signed length of curve
var signedLength;
var tau = 2 * Math.PI;
if (!anticlockwise && endAngle - startAngle >= tau) {
signedLength = tau;
} else if (anticlockwise && startAngle - endAngle >= tau) {
signedLength = -tau;
} else {
var delta = endAngle - startAngle;
signedLength = delta - tau * Math.floor(delta / tau);
// If very close to a full number of revolutions, make it full
if (Math.abs(delta) > 1e-12 && signedLength < 1e-12) signedLength = tau;
// Adjust if anti-clockwise
if (anticlockwise && signedLength > 0) signedLength = signedLength - tau;
}
// Minimum number of curves; 1 per quadrant.
var minCurves = Math.ceil(Math.abs(signedLength) / (Math.PI / 2));
// Number of curves; square-root of radius (or minimum)
var numCurves = Math.ceil(Math.max(minCurves, Math.sqrt(radius)));
// "Radius" of control points to ensure that the middle point
// of the curve is exactly on the circle radius.
var cpRadius = radius * (2 - Math.cos(signedLength / (numCurves * 2)));
// Angle step per curve
var step = signedLength / numCurves;
// Draw the circle
this.lineTo(x + radius * Math.cos(startAngle), y + radius * Math.sin(startAngle));
for (
var i = 0, a = startAngle + step, a2 = startAngle + step / 2;
i < numCurves;
++i, a += step, a2 += step
)
this.quadraticCurveTo(
x + cpRadius * Math.cos(a2),
y + cpRadius * Math.sin(a2),
x + radius * Math.cos(a),
y + radius * Math.sin(a)
);
};
var applyContextPatches = function () {
if (!ctx.origArc) ctx.origArc = ctx.arc;
ctx.circle = function (x, y, r) {
ctx.origArc(x, y, r, 0, 2 * Math.PI, true);
};
if (navigator.userAgent.toLowerCase().indexOf("chrome") > -1) {
if (renderOptions["chromeArcFix"]) {
ctx.arc = bezierArc;
log.info("Chrome Arc Fix enabled");
} else {
ctx.arc = ctx.origArc;
log.info("Chrome Arc Fix disabled");
}
}
};
var startCanvas = function () {
var jqueryCanvas = $(renderOptions["container"]);
//jqueryCanvas.css("background-color", renderOptions["bgColorOffGrid"]);
canvas = jqueryCanvas[0];
ctx = canvas.getContext("2d");
applyContextPatches();
canvas.style.height = canvas.height + "px";
canvas.style.width = canvas.width + "px";
canvas.height = canvas.height * pixelRatio;
@@ -286,8 +433,6 @@ GCODE.renderer = (function () {
ctx.lineCap = "round";
trackTransforms(ctx);
ctx.scale(1, -1); // Invert y-axis
// dragging => translating
canvas.addEventListener(
"mousedown",
@@ -324,6 +469,9 @@ GCODE.renderer = (function () {
if (renderOptions["onDrag"] && renderOptions["onDrag"](pt) === false)
return;
ctx.translate(pt.x - dragStart.x, pt.y - dragStart.y);
reRender();
renderOptions["centerViewport"] = false;
renderOptions["zoomInOnModel"] = false;
renderOptions["zoomInOnBed"] = false;
@@ -334,9 +482,6 @@ GCODE.renderer = (function () {
scaleX = 1;
scaleY = 1;
ctx.translate(pt.x - dragStart.x, pt.y - dragStart.y);
reRender();
if (renderOptions["onInternalOptionChange"] !== undefined) {
renderOptions["onInternalOptionChange"]({
centerViewport: false,
@@ -380,6 +525,9 @@ GCODE.renderer = (function () {
// return to old position
ctx.translate(-pt.x, -pt.y);
// render
reRender();
// disable conflicting options
renderOptions["zoomInOnModel"] = false;
renderOptions["zoomInOnBed"] = false;
@@ -390,9 +538,6 @@ GCODE.renderer = (function () {
scaleX = 1;
scaleY = 1;
// render
reRender();
if (renderOptions["onInternalOptionChange"] !== undefined) {
renderOptions["onInternalOptionChange"]({
zoomInOnModel: false,
@@ -469,7 +614,7 @@ GCODE.renderer = (function () {
// draw origin
ctx.beginPath();
ctx.arc(0, 0, 2, 0, Math.PI * 2, true);
ctx.circle(0, 0, 2);
ctx.stroke();
ctx.strokeStyle = renderOptions["colorGrid"];
@@ -513,7 +658,7 @@ GCODE.renderer = (function () {
// outline
var r = renderOptions["bed"]["r"];
ctx.arc(0, 0, r, 0, Math.PI * 2, true);
ctx.circle(0, 0, r);
// origin
ctx.moveTo(-1 * r, 0);
@@ -527,7 +672,7 @@ GCODE.renderer = (function () {
// draw origin
ctx.beginPath();
ctx.arc(0, 0, 2, 0, Math.PI * 2, true);
ctx.circle(0, 0, 2);
ctx.stroke();
ctx.strokeStyle = renderOptions["colorGrid"];
@@ -663,6 +808,17 @@ GCODE.renderer = (function () {
ctx.stroke();
};
var drawDebugArc = function (arc, ccw) {
ctx.moveTo(arc.x, arc.y);
ctx.lineTo(arc.startX, arc.startY);
ctx.moveTo(arc.x, arc.y);
ctx.lineTo(arc.endX, arc.endY);
ctx.moveTo(arc.startX, arc.startY);
ctx.lineTo(arc.endX, arc.endY);
ctx.moveTo(arc.startX, arc.startY);
ctx.arc(arc.x, arc.y, arc.r, arc.startAngle, arc.endAngle, ccw);
};
var drawLayer = function (layerNum, fromProgress, toProgress, isNotCurrentLayer) {
log.trace(
"Drawing layer " +
@@ -809,14 +965,14 @@ GCODE.renderer = (function () {
var prevPathType = "fill";
function strokePathIfNeeded(newPathType, strokeStyle) {
if (newPathType != prevPathType || newPathType == "fill") {
if (prevPathType != "fill") {
if (newPathType !== prevPathType || newPathType === "fill") {
if (prevPathType !== "fill") {
ctx.stroke();
}
prevPathType = newPathType;
ctx.beginPath();
if (newPathType != "fill") {
if (newPathType !== "fill") {
ctx.strokeStyle = strokeStyle;
ctx.moveTo(prevX, prevY);
}
@@ -875,22 +1031,17 @@ GCODE.renderer = (function () {
// no retraction => real extrusion move, use tool color to draw line
strokePathIfNeeded("extrude", getColorLineForTool(tool));
ctx.lineWidth = renderOptions["extrusionWidth"] * lineWidthFactor;
if (cmd.direction !== undefined && cmd.direction != 0) {
var di = cmd.i;
var dj = cmd.j;
var centerX = prevX + di;
var centerY = prevY + dj;
var startAngle = Math.atan2(prevY - centerY, prevX - centerX);
var endAngle = Math.atan2(y - centerY, x - centerX);
var radius = Math.sqrt(di * di + dj * dj);
ctx.arc(
centerX,
centerY,
radius,
startAngle,
endAngle,
cmd.direction < 0
); // Y-axis is inverted so direction is also inverted
if (cmd.direction !== undefined && cmd.direction !== 0) {
var arc = getArcParams(cmd);
var ccw = cmd.direction < 0; // Y-axis is inverted so direction is also inverted
if (renderOptions["showDebugArcs"] && !isNotCurrentLayer) {
strokePathIfNeeded("debugarc", "#ff0000");
drawDebugArc(arc, ccw);
strokePathIfNeeded("extrude", getColorLineForTool(tool));
}
ctx.arc(arc.x, arc.y, arc.r, arc.startAngle, arc.endAngle, ccw);
} else {
ctx.lineTo(x, y);
}
@@ -930,7 +1081,7 @@ GCODE.renderer = (function () {
.alpha(alpha)
.html();
ctx.beginPath();
ctx.arc(prevX, prevY, sizeHeadSpot, 0, Math.PI * 2, true);
ctx.circle(prevX, prevY, sizeHeadSpot);
ctx.fill();
}
};
@@ -971,15 +1122,6 @@ GCODE.renderer = (function () {
(renderOptions["bed"]["y"] / 2 -
(layerBounds.minY + layerBounds.maxY) / 2);
}
} else if (
renderOptions["bed"]["circular"] ||
renderOptions["bed"]["centeredOrigin"]
) {
canvasCenter = ctx.transformedPoint(canvas.width / 2, canvas.height / 2);
offsetModelX = canvasCenter.x;
offsetModelY = canvasCenter.y;
offsetBedX = 0;
offsetBedY = 0;
} else {
offsetModelX = 0;
offsetModelY = 0;
@@ -1062,48 +1204,57 @@ GCODE.renderer = (function () {
currentInvertY = invertY;
};
var resetViewport = function () {
ctx.setTransform(1, 0, 0, 1, 0, 0);
ctx.scale(1, -1); // invert y axis
var bedWidth = renderOptions["bed"]["x"];
var bedHeight = renderOptions["bed"]["y"];
if (renderOptions["bed"]["circular"]) {
bedWidth = bedHeight = renderOptions["bed"]["r"] * 2;
}
// Ratio of bed to canvas viewport
var viewportRatio = Math.min(
(canvas.width - 10) / bedWidth,
(canvas.height - 10) / bedHeight
);
// Apply initial translation to center the bed in the viewport
var translationX, translationY;
if (renderOptions["bed"]["circular"] || renderOptions["bed"]["centeredOrigin"]) {
translationX = canvas.width / 2;
translationY = canvas.height / 2;
} else {
translationX = (canvas.width - bedWidth * viewportRatio) / 2;
translationY =
bedHeight * viewportRatio +
(canvas.height - bedHeight * viewportRatio) / 2;
}
ctx.translate(translationX, -translationY);
ctx.scale(viewportRatio, viewportRatio);
// Scaling to apply to move lines and extrusion/retraction markers
lineWidthFactor = 1 / viewportRatio;
offsetModelX = 0;
offsetModelY = 0;
offsetBedX = 0;
offsetBedY = 0;
};
// ***** PUBLIC *******
return {
init: function () {
startCanvas();
resetViewport();
initialized = true;
var bedWidth = renderOptions["bed"]["x"];
var bedHeight = renderOptions["bed"]["y"];
if (renderOptions["bed"]["circular"]) {
bedWidth = bedHeight = renderOptions["bed"]["r"] * 2;
}
// Ratio of bed to canvas viewport
var viewportRatio = Math.min(
(canvas.width - 10) / bedWidth,
(canvas.height - 10) / bedHeight
);
// Apply initial translation to center the bed in the viewport
var translationX, translationY;
if (renderOptions["bed"]["circular"]) {
translationX = canvas.width / 2;
translationY = canvas.height / 2;
} else {
translationX = (canvas.width - bedWidth * viewportRatio) / 2;
translationY =
bedHeight * viewportRatio +
(canvas.height - bedHeight * viewportRatio) / 2;
}
ctx.translate(translationX, -translationY);
ctx.scale(viewportRatio, viewportRatio);
offsetModelX = 0;
offsetModelY = 0;
offsetBedX = 0;
offsetBedY = 0;
// Scaling to apply to move lines and extrusion/retraction markers
lineWidthFactor = 1 / viewportRatio;
},
setOption: function (options) {
var mustRefresh = false;
var mustReset = false;
var mustReapplyPatches = false;
var dirty = false;
for (var opt in options) {
if (!renderOptions.hasOwnProperty(opt) || !options.hasOwnProperty(opt))
@@ -1120,15 +1271,30 @@ GCODE.renderer = (function () {
"zoomInOnModel",
"bed",
"invertAxes",
"onViewportChange"
"onViewportChange",
"chromeArcFix"
]) > -1
) {
mustRefresh = true;
}
if ($.inArray(opt, ["bed", "onViewportChange"]) > -1) {
mustReset = true;
}
if ($.inArray(opt, ["chromeArcFix"]) > -1) {
mustReapplyPatches = true;
}
}
if (!dirty) return;
if (initialized) {
if (mustReset) {
resetViewport();
}
if (mustReapplyPatches) {
applyContextPatches();
}
if (mustRefresh) {
this.refresh();
} else {
@@ -1202,6 +1368,10 @@ GCODE.renderer = (function () {
if (layerNum === undefined) layerNum = layerNumStore;
this.doRender(model, layerNum);
},
resetViewport: function () {
resetViewport();
reRender();
},
getZ: function (layerNum) {
if (!model || !model[layerNum]) {
return "-1";
@@ -177,6 +177,10 @@ GCODE.ui = (function () {
}
},
resetViewport: function () {
GCODE.renderer.resetViewport();
},
updateLayerInfo: function (layerNum) {
switchLayer(layerNum, true);
},
@@ -17,10 +17,8 @@
</div>
<div class="progress progress-text-centered">
<span class="progress-text-back" data-bind="text: ui_progress_text"></span>
<div class="bar" style="width: 0;" data-bind="style: { width: ui_progress_percentage() + '%' }">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent', text: ui_progress_text"></span>
</div>
<div class="bar" data-bind="style: { width: ui_progress_percentage() + '%' }"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (ui_progress_percentage() >= 50), 'progress-text-back': (ui_progress_percentage() < 50) }, text: ui_progress_text()"></span>
</div>
<div class="row-fluid">
@@ -74,6 +72,7 @@
<p>
<button class="btn btn-block" data-bind="click: reload, enable: enableReload">{{ _('Reload') }}</button>
<button class="btn btn-block" data-bind="click: resetViewport">{{ _('Reset viewport') }}</button>
</p>
<div class="advanced_options">
@@ -92,6 +91,13 @@
<label class="checkbox">
<input type="checkbox" data-bind="checked: renderer_showSegmentStarts">{{ _('Show segment starts') }}
</label>
<label class="checkbox">
<input type="checkbox" data-bind="checked: renderer_showDebugArcs">{{ _('Show debug arcs') }}
</label>
<label class="checkbox" data-bind="visible: OctoPrint.coreui.browser.chrome">
<input type="checkbox" data-bind="checked: renderer_chromeArcFix">{{ _('Apply arc fix') }} <span class="label">{{ _('Chrome') }}</span>
<span class="help-block">{{ _("See <a href='%(url)s' target='_blank'>issue #4117</a>.", url="https://github.com/OctoPrint/OctoPrint/issues/4117") }}</span>
</label>
</p>
<p>
<label class="checkbox">
@@ -693,11 +693,15 @@ $(function () {
}
OctoPrint.plugins.pluginmanager
.getRepository(!!options.refresh)
.getRepository(!!options.refresh, {ifModified: true})
.fail(function () {
deferred.reject();
})
.done(function (data) {
.done(function (data, status, xhr) {
// Don't update if cached - requires ifModified: true to pass through
// the 304 status, otherwise it fakes it and produces 200 all the time.
if (xhr.status === 304) return;
self.fromRepositoryResponse(data.repository);
self.online(data.online !== undefined ? data.online : true);
deferred.resolveWith(data);
@@ -188,7 +188,7 @@
</div>
</div>
<div id="settings_plugin_pluginmanager_workingdialog" class="modal hide fade">
<div id="settings_plugin_pluginmanager_workingdialog" class="modal hide fade-in">
<div class="modal-header">
<h3 data-bind="text: workingTitle"></h3>
</div>
@@ -200,7 +200,7 @@
</div>
</div>
<div id="settings_plugin_pluginmanager_repositorydialog" class="modal hide fade">
<div id="settings_plugin_pluginmanager_repositorydialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Install new Plugins...') }}</h3>
@@ -346,7 +346,7 @@
</div>
</div>
<div id="settings_plugin_pluginmanager_configurationdialog" class="modal hide fade">
<div id="settings_plugin_pluginmanager_configurationdialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Plugin Configuration') }}</h3>
@@ -81,6 +81,12 @@ $(function () {
);
});
self.enableUpdateAll = ko.pureComputed(function () {
return (
self.enableUpdate() && self.availableAndPossibleAndEnabled().length > 0
);
});
self.enable_configSave = ko.pureComputed(function () {
return (
self.config_checkType() === "github_release" ||
@@ -71,9 +71,9 @@
{% endtrans %}</div>
<div class="pull-right">
<button class="btn btn-primary" data-bind="click: function() { $root.updateAll(); }, enable: enableUpdate, css: {disabled: !enableUpdate}"><i class="fas fa-spinner fa-spin" data-bind="visible: updateInProgress"></i> {{ _('Update all') }}</button>
<button class="btn btn-primary" data-bind="click: function() { $root.updateAll(); }, enable: enableUpdateAll, css: {disabled: !enableUpdateAll}"><i class="fas fa-spinner fa-spin" data-bind="visible: updateInProgress"></i> {{ _('Update all') }}</button>
<button class="btn" data-bind="click: function() { $root.performCheck(true, false, true); }, enable: !checking(), css: {disabled: checking()}"><i class="fas fa-spinner fa-spin" data-bind="visible: checking"></i> {{ _('Check for updates') }}</button>
<button class="btn btn-small" data-bind="click: function() { $root.showPluginSettings(); }" title="{{ _('Plugin Configuration')|edq }}"><i class="fas fa-wrench"></i></button>
<button class="btn" data-bind="click: function() { $root.showPluginSettings(); }" title="{{ _('Plugin Configuration')|edq }}"><i class="fas fa-wrench"></i></button>
</div>
<h3>{{ _('Current versions') }}</h3>
@@ -117,7 +117,7 @@
<div id="settings_plugin_softwareupdate_configurationdialog" class="modal hide fade">
<div id="settings_plugin_softwareupdate_configurationdialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Plugin Configuration') }}</h3>
@@ -164,7 +164,7 @@
</div>
</div>
<div id="settings_plugin_softwareupdate_workingdialog" class="modal hide fade">
<div id="settings_plugin_softwareupdate_workingdialog" class="modal hide fade-in">
<div class="modal-header">
<h3 data-bind="text: workingTitle"></h3>
</div>
+4 -6
View File
@@ -1278,8 +1278,8 @@ class Printer(
self._protocol.list_files(
tags=kwargs.get("tags", set()) | {"trigger:printer.refresh_sd_files"}
)
if blocking:
self._sd_filelist_available.wait(kwargs.get("timeout", 10000))
if blocking and not self.is_printing():
self._sd_filelist_available.wait(kwargs.get("timeout", 10))
return self._sd_files
# ~~ state monitoring
@@ -1396,16 +1396,14 @@ class Printer(
original_estimate_type = None
try:
(
print_time_left,
print_time_left_origin,
) = self._job.estimator.estimate(
(ptl, print_time_left_origin,) = self._job.estimator.estimate(
progress,
print_time,
cleaned_print_time,
original_estimate,
original_estimate_type,
)
print_time_left = int(ptl)
except Exception:
self._logger.exception(
"Error while estimating print time via {}".format(
-1
View File
@@ -2086,7 +2086,6 @@ class Server:
"js/lib/bootstrap-slider-knockout-binding.js",
"js/lib/loglevel.min.js",
"js/lib/sockjs.min.js",
"js/lib/ResizeSensor.js",
"js/lib/hls.js",
"js/lib/less.js",
]
+39 -11
View File
@@ -794,6 +794,7 @@ def gcodeFileCommand(filename, target):
# valid file commands, dict mapping command name to mandatory parameters
valid_commands = {
"select": [],
"unselect": [],
"slice": [],
"analyse": [],
"copy": ["destination"],
@@ -837,6 +838,26 @@ def gcodeFileCommand(filename, target):
job = fileManager.create_print_job(target, filename, user=user)
printer.select_job(job, start_printing=print_after_loading)
elif command == "unselect":
with Permissions.FILES_SELECT.require(403):
if not printer.is_ready():
return make_response(
"Printer is already printing, cannot unselect current file", 409
)
_, currentFilename = _getCurrentFile()
if currentFilename is None:
return make_response(
"Cannot unselect current file when there is no file selected", 409
)
if filename != currentFilename and filename != "current":
return make_response(
"Only the currently selected file can be unselected", 400
)
printer.unselect_file()
elif command == "slice":
with Permissions.SLICE.require(403):
if not _verifyFileExists(target, filename):
@@ -1062,18 +1083,25 @@ def gcodeFileCommand(filename, target):
target, dst_path, fileManager.sanitize_name(target, dst_name)
)
if (
_verifyFolderExists(target, destination)
and sanitized_destination != filename
):
# destination is an existing folder and not ourselves (= display rename), we'll assume we are supposed
# to move filename to this folder under the same name
destination = fileManager.join_path(target, destination, name)
# Check for exception thrown by _verifyFolderExists, if outside the root directory
try:
if (
_verifyFolderExists(target, destination)
and sanitized_destination != filename
):
# destination is an existing folder and not ourselves (= display rename), we'll assume we are supposed
# to move filename to this folder under the same name
destination = fileManager.join_path(target, destination, name)
if _verifyFileExists(target, destination) or _verifyFolderExists(
target, destination
):
abort(409, description="File or folder does already exist")
if _verifyFileExists(target, destination) or _verifyFolderExists(
target, destination
):
abort(409, description="File or folder does already exist")
except Exception:
abort(
409, description="Exception thrown by storage, bad folder/file name?"
)
is_file = fileManager.file_exists(target, filename)
is_folder = fileManager.folder_exists(target, filename)
+14 -1
View File
@@ -128,6 +128,7 @@ def getSettings():
"flipH": s.getBoolean(["webcam", "flipH"]),
"flipV": s.getBoolean(["webcam", "flipV"]),
"rotate90": s.getBoolean(["webcam", "rotate90"]),
"cacheBuster": s.getBoolean(["webcam", "cacheBuster"]),
},
"feature": {
"temperatureGraph": s.getBoolean(["feature", "temperatureGraph"]),
@@ -186,6 +187,7 @@ def getSettings():
"longRunningCommands": s.get(["serial", "longRunningCommands"]),
"checksumRequiringCommands": s.get(["serial", "checksumRequiringCommands"]),
"blockedCommands": s.get(["serial", "blockedCommands"]),
"ignoredCommands": s.get(["serial", "ignoredCommands"]),
"pausingCommands": s.get(["serial", "pausingCommands"]),
"emergencyCommands": s.get(["serial", "emergencyCommands"]),
"helloCommand": s.get(["serial", "helloCommand"]),
@@ -203,6 +205,7 @@ def getSettings():
"neverSendChecksum": s.getBoolean(["serial", "neverSendChecksum"]),
"sdRelativePath": s.getBoolean(["serial", "sdRelativePath"]),
"sdAlwaysAvailable": s.getBoolean(["serial", "sdAlwaysAvailable"]),
"sdLowerCase": s.getBoolean(["serial", "sdLowerCase"]),
"swallowOkAfterResend": s.getBoolean(["serial", "swallowOkAfterResend"]),
"repetierTargetTemp": s.getBoolean(["serial", "repetierTargetTemp"]),
"externalHeatupDetection": s.getBoolean(
@@ -567,6 +570,8 @@ def _saveSettings(data):
s.setBoolean(["webcam", "flipV"], data["webcam"]["flipV"])
if "rotate90" in data["webcam"]:
s.setBoolean(["webcam", "rotate90"], data["webcam"]["rotate90"])
if "cacheBuster" in data["webcam"]:
s.setBoolean(["webcam", "cacheBuster"], data["webcam"]["cacheBuster"])
if "feature" in data:
if "temperatureGraph" in data["feature"]:
@@ -617,7 +622,7 @@ def _saveSettings(data):
if "runAt" in data["gcodeAnalysis"]:
s.set(["gcodeAnalysis", "runAt"], data["gcodeAnalysis"]["runAt"])
if "bedZ" in data["gcodeAnalysis"]:
s.setBoolean(["gcodeAnalysis", "bedZ"], data["gcodeAnalysis"]["bedZ"])
s.setFloat(["gcodeAnalysis", "bedZ"], data["gcodeAnalysis"]["bedZ"])
if "serial" in data:
if "autoconnect" in data["serial"]:
@@ -628,6 +633,8 @@ def _saveSettings(data):
s.setInt(["serial", "baudrate"], data["serial"]["baudrate"])
if "exclusive" in data["serial"]:
s.setBoolean(["serial", "exclusive"], data["serial"]["exclusive"])
if "lowLatency" in data["serial"]:
s.setBoolean(["serial", "lowLatency"], data["serial"]["lowLatency"])
if "timeoutConnection" in data["serial"]:
s.setFloat(
["serial", "timeout", "connection"],
@@ -737,6 +744,10 @@ def _saveSettings(data):
data["serial"]["blockedCommands"], (list, tuple)
):
s.set(["serial", "blockedCommands"], data["serial"]["blockedCommands"])
if "ignoredCommands" in data["serial"] and isinstance(
data["serial"]["ignoredCommands"], (list, tuple)
):
s.set(["serial", "ignoredCommands"], data["serial"]["ignoredCommands"])
if "pausingCommands" in data["serial"] and isinstance(
data["serial"]["pausingCommands"], (list, tuple)
):
@@ -780,6 +791,8 @@ def _saveSettings(data):
s.setBoolean(
["serial", "sdAlwaysAvailable"], data["serial"]["sdAlwaysAvailable"]
)
if "sdLowerCase" in data["serial"]:
s.setBoolean(["serial", "sdLowerCase"], data["serial"]["sdLowerCase"])
if "swallowOkAfterResend" in data["serial"]:
s.setBoolean(
["serial", "swallowOkAfterResend"], data["serial"]["swallowOkAfterResend"]
+4 -3
View File
@@ -556,8 +556,10 @@ class OctoPrintFlaskResponse(flask.Response):
if samesite is not None:
samesite = samesite.lower()
if samesite == "none":
samesite = None
if samesite not in (None, "strict", "lax"):
# Must be string "None"
samesite = "None"
if samesite not in ("None", "strict", "lax"):
# If NoneType, the cookie is not set
samesite = None
kwargs["samesite"] = samesite
@@ -1690,7 +1692,6 @@ def collect_core_assets(preferred_stylesheet="css"):
assets["js"] = [
"js/app/bindings/allowbindings.js",
"js/app/bindings/contextmenu.js",
"js/app/bindings/copywidth.js",
"js/app/bindings/invisible.js",
"js/app/bindings/popover.js",
"js/app/bindings/qrcode.js",
+5
View File
@@ -90,6 +90,7 @@ default_settings = {
"port": None,
"baudrate": None,
"exclusive": True,
"lowLatency": True,
"autoconnect": False,
"log": False,
"timeout": {
@@ -115,6 +116,7 @@ default_settings = {
"blacklistedBaudrates": [],
"longRunningCommands": ["G4", "G28", "G29", "G30", "G32", "M400", "M226", "M600"],
"blockedCommands": ["M0", "M1"],
"ignoredCommands": [],
"pausingCommands": ["M0", "M1", "M25"],
"emergencyCommands": ["M112", "M108", "M410"],
"checksumRequiringCommands": ["M110"],
@@ -135,6 +137,7 @@ default_settings = {
"unknownCommandsNeedAck": False,
"sdRelativePath": False,
"sdAlwaysAvailable": False,
"sdLowerCase": False,
"maxNotSdPrinting": 2,
"swallowOkAfterResend": True,
"repetierTargetTemp": False,
@@ -250,6 +253,7 @@ default_settings = {
"fps": 25,
},
"cleanTmpAfterDays": 7,
"cacheBuster": False,
},
"gcodeAnalysis": {
"maxExtruders": 10,
@@ -270,6 +274,7 @@ default_settings = {
"uploadOverwriteConfirmation": True,
"autoUppercaseBlacklist": ["M117", "M118"],
"g90InfluencesExtruder": False,
"enforceReallyUniversalFilenames": False,
},
"folder": {
"uploads": None,
+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,0.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;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*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:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.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:hover,.btn:focus{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:thin dotted #333;outline:5px auto -webkit-focus-ring-color;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.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,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;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.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,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;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btnLine 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
@@ -1,48 +0,0 @@
ko.bindingHandlers.copyWidth = {
init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
var node = ko.bindingHandlers.copyWidth._getReferenceNode(element, valueAccessor);
ko.bindingHandlers.copyWidth._setWidth(node, element);
ko.bindingHandlers.copyWidth._addResizeSensor(node, element);
},
update: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
var node = ko.bindingHandlers.copyWidth._getReferenceNode(element, valueAccessor);
ko.bindingHandlers.copyWidth._setWidth(node, element);
ko.bindingHandlers.copyWidth._addResizeSensor(node, element);
},
_setWidth: function (node, element) {
var width = node.width();
if (!width) return;
if ($(element).width() === width) return;
element.style.width = width + "px";
},
_getReferenceNode: function (element, valueAccessor) {
var value = ko.utils.unwrapObservable(valueAccessor());
if (!value) return;
var parts = value.split(" ");
var node = $(element);
while (parts.length > 0) {
var part = parts.shift();
if (part === ":parent") {
node = node.parent();
} else {
var selector = part;
if (parts.length > 0) {
selector += " " + parts.join(" ");
}
node = $(selector, node);
break;
}
}
return node;
},
_addResizeSensor: function (node, element) {
if (element.copyWidthSensor) {
element.copyWidthSensor.detach();
delete element.copyWidthSensor;
}
element.copyWidthSensor = new ResizeSensor(node, function () {
ko.bindingHandlers.copyWidth._setWidth(node, element);
});
}
};
+4 -4
View File
@@ -755,7 +755,7 @@ function showMessageDialog(msg, options) {
var modal = $("<div></div>").addClass("modal hide");
if (!nofade) {
modal.addClass("fade");
modal.addClass("fade-in");
}
modal
.append($("<div></div>").addClass("modal-header").append(modalHeader))
@@ -845,7 +845,7 @@ function showConfirmationDialog(msg, onacknowledge, options) {
var modal = $("<div></div>").addClass("modal hide");
if (!nofade) {
modal.addClass("fade");
modal.addClass("fade-in");
}
var buttons = $("<div></div>").addClass("modal-footer").append(cancelButton);
@@ -963,7 +963,7 @@ function showSelectionDialog(options) {
// create modal and do final wiring up
var modal = $("<div></div>").addClass("modal hide");
if (!nofade) {
modal.addClass("fade");
modal.addClass("fade-in");
}
if (!cancel) {
modal.data("backdrop", "static").data("keyboard", "false");
@@ -1092,7 +1092,7 @@ function showProgressModal(options, promise) {
}
var modal = $("<div></div>")
.addClass("modal hide fade")
.addClass("modal hide fade-in")
.addClass(dialogClass)
.append($("<div></div>").addClass("modal-header").append(modalHeader))
.append(modalBody)
@@ -46,7 +46,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -156,7 +156,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -201,7 +200,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -565,7 +563,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -607,7 +604,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -693,12 +693,14 @@ $(function () {
var newSrc = self.settings.webcam_streamUrl();
if (currentSrc != newSrc) {
if (newSrc.lastIndexOf("?") > -1) {
newSrc += "&";
} else {
newSrc += "?";
if (self.settings.webcam_cacheBuster()) {
if (newSrc.lastIndexOf("?") > -1) {
newSrc += "&";
} else {
newSrc += "?";
}
newSrc += new Date().getTime();
}
newSrc += new Date().getTime();
self.webcamLoaded(false);
self.webcamError(false);
@@ -83,6 +83,20 @@ $(function () {
self.moveEntry = ko.observable({name: "", display: "", path: ""}); // is there a better way to do this?
self.moveSource = ko.observable(undefined);
self.moveDestination = ko.observable(undefined);
self.moveSourceFilename = ko.observable(undefined);
self.moveDestinationFilename = ko.observable(undefined);
self.moveDestinationFullpath = ko.pureComputed(function () {
// Join the paths for renaming
if (self.moveSourceFilename() != self.moveDestinationFilename()) {
if (self.moveDestination() === "/") {
return self.moveDestination() + self.moveDestinationFilename();
} else {
return self.moveDestination() + "/" + self.moveDestinationFilename();
}
} else {
return self.moveDestination();
}
});
self.moveError = ko.observable("");
self.folderList = ko.observableArray(["/"]);
@@ -103,6 +117,7 @@ $(function () {
self.allItems = ko.observable(undefined);
self.currentPath = ko.observable("");
self.uploadProgressText = ko.observable();
self.uploadProgressPercentage = ko.observable();
// list style incl. persistence
var listStyleStorageKey = "gcodeFiles.currentListStyle";
@@ -679,6 +694,8 @@ $(function () {
self.moveError("");
self.moveSource(current);
self.moveDestination(current);
self.moveSourceFilename(entry.name);
self.moveDestinationFilename(entry.name);
self.moveDialog.modal("show");
};
@@ -1294,6 +1311,7 @@ $(function () {
self.uploadProgress.addClass("progress-striped").addClass("active");
self.uploadProgressBar.css("width", "100%");
if (payload.progressAvailable) {
self.uploadProgressPercentage(percentage);
self.uploadProgressText(
_.sprintf(gettext("Slicing ... (%(percentage)d%%)"), {percentage: 0})
);
@@ -1308,18 +1326,21 @@ $(function () {
percentage: Math.round(progress)
})
);
self.uploadProgressPercentage(Math.round(progress));
};
self.onEventSlicingCancelled = function (payload) {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0%");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
};
self.onEventSlicingDone = function (payload) {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0%");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
new PNotify({
title: gettext("Slicing done"),
@@ -1341,6 +1362,7 @@ $(function () {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0%");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
var html = _.sprintf(
gettext("Could not slice %(stl)s to %(gcode)s: %(reason)s"),
@@ -1369,6 +1391,7 @@ $(function () {
self.onEventTransferStarted = function (payload) {
self.uploadProgress.addClass("progress-striped").addClass("active");
self.uploadProgressBar.css("width", "100%");
self.uploadProgressPercentage(100);
self.uploadProgressText(gettext("Streaming ..."));
};
@@ -1376,6 +1399,7 @@ $(function () {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
new PNotify({
title: gettext("Streaming done"),
@@ -1399,6 +1423,7 @@ $(function () {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
new PNotify({
title: gettext("Streaming failed"),
@@ -1457,6 +1482,7 @@ $(function () {
self._setProgressBar = function (percentage, text, active) {
self.uploadProgressBar.css("width", percentage + "%");
self.uploadProgressText(text);
self.uploadProgressPercentage(percentage);
if (active) {
self.uploadProgress.addClass("progress-striped active");
@@ -676,7 +676,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -166,6 +166,7 @@ $(function () {
self.webcam_flipH = ko.observable(undefined);
self.webcam_flipV = ko.observable(undefined);
self.webcam_rotate90 = ko.observable(undefined);
self.webcam_cacheBuster = ko.observable(undefined);
self.feature_temperatureGraph = ko.observable(undefined);
self.feature_sdSupport = ko.observable(undefined);
@@ -183,6 +184,7 @@ $(function () {
self.serial_port = ko.observable();
self.serial_baudrate = ko.observable();
self.serial_exclusive = ko.observable();
self.serial_lowLatency = ko.observable();
self.serial_portOptions = ko.observableArray([]);
self.serial_baudrateOptions = ko.observableArray([]);
self.serial_autoconnect = ko.observable(undefined);
@@ -206,6 +208,7 @@ $(function () {
self.serial_longRunningCommands = ko.observable(undefined);
self.serial_checksumRequiringCommands = ko.observable(undefined);
self.serial_blockedCommands = ko.observable(undefined);
self.serial_ignoredCommands = ko.observable(undefined);
self.serial_pausingCommands = ko.observable(undefined);
self.serial_emergencyCommands = ko.observable(undefined);
self.serial_helloCommand = ko.observable(undefined);
@@ -214,6 +217,7 @@ $(function () {
self.serial_waitForStart = ko.observable(undefined);
self.serial_sendChecksum = ko.observable("print");
self.serial_sdRelativePath = ko.observable(undefined);
self.serial_sdLowerCase = ko.observable(undefined);
self.serial_sdAlwaysAvailable = ko.observable(undefined);
self.serial_swallowOkAfterResend = ko.observable(undefined);
self.serial_repetierTargetTemp = ko.observable(undefined);
@@ -454,7 +458,10 @@ $(function () {
throw "Unknown stream type " + streamType;
}
var message = $("<p></p>").append(text).append(webcam_element);
var message = $("<div id='webcamTestContainer'></div>")
.append($("<p></p>"))
.append(text)
.append(webcam_element);
self.testWebcamStreamUrlBusy(true);
showMessageDialog({
@@ -805,7 +812,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -1057,6 +1063,9 @@ $(function () {
blockedCommands: function () {
return splitTextToArray(self.serial_blockedCommands(), ",", true);
},
ignoredCommands: function () {
return splitTextToArray(self.serial_ignoredCommands(), ",", true);
},
pausingCommands: function () {
return splitTextToArray(self.serial_pausingCommands(), ",", true);
},
@@ -1259,6 +1268,9 @@ $(function () {
blockedCommands: function (value) {
self.serial_blockedCommands(value.join(", "));
},
ignoredCommands: function (value) {
self.serial_ignoredCommands(value.join(", "));
},
pausingCommands: function (value) {
self.serial_pausingCommands(value.join(", "));
},
@@ -38,7 +38,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
-373
View File
@@ -1,373 +0,0 @@
'use strict';
/**
* Copyright Marc J. Schmidt. See the LICENSE file at the top-level
* directory of this distribution and at
* https://github.com/marcj/css-element-queries/blob/master/LICENSE.
*/
(function (root, factory) {
if (typeof define === "function" && define.amd) {
define(factory);
} else if (typeof exports === "object") {
module.exports = factory();
} else {
root.ResizeSensor = factory();
}
}(typeof window !== 'undefined' ? window : this, function () {
// Make sure it does not throw in a SSR (Server Side Rendering) situation
if (typeof window === "undefined") {
return null;
}
// https://github.com/Semantic-Org/Semantic-UI/issues/3855
// https://github.com/marcj/css-element-queries/issues/257
var globalWindow = typeof window != 'undefined' && window.Math == Math
? window
: typeof self != 'undefined' && self.Math == Math
? self
: Function('return this')();
// Only used for the dirty checking, so the event callback count is limited to max 1 call per fps per sensor.
// In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and
// would generate too many unnecessary events.
var requestAnimationFrame = globalWindow.requestAnimationFrame ||
globalWindow.mozRequestAnimationFrame ||
globalWindow.webkitRequestAnimationFrame ||
function (fn) {
return globalWindow.setTimeout(fn, 20);
};
var cancelAnimationFrame = globalWindow.cancelAnimationFrame ||
globalWindow.mozCancelAnimationFrame ||
globalWindow.webkitCancelAnimationFrame ||
function (timer) {
globalWindow.clearTimeout(timer);
};
/**
* Iterate over each of the provided element(s).
*
* @param {HTMLElement|HTMLElement[]} elements
* @param {Function} callback
*/
function forEachElement(elements, callback){
var elementsType = Object.prototype.toString.call(elements);
var isCollectionTyped = ('[object Array]' === elementsType
|| ('[object NodeList]' === elementsType)
|| ('[object HTMLCollection]' === elementsType)
|| ('[object Object]' === elementsType)
|| ('undefined' !== typeof jQuery && elements instanceof jQuery) //jquery
|| ('undefined' !== typeof Elements && elements instanceof Elements) //mootools
);
var i = 0, j = elements.length;
if (isCollectionTyped) {
for (; i < j; i++) {
callback(elements[i]);
}
} else {
callback(elements);
}
}
/**
* Get element size
* @param {HTMLElement} element
* @returns {Object} {width, height}
*/
function getElementSize(element) {
if (!element.getBoundingClientRect) {
return {
width: element.offsetWidth,
height: element.offsetHeight
}
}
var rect = element.getBoundingClientRect();
return {
width: Math.round(rect.width),
height: Math.round(rect.height)
}
}
/**
* Apply CSS styles to element.
*
* @param {HTMLElement} element
* @param {Object} style
*/
function setStyle(element, style) {
Object.keys(style).forEach(function(key) {
element.style[key] = style[key];
});
}
/**
* Class for dimension change detection.
*
* @param {Element|Element[]|Elements|jQuery} element
* @param {Function} callback
*
* @constructor
*/
var ResizeSensor = function(element, callback) {
//Is used when checking in reset() only for invisible elements
var lastAnimationFrameForInvisibleCheck = 0;
/**
*
* @constructor
*/
function EventQueue() {
var q = [];
this.add = function(ev) {
q.push(ev);
};
var i, j;
this.call = function(sizeInfo) {
for (i = 0, j = q.length; i < j; i++) {
q[i].call(this, sizeInfo);
}
};
this.remove = function(ev) {
var newQueue = [];
for(i = 0, j = q.length; i < j; i++) {
if(q[i] !== ev) newQueue.push(q[i]);
}
q = newQueue;
};
this.length = function() {
return q.length;
}
}
/**
*
* @param {HTMLElement} element
* @param {Function} resized
*/
function attachResizeEvent(element, resized) {
if (!element) return;
if (element.resizedAttached) {
element.resizedAttached.add(resized);
return;
}
element.resizedAttached = new EventQueue();
element.resizedAttached.add(resized);
element.resizeSensor = document.createElement('div');
element.resizeSensor.dir = 'ltr';
element.resizeSensor.className = 'resize-sensor';
var style = {
pointerEvents: 'none',
position: 'absolute',
left: '0px',
top: '0px',
right: '0px',
bottom: '0px',
overflow: 'hidden',
zIndex: '-1',
visibility: 'hidden',
maxWidth: '100%'
};
var styleChild = {
position: 'absolute',
left: '0px',
top: '0px',
transition: '0s',
};
setStyle(element.resizeSensor, style);
var expand = document.createElement('div');
expand.className = 'resize-sensor-expand';
setStyle(expand, style);
var expandChild = document.createElement('div');
setStyle(expandChild, styleChild);
expand.appendChild(expandChild);
var shrink = document.createElement('div');
shrink.className = 'resize-sensor-shrink';
setStyle(shrink, style);
var shrinkChild = document.createElement('div');
setStyle(shrinkChild, styleChild);
setStyle(shrinkChild, { width: '200%', height: '200%' });
shrink.appendChild(shrinkChild);
element.resizeSensor.appendChild(expand);
element.resizeSensor.appendChild(shrink);
element.appendChild(element.resizeSensor);
var computedStyle = window.getComputedStyle(element);
var position = computedStyle ? computedStyle.getPropertyValue('position') : null;
if ('absolute' !== position && 'relative' !== position && 'fixed' !== position && 'sticky' !== position) {
element.style.position = 'relative';
}
var dirty = false;
//last request animation frame id used in onscroll event
var rafId = 0;
var size = getElementSize(element);
var lastWidth = 0;
var lastHeight = 0;
var initialHiddenCheck = true;
lastAnimationFrameForInvisibleCheck = 0;
var resetExpandShrink = function () {
var width = element.offsetWidth;
var height = element.offsetHeight;
expandChild.style.width = (width + 10) + 'px';
expandChild.style.height = (height + 10) + 'px';
expand.scrollLeft = width + 10;
expand.scrollTop = height + 10;
shrink.scrollLeft = width + 10;
shrink.scrollTop = height + 10;
};
var reset = function() {
// Check if element is hidden
if (initialHiddenCheck) {
var invisible = element.offsetWidth === 0 && element.offsetHeight === 0;
if (invisible) {
// Check in next frame
if (!lastAnimationFrameForInvisibleCheck){
lastAnimationFrameForInvisibleCheck = requestAnimationFrame(function(){
lastAnimationFrameForInvisibleCheck = 0;
reset();
});
}
return;
} else {
// Stop checking
initialHiddenCheck = false;
}
}
resetExpandShrink();
};
element.resizeSensor.resetSensor = reset;
var onResized = function() {
rafId = 0;
if (!dirty) return;
lastWidth = size.width;
lastHeight = size.height;
if (element.resizedAttached) {
element.resizedAttached.call(size);
}
};
var onScroll = function() {
size = getElementSize(element);
dirty = size.width !== lastWidth || size.height !== lastHeight;
if (dirty && !rafId) {
rafId = requestAnimationFrame(onResized);
}
reset();
};
var addEvent = function(el, name, cb) {
if (el.attachEvent) {
el.attachEvent('on' + name, cb);
} else {
el.addEventListener(name, cb);
}
};
addEvent(expand, 'scroll', onScroll);
addEvent(shrink, 'scroll', onScroll);
// Fix for custom Elements and invisible elements
lastAnimationFrameForInvisibleCheck = requestAnimationFrame(function(){
lastAnimationFrameForInvisibleCheck = 0;
reset();
});
}
forEachElement(element, function(elem){
attachResizeEvent(elem, callback);
});
this.detach = function(ev) {
// clean up the unfinished animation frame to prevent a potential endless requestAnimationFrame of reset
if (lastAnimationFrameForInvisibleCheck) {
cancelAnimationFrame(lastAnimationFrameForInvisibleCheck);
lastAnimationFrameForInvisibleCheck = 0;
}
ResizeSensor.detach(element, ev);
};
this.reset = function() {
//To prevent invoking element.resizeSensor.resetSensor if it's undefined
if (element.resizeSensor.resetSensor) {
element.resizeSensor.resetSensor();
}
};
};
ResizeSensor.reset = function(element) {
forEachElement(element, function(elem){
//To prevent invoking element.resizeSensor.resetSensor if it's undefined
if (element.resizeSensor.resetSensor) {
elem.resizeSensor.resetSensor();
}
});
};
ResizeSensor.detach = function(element, ev) {
forEachElement(element, function(elem){
if (!elem) return;
if(elem.resizedAttached && typeof ev === "function"){
elem.resizedAttached.remove(ev);
if(elem.resizedAttached.length()) return;
}
if (elem.resizeSensor) {
if (elem.contains(elem.resizeSensor)) {
elem.removeChild(elem.resizeSensor);
}
delete elem.resizeSensor;
delete elem.resizedAttached;
}
});
};
if (typeof MutationObserver !== "undefined") {
var observer = new MutationObserver(function (mutations) {
for (var i in mutations) {
if (mutations.hasOwnProperty(i)) {
var items = mutations[i].addedNodes;
for (var j = 0; j < items.length; j++) {
if (items[j].resizeSensor) {
ResizeSensor.reset(items[j]);
}
}
}
}
});
document.addEventListener("DOMContentLoaded", function (event) {
observer.observe(document.body, {
childList: true,
subtree: true,
});
});
}
return ResizeSensor;
}));
+54 -40
View File
@@ -719,6 +719,12 @@ ul.dropdown-menu li a {
object-fit: contain;
}
}
// Predict height of webcam test container for modal positioning
// height is 3/4 the fixed modal width, for 4:3 webcam stream.
// Yes it's hardcoded, but so is the modal width.
#webcamTestContainer {
min-height: 384px;
}
/** State sidebar panel */
@@ -826,8 +832,6 @@ ul.dropdown-menu li a {
/** Control tab */
#control {
overflow: hidden;
.jog-panel {
float: left;
margin-right: 19px;
@@ -1512,55 +1516,29 @@ textarea.monospace {
font-family: monospace;
}
// Progress bars with text
//
// .progress-text-front will also need to have the full width of the enclosing
// progress wrapper applied (e.g. via copyWidth knockout binding)
// Progress bars with text centered
.progress-text,
.progress-text-centered {
position: relative;
.progress-text-front,
.progress-text-back {
white-space: nowrap;
}
.progress-text-front {
box-sizing: border-box;
padding: 0 10px;
width: 100%;
display: block;
}
.progress-text-back {
position: absolute;
font-size: 12px;
line-height: 20px;
display: block;
box-sizing: border-box;
text-align: center;
padding: 0 10px;
}
.bar {
z-index: 1;
position: absolute;
overflow: hidden;
}
}
.progress-text-centered {
.progress-text-front {
.progress-text-front,
.progress-text-back {
position: absolute;
top: 0;
z-index: 2;
text-align: center;
width: 100%;
box-sizing: border-box;
padding: 0 10px;
font-size: 12px;
line-height: 20px;
display: block;
text-align: center;
color: #fff;
}
.progress-text-back {
width: 100%;
.progress-text-front {
color: #fff;
}
}
@@ -1697,3 +1675,39 @@ textarea.monospace {
}
}
}
/* Custom animations for the dialogs
* These animations override the default bootstrap 2 slow Javascript based animations.
* Usage: Add the class `fade-in` to any modal instead of the `fade` class
*/
@animationDuration: 0.3s;
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes backgroundFadeIn {
from {
opacity: 0;
}
to {
opacity: 0.7;
}
}
.fade-in {
animation-name: fadeIn;
animation-duration: @animationDuration;
}
.modal-backdrop:not(.fade) {
// Slightly fade in the backdrop when BS2 animation is disabled
// Breaks completely disabling animations, but the backdrop is generated by BS2
animation-name: backgroundFadeIn;
animation-duration: @animationDuration;
}
+1 -1
View File
@@ -1,4 +1,4 @@
<div id="about_dialog" class="modal hide fade large" tabindex="-1" role="dialog" aria-labelledby="about_dialog_label" aria-hidden="true">
<div id="about_dialog" class="modal hide fade-in large" tabindex="-1" role="dialog" aria-labelledby="about_dialog_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h3 id="about_dialog_label">{{ _('About OctoPrint') }}</h3>
+10 -4
View File
@@ -1,4 +1,4 @@
<div id="add_folder_dialog" class="modal hide fade">
<div id="add_folder_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Create Folder') }}</h3>
@@ -20,7 +20,7 @@
</div>
</div>
<div id="move_file_or_folder_dialog" class="modal hide fade">
<div id="move_file_or_folder_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Move File or Folder') }}</h3>
@@ -33,16 +33,22 @@
<select class="input-block-level" data-bind="value: moveDestination, options: folderList"></select>
<span class="help-block"><small class="text-error" data-bind="text: moveError, visible: moveError().length > 0" style="display: none"></small></span>
</div>
<label class="control-label">{{ _('Set destination filename ') }} ({{ _('Currently:') }} <span data-bind="text: moveSourceFilename()"></span>)</label>
<div class="controls">
<input class="input-block-level" data-bind="value: moveDestinationFilename" />
</div>
<p> {{ _('File/Folder will be moved to: ') }} <span data-bind="text: moveDestinationFullpath()"></span></p>
</div>
</form>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true">{{ _('Cancel') }}</a>
<a href="#" class="btn btn-primary" data-bind="click: function() { if (moveSource() !== moveDestination() && !movingFileOrFolder()) { $root.moveFileOrFolder(moveEntry().path, moveDestination()) } else {} }, css: {disabled: moveSource() === moveDestination() || movingFileOrFolder()}"><i class="fas fa-spinner fa-spin" data-bind="visible: movingFileOrFolder"></i> {{ _('Move') }}</a>
<a href="#" class="btn btn-primary" data-bind="click: function() { if ((moveSource() !== moveDestination() || moveSourceFilename() !== moveDestinationFilename()) && !movingFileOrFolder()) { $root.moveFileOrFolder(moveEntry().path, moveDestinationFullpath()) } else {} }, css: {disabled: (moveSource() === moveDestination() && moveSourceFilename() === moveDestinationFilename()) || movingFileOrFolder()}"><i class="fas fa-spinner fa-spin" data-bind="visible: movingFileOrFolder"></i> {{ _('Move') }}</a>
</div>
</div>
<div id="upload_exists_dialog" class="modal hide fade">
<div id="upload_exists_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('File already exists') }}</h3>
@@ -1,4 +1,4 @@
<div id="settings_dialog" data-test-id="settings-dialog" class="modal hide fade large" tabindex="-1" role="dialog" aria-labelledby="settings_dialog_label" aria-hidden="true">
<div id="settings_dialog" data-test-id="settings-dialog" class="modal hide fade-in large" tabindex="-1" role="dialog" aria-labelledby="settings_dialog_label" aria-hidden="true">
<div class="modal-header">
<button type="button" data-test-id="settings-close-x" class="close" data-dismiss="modal">&times;</button>
<h3 id="settings_dialog_label">{{ _('OctoPrint Settings') }} <i class="fas fa-spinner fa-spin" data-bind="visible: receiving"></i></h3>
@@ -74,7 +74,7 @@
</div>
</form>
<div id="settings_appearance_managelanguagesdialog" class="modal hide fade">
<div id="settings_appearance_managelanguagesdialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Manage Language Packs...') }}</h3>
@@ -52,7 +52,8 @@
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: feature_g90InfluencesExtruder" id="settings-g90InfluencesExtruder"> {{ _('<code>G90</code>/<code>G91</code> overrides relative extruder mode') }} <span class="label">{{ _('Smoothieware') }}</span>
<input type="checkbox" data-bind="checked: feature_g90InfluencesExtruder" id="settings-g90InfluencesExtruder">
{{ _('<code>G90</code>/<code>G91</code> overrides relative extruder mode') }} <span class="label">{{ _('Smoothieware') }}</span> <span class="label">{{ _('Marlin 2+') }}
<span class="help-block">{{ _('This is used by the GCODE analysis in the backend and the viewer in the frontend to interpret your sliced files correctly.') }}</span>
</label>
</div>
@@ -53,16 +53,16 @@
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('After connection to printer is established') }}</label>
<label class="control-label">{{ _('After serial connection to printer is established') }}</label>
<div class="controls">
<textarea rows="8" class="block monospace" data-bind="value: scripts_gcode_afterPrinterConnected"></textarea>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Before connection to printer is closed') }}</label>
<label class="control-label">{{ _('Before serial connection to printer is closed') }}</label>
<div class="controls">
<textarea rows="8" class="block monospace" data-bind="value: scripts_gcode_beforePrinterDisconnected"></textarea>
<small>{{ _('Anything you put here will only be executed when closing the connection actively. If the connection to the printer is suddenly lost nothing will be sent.') }}</small>
<small>{{ _('Anything you put here will only be executed when closing the serial connection actively. If the serial connection to the printer is suddenly lost nothing will be sent.') }}</small>
</div>
</div>
</form>
@@ -0,0 +1,562 @@
<div class="alert alert-block">
<strong>{{ _('Note: ') }}</strong>{{ _('Changing most of these settings requires restarting the connection with your printer for your changes to become effective.') }}
</div>
<form class="form-horizontal" onsubmit="return false;">
<ul class="nav nav-pills">
<li class="active"><a href="#settings_serial_general" data-toggle="tab">{{ _('General') }}</a></li>
<li><a href="#settings_serial_timeouts" data-toggle="tab">{{ _('Intervals &amp; timeouts') }}</a></li>
<li><a href="#settings_serial_protocol" data-toggle="tab">{{ _('Firmware &amp; protocol') }}</a></li>
<li><a href="#settings_serial_behaviour" data-toggle="tab">{{ _('Behaviour') }}</a></li>
</ul>
<div class="tab-content">
<div id="settings_serial_general" class="tab-pane active">
<fieldset id="settings_serial_general_connection">
<legend>{{ _('Connection') }}</legend>
<div class="control-group" title="{{ _('Serial port to connect to, setting this to AUTO will make OctoPrint try to automatically find the right setting')|edq }}">
<label class="control-label" for="settings-serialPort">{{ _('Serial Port') }}</label>
<div class="controls">
<select id="settings-serialPort" data-bind="options: serial_portOptions, optionsCaption: 'AUTO', value: serial_port"></select>
</div>
</div>
<div class="control-group" title="{{ _('Serial baud rate to connect with, setting this to AUTO will make OctoPrint try to automatically find the right setting')|edq }}">
<label class="control-label" for="settings-baudrate">{{ _('Baudrate') }}</label>
<div class="controls">
<select id="settings-baudrate" data-bind="options: serial_baudrateOptions, optionsCaption: 'AUTO', value: serial_baudrate"></select>
</div>
</div>
<div class="control-group" title="{{ _('Makes OctoPrint try to connect to the printer automatically during start up')|edq }}">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_autoconnect" id="settings-serialAutoconnect"> {{ _('Auto-connect to printer on server start') }}
</label>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialAdditionalPorts">{{ _('Additional serial ports') }}</label>
<div class="controls">
<textarea rows="4" class="block" id="settings-serialAdditionalPorts" data-bind="value: serial_additionalPorts"></textarea>
<span class="help-inline">{{ _('Use this to define additional <a href="%%(glob_url)s">glob patterns</a> matching serial ports to list for connecting against, e.g. <code>/dev/ttyAMA*</code>. One entry per line. Please note that ports will only be offered to connect to if they get also detected by the <em>operating system</em>. Adding a port here will not make it magically appear in OctoPrint. If the operating system doesn\'t see your printer you need to solve this first.')|format(glob_url="http://docs.python.org/2/library/glob.html") }}</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialAdditionalBaudrates">{{ _('Additional baud rates') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialAdditionalBaudrates" data-bind="value: serial_additionalBaudrates">
<span class="help-inline">{{ _('Use this to define additional serial port baud rates to list for connecting with, e.g. <code>123456</code>. Comma separated.') }}</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialBlacklistedPorts">{{ _('Blacklisted serial ports') }}</label>
<div class="controls">
<textarea rows="4" class="block" id="settings-serialBlacklistedPorts" data-bind="value: serial_blacklistedPorts"></textarea>
<span class="help-inline">{{ _('Use this to define <a href="%%(glob_url)s">glob patterns</a> matching serial ports to blacklist for connecting against, e.g. <code>/dev/ttyS*</code>. One entry per line.')|format(glob_url="http://docs.python.org/2/library/glob.html") }}</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialBlacklistedBaudrates">{{ _('Blacklisted baud rates') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialBlacklistedBaudrates" data-bind="value: serial_blacklistedBaudrates">
<span class="help-inline">{{ _('Use this to define serial port baud rates to blacklist for connecting with, e.g. <code>123456</code>. Comma separated.') }}</span>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_exclusive" id="settings-serialExclusive"> {{ _('Request exclusive access to the serial port') }}
<span class="help-block">{{ _('Uncheck this if you are having problems connecting to your printer.') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_lowLatency" id="settings-serialLowLatency"> {{ _('Request low latency mode on the serial port') }}
</label>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Apply parity double open workaround')}}</label>
<div class="controls">
<label class="radio">
<input type="radio" name="useParityWorkaroundGroup" value="always" data-bind="checked: serial_useParityWorkaround" id="settings-serialUseParityWorkaroundAlways"> {{ _('Always') }}
<span class="help-block">{{ _('Use this if you are running into <a href="%%(url)s" target="_blank" rel="noopener noreferer">this problem</a>.')|format(url="https://forum.arduino.cc/index.php?topic=91291.0") }}</span>
</label>
<label class="radio">
<input type="radio" name="useParityWorkaroundGroup" value="detect" data-bind="checked: serial_useParityWorkaround" id="settings-serialUseParityWorkaroundPrint"> {{ _('If detected as potentially needed') }}
</label>
<label class="radio">
<input type="radio" name="useParityWorkaroundGroup" value="never" data-bind="checked: serial_useParityWorkaround" id="settings-serialUseParityWorkaroundNever"> {{ _('Never') }}
<span class="help-block">{{ _('Use this if connecting to your printer fails with <code>(22, \'Invalid argument\')</code>.') }}</span>
</label>
</div>
</div>
</fieldset>
<fieldset id="settings_serial_general_logging">
<legend>{{ _('Serial logging') }}</legend>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_log" id="settings-serialLog"> {{ _('Log communication to <code>serial.log</code>') }} <span class="label label-important">{{ _('Warning') }}</span>
<span class="help-block">{{ _('While this can negatively impact performance, a <code>serial.log</code> can be incredibly useful for debugging any issues observed in the communication between OctoPrint and your printer.') }}</span>
</label>
</div>
</div>
</fieldset>
</div>
<div id="settings_serial_timeouts" class="tab-pane">
<fieldset id="settings_serial_timeouts_intervals">
<legend>{{ _('Query intervals') }}</legend>
<div class="control-group" title="{{ _('Interval in which to poll for the temperature information from the printer')|edq }}">
<label class="control-label" for="settings-serialTimeoutTemperature">{{ _('Temperature interval (polling)') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="any" min="1" class="input-mini text-right" data-bind="value: serial_timeoutTemperature" id="settings-serialTimeoutTemperature">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('When printing or idle')}}</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_timeoutTemperatureTargetSet" id="settings-serialTimeoutTemperatureTargetSet">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('When idle and a target temperature is set')}}</span>
</div>
</div>
<div class="control-group" title="{{ _('Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling.') }}">
<label class="control-label" for="settings-serialTimeoutTemperatureAutoreport">{{ _('Temperature interval (autoreport)') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="any" min="0" class="input-mini text-right" data-bind="value: serial_timeoutTemperatureAutoreport" id="settings-serialTimeoutTemperatureAutoreport">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('Autoreport interval to request from firmware')}}</span>
</div>
</div>
<div class="control-group" title="{{ _('Interval in which to poll for the SD printing status information from the printer while printing')|edq }}">
<label class="control-label" for="settings-serialTimeoutSdStatus">{{ _('SD status interval (polling)') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="any" min="1" class="input-mini text-right" data-bind="value: serial_timeoutSdStatus" id="settings-serialTimeoutSdStatus">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('When printing from the printer\'s SD')}}</span>
</div>
</div>
<div class="control-group" title="{{ _('SD status interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling.')|edq }}">
<label class="control-label" for="settings-serialTimeoutSdStatusAutoreport">{{ _('SD status interval (autoreport)') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="any" min="0" class="input-mini text-right" data-bind="value: serial_timeoutSdStatusAutoreport" id="settings-serialTimeoutSdStatusAutoreport">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('Autoreport interval to request from firmware')}}</span>
</div>
</div>
</fieldset>
<fieldset id="settings_serial_timeouts_timeouts">
<legend>{{ _('Timeouts') }}</legend>
<div class="control-group" title="{{ _('Time after which the communication with your printer will be considered timed out if nothing was sent by your printer (and an attempt to get it talking again will be done). Increase this if your printer takes longer than this for some moves.')|edq }}">
<label class="control-label" for="settings-serialTimeoutCommunication">{{ _('Communication 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_timeoutCommunication" id="settings-serialTimeoutCommunication">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('<code>busy</code> protocol support not detected')}}</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_timeoutCommunicationBusy" id="settings-serialTimeoutCommunicationBusy">
<span class="add-on">s</span>
</div>
<span class="help-inline">{{ _('<code>busy</code> protocol support detected')}}</span>
</div>
</div>
<div class="control-group" title="{{ _('Time after which a connection attempt to the printer will be considered as having failed')|edq }}">
<label class="control-label" for="settings-serialTimeoutConnection">{{ _('Connection 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_timeoutConnection" id="settings-serialTimeoutConnection">
<span class="add-on">s</span>
</div>
</div>
</div>
<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_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 }}">
<label class="control-label" for="settings-serialTimeoutPositionLogWait">{{ _('Position query 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_timeoutPositionLogWait" id="settings-serialTimeoutPositionLogWait">
<span class="add-on">s</span>
</div>
</div>
</div>
<div>
<div><small><a href="#" class="muted" data-bind="toggleContent: { class: 'fa-caret-right fa-caret-down', container: '#settings_serial_timeouts_timeouts .hide' }"><i class="fas fa-caret-right"></i> {{ _('Advanced options') }}</a></small></div>
<div class="hide">
<div class="control-group" title="{{ _('Time to wait after opening the serial connection before starting baudrate detection')|edq }}">
<label class="control-label" for="settings-serialTimeoutBaudrateDetectionPause">{{ _('Initial baudrate detection pause') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="any" min="0" class="input-mini text-right" data-bind="value: serial_timeoutBaudrateDetectionPause" id="settings-serialTimeoutBaudrateDetectionPause">
<span class="add-on">s</span>
</div>
<span class="help-block">{{ _('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.') }}</span>
</div>
</div>
<div class="control-group" title="{{ _('Maximum consecutive communication timeouts while idle. More than this and the printer will be considered to be gone. Set to 0 to disable.')|edq }}">
<label class="control-label" for="settings-serialMaxTimeoutsIdle">{{ _('Max. consecutive timeouts while idle') }}</label>
<div class="controls">
<input type="number" min="0" class="input-mini text-right" id="settings-serialMaxTimeoutsIdle" data-bind="value: serial_maxTimeoutsIdle">
<span class="help-block">{{ _('Set to 0 to disable consecutive timeout detection and handling.') }}</span>
</div>
</div>
<div class="control-group" title="{{ _('Maximum consecutive communication timeouts while printing. More than this and the printer will be considered to be gone. Set to 0 to disable.')|edq }}">
<label class="control-label" for="settings-serialMaxTimeoutsPrinting">{{ _('Max. consecutive timeouts while printing') }}</label>
<div class="controls">
<input type="number" min="0" class="input-mini text-right" id="settings-serialMaxTimeoutsPrinting" data-bind="value: serial_maxTimeoutsPrinting">
<span class="help-block">{{ _('Set to 0 to disable consecutive timeout detection and handling.') }}</span>
</div>
</div>
<div class="control-group" title="{{ _('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.')|edq }}">
<label class="control-label" for="settings-serialMaxTimeoutsLong">{{ _('Max. consecutive timeouts during long running commands') }}</label>
<div class="controls">
<input type="number" min="0" class="input-mini text-right" id="settings-serialMaxTimeoutsLong" data-bind="value: serial_maxTimeoutsLong">
<span class="help-block">{{ _('Set to 0 to disable consecutive timeout detection and handling.') }}</span>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<div id="settings_serial_protocol" class="tab-pane">
<fieldset id="settings_serial_protocol_firmware">
<legend>{{ _('Firmware specific settings') }}</legend>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_firmwareDetection" id="settings-serialFirmwareDetection"> {{ _('Enable automatic firmware detection') }}
<span class="help-block">{% trans %}
If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.
If that doesn't work out, or you want more granular control, uncheck this and the parameters in question will become visible for you to adjust.
{% endtrans %}</span>
</label>
</div>
</div>
<div data-bind="visible: !serial_firmwareDetection()">
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_sdLowerCase" id="settings-serialSdLowerCase"> {{ _('Select SD files by lower case path') }} <span class="label">{{ _('Prusa Firmware') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_sdRelativePath" id="settings-serialSdRelativePath"> {{ _('Select SD files by relative path') }} <span class="label">{{ _('RepRap Firmware') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_sdAlwaysAvailable" id="settings-serialSdAlwaysAvailable"> {{ _('Always assume SD card is present') }} <span class="label">{{ _('Repetier') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_disableSdPrintingDetection" id="settings-disableSdPrintingDetection"> {{ _('Disable SD printing detection') }} <span class="label">{{ _('Ultimaker 2/2+') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_ignoreIdenticalResends" id="settings-serialIgnoreIdenticalResends"> {{ _('Ignore consecutive resend requests for the same line') }} <span class="label">{{ _('Repetier') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_repetierTargetTemp" id="settings-serialRepetierTargetTemp"> {{ _('Support <code>TargetExtr%%n</code>/<code>TargetBed</code> target temperature format') }} <span class="label">{{ _('Repetier') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_disableExternalHeatupDetection" id="settings-serialExternalHeatupDetection"> {{ _('Disable detection of external heatups') }} <span class="label">{{ _('Repetier') }}</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_blockWhileDwelling" id="settings-serialBlockWhileDwelling"> {{ _('Actively pause communication during <code>G4</code> dwell command') }} <span class="label">{{ _('Repetier') }}</span>
</label>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Send a checksum with the command')}}</label>
<div class="controls">
<label class="radio">
<input type="radio" name="sendChecksumGroup" value="print" data-bind="checked: serial_sendChecksum" id="settings-serialSendChecksumPrint"> {{ _('When printing') }}
</label>
<label class="radio">
<input type="radio" name="sendChecksumGroup" value="always" data-bind="checked: serial_sendChecksum" id="settings-serialSendChecksumAlways"> {{ _('Always') }} <span class="label">{{ _('Repetier') }}</span>
</label>
<label class="radio">
<input type="radio" name="sendChecksumGroup" value="never" data-bind="checked: serial_sendChecksum" id="settings-serialSendChecksumNever"> {{ _('Never') }}
</label>
</div>
</div>
</div>
<div>
<div><small><a href="#" class="muted" data-bind="toggleContent: { class: 'fa-caret-right fa-caret-down', container: '#settings_serial_protocol_firmware .hide' }"><i class="fas fa-caret-right"></i> {{ _('Advanced options') }}</a></small></div>
<div class="hide">
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_capAutoreportTemp" id="settings-serialCapAutoreportTemp"> {{ _('Support temperature autoreporting by firmware, if detected') }}
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_capAutoreportSdStatus" id="settings-serialCapAutoreportSdStatus"> {{ _('Support sd status autoreporting by firmware, if detected') }}
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_capEmergencyParser" id="settings-serialCapEmergencyParser"> {{ _('Send emergency GCODES <code>M108</code> and <code>M410</code> without waiting for acknowledgement, if detected as supported by the firmware') }}
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_capBusyProtocol" id="settings-serialCapBusyProtocol"> {{ _('Support <code>busy</code> protocol, if detected') }}
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_triggerOkForM29" id="settings-serialTriggerOkForM29"> {{ _('Simulate <code>ok</code> for <code>M29</code>') }}
<span class="help-block">{{ _('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 this if you run into communication stalls following streaming of a file to your printer\'s SD.') }}</span>
</label>
</div>
</div>
<div class="control-group">
<label class="control-label"> {{ _('Simulate <code>ok</code> for resend requests') }}</label>
<div class="controls">
<label class="radio">
<input type="radio" name="resendWithoutOkGroup" value="detect" data-bind="checked: serial_supportResendsWithoutOk" id="settings-serialSupportResendsWithoutOkDetect"> {{ _('If detected as necessary') }}
</label>
<label class="radio">
<input type="radio" name="resendWithoutOkGroup" value="always" data-bind="checked: serial_supportResendsWithoutOk" id="settings-serialSupportResendsWithoutOkAlways"> {{ _('Always') }}
</label>
<label class="radio">
<input type="radio" name="resendWithoutOkGroup" value="never" data-bind="checked: serial_supportResendsWithoutOk" id="settings-serialSupportResendsWithoutOkNever"> {{ _('Never') }}
</label>
<span class="help-block">{{ _('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.') }}</span>
</div>
</div>
</div>
</div>
</fieldset>
<fieldset id="settings_serial_protocol_finetuning">
<legend>{{ _('Protocol fine tuning') }}</legend>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_waitForStart" id="settings-serialWaitForStart"> {{ _('Wait for <code>start</code> on connect') }}
<span class="help-block">{{ _('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.') }}</span>
</label>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialBlockedCommands">{{ _('Blocked commands') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialBlockedCommands" data-bind="value: serial_blockedCommands">
<span class="help-inline">{{ _('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 <code>M1</code> since most firmware will block until a button on the controller has been pressed if it receives either of those two commands.') }}</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialIgnoredCommands">{{ _('Ignored commands') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialIgnoredCommands" data-bind="value: serial_ignoredCommands">
<span class="help-inline">{{ _('Use this to specify commands that should be silently ignored and never be sent to the printer. Just the G or M code, comma separated. Unlike blocked commands above, there will be no warning popup when these commands are encountered.') }}</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialPausingCommands">{{ _('Pausing commands') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialPausingCommands" data-bind="value: serial_pausingCommands">
<span class="help-inline">{{ _('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>.') }}</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serialEmergencyCommands">{{ _('Emergency commands') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialEmergencyCommands" data-bind="value: serial_emergencyCommands">
<span class="help-inline">{{ _('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, comma separated. Defaults to <code>M112</code>, <code>M108</code> and <code>M410</code>.') }}</span> </div>
</div>
<div>
<div><small><a href="#" class="muted" data-bind="toggleContent: { class: 'fa-caret-right fa-caret-down', container: '#settings_serial_protocol_finetuning .hide' }"><i class="fas fa-caret-right"></i> {{ _('Advanced options') }}</a></small></div>
<div class="hide">
<div class="control-group" title="{{ _('Command to send to the firmware on first handshake attempt.')|edq }}">
<label class="control-label" for="settings-serialHelloCommand">{{ _('"Hello" command') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialHelloCommand" data-bind="value: serial_helloCommand">
<span class="help-inline">{{ _('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.') }}</span>
</div>
</div>
<div class="control-group" title="{{ _('Commands that are know to run long and hence should suppress communication timeouts from being triggered.')|edq }}">
<label class="control-label" for="settings-serialLongRunningCommands">{{ _('Long running commands') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-serialLongRunningCommands" data-bind="value: serial_longRunningCommands">
<span class="help-inline">{{ _('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.') }}</span>
</div>
</div>
<div class="control-group" title="{{ _('Commands that always require a line number and checksum to be sent with them.')|edq }}">
<label class="control-label" for="settings-checksumRequiringCommands">{{ _('Commands that always require a checksum') }}</label>
<div class="controls">
<input type="text" class="input-block-level" id="settings-checksumRequiringCommands" data-bind="value: serial_checksumRequiringCommands">
<span class="help-inline">{{ _('Use this to specify which commands <strong>always</strong> need to be sent with a checksum. Comma separated list.') }}</span>
</div>
</div>
<div class="control-group" title="{{ _('ok buffer size')|edq }}">
<label class="control-label" for="settings-serialAckMax">{{ _('<code>ok</code> buffer size') }}</label>
<div class="controls">
<input type="number" min="0" class="input-mini text-right" id="settings-serialAckMax" data-bind="value: serial_ackMax">
<span class="help-block">{{ _('Only modify if told to do so') }}</span>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<div id="settings_serial_behaviour" class="tab-pane">
<fieldset>
<legend>{{ _('Error handling') }}</legend>
<div class="control-group">
<label class="control-label">{{ _('What to do on a firmware error (<code>Error:</code> or <code>!!</code>)') }}</label>
<div class="controls">
<label class="radio">
<input type="radio" name="errorHandlingGroup" value="disconnect" data-bind="checked: serial_serialErrorBehaviour" id="settings-serialErrorBehaviourDisconnect"> {{ _('Disconnect from the printer') }}
</label>
<label class="radio">
<input type="radio" name="errorHandlingGroup" value="cancel" data-bind="checked: serial_serialErrorBehaviour" id="settings-serialErrorBehaviourCancel"> {{ _('Cancel any ongoing prints but stay connected to the printer') }} <span></span>
<span class="help-block">{{ _('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>).') }}</span>
</label>
<label class="radio">
<input type="radio" name="errorHandlingGroup" value="ignore" data-bind="checked: serial_serialErrorBehaviour" id="settings-serialErrorBehaviourIgnore"> {{ _('Ignore') }} <span class="label label-important">{{ _('Warning') }}</span>
<span class="help-block">{{ _('Only choose this if your firmware sends error messages that are not actual errors. Might mask printer issues (even fatal errors!), be careful!') }}</span>
</label>
</div>
</div>
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_sendM112OnError" id="settings-serialSendM112OnError"> {{ _('Send <code>M112</code> on disconnect due to error') }}
<span class="help-block">{{ _('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.') }}</span>
</label>
</div>
</fieldset>
<fieldset>
<legend>{{ _('Pausing') }}</legend>
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_logPositionOnPause" id="settings-serialLogPositionOnPause"> {{ _('Log position on pause') }} <span class="label label-important">{{ _('Warning') }}</span>
<span class="help-block">{{ _('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.') }}</span>
</label>
</div>
</fieldset>
<fieldset>
<legend>{{ _('Cancelling') }}</legend>
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_logPositionOnCancel" id="settings-serialLogPositionOnCancel"> {{ _('Log position on cancel') }} <span class="label label-important">{{ _('Warning') }}</span>
<span class="help-block">{{ _('If you disable this, the <code>cancel_position</code> placeholders in your cancel GCODE script and the corresponding data in the print recovery data will stay unpopulated! However, cancelling speed might improve slightly.') }}</span>
</label>
</div>
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_abortHeatupOnCancel" id="settings-serialAbortHeatupOnCancel"> {{ _('Attempt to abort any blocking heatups on cancel via <code>M108</code>.') }}
<span class="help-block">{{ _('Uncheck this if your firmware doesn\'t support <code>M108</code> for aborting blocking heatups!') }}</span>
</label>
</div>
</fieldset>
<fieldset>
<legend>{{ _('Sanity Checking') }}</legend>
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_sanityCheckTools" id="settings-sanityCheckTools"> {{ _('Sanity check tool commands') }} <span class="label label-important">{{ _('Warning') }}</span>
<span class="help-block">{{ _('If enabled, OctoPrint will not send tool commands to your printer that exceed the number of extruders configured in the active printer profile, or for which the firmware has reported an "invalid extruder" error. Only uncheck this if OctoPrint or your firmware mistakingly mark valid tools as invalid and be sure to investigate the reason for that, it might be a misconfiguration you need to correct for proper operation.') }}</span>
</label>
</div>
<div class="control-group">
<label class="control-label">{{ _('Display notifications for suppressed commands')}}</label>
<div class="controls">
<label class="radio">
<input type="radio" name="notifySuppressedCommandsGroup" value="info" data-bind="checked: settings.serial.notifySuppressedCommands" id="settings-serialNotifySuppressedCommands-info"> {{ _('Show notifications of severity "info" and "warning"') }}
</label>
<label class="radio">
<input type="radio" name="notifySuppressedCommandsGroup" value="warn" data-bind="checked: settings.serial.notifySuppressedCommands" id="settings-serialNotifySuppressedCommands-warn"> {{ _('Show notifications of severity "warning"') }}
</label>
<label class="radio">
<input type="radio" name="notifySuppressedCommandsGroup" value="never" data-bind="checked: settings.serial.notifySuppressedCommands" id="settings-serialNotifySuppressedCommands-never"> {{ _('Never show notifications') }}
</label>
</div>
</div>
</fieldset>
<fieldset>
<legend>{{ _('Resend Tracking') }}</legend>
<div class="control-group" title="{{ _('Resend ratio threshold. Percentage of resend requests among all sent lines to consider critical.')|edq }}">
<label class="control-label" for="settings-serialResendRatioThreshold">{{ _('Critical resend ratio') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" min="0" max="100" step="1" class="input-mini text-right" id="settings-serialResendRatioThreshold" data-bind="value: serial_resendRatioThreshold">
<span class="add-on">%</span>
</div>
</div>
</div>
<div class="control-group" title="{{ _('Start tracking resend request after these many transmitted lines.')|edq }}">
<label class="control-label" for="settings-serialResendRatioStart">{{ _('Tracking start') }}</label>
<div class="controls">
<div class="input-append">
<input type="number" step="1" class="input-mini text-right" id="settings-serialResendRatioStart" data-bind="value: serial_resendRatioStart">
<span class="add-on">lines</span>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</form>
@@ -14,6 +14,7 @@
<div><small><a href="#" class="muted" data-bind="toggleContent: { class: 'fa-caret-right fa-caret-down', parent: '.form-horizontal', container: '.hide' }"><i class="fas fa-caret-right"></i> {{ _('Advanced options') }}</a></small></div>
<div class="hide">
{% include "snippets/settings/webcam/webcamStreamTimeout.jinja2" %}
{% include "snippets/settings/webcam/webcamCacheBuster.jinja2" %}
</div>
</div>
</form>
@@ -1,4 +1,4 @@
<div id="slicing_configuration_dialog" class="modal hide fade">
<div id="slicing_configuration_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: title"></h3>
@@ -1,4 +1,4 @@
<div id="change_offset_dialog" class="modal hide fade">
<div id="change_offset_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="javascript:void(0)" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: changingOffset.title"></h3>
@@ -1,4 +1,4 @@
<div id="timelapsePreviewModal" class="modal large hide fade">
<div id="timelapsePreviewModal" class="modal large hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Timelapse Preview') }}</h3>
@@ -1,4 +1,4 @@
<div id="usersettings_dialog" class="modal hide fade">
<div id="usersettings_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('User Settings') }}</h3>
@@ -1,4 +1,4 @@
<div id="wizard_dialog" class="modal hide fade large" data-backdrop="static" data-keyboard="false">
<div id="wizard_dialog" class="modal hide fade-in large" data-backdrop="static" data-keyboard="false">
<div class="modal-header">
<h3><i class="fas fa-magic"></i> {{ _('Setup Wizard') }}</h3>
</div>
+1 -1
View File
@@ -161,7 +161,7 @@
</div>
</div>
<div id="workdialog" class="modal hide fade">
<div id="workdialog" class="modal hide fade-in">
<div class="modal-header">
<h3 data-bind="text: workTitle"></h3>
</div>
+3 -6
View File
@@ -17,8 +17,7 @@
<script type="text/html" id="files_template_machinecode">
<div class="btn btn-mini toggleAdditionalData pull-right" data-bind="click: function() { if ($root.enableAdditionalData($data)) { $root.toggleAdditionalData($data); } else { return; } }, css: { disabled: !$root.enableAdditionalData($data) }" title="{{ _('Additional data')|edq }}"><i class="fas fa-chevron-down"></i></div>
<div class="title clickable" data-bind="click: function() { if ($root.enableSelect($data)) { $root.loadFile($data, false); } else { return; } }, css: $root.getSuccessClass($data), style: { 'font-weight': $root.listHelper.isSelected($data) ? 'bold' : 'normal' }, text: display"></div>
<div class="internal" data-bind="visible: display && name != display && $root.showInternalFilename">{{ _('Internal') }}: <span data-bind="text: name"></span>
<span data-bind="text: $root.showInternalFilename"></span> </div>
<div class="internal" data-bind="visible: display && name != display && $root.showInternalFilename">{{ _('Internal') }}: <span data-bind="text: name"></span></div>
<div class="uploaded">{{ _('Uploaded') }}: <span data-bind="text: formatTimeAgo(date), attr: {title: formatDate(date)}"></span></div>
<div class="size">{{ _('Size') }}: <span data-bind="text: formatSize(size)"></span></div>
<div class="additionalInfo hide" data-bind="html: $root.getAdditionalData($data)"></div>
@@ -84,10 +83,8 @@
{% endif %}
</div>
<div id="gcode_upload_progress" class="progress progress-text-centered">
<span class="progress-text-back" data-bind="text: uploadProgressText"></span>
<div class="bar">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent :parent :parent form', text: uploadProgressText"></span>
</div>
<div class="bar"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (uploadProgressPercentage() >= 50), 'progress-text-back': (uploadProgressPercentage() < 50) }, text: uploadProgressText()"></span>
</div>
<div>
<small class="muted">{{ _('Hint: You can also drag and drop files on this page to upload them.') }}</small>
+2 -4
View File
@@ -21,10 +21,8 @@
<div class="progress progress-text-centered">
<span class="progress-text-back" data-bind="text: progressBarString()"></span>
<div class="bar" id="job_progressBar" data-bind="style: {width: progressString() + '%'}">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent', text: progressBarString()"></span>
</div>
<div class="bar" id="job_progressBar" data-bind="style: {width: progressString() + '%'}"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (progressString() >= 50), 'progress-text-back': (progressString() < 50) }, text: progressBarString()"></span>
</div>
<div class="row-fluid print-control" data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.PRINT)">
@@ -48,7 +48,7 @@
<!-- Modals for group management -->
<div id="settings-groupsEditorDialog" class="modal hide fade">
<div id="settings-groupsEditorDialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: $root.access.groups.editor.header"></h3>
@@ -58,7 +58,7 @@
<!-- /ko -->
</script>
<div id="settings-usersEditorDialog" class="modal hide fade">
<div id="settings-usersEditorDialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: $root.access.users.editor.header"></h3>
@@ -130,7 +130,7 @@
</div>
</div>
<div id="settings-usersDialogChangePassword" class="modal hide fade">
<div id="settings-usersDialogChangePassword" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Change password for user "%(user)s"', user='<span data-bind="text: $root.access.users.editor.name"></span>') }}</h3>
@@ -1,4 +1,4 @@
<div id="settings_printerProfiles_editDialog" class="modal hide fade">
<div id="settings_printerProfiles_editDialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 class="modal-title"></h3>
@@ -0,0 +1,13 @@
<div class="control-group" title="{{ _('Enable the cache buster on the webcam URl')|edq }}">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: webcam_cacheBuster" id="settings-webcamCacheBuster">
{{ _('Enable Cache buster') }}
<span class="help-block">
<span class="label label-warning">{{ _("Warning") }}</span>
{{ _("This may cause unpredictable caching behaviour. Only disable if your webcam server is incompatible and does not work in OctoPrint's UI") }}
</span>
</label>
</div>
</div>
@@ -5,6 +5,6 @@
<input type="text" class="input-block-level" data-bind="value: webcam_streamUrl, valueUpdate: 'afterkeydown'" id="settings-webcamStreamUrl">
<button class="btn" type="button" data-bind="click: testWebcamStreamUrl, enable: webcam_streamUrl() && !testWebcamStreamUrlBusy(), css: {disabled: !webcam_streamUrl() || testWebcamStreamUrlBusy()}"><i class="fas fa-spinner fa-spin" data-bind="visible: testWebcamStreamUrlBusy"></i> {{ _('Test') }}</button>
</div>
<span class="help-inline">{% trans %}Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page.{% endtrans %}</span>
<span class="help-block">{% trans %}Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page.{% endtrans %}</span>
</div>
</div>
@@ -104,10 +104,8 @@
<h1 data-bind="visible: renderProgressBarString">{{ _('Timelapse Render Progress') }}</h1>
<div id="render_progress" class="progress progress-text-centered" data-bind="visible: renderProgressBarString, css: { 'progress-striped' : renderAnimation, active : renderAnimation }">
<span class="progress-text-back" data-bind="text: renderProgressBarString"></span>
<div class="bar" data-bind="style: {width: renderProgressString() + '%'}">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent', text: renderProgressBarString"></span>
</div>
<div class="bar" data-bind="style: {width: renderProgressString() + '%'}"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (renderProgressString() >= 50), 'progress-text-back': (renderProgressString() < 50) }, text: renderProgressBarString()"></span>
</div>
<h1>{{ _('Finished Timelapses') }}</h1>
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-04-14 14:03+0200\n"
"PO-Revision-Date: 2021-04-14 14:04+0200\n"
"POT-Creation-Date: 2021-05-10 11:13+0200\n"
"PO-Revision-Date: 2021-05-10 11:14+0200\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -185,26 +185,26 @@ msgstr "Falls Unterstützung durch Firmware erkannt (<code>PROMPT_SUPPORT</code>
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:315
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:322
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:376
msgid "Always"
msgstr "Immer"
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:14
#: src/octoprint/templates/dialogs/settings/features.jinja2:78
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:83
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:318
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:372
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:325
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379
msgid "Never"
msgstr "Nie"
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:80
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:81
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:329
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:82
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:411
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:418
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:14
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:30
#: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5
@@ -1133,10 +1133,10 @@ msgid "<p>It looks like you are tracking an OctoPrint RC release channel. It wou
msgstr "<p>Es sieht so also, als hättest du einen OctoPrint RC Release Channel abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher untersucht werden kann. Danke!</p><p><small>Du kannst mehr zum Fehlertracking erfahren unter Einstellungen > Fehlertracking</p>"
#: src/octoprint/plugins/errortracking/static/js/errortracking.js:52
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:477
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:483
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514
#: src/octoprint/static/js/app/viewmodels/loginstate.js:147
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid "Ignore"
msgstr "Ignorieren"
@@ -1227,48 +1227,48 @@ msgstr "Analysiere..."
msgid "Analyzed"
msgstr "Analysiert"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:649
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:656
#: src/octoprint/static/js/app/viewmodels/files.js:929
msgid "Model size"
msgstr "Modelgröße"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:659
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:666
msgid "Estimated layer height"
msgstr "Geschätzte Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:662
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:669
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr "mm"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:665
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:672
msgid "Estimated total print time"
msgstr "Geschätzte Gesamtdauer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:670
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:677
msgid "Layers with extrusion"
msgstr "Layer mit Extrusion"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:703
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Layer number"
msgstr "Schichtnummer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:711
msgid "Layer height"
msgstr "Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:705
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:712
msgid "GCODE commands"
msgstr "GCODE Befehle"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:709
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:718
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:725
#: src/octoprint/static/js/app/viewmodels/files.js:944
#: src/octoprint/static/js/app/viewmodels/files.js:960
msgid "Filament"
msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:720
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:727
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:962
#: src/octoprint/static/js/app/viewmodels/printerstate.js:355
@@ -1278,7 +1278,7 @@ msgstr "Filament"
msgid "Tool"
msgstr "Tool"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:732
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:739
#: src/octoprint/static/js/app/viewmodels/files.js:972
msgid "Estimated print time"
msgstr "Geschätzte Dauer"
@@ -1376,40 +1376,44 @@ msgstr "Auch nächste Schicht anzeigen"
msgid "Reload"
msgstr "Neu laden"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:84
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:77
msgid "Reset viewport"
msgstr "Viewport zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:85
msgid "Show visited bounding box"
msgstr "Boundingbox für besuchte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:87
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:88
msgid "Show printed bounding box"
msgstr "Boundingbox für bedruckte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:90
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:91
msgid "Show layer bounding box"
msgstr "Boundingbox für bedruckte Koordinaten der Schicht anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:93
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:94
msgid "Show segment starts"
msgstr "Liniensegmentstarts anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
msgid "Hide empty layers"
msgstr "Leere Schichten verstecken"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Causes reload"
msgstr "Verursacht einen Reload"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Sort layers"
msgstr "Schichten sortieren"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:105
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:106
msgid "Reset options"
msgstr "Optionen zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:113
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:114
msgid "\n"
" Note that the time and usage values in this tab are <strong>estimated</strong> by the GCODE viewer in your\n"
" browser and might differ from the values <strong>estimated</strong> by the server that are displayed in the\n"
@@ -1425,19 +1429,19 @@ msgstr "\n"
" ungenau sein können, da sie nur auf Informationen aus den GCODE Dateien basieren.\n"
" "
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:123
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/templates/dialogs/settings/folders.jinja2:73
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:94
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:475
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:482
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:491
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:506
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87
#: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4
msgid "Warning"
msgstr "Warnung"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:125
msgid "<p>\n"
" You've selected <strong data-bind=\"text: selectedFile.name\"></strong> for printing which has a size of\n"
" <strong data-bind=\"text: formatSize(selectedFile.size())\"></strong>. Depending on your machine this\n"
@@ -1457,7 +1461,7 @@ msgstr "<p>\n"
" Bist Du sicher, dass du die Datei trotzdem visualisieren willst?\n"
" </p>"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:135
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:136
#, python-format
msgid "Yes, please visualize %(name)s regardless of its size"
msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe"
@@ -2380,227 +2384,227 @@ msgstr "OctoPrint"
msgid "Without this plugin OctoPrint will no longer be able to update itself or any of your installed plugins which might put your system at risk."
msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich selbst oder deine installierten Plugins zu aktualisierten. Das könnte dein System gefährden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:238
msgid "Release"
msgstr "Release"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:233
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239
msgid "Github Commit"
msgstr "Githubcommit"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:234
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:240
msgid "Local checkout"
msgstr "Lokaler Checkout"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:311
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:317
#, python-format
msgid "%(name)s: %(version)s"
msgstr "%(name)s: %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:319
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:325
msgid "unknown"
msgstr "unbekannt"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:663
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:929
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:374
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:669
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:685
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:935
msgid "Updating..."
msgstr "Aktualisiere..."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:369
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:930
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:686
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:936
msgid "Updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:385
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:391
msgid "There are updates available for the following components:"
msgstr "Es gibt Aktualisierungen für die folgenden Komponenten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:412
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:418
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:779
msgid "Release Notes"
msgstr "Release Notes"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:423
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:429
msgid "This version of the Python environment is not supported for direct updates."
msgstr "Diese Version der Pythonumgebung unterstützt keine direkten Aktualisierungen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:430
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436
msgid "There's currently not enough free disk space available for a direct update."
msgstr "Der Plattenplatz reicht aktuell nicht für ein Softwareupdate."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:443
msgid "Those components marked with <i class=\"fa fa-check\"></i> can be updated directly."
msgstr "Die mit <i class=\"fa fa-check\"></i> markierten Komponenten können direkt aktualisiert werden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:450
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:456
msgid "To have updates applied, get in touch with an administrator of this OctoPrint instance."
msgstr "Um Updates durchzuführen wende dich bitte an einen Administrator dieser OctoPrint Instanz."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:459
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:465
msgid "Update Available"
msgstr "Aktualisierung verfügbar"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:481
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:487
msgid "You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\""
msgstr "Du kannst diese Nachricht erneut anzeigen lassen mittels \"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen suchen\""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:488
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:494
msgid "Update now"
msgstr "Jetzt aktualisieren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538
msgid "Everything is up-to-date"
msgstr "Alles ist auf dem neusten Stand"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:561
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:567
msgid "No internet connection"
msgstr "Keine Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:565
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:571
msgid "Update not possible"
msgstr "Update nicht möglich"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:576
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
msgid "Unknown update check, configuration ok?"
msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:579
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
msgid "Cannot check for update, need online connection"
msgstr "Updatecheck ist nicht möglich, benötige Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:588
msgid "Network error while checking for update"
msgstr "Netzwerkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:591
msgid "Rate limit exceeded while checking for update, please try again later"
msgstr "Ratelimit überschritten beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:590
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:596
msgid "Check internal error while checking for update"
msgstr "Interner Checkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:593
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:599
msgid "Unknown error while checking for update, please check the logs"
msgstr "Unbekannter Fehler beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:664
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:670
msgid "Now updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:687
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:693
msgid "The update could not be started. Is it already active? Please consult octoprint.log for details."
msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere octoprint.log für Details."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:695
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:701
msgid "Update not started!"
msgstr "Aktualisierung nicht gestartet!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:731
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737
msgid "Can't update while printing"
msgstr "Aktualisierung nicht möglich während gedruckt wird"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:738
msgid "A print job is currently in progress. Updating will be prevented until it is done."
msgstr "Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis er fertig ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:743
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:749
msgid "Can't update while throttled"
msgstr "Aktualisierung nicht möglich bei reduzierter Systemleistung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:750
msgid "Your system is currently throttled. OctoPrint refuses to run updates while in this state due to possible stability issues."
msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n"
"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, Aktualisierungen durchzuführen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:755
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761
msgid "This will update the following components and restart the server:"
msgstr "Das wird die folgenden Komponenten aktualisieren und den Server neu starten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:781
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787
msgid "Be sure to read through any linked release notes, especially those for OctoPrint since they might contain important information you need to know <strong>before</strong> upgrading."
msgstr "Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint, da diese wichtige Informationen behinhalten könnten, die Du <strong>vor</strong> dem Softwareupdate wissen solltest."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:786
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:792
msgid "This action may disrupt any ongoing print jobs."
msgstr "Das könnte laufende Druckaufträge unterbrechen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:795
msgid "Depending on your printer's controller and general setup, restarting OctoPrint may cause your printer to be reset."
msgstr "Abhängig von deinem Druckerkontroller und generellem Setup könnte ein Neustart von OctoPrint auch zum Neustart deines Druckers führen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:794
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:800
#: src/octoprint/static/js/app/helpers.js:795
msgid "Are you sure you want to proceed?"
msgstr "Bist Du sicher, dass du fortfahren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:797
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803
msgid "Are you sure you want to update now?"
msgstr "Bist Du sicher, dass du jetzt aktualisieren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:799
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:805
#: src/octoprint/static/js/app/helpers.js:802
msgid "Proceed"
msgstr "Fortfahren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:946
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:952
#, python-format
msgid "Now updating %(name)s to %(version)s"
msgstr "Aktualisiere %(name)s auf %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:972
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:978
msgid "Update successful, restarting!"
msgstr "Aktualisierung erfolgreich, starte neu!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:973
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:979
msgid "The update finished successfully and the server will now be restarted."
msgstr "Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird jetzt neu gestartet."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:992
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1049
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:998
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1055
msgid "Restart failed"
msgstr "Neustart fehlgeschlagen"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:993
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:999
msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong."
msgstr "Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1015
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1021
msgid "The update finished successfully, please restart OctoPrint now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte OctoPrint jetzt neu."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1019
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1025
msgid "The update finished successfully, please reboot the server now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den Server jetzt."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1024
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1030
msgid "Update successful, restart required!"
msgstr "Aktualisierung erfolgreich, Neustart notwendig!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1040
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1046
msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1044
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1050
msgid "Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier gerade schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1065
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1071
msgid "Update successful!"
msgstr "Aktualisierung erfolgreich!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1066
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1072
msgid "The update finished successfully."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1081
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1087
msgid "Update failed!"
msgstr "Aktualisierung fehlgeschlagen!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1082
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1088
msgid "The update did not finish successfully. Please consult <code>octoprint.log</code> and <code>plugin_softwareupdate_console.log</code> for details."
msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere <code>octoprint.log</code> und <code>plugin_softwareupdate_console.log</code> für Details."
@@ -3425,7 +3429,7 @@ msgid "Transferring file to SD"
msgstr "Sende Datei zu SD"
#: src/octoprint/static/js/app/main.js:250
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479
msgid "Pausing"
msgstr "Pausiere"
@@ -3434,7 +3438,7 @@ msgid "Resuming"
msgstr "Setze fort"
#: src/octoprint/static/js/app/main.js:252
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:481
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488
msgid "Cancelling"
msgstr "Breche ab"
@@ -3959,85 +3963,85 @@ msgstr "Weiß"
msgid "Autodetect from browser"
msgstr "Automatisch vom Browser erkennen"
#: src/octoprint/static/js/app/viewmodels/settings.js:430
#: src/octoprint/static/js/app/viewmodels/settings.js:431
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:457
#: src/octoprint/static/js/app/viewmodels/settings.js:458
msgid "Stream test"
msgstr "Stream Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:475
#: src/octoprint/static/js/app/viewmodels/settings.js:476
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:478
#: src/octoprint/static/js/app/viewmodels/settings.js:479
msgid "Snapshot test failed"
msgstr "Snapshot Test fehlgeschlagen"
#: src/octoprint/static/js/app/viewmodels/settings.js:498
#: src/octoprint/static/js/app/viewmodels/settings.js:499
#, python-format
msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: <code>%(content_type)s</code>. Please double check that the URL is returning static images, not multipart data or videos."
msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild 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:527
#: src/octoprint/static/js/app/viewmodels/settings.js:528
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:531
#: src/octoprint/static/js/app/viewmodels/settings.js:532
msgid "Snapshot test"
msgstr "Snapshot Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:573
#: src/octoprint/static/js/app/viewmodels/settings.js:574
msgid "The path doesn't exist"
msgstr "Der Pfad existiert nicht"
#: src/octoprint/static/js/app/viewmodels/settings.js:575
#: src/octoprint/static/js/app/viewmodels/settings.js:576
msgid "The path is not a file"
msgstr "Der Pfad ist keine Datei"
#: src/octoprint/static/js/app/viewmodels/settings.js:578
#: src/octoprint/static/js/app/viewmodels/settings.js:579
msgid "The path is not an executable"
msgstr "Der Pfad ist nicht ausführbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:582
#: src/octoprint/static/js/app/viewmodels/settings.js:683
#: src/octoprint/static/js/app/viewmodels/settings.js:583
#: src/octoprint/static/js/app/viewmodels/settings.js:684
msgid "The path is valid"
msgstr "Der Pfad ist valide"
#: src/octoprint/static/js/app/viewmodels/settings.js:607
#: src/octoprint/static/js/app/viewmodels/settings.js:608
msgid "The server is not reachable"
msgstr "Der Server ist nicht erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:610
#: src/octoprint/static/js/app/viewmodels/settings.js:611
msgid "The server is reachable"
msgstr "Der Server ist erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:631
#: src/octoprint/static/js/app/viewmodels/settings.js:632
msgid "Name cannot be resolved"
msgstr "Name kann nicht aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:635
#: src/octoprint/static/js/app/viewmodels/settings.js:636
msgid "Name can be resolved"
msgstr "Name kann aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:667
#: src/octoprint/static/js/app/viewmodels/settings.js:668
msgid "The path is a broken symlink."
msgstr "Der Pfad ist ein kaputter Symlink."
#: src/octoprint/static/js/app/viewmodels/settings.js:671
#: src/octoprint/static/js/app/viewmodels/settings.js:672
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:675
#: src/octoprint/static/js/app/viewmodels/settings.js:676
msgid "The path is not a folder."
msgstr "Der Pfad ist kein Verzeichnis."
#: src/octoprint/static/js/app/viewmodels/settings.js:679
#: src/octoprint/static/js/app/viewmodels/settings.js:680
msgid "The path is not writable."
msgstr "Der Pfad ist nicht beschreibbar."
#: src/octoprint/static/js/app/viewmodels/settings.js:821
#: src/octoprint/static/js/app/viewmodels/settings.js:822
#: src/octoprint/static/js/app/viewmodels/usersettings.js:122
msgid "This will generate a new API Key. The old API Key will cease to function immediately."
msgstr "Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören zu funktionieren."
@@ -5215,7 +5219,7 @@ msgstr "Temperaturintervall (autoreport)"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:148
msgid "Autoreport interval to request from firmware"
msgstr "Anzuforderndes Temperaturupdateintervall"
msgstr "Anzuforderndes Reportintervall"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:131
msgid "Interval in which to poll for the SD printing status information from the printer while printing"
@@ -5347,280 +5351,288 @@ msgid "\n"
msgstr "Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des Druckers automatisch zu erkennen und darauf basierend diverse Kommunikationsparameter zu konfigurieren. Falls das für dich nicht korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese Option aus und die entsprechenden Parameter werden zur manuellen Konfiguration eingeblendet."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:262
msgid "Select SD files by lower case path"
msgstr "SD Dateien per Kleinschreibung auswählen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:262
msgid "Prusa Firmware"
msgstr "Prusa Firmware"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
msgid "Select SD files by relative path"
msgstr "SD Dateien per relativem Pfad adressieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:262
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
msgid "RepRap Firmware"
msgstr "RepRap Firmware"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
msgid "Always assume SD card is present"
msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:290
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:304
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:315
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:322
msgid "Repetier"
msgstr "Repetier"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
msgid "Disable SD printing detection"
msgstr "SD-Druck-Erkennung deaktivieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
msgid "Ultimaker 2/2+"
msgstr "Ultimaker 2/2+"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:290
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:290
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#, python-format
msgid "Support <code>TargetExtr%%n</code>/<code>TargetBed</code> target temperature format"
msgstr "<code>TargetExtr%%n</code>/<code>TargetBed</code> Zieltemperaturformat unterstützen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:304
msgid "Disable detection of external heatups"
msgstr "Detektierung externer Aufheizvorgänge deaktivieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:304
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
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:309
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:316
msgid "Send a checksum with the command"
msgstr "Eine Prüfsumme mit dem Befehl senden"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:312
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:319
msgid "When printing"
msgstr "Beim Drucken"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:329
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:336
msgid "Support temperature autoreporting by firmware, if detected"
msgstr "Temperaturautoreporting durch die Firmware unterstützen, falls detektiert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:336
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:343
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:343
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:350
msgid "Send emergency GCODES <code>M108</code> and <code>M410</code> without waiting for acknowledgement, if detected as supported by the firmware"
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:350
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357
msgid "Support <code>busy</code> protocol, if detected"
msgstr "<code>busy</code> Protokoll unterstützen, falls detektiert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:364
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:358
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:365
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 this if you run into communication stalls following streaming of a file to your printer's SD."
msgstr "Die meisten Marlinforks, die von Marlin Versionen &lt; v1.1.0 abgeleitet wurden, senden kein bestätigendes <code>ok</code> für ein <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:363
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:370
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:366
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:373
msgid "If detected as necessary"
msgstr "Falls als notwendig erkannt"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:381
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 "Einige Marlinforks senden bei einem Resendrequest kein bestätigendes <code>ok</code>. Setze diese Option auf \"immer\" oder \"falls als notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests beobachtest."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:381
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:388
msgid "Protocol fine tuning"
msgstr "Protokollfinetuning"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:385
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:392
msgid "Wait for <code>start</code> on connect"
msgstr "Bei der Verbindung auf <code>start</code> warten"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393
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 "Versuche es mit dieser Option, falls du Kommunikationsprobleme beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints Handshake Versuche zu antworten."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:391
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:398
msgid "Blocked commands"
msgstr "Blockierte Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:394
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
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 <code>M1</code> since most firmware will block until a button on the controller has been pressed if it receives either of those two commands."
msgstr "Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist <code>M0</code> und <code>M1</code> da die meisten Firmwarevarianten beim Empfang dieser Befehle blockiert, bis der Button am Druckercontroller betätigt wurde."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:398
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405
msgid "Pausing commands"
msgstr "Pausierende Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408
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 "Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob 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:405
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412
msgid "Emergency commands"
msgstr "Notfallbefehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415
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, comma separated. Defaults to <code>M112</code>, <code>M108</code> and <code>M410</code>."
msgstr "Nutze dies um Notfallbefehle zu definieren, die interne Queues überspringen und - falls von der Firmware unterstützt - forciert gesendet 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:413
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:420
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:414
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:421
msgid "\"Hello\" command"
msgstr "\"Hallo\"-Befehl"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:417
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:424
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 "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:420
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:427
msgid "Commands that are know to run long and hence should suppress communication timeouts from being triggered."
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:421
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:428
msgid "Long running commands"
msgstr "Lang laufende Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:424
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:431
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 "Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, dass sie eine längere Zeit lang laufen, währenddessen keinen Output produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- oder M-Code, kommasepariert."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:427
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434
msgid "Commands that always require a line number and checksum to be sent with them."
msgstr "Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden müssen."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:428
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435
msgid "Commands that always require a checksum"
msgstr "Befehle, die immer eine Prüfsumme benötigen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:431
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:438
msgid "Use this to specify which commands <strong>always</strong> need to be sent with a checksum. Comma separated list."
msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die <strong>immer</strong> mit Prüfsumme gesendet werden müssen. Komma-separierte Liste."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:441
msgid "ok buffer size"
msgstr "ok Buffergröße"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:442
msgid "<code>ok</code> buffer size"
msgstr "<code>ok</code> Buffergröße"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:438
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:445
msgid "Only modify if told to do so"
msgstr "Nur ändern wenn dazu aufgefordert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454
msgid "Error handling"
msgstr "Fehlerbehandlung"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:456
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:452
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459
msgid "Disconnect from the printer"
msgstr "Verbindung zum Drucker trennen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:462
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:456
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
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 "Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker 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:460
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:467
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 "Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen (sogar fatale!), Vorsicht!"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473
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:467
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:474
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 "Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die 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:475
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:482
msgid "Log position on pause"
msgstr "Position bei Pause loggen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:476
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:483
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 "Falls du das deaktivierst, werden die <code>pause_position</code> Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch verbessern."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:491
msgid "Log position on cancel"
msgstr "Position bei Abbruch loggen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:485
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:492
msgid "If you disable this, the <code>cancel_position</code> placeholders in your cancel GCODE script and the corresponding data in the print recovery data will stay unpopulated! However, cancelling speed might improve slightly."
msgstr "Falls du das deaktivierst, werden die <code>cancel_position</code> 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:490
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:497
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:491
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:498
msgid "Uncheck this if your firmware doesn't support <code>M108</code> for aborting blocking heatups!"
msgstr "Deaktiviere dies, falls deine Firmware <code>M108</code> zum Stoppen blockierender Aufheizprozesse nicht unterstützt!"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:496
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:503
msgid "Sanity Checking"
msgstr "Validitätsprüfung"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:506
msgid "Sanity check tool commands"
msgstr "Validität von Tool-Befehlen prüfen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:500
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:507
msgid "If enabled, OctoPrint will not send tool commands to your printer that exceed the number of extruders configured in the active printer profile, or for which the firmware has reported an \"invalid extruder\" error. Only uncheck this if OctoPrint or your firmware mistakingly mark valid tools as invalid and be sure to investigate the reason for that, it might be a misconfiguration you need to correct for proper operation."
msgstr "Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile konfigurierten Extruder hinausgehen oder für die die Firmware einen \"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht valide markieren, und stelle sicher, dass du auch die Ursache dafür herausfindest, es könnte eine Fehlkonfiguration sein, die du für korrekte Funktionsweise korrigieren musst."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:504
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:511
msgid "Display notifications for suppressed commands"
msgstr "Zeige Benachrichtigungen für unterdrückte Befehle an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:507
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:514
msgid "Show notifications of severity \"info\" and \"warning\""
msgstr "Zeige Benachrichtigung der Dringlichkeit \"info\" und \"warning\" an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:510
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:517
msgid "Show notifications of severity \"warning\""
msgstr "Zeige Benachrichtigungen der Dringlichkeit \"warning\" an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:513
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:520
msgid "Never show notifications"
msgstr "Zeige niemals Benachrichtigungen an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:519
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:526
msgid "Resend Tracking"
msgstr "Resendtracking"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:520
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:527
msgid "Resend ratio threshold. Percentage of resend requests among all sent lines to consider critical."
msgstr "Resendverhältnis-Schwellwert. Anteil von Resendrequests an allen übertragenen Zeilen, der als kritisch eingestuft werden soll."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:521
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:528
msgid "Critical resend ratio"
msgstr "Kritisches Resendverhältnis"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:536
msgid "Start tracking resend request after these many transmitted lines."
msgstr "Resend requests erst nach dieser Anzahl übertragener Zeilen beginnen zu tracken."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:537
msgid "Tracking start"
msgstr "Trackingbeginn"
@@ -5840,7 +5852,7 @@ msgid "\n"
" web interface now by clicking the button below.\n"
" "
msgstr "\n"
" Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist notwendig. Das wird evtl. laufenden Printjobs nicht unterbrechen. Bitte lade das Webinterface jetzt neu, indem du auf den Button unten klickst."
" Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist notwendig. Das wird evtl. laufende Printjobs nicht unterbrechen. Bitte lade das Webinterface jetzt neu, indem du auf den Button unten klickst."
#: src/octoprint/templates/sidebar/connection.jinja2:8
msgid "Save connection settings"
+5 -209
View File
@@ -29,6 +29,11 @@ from immutabledict import immutabledict
from octoprint import UMASK
from octoprint.util.connectivity import ConnectivityChecker # noqa: F401
from octoprint.util.files import ( # noqa: F401
find_collision_free_name,
get_dos_filename,
silent_remove,
)
from octoprint.util.net import ( # noqa: F401
address_for_client,
interface_addresses,
@@ -466,215 +471,6 @@ def get_exception_string(fmt="{type}: '{message}' @ {file}:{function}:{line}"):
return fmt.format(**exception)
@deprecated(
"get_free_bytes has been deprecated and will be removed in the future",
includedoc="Replaced by `psutil.disk_usage <http://pythonhosted.org/psutil/#psutil.disk_usage>`_.",
since="1.2.5",
)
def get_free_bytes(path):
import psutil
return psutil.disk_usage(path).free
def get_dos_filename(
input, existing_filenames=None, extension=None, whitelisted_extensions=None, **kwargs
):
"""
Converts the provided input filename to a 8.3 DOS compatible filename. If ``existing_filenames`` is provided, the
conversion result will be guaranteed not to collide with any of the filenames provided thus.
Uses :func:`find_collision_free_name` internally.
Arguments:
input (string): The original filename incl. extension to convert to the 8.3 format.
existing_filenames (list): A list of existing filenames with which the generated 8.3 name must not collide.
Optional.
extension (string): The .3 file extension to use for the generated filename. If not provided, the extension of
the provided ``filename`` will simply be truncated to 3 characters.
whitelisted_extensions (list): A list of extensions on ``input`` that will be left as-is instead of
exchanging for ``extension``.
kwargs (dict): Additional keyword arguments to provide to :func:`find_collision_free_name`.
Returns:
string: A 8.3 compatible translation of the original filename, not colliding with the optionally provided
``existing_filenames`` and with the provided ``extension`` or the original extension shortened to
a maximum of 3 characters.
Raises:
ValueError: No 8.3 compatible name could be found that doesn't collide with the provided ``existing_filenames``.
Examples:
>>> get_dos_filename("test1234.gco") # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> get_dos_filename("test1234.gcode") # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> get_dos_filename("test12345.gco") # doctest: +ALLOW_UNICODE
'test12~1.gco'
>>> get_dos_filename("test1234.fnord", extension="gco") # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> get_dos_filename("auto0.g", extension="gco") # doctest: +ALLOW_UNICODE
'auto0.gco'
>>> get_dos_filename("auto0.g", extension="gco", whitelisted_extensions=["g"]) # doctest: +ALLOW_UNICODE
'auto0.g'
>>> get_dos_filename(None)
>>> get_dos_filename("foo") # doctest: +ALLOW_UNICODE
'foo'
"""
if input is None:
return None
if existing_filenames is None:
existing_filenames = []
if extension is not None:
extension = extension.lower()
if whitelisted_extensions is None:
whitelisted_extensions = []
filename, ext = os.path.splitext(input)
ext = ext.lower()
ext = ext[1:] if ext.startswith(".") else ext
if ext in whitelisted_extensions or extension is None:
extension = ext
return find_collision_free_name(filename, extension, existing_filenames, **kwargs)
def find_collision_free_name(filename, extension, existing_filenames, max_power=2):
"""
Tries to find a collision free translation of "<filename>.<extension>" to the 8.3 DOS compatible format,
preventing collisions with any of the ``existing_filenames``.
First strips all of ``."/\\[]:;=,`` from the filename and extensions, converts them to lower case and truncates
the ``extension`` to a maximum length of 3 characters.
If the filename is already equal or less than 8 characters in length after that procedure and "<filename>.<extension>"
are not contained in the ``existing_files``, that concatenation will be returned as the result.
If not, the following algorithm will be applied to try to find a collision free name::
set counter := power := 1
while counter < 10^max_power:
set truncated := substr(filename, 0, 6 - power + 1) + "~" + counter
set result := "<truncated>.<extension>"
if result is collision free:
return result
counter++
if counter >= 10 ** power:
power++
raise ValueError
This will basically -- for a given original filename of ``some_filename`` and an extension of ``gco`` -- iterate
through names of the format ``some_f~1.gco``, ``some_f~2.gco``, ..., ``some_~10.gco``, ``some_~11.gco``, ...,
``<prefix>~<n>.gco`` for ``n`` less than 10 ^ ``max_power``, returning as soon as one is found that is not colliding.
Arguments:
filename (string): The filename without the extension to convert to 8.3.
extension (string): The extension to convert to 8.3 -- will be truncated to 3 characters if it's longer than
that.
existing_filenames (list): A list of existing filenames to prevent name collisions with.
max_power (int): Limits the possible attempts of generating a collision free name to 10 ^ ``max_power``
variations. Defaults to 2, so the name generation will maximally reach ``<name>~99.<ext>`` before
aborting and raising an exception.
Returns:
string: A 8.3 representation of the provided original filename, ensured to not collide with the provided
``existing_filenames``
Raises:
ValueError: No collision free name could be found.
Examples:
>>> find_collision_free_name("test1234", "gco", []) # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> find_collision_free_name("test1234", "gcode", []) # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> find_collision_free_name("test12345", "gco", []) # doctest: +ALLOW_UNICODE
'test12~1.gco'
>>> find_collision_free_name("test 123", "gco", []) # doctest: +ALLOW_UNICODE
'test_123.gco'
>>> find_collision_free_name("test1234", "g o", []) # doctest: +ALLOW_UNICODE
'test1234.g_o'
>>> find_collision_free_name("test12345", "gco", ["/test12~1.gco"]) # doctest: +ALLOW_UNICODE
'test12~2.gco'
>>> many_files = ["/test12~{}.gco".format(x) for x in range(10)[1:]]
>>> find_collision_free_name("test12345", "gco", many_files) # doctest: +ALLOW_UNICODE
'test1~10.gco'
>>> many_more_files = many_files + ["/test1~{}.gco".format(x) for x in range(10, 99)]
>>> find_collision_free_name("test12345", "gco", many_more_files) # doctest: +ALLOW_UNICODE
'test1~99.gco'
>>> many_more_files_plus_one = many_more_files + ["/test1~99.gco"]
>>> find_collision_free_name("test12345", "gco", many_more_files_plus_one) # doctest: +ALLOW_UNICODE
Traceback (most recent call last):
...
ValueError: Can't create a collision free filename
>>> find_collision_free_name("test12345", "gco", many_more_files_plus_one, max_power=3) # doctest: +ALLOW_UNICODE
'test~100.gco'
"""
filename = to_unicode(filename)
extension = to_unicode(extension)
if filename.startswith("/"):
filename = filename[1:]
existing_filenames = [
to_unicode(x[1:] if x.startswith("/") else x) for x in existing_filenames
]
def make_valid(text):
return re.sub(
r"\s+", "_", text.translate({ord(i): None for i in r".\"/\[]:;=,"})
).lower()
filename = make_valid(filename)
extension = make_valid(extension)
extension = extension[:3] if len(extension) > 3 else extension
full_name_format = "{filename}.{extension}" if extension else "{filename}"
result = full_name_format.format(filename=filename, extension=extension)
if len(filename) <= 8 and result not in existing_filenames:
# early exit
return result
counter = 1
power = 1
prefix_format = "{segment}~{counter}"
while counter < (10 ** max_power):
prefix = prefix_format.format(
segment=filename[: (6 - power + 1)], counter=str(counter)
)
result = full_name_format.format(filename=prefix, extension=extension)
if result not in existing_filenames:
return result
counter += 1
if counter >= 10 ** power:
power += 1
raise ValueError("Can't create a collision free filename")
def silent_remove(file):
"""
Silently removes a file. Does not raise an error if the file doesn't exist.
Arguments:
file (string): The path of the file to be removed
"""
try:
os.remove(file)
except OSError:
pass
def sanitize_ascii(line):
if not isinstance(line, (str, bytes)):
raise ValueError(
+40
View File
@@ -548,6 +548,7 @@ class MachineCom:
)
self._sdAlwaysAvailable = settings().getBoolean(["serial", "sdAlwaysAvailable"])
self._sdRelativePath = settings().getBoolean(["serial", "sdRelativePath"])
self._sdLowerCase = settings().getBoolean(["serial", "sdLowerCase"])
self._blockWhileDwelling = settings().getBoolean(["serial", "blockWhileDwelling"])
self._send_m112_on_error = settings().getBoolean(["serial", "sendM112OnError"])
self._disable_sd_printing_detection = settings().getBoolean(
@@ -629,6 +630,7 @@ class MachineCom:
["serial", "checksumRequiringCommands"]
)
self._blocked_commands = settings().get(["serial", "blockedCommands"])
self._ignored_commands = settings().get(["serial", "ignoredCommands"])
self._pausing_commands = settings().get(["serial", "pausingCommands"])
self._emergency_commands = settings().get(["serial", "emergencyCommands"])
self._sanity_check_tools = settings().getBoolean(["serial", "sanityCheckTools"])
@@ -2364,6 +2366,8 @@ class MachineCom:
if not filename.startswith("/"):
# file from the root of the sd -- we'll prepend a /
filename = "/" + filename
if self._sdLowerCase:
filename = filename.lower()
self._sdFiles.append((filename, size))
if longname is not None:
self._sdFilesMap[filename] = longname
@@ -2663,6 +2667,13 @@ class MachineCom:
self._disable_sd_printing_detection = True
elif "prusa-firmware" in firmware_name.lower():
self._logger.info(
"Detected Prusa firmware, enabling relevant features for issue free communication"
)
self._sdLowerCase = True
self._firmware_info_received = True
self._firmware_info = data
self._firmware_name = firmware_name
@@ -3653,6 +3664,20 @@ class MachineCom:
# noinspection PyProtectedMember
set_close_exec(serial_obj._port_handle)
if hasattr(serial_obj, "set_low_latency_mode"):
try:
serial_obj.set_low_latency_mode(
settings().getBoolean(["serial", "lowLatency"])
)
except Exception:
self._logger.exception(
"Could not set low latency mode on serial port, continuing without"
)
else:
self._logger.info(
"Platform doesn't support low latency mode on serial port"
)
return BufferedReadlineWrapper(serial_obj)
serial_factories = list(self._serial_factory_hooks.items()) + [
@@ -5262,6 +5287,21 @@ class MachineCom:
},
)
return (None,)
if gcode in self._ignored_commands:
message = "Not sending {} to printer, it's configured as an ignored command".format(
gcode
)
self._log("Info: " + message)
self._logger.info(message)
eventManager().fire(
Events.COMMAND_SUPPRESSED,
{
"command": cmd,
"message": message,
"severity": "info",
},
)
return (None,)
def _command_phase_sending(
self, cmd, cmd_type=None, gcode=None, subcode=None, *args, **kwargs
+274
View File
@@ -0,0 +1,274 @@
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License"
import itertools
import os.path
import re
def _sfn_really_universal(name):
from octoprint.util.text import sanitize
### taken from pathvalidate library
_WINDOWS_RESERVED_FILE_NAMES = ("CON", "PRN", "AUX", "CLOCK$", "NUL") + tuple(
f"{name:s}{num:d}"
for name, num in itertools.product(("COM", "LPT"), range(1, 10))
)
_MACOS_RESERVED_FILE_NAMES = (":",)
result = sanitize(name, safe_chars="-_.()[] ").replace(" ", "_")
root, ext = os.path.splitext(result)
if root.upper() in (_WINDOWS_RESERVED_FILE_NAMES + _MACOS_RESERVED_FILE_NAMES):
root += "_"
return root + ext
def sanitize_filename(name, really_universal=False):
"""
Sanitizes the provided filename. Implementation differs between Python versions.
On Python 2, the name will be ASCII-fied, using ``octoprint.util.text.sanitize`` with
safe chars ``-_.()[] `` and all spaces replaced by ``_``.
On Python 3, ``pathvalidate.sanitize_filename`` will be used instead, leaving the
name as intact as possible while still being a legal file name under all operating
systems.
In all cases, a single leading ``.`` will be removed (as it denotes hidden files
on *nix).
Args:
name: The file name to sanitize. Only the name, no path elements.
really_universal: If ``True``, the Python 2 method of sanitization will always
be used. Defaults to ``False``.
Returns:
the sanitized file name
"""
from octoprint.util import to_unicode
name = to_unicode(name)
if name is None:
return None
if "/" in name or "\\" in name:
raise ValueError("name must not contain / or \\")
try:
from pathvalidate import sanitize_filename as sfn
except ImportError:
sfn = _sfn_really_universal
if really_universal:
result = _sfn_really_universal(name)
else:
result = sfn(name)
return result.lstrip(".")
def get_dos_filename(
input, existing_filenames=None, extension=None, whitelisted_extensions=None, **kwargs
):
"""
Converts the provided input filename to a 8.3 DOS compatible filename. If ``existing_filenames`` is provided, the
conversion result will be guaranteed not to collide with any of the filenames provided thus.
Uses :func:`find_collision_free_name` internally.
Arguments:
input (string): The original filename incl. extension to convert to the 8.3 format.
existing_filenames (list): A list of existing filenames with which the generated 8.3 name must not collide.
Optional.
extension (string): The .3 file extension to use for the generated filename. If not provided, the extension of
the provided ``filename`` will simply be truncated to 3 characters.
whitelisted_extensions (list): A list of extensions on ``input`` that will be left as-is instead of
exchanging for ``extension``.
kwargs (dict): Additional keyword arguments to provide to :func:`find_collision_free_name`.
Returns:
string: A 8.3 compatible translation of the original filename, not colliding with the optionally provided
``existing_filenames`` and with the provided ``extension`` or the original extension shortened to
a maximum of 3 characters.
Raises:
ValueError: No 8.3 compatible name could be found that doesn't collide with the provided ``existing_filenames``.
Examples:
>>> get_dos_filename("test1234.gco") # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> get_dos_filename("test1234.gcode") # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> get_dos_filename("test12345.gco") # doctest: +ALLOW_UNICODE
'test12~1.gco'
>>> get_dos_filename("Wölfe 🐺.gcode") # doctest: +ALLOW_UNICODE
'wolfe_~1.gco'
>>> get_dos_filename("💚.gcode") # doctest: +ALLOW_UNICODE
'green_~1.gco'
>>> get_dos_filename("test1234.fnord", extension="gco") # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> get_dos_filename("auto0.g", extension="gco") # doctest: +ALLOW_UNICODE
'auto0.gco'
>>> get_dos_filename("auto0.g", extension="gco", whitelisted_extensions=["g"]) # doctest: +ALLOW_UNICODE
'auto0.g'
>>> get_dos_filename(None)
>>> get_dos_filename("foo") # doctest: +ALLOW_UNICODE
'foo'
"""
if input is None:
return None
input = sanitize_filename(input, really_universal=True)
if existing_filenames is None:
existing_filenames = []
if extension is not None:
extension = extension.lower()
if whitelisted_extensions is None:
whitelisted_extensions = []
filename, ext = os.path.splitext(input)
ext = ext.lower()
ext = ext[1:] if ext.startswith(".") else ext
if ext in whitelisted_extensions or extension is None:
extension = ext
return find_collision_free_name(filename, extension, existing_filenames, **kwargs)
def find_collision_free_name(filename, extension, existing_filenames, max_power=2):
"""
Tries to find a collision free translation of "<filename>.<extension>" to the 8.3 DOS compatible format,
preventing collisions with any of the ``existing_filenames``.
First strips all of ``."/\\[]:;=,`` from the filename and extensions, converts them to lower case and truncates
the ``extension`` to a maximum length of 3 characters.
If the filename is already equal or less than 8 characters in length after that procedure and "<filename>.<extension>"
are not contained in the ``existing_files``, that concatenation will be returned as the result.
If not, the following algorithm will be applied to try to find a collision free name::
set counter := power := 1
while counter < 10^max_power:
set truncated := substr(filename, 0, 6 - power + 1) + "~" + counter
set result := "<truncated>.<extension>"
if result is collision free:
return result
counter++
if counter >= 10 ** power:
power++
raise ValueError
This will basically -- for a given original filename of ``some_filename`` and an extension of ``gco`` -- iterate
through names of the format ``some_f~1.gco``, ``some_f~2.gco``, ..., ``some_~10.gco``, ``some_~11.gco``, ...,
``<prefix>~<n>.gco`` for ``n`` less than 10 ^ ``max_power``, returning as soon as one is found that is not colliding.
Arguments:
filename (string): The filename without the extension to convert to 8.3.
extension (string): The extension to convert to 8.3 -- will be truncated to 3 characters if it's longer than
that.
existing_filenames (list): A list of existing filenames to prevent name collisions with.
max_power (int): Limits the possible attempts of generating a collision free name to 10 ^ ``max_power``
variations. Defaults to 2, so the name generation will maximally reach ``<name>~99.<ext>`` before
aborting and raising an exception.
Returns:
string: A 8.3 representation of the provided original filename, ensured to not collide with the provided
``existing_filenames``
Raises:
ValueError: No collision free name could be found.
Examples:
>>> find_collision_free_name("test1234", "gco", []) # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> find_collision_free_name("test1234", "gcode", []) # doctest: +ALLOW_UNICODE
'test1234.gco'
>>> find_collision_free_name("test12345", "gco", []) # doctest: +ALLOW_UNICODE
'test12~1.gco'
>>> find_collision_free_name("test 123", "gco", []) # doctest: +ALLOW_UNICODE
'test_123.gco'
>>> find_collision_free_name("test1234", "g o", []) # doctest: +ALLOW_UNICODE
'test1234.g_o'
>>> find_collision_free_name("test12345", "gco", ["/test12~1.gco"]) # doctest: +ALLOW_UNICODE
'test12~2.gco'
>>> many_files = ["/test12~{}.gco".format(x) for x in range(10)[1:]]
>>> find_collision_free_name("test12345", "gco", many_files) # doctest: +ALLOW_UNICODE
'test1~10.gco'
>>> many_more_files = many_files + ["/test1~{}.gco".format(x) for x in range(10, 99)]
>>> find_collision_free_name("test12345", "gco", many_more_files) # doctest: +ALLOW_UNICODE
'test1~99.gco'
>>> many_more_files_plus_one = many_more_files + ["/test1~99.gco"]
>>> find_collision_free_name("test12345", "gco", many_more_files_plus_one) # doctest: +ALLOW_UNICODE
Traceback (most recent call last):
...
ValueError: Can't create a collision free filename
>>> find_collision_free_name("test12345", "gco", many_more_files_plus_one, max_power=3) # doctest: +ALLOW_UNICODE
'test~100.gco'
"""
from octoprint.util import to_unicode
filename = to_unicode(filename)
extension = to_unicode(extension)
if filename.startswith("/"):
filename = filename[1:]
existing_filenames = [
to_unicode(x[1:] if x.startswith("/") else x) for x in existing_filenames
]
def make_valid(text):
return re.sub(
r"\s+", "_", text.translate({ord(i): None for i in r".\"/\[]:;=,"})
).lower()
filename = make_valid(filename)
extension = make_valid(extension)
extension = extension[:3] if len(extension) > 3 else extension
full_name_format = "{filename}.{extension}" if extension else "{filename}"
result = full_name_format.format(filename=filename, extension=extension)
if len(filename) <= 8 and result not in existing_filenames:
# early exit
return result
counter = 1
power = 1
prefix_format = "{segment}~{counter}"
while counter < (10 ** max_power):
prefix = prefix_format.format(
segment=filename[: (6 - power + 1)], counter=str(counter)
)
result = full_name_format.format(filename=prefix, extension=extension)
if result not in existing_filenames:
return result
counter += 1
if counter >= 10 ** power:
power += 1
raise ValueError("Can't create a collision free filename")
def silent_remove(file):
"""
Silently removes a file. Does not raise an error if the file doesn't exist.
Arguments:
file (string): The path of the file to be removed
"""
try:
os.remove(file)
except OSError:
pass
+7 -2
View File
@@ -12,6 +12,12 @@ _UNICODE_VARIATIONS = re.compile("[\uFE00-\uFE0F]", re.U)
_SLUGIFIES = {}
def demojify(text):
text = to_unicode(text)
text = remove_unicode_variations(text)
return demojize(text, delimiters=("", ""))
def sanitize(text, safe_chars="-_.", demoji=True):
"""
Sanitizes text by running it through slugify and optionally emoji translating.
@@ -44,8 +50,7 @@ def sanitize(text, safe_chars="-_.", demoji=True):
text = to_unicode(text)
if demoji:
text = remove_unicode_variations(text)
text = demojize(text, delimiters=("", ""))
text = demojify(text)
return slugify(text)
+2069 -19
View File
File diff suppressed because it is too large. Load diff
+11 -38
View File
@@ -235,28 +235,14 @@ class LocalStorageTest(unittest.TestCase):
self.assertIsNotNone(copied_metadata)
self.assertDictEqual(before_stl_metadata, copied_metadata)
def test_copy_file_new_display(self):
def test_copy_file_same_name(self):
self._add_file("bp_case.stl", FILE_BP_CASE_STL)
try:
self.storage.copy_file("bp_case.stl", "bp_cäse.stl")
self.storage.copy_file("bp_case.stl", "bp_case.stl")
self.fail("Expected an exception")
except StorageError as e:
self.assertEqual(e.code, StorageError.SOURCE_EQUALS_DESTINATION)
def test_move_file_new_display(self):
self._add_file("bp_case.stl", FILE_BP_CASE_STL)
before_metadata = self.storage.get_metadata("bp_case.stl")
self.storage.move_file("bp_case.stl", "bp_cäse.stl")
after_metadata = self.storage.get_metadata("bp_case.stl")
self.assertTrue(os.path.isfile(os.path.join(self.basefolder, "bp_case.stl")))
self.assertIsNotNone(before_metadata)
self.assertIsNotNone(after_metadata)
self.assertIn("display", after_metadata)
self.assertEqual("bp_cäse.stl", after_metadata["display"])
@data("copy_file", "move_file")
def test_copy_move_file_different_display(self, operation):
self._add_file("bp_case.stl", FILE_BP_CASE_STL, display="bp_cäse.stl")
@@ -319,9 +305,7 @@ class LocalStorageTest(unittest.TestCase):
self.assertEqual("täst", metadata["display"])
def test_add_subfolder(self):
folder_name = self._add_and_verify_folder(
"folder with some spaces", "folder_with_some_spaces"
)
folder_name = self._add_and_verify_folder("folder", "folder")
subfolder_name = self._add_and_verify_folder(
(folder_name, "subfolder"), folder_name + "/subfolder"
)
@@ -438,25 +422,14 @@ class LocalStorageTest(unittest.TestCase):
self.assertIsNotNone(copied_metadata)
self.assertDictEqual(before_source_metadata, copied_metadata)
def test_copy_folder_new_display(self):
def test_copy_folder_same_name(self):
self._add_folder("folder")
try:
self.storage.copy_folder("folder", "földer")
self.storage.copy_folder("folder", "folder")
self.fail("Expected an exception")
except StorageError as e:
self.assertEqual(e.code, StorageError.SOURCE_EQUALS_DESTINATION)
def test_move_folder_new_display(self):
self._add_folder("folder")
before_metadata = self.storage.get_metadata("folder")
self.storage.move_folder("folder", "földer")
after_metadata = self.storage.get_metadata("folder")
self.assertIsNone(before_metadata)
self.assertIsNotNone(after_metadata)
self.assertDictEqual(after_metadata, {"display": "földer"})
@data("copy_folder", "move_folder")
def test_copy_move_folder_different_display(self, operation):
self._add_folder("folder", display="földer")
@@ -745,9 +718,9 @@ class LocalStorageTest(unittest.TestCase):
("some_file.gco", "some_file.gco"),
(
"some_file with (parentheses) and ümläuts and digits 123.gco",
"some_file_with_(parentheses)_and_umlauts_and_digits_123.gco",
"some_file with (parentheses) and ümläuts and digits 123.gco",
),
("pengüino pequeño.stl", "penguino_pequeno.stl"),
("pengüino pequeño.stl", "pengüino pequeño.stl"),
)
@unpack
def test_sanitize_name(self, input, expected):
@@ -785,10 +758,10 @@ class LocalStorageTest(unittest.TestCase):
self.assertTrue(e.args[0].startswith("path not contained in base folder: "))
@data(
("some/folder/and/some file.gco", "/some/folder/and", "some_file.gco"),
(("some", "folder", "and", "some file.gco"), "/some/folder/and", "some_file.gco"),
("some file.gco", "/", "some_file.gco"),
(("some file.gco",), "/", "some_file.gco"),
("some/folder/and/some file.gco", "/some/folder/and", "some file.gco"),
(("some", "folder", "and", "some file.gco"), "/some/folder/and", "some file.gco"),
("some file.gco", "/", "some file.gco"),
(("some file.gco",), "/", "some file.gco"),
("", "/", ""),
("some/folder/with/trailing/slash/", "/some/folder/with/trailing/slash", ""),
(("some", "folder", ""), "/some/folder", ""),
+1 -1
View File
@@ -500,7 +500,7 @@ class OctoPrintFlaskResponseTest(unittest.TestCase):
@data(
[None, None, False, None, None],
[None, None, False, "none", None],
[None, None, False, "none", "None"],
[None, None, False, "lax", "lax"],
[None, None, False, "StRiCt", "strict"],
[None, None, False, "INVALID", None],
+33
View File
@@ -0,0 +1,33 @@
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html"
__copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License"
import unittest
from ddt import data, ddt, unpack
from octoprint.util.files import sanitize_filename
@ddt
class FilesUtilTest(unittest.TestCase):
@data(
("some_file.gcode", "some_file.gcode"),
("NUL.gcode", "NUL_.gcode"),
("LPT1", "LPT1_"),
(".test.gcode", "test.gcode"),
("..test.gcode", "test.gcode"),
("file with space.gcode", "file with space.gcode"),
("Wölfe 🐺.gcode", "Wölfe 🐺.gcode"),
)
@unpack
def test_sanitize_filename(self, filename, expected):
actual = sanitize_filename(filename)
self.assertEqual(actual, expected)
@data("file/with/slash.gcode", "file\\with\\backslash.gcode")
def test_sanitize_filename_invalid(self, filename):
try:
sanitize_filename(filename)
self.fail("expected ValueError")
except ValueError as ex:
self.assertEqual(str(ex), "name must not contain / or \\")
Binary file not shown.
+206 -194
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-04-14 14:03+0200\n"
"PO-Revision-Date: 2021-04-14 14:04+0200\n"
"POT-Creation-Date: 2021-05-10 11:13+0200\n"
"PO-Revision-Date: 2021-05-10 11:14+0200\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -185,26 +185,26 @@ msgstr "Falls Unterstützung durch Firmware erkannt (<code>PROMPT_SUPPORT</code>
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:315
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:322
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:376
msgid "Always"
msgstr "Immer"
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:14
#: src/octoprint/templates/dialogs/settings/features.jinja2:78
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:83
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:318
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:372
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:325
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379
msgid "Never"
msgstr "Nie"
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:80
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:81
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:329
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:82
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:411
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:418
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:14
#: src/octoprint/templates/dialogs/settings/webcam.jinja2:30
#: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5
@@ -1133,10 +1133,10 @@ msgid "<p>It looks like you are tracking an OctoPrint RC release channel. It wou
msgstr "<p>Es sieht so also, als hättest du einen OctoPrint RC Release Channel abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher untersucht werden kann. Danke!</p><p><small>Du kannst mehr zum Fehlertracking erfahren unter Einstellungen > Fehlertracking</p>"
#: src/octoprint/plugins/errortracking/static/js/errortracking.js:52
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:477
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:483
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514
#: src/octoprint/static/js/app/viewmodels/loginstate.js:147
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid "Ignore"
msgstr "Ignorieren"
@@ -1227,48 +1227,48 @@ msgstr "Analysiere..."
msgid "Analyzed"
msgstr "Analysiert"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:649
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:656
#: src/octoprint/static/js/app/viewmodels/files.js:929
msgid "Model size"
msgstr "Modelgröße"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:659
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:666
msgid "Estimated layer height"
msgstr "Geschätzte Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:662
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:669
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr "mm"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:665
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:672
msgid "Estimated total print time"
msgstr "Geschätzte Gesamtdauer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:670
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:677
msgid "Layers with extrusion"
msgstr "Layer mit Extrusion"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:703
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Layer number"
msgstr "Schichtnummer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:711
msgid "Layer height"
msgstr "Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:705
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:712
msgid "GCODE commands"
msgstr "GCODE Befehle"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:709
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:718
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:725
#: src/octoprint/static/js/app/viewmodels/files.js:944
#: src/octoprint/static/js/app/viewmodels/files.js:960
msgid "Filament"
msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:720
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:727
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:962
#: src/octoprint/static/js/app/viewmodels/printerstate.js:355
@@ -1278,7 +1278,7 @@ msgstr "Filament"
msgid "Tool"
msgstr "Tool"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:732
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:739
#: src/octoprint/static/js/app/viewmodels/files.js:972
msgid "Estimated print time"
msgstr "Geschätzte Dauer"
@@ -1376,40 +1376,44 @@ msgstr "Auch nächste Schicht anzeigen"
msgid "Reload"
msgstr "Neu laden"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:84
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:77
msgid "Reset viewport"
msgstr "Viewport zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:85
msgid "Show visited bounding box"
msgstr "Boundingbox für besuchte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:87
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:88
msgid "Show printed bounding box"
msgstr "Boundingbox für bedruckte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:90
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:91
msgid "Show layer bounding box"
msgstr "Boundingbox für bedruckte Koordinaten der Schicht anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:93
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:94
msgid "Show segment starts"
msgstr "Liniensegmentstarts anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
msgid "Hide empty layers"
msgstr "Leere Schichten verstecken"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Causes reload"
msgstr "Verursacht einen Reload"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Sort layers"
msgstr "Schichten sortieren"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:105
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:106
msgid "Reset options"
msgstr "Optionen zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:113
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:114
msgid "\n"
" Note that the time and usage values in this tab are <strong>estimated</strong> by the GCODE viewer in your\n"
" browser and might differ from the values <strong>estimated</strong> by the server that are displayed in the\n"
@@ -1425,19 +1429,19 @@ msgstr "\n"
" ungenau sein können, da sie nur auf Informationen aus den GCODE Dateien basieren.\n"
" "
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:123
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/templates/dialogs/settings/folders.jinja2:73
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:94
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:475
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:482
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:491
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:506
#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87
#: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4
msgid "Warning"
msgstr "Warnung"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:125
msgid "<p>\n"
" You've selected <strong data-bind=\"text: selectedFile.name\"></strong> for printing which has a size of\n"
" <strong data-bind=\"text: formatSize(selectedFile.size())\"></strong>. Depending on your machine this\n"
@@ -1457,7 +1461,7 @@ msgstr "<p>\n"
" Bist Du sicher, dass du die Datei trotzdem visualisieren willst?\n"
" </p>"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:135
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:136
#, python-format
msgid "Yes, please visualize %(name)s regardless of its size"
msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe"
@@ -2380,227 +2384,227 @@ msgstr "OctoPrint"
msgid "Without this plugin OctoPrint will no longer be able to update itself or any of your installed plugins which might put your system at risk."
msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich selbst oder deine installierten Plugins zu aktualisierten. Das könnte dein System gefährden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:238
msgid "Release"
msgstr "Release"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:233
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239
msgid "Github Commit"
msgstr "Githubcommit"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:234
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:240
msgid "Local checkout"
msgstr "Lokaler Checkout"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:311
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:317
#, python-format
msgid "%(name)s: %(version)s"
msgstr "%(name)s: %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:319
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:325
msgid "unknown"
msgstr "unbekannt"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:663
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:929
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:374
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:669
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:685
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:935
msgid "Updating..."
msgstr "Aktualisiere..."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:369
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:930
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:686
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:936
msgid "Updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:385
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:391
msgid "There are updates available for the following components:"
msgstr "Es gibt Aktualisierungen für die folgenden Komponenten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:412
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:418
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:779
msgid "Release Notes"
msgstr "Release Notes"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:423
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:429
msgid "This version of the Python environment is not supported for direct updates."
msgstr "Diese Version der Pythonumgebung unterstützt keine direkten Aktualisierungen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:430
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436
msgid "There's currently not enough free disk space available for a direct update."
msgstr "Der Plattenplatz reicht aktuell nicht für ein Softwareupdate."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:443
msgid "Those components marked with <i class=\"fa fa-check\"></i> can be updated directly."
msgstr "Die mit <i class=\"fa fa-check\"></i> markierten Komponenten können direkt aktualisiert werden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:450
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:456
msgid "To have updates applied, get in touch with an administrator of this OctoPrint instance."
msgstr "Um Updates durchzuführen wende dich bitte an einen Administrator dieser OctoPrint Instanz."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:459
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:465
msgid "Update Available"
msgstr "Aktualisierung verfügbar"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:481
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:487
msgid "You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\""
msgstr "Du kannst diese Nachricht erneut anzeigen lassen mittels \"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen suchen\""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:488
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:494
msgid "Update now"
msgstr "Jetzt aktualisieren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538
msgid "Everything is up-to-date"
msgstr "Alles ist auf dem neusten Stand"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:561
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:567
msgid "No internet connection"
msgstr "Keine Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:565
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:571
msgid "Update not possible"
msgstr "Update nicht möglich"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:576
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
msgid "Unknown update check, configuration ok?"
msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:579
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
msgid "Cannot check for update, need online connection"
msgstr "Updatecheck ist nicht möglich, benötige Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:588
msgid "Network error while checking for update"
msgstr "Netzwerkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:591
msgid "Rate limit exceeded while checking for update, please try again later"
msgstr "Ratelimit überschritten beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:590
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:596
msgid "Check internal error while checking for update"
msgstr "Interner Checkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:593
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:599
msgid "Unknown error while checking for update, please check the logs"
msgstr "Unbekannter Fehler beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:664
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:670
msgid "Now updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:687
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:693
msgid "The update could not be started. Is it already active? Please consult octoprint.log for details."
msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere octoprint.log für Details."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:695
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:701
msgid "Update not started!"
msgstr "Aktualisierung nicht gestartet!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:731
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737
msgid "Can't update while printing"
msgstr "Aktualisierung nicht möglich während gedruckt wird"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:738
msgid "A print job is currently in progress. Updating will be prevented until it is done."
msgstr "Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis er fertig ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:743
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:749
msgid "Can't update while throttled"
msgstr "Aktualisierung nicht möglich bei reduzierter Systemleistung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:750
msgid "Your system is currently throttled. OctoPrint refuses to run updates while in this state due to possible stability issues."
msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n"
"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, Aktualisierungen durchzuführen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:755
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761
msgid "This will update the following components and restart the server:"
msgstr "Das wird die folgenden Komponenten aktualisieren und den Server neu starten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:781
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787
msgid "Be sure to read through any linked release notes, especially those for OctoPrint since they might contain important information you need to know <strong>before</strong> upgrading."
msgstr "Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint, da diese wichtige Informationen behinhalten könnten, die Du <strong>vor</strong> dem Softwareupdate wissen solltest."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:786
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:792
msgid "This action may disrupt any ongoing print jobs."
msgstr "Das könnte laufende Druckaufträge unterbrechen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:795
msgid "Depending on your printer's controller and general setup, restarting OctoPrint may cause your printer to be reset."
msgstr "Abhängig von deinem Druckerkontroller und generellem Setup könnte ein Neustart von OctoPrint auch zum Neustart deines Druckers führen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:794
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:800
#: src/octoprint/static/js/app/helpers.js:795
msgid "Are you sure you want to proceed?"
msgstr "Bist Du sicher, dass du fortfahren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:797
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803
msgid "Are you sure you want to update now?"
msgstr "Bist Du sicher, dass du jetzt aktualisieren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:799
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:805
#: src/octoprint/static/js/app/helpers.js:802
msgid "Proceed"
msgstr "Fortfahren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:946
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:952
#, python-format
msgid "Now updating %(name)s to %(version)s"
msgstr "Aktualisiere %(name)s auf %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:972
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:978
msgid "Update successful, restarting!"
msgstr "Aktualisierung erfolgreich, starte neu!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:973
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:979
msgid "The update finished successfully and the server will now be restarted."
msgstr "Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird jetzt neu gestartet."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:992
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1049
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:998
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1055
msgid "Restart failed"
msgstr "Neustart fehlgeschlagen"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:993
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:999
msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong."
msgstr "Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1015
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1021
msgid "The update finished successfully, please restart OctoPrint now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte OctoPrint jetzt neu."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1019
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1025
msgid "The update finished successfully, please reboot the server now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den Server jetzt."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1024
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1030
msgid "Update successful, restart required!"
msgstr "Aktualisierung erfolgreich, Neustart notwendig!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1040
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1046
msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1044
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1050
msgid "Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier gerade schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1065
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1071
msgid "Update successful!"
msgstr "Aktualisierung erfolgreich!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1066
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1072
msgid "The update finished successfully."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1081
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1087
msgid "Update failed!"
msgstr "Aktualisierung fehlgeschlagen!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1082
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1088
msgid "The update did not finish successfully. Please consult <code>octoprint.log</code> and <code>plugin_softwareupdate_console.log</code> for details."
msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere <code>octoprint.log</code> und <code>plugin_softwareupdate_console.log</code> für Details."
@@ -3425,7 +3429,7 @@ msgid "Transferring file to SD"
msgstr "Sende Datei zu SD"
#: src/octoprint/static/js/app/main.js:250
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479
msgid "Pausing"
msgstr "Pausiere"
@@ -3434,7 +3438,7 @@ msgid "Resuming"
msgstr "Setze fort"
#: src/octoprint/static/js/app/main.js:252
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:481
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488
msgid "Cancelling"
msgstr "Breche ab"
@@ -3959,85 +3963,85 @@ msgstr "Weiß"
msgid "Autodetect from browser"
msgstr "Automatisch vom Browser erkennen"
#: src/octoprint/static/js/app/viewmodels/settings.js:430
#: src/octoprint/static/js/app/viewmodels/settings.js:431
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:457
#: src/octoprint/static/js/app/viewmodels/settings.js:458
msgid "Stream test"
msgstr "Stream Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:475
#: src/octoprint/static/js/app/viewmodels/settings.js:476
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:478
#: src/octoprint/static/js/app/viewmodels/settings.js:479
msgid "Snapshot test failed"
msgstr "Snapshot Test fehlgeschlagen"
#: src/octoprint/static/js/app/viewmodels/settings.js:498
#: src/octoprint/static/js/app/viewmodels/settings.js:499
#, python-format
msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: <code>%(content_type)s</code>. Please double check that the URL is returning static images, not multipart data or videos."
msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild 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:527
#: src/octoprint/static/js/app/viewmodels/settings.js:528
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:531
#: src/octoprint/static/js/app/viewmodels/settings.js:532
msgid "Snapshot test"
msgstr "Snapshot Test"
#: src/octoprint/static/js/app/viewmodels/settings.js:573
#: src/octoprint/static/js/app/viewmodels/settings.js:574
msgid "The path doesn't exist"
msgstr "Der Pfad existiert nicht"
#: src/octoprint/static/js/app/viewmodels/settings.js:575
#: src/octoprint/static/js/app/viewmodels/settings.js:576
msgid "The path is not a file"
msgstr "Der Pfad ist keine Datei"
#: src/octoprint/static/js/app/viewmodels/settings.js:578
#: src/octoprint/static/js/app/viewmodels/settings.js:579
msgid "The path is not an executable"
msgstr "Der Pfad ist nicht ausführbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:582
#: src/octoprint/static/js/app/viewmodels/settings.js:683
#: src/octoprint/static/js/app/viewmodels/settings.js:583
#: src/octoprint/static/js/app/viewmodels/settings.js:684
msgid "The path is valid"
msgstr "Der Pfad ist valide"
#: src/octoprint/static/js/app/viewmodels/settings.js:607
#: src/octoprint/static/js/app/viewmodels/settings.js:608
msgid "The server is not reachable"
msgstr "Der Server ist nicht erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:610
#: src/octoprint/static/js/app/viewmodels/settings.js:611
msgid "The server is reachable"
msgstr "Der Server ist erreichbar"
#: src/octoprint/static/js/app/viewmodels/settings.js:631
#: src/octoprint/static/js/app/viewmodels/settings.js:632
msgid "Name cannot be resolved"
msgstr "Name kann nicht aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:635
#: src/octoprint/static/js/app/viewmodels/settings.js:636
msgid "Name can be resolved"
msgstr "Name kann aufgelöst werden"
#: src/octoprint/static/js/app/viewmodels/settings.js:667
#: src/octoprint/static/js/app/viewmodels/settings.js:668
msgid "The path is a broken symlink."
msgstr "Der Pfad ist ein kaputter Symlink."
#: src/octoprint/static/js/app/viewmodels/settings.js:671
#: src/octoprint/static/js/app/viewmodels/settings.js:672
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:675
#: src/octoprint/static/js/app/viewmodels/settings.js:676
msgid "The path is not a folder."
msgstr "Der Pfad ist kein Verzeichnis."
#: src/octoprint/static/js/app/viewmodels/settings.js:679
#: src/octoprint/static/js/app/viewmodels/settings.js:680
msgid "The path is not writable."
msgstr "Der Pfad ist nicht beschreibbar."
#: src/octoprint/static/js/app/viewmodels/settings.js:821
#: src/octoprint/static/js/app/viewmodels/settings.js:822
#: src/octoprint/static/js/app/viewmodels/usersettings.js:122
msgid "This will generate a new API Key. The old API Key will cease to function immediately."
msgstr "Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören zu funktionieren."
@@ -5215,7 +5219,7 @@ msgstr "Temperaturintervall (autoreport)"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:148
msgid "Autoreport interval to request from firmware"
msgstr "Anzuforderndes Temperaturupdateintervall"
msgstr "Anzuforderndes Reportintervall"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:131
msgid "Interval in which to poll for the SD printing status information from the printer while printing"
@@ -5347,280 +5351,288 @@ msgid "\n"
msgstr "Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des Druckers automatisch zu erkennen und darauf basierend diverse Kommunikationsparameter zu konfigurieren. Falls das für dich nicht korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese Option aus und die entsprechenden Parameter werden zur manuellen Konfiguration eingeblendet."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:262
msgid "Select SD files by lower case path"
msgstr "SD Dateien per Kleinschreibung auswählen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:262
msgid "Prusa Firmware"
msgstr "Prusa Firmware"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
msgid "Select SD files by relative path"
msgstr "SD Dateien per relativem Pfad adressieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:262
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
msgid "RepRap Firmware"
msgstr "RepRap Firmware"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
msgid "Always assume SD card is present"
msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:269
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:290
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:304
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:315
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:322
msgid "Repetier"
msgstr "Repetier"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
msgid "Disable SD printing detection"
msgstr "SD-Druck-Erkennung deaktivieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:276
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
msgid "Ultimaker 2/2+"
msgstr "Ultimaker 2/2+"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:290
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:290
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#, python-format
msgid "Support <code>TargetExtr%%n</code>/<code>TargetBed</code> target temperature format"
msgstr "<code>TargetExtr%%n</code>/<code>TargetBed</code> Zieltemperaturformat unterstützen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:304
msgid "Disable detection of external heatups"
msgstr "Detektierung externer Aufheizvorgänge deaktivieren"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:304
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:311
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:309
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:316
msgid "Send a checksum with the command"
msgstr "Eine Prüfsumme mit dem Befehl senden"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:312
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:319
msgid "When printing"
msgstr "Beim Drucken"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:329
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:336
msgid "Support temperature autoreporting by firmware, if detected"
msgstr "Temperaturautoreporting durch die Firmware unterstützen, falls detektiert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:336
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:343
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:343
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:350
msgid "Send emergency GCODES <code>M108</code> and <code>M410</code> without waiting for acknowledgement, if detected as supported by the firmware"
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:350
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357
msgid "Support <code>busy</code> protocol, if detected"
msgstr "<code>busy</code> Protokoll unterstützen, falls detektiert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:364
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:358
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:365
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 this if you run into communication stalls following streaming of a file to your printer's SD."
msgstr "Die meisten Marlinforks, die von Marlin Versionen &lt; v1.1.0 abgeleitet wurden, senden kein bestätigendes <code>ok</code> für ein <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:363
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:370
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:366
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:373
msgid "If detected as necessary"
msgstr "Falls als notwendig erkannt"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:381
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 "Einige Marlinforks senden bei einem Resendrequest kein bestätigendes <code>ok</code>. Setze diese Option auf \"immer\" oder \"falls als notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests beobachtest."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:381
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:388
msgid "Protocol fine tuning"
msgstr "Protokollfinetuning"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:385
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:392
msgid "Wait for <code>start</code> on connect"
msgstr "Bei der Verbindung auf <code>start</code> warten"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393
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 "Versuche es mit dieser Option, falls du Kommunikationsprobleme beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints Handshake Versuche zu antworten."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:391
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:398
msgid "Blocked commands"
msgstr "Blockierte Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:394
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
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 <code>M1</code> since most firmware will block until a button on the controller has been pressed if it receives either of those two commands."
msgstr "Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist <code>M0</code> und <code>M1</code> da die meisten Firmwarevarianten beim Empfang dieser Befehle blockiert, bis der Button am Druckercontroller betätigt wurde."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:398
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405
msgid "Pausing commands"
msgstr "Pausierende Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408
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 "Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob 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:405
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412
msgid "Emergency commands"
msgstr "Notfallbefehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415
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, comma separated. Defaults to <code>M112</code>, <code>M108</code> and <code>M410</code>."
msgstr "Nutze dies um Notfallbefehle zu definieren, die interne Queues überspringen und - falls von der Firmware unterstützt - forciert gesendet 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:413
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:420
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:414
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:421
msgid "\"Hello\" command"
msgstr "\"Hallo\"-Befehl"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:417
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:424
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 "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:420
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:427
msgid "Commands that are know to run long and hence should suppress communication timeouts from being triggered."
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:421
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:428
msgid "Long running commands"
msgstr "Lang laufende Befehle"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:424
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:431
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 "Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, dass sie eine längere Zeit lang laufen, währenddessen keinen Output produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- oder M-Code, kommasepariert."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:427
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434
msgid "Commands that always require a line number and checksum to be sent with them."
msgstr "Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden müssen."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:428
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435
msgid "Commands that always require a checksum"
msgstr "Befehle, die immer eine Prüfsumme benötigen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:431
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:438
msgid "Use this to specify which commands <strong>always</strong> need to be sent with a checksum. Comma separated list."
msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die <strong>immer</strong> mit Prüfsumme gesendet werden müssen. Komma-separierte Liste."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:441
msgid "ok buffer size"
msgstr "ok Buffergröße"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:442
msgid "<code>ok</code> buffer size"
msgstr "<code>ok</code> Buffergröße"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:438
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:445
msgid "Only modify if told to do so"
msgstr "Nur ändern wenn dazu aufgefordert"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454
msgid "Error handling"
msgstr "Fehlerbehandlung"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:456
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:452
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459
msgid "Disconnect from the printer"
msgstr "Verbindung zum Drucker trennen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:462
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:456
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463
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 "Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker 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:460
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:467
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 "Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen (sogar fatale!), Vorsicht!"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473
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:467
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:474
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 "Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die 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:475
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:482
msgid "Log position on pause"
msgstr "Position bei Pause loggen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:476
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:483
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 "Falls du das deaktivierst, werden die <code>pause_position</code> Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch verbessern."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:491
msgid "Log position on cancel"
msgstr "Position bei Abbruch loggen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:485
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:492
msgid "If you disable this, the <code>cancel_position</code> placeholders in your cancel GCODE script and the corresponding data in the print recovery data will stay unpopulated! However, cancelling speed might improve slightly."
msgstr "Falls du das deaktivierst, werden die <code>cancel_position</code> 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:490
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:497
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:491
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:498
msgid "Uncheck this if your firmware doesn't support <code>M108</code> for aborting blocking heatups!"
msgstr "Deaktiviere dies, falls deine Firmware <code>M108</code> zum Stoppen blockierender Aufheizprozesse nicht unterstützt!"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:496
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:503
msgid "Sanity Checking"
msgstr "Validitätsprüfung"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:506
msgid "Sanity check tool commands"
msgstr "Validität von Tool-Befehlen prüfen"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:500
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:507
msgid "If enabled, OctoPrint will not send tool commands to your printer that exceed the number of extruders configured in the active printer profile, or for which the firmware has reported an \"invalid extruder\" error. Only uncheck this if OctoPrint or your firmware mistakingly mark valid tools as invalid and be sure to investigate the reason for that, it might be a misconfiguration you need to correct for proper operation."
msgstr "Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile konfigurierten Extruder hinausgehen oder für die die Firmware einen \"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht valide markieren, und stelle sicher, dass du auch die Ursache dafür herausfindest, es könnte eine Fehlkonfiguration sein, die du für korrekte Funktionsweise korrigieren musst."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:504
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:511
msgid "Display notifications for suppressed commands"
msgstr "Zeige Benachrichtigungen für unterdrückte Befehle an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:507
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:514
msgid "Show notifications of severity \"info\" and \"warning\""
msgstr "Zeige Benachrichtigung der Dringlichkeit \"info\" und \"warning\" an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:510
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:517
msgid "Show notifications of severity \"warning\""
msgstr "Zeige Benachrichtigungen der Dringlichkeit \"warning\" an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:513
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:520
msgid "Never show notifications"
msgstr "Zeige niemals Benachrichtigungen an"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:519
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:526
msgid "Resend Tracking"
msgstr "Resendtracking"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:520
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:527
msgid "Resend ratio threshold. Percentage of resend requests among all sent lines to consider critical."
msgstr "Resendverhältnis-Schwellwert. Anteil von Resendrequests an allen übertragenen Zeilen, der als kritisch eingestuft werden soll."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:521
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:528
msgid "Critical resend ratio"
msgstr "Kritisches Resendverhältnis"
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:536
msgid "Start tracking resend request after these many transmitted lines."
msgstr "Resend requests erst nach dieser Anzahl übertragener Zeilen beginnen zu tracken."
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:537
msgid "Tracking start"
msgstr "Trackingbeginn"
+205 -193
View File
File diff suppressed because it is too large. Load diff