From 777c02135eeb256437081dfd81d1e0596b45ff4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 12 Dec 2017 12:42:40 +0100 Subject: [PATCH 01/82] Fixed a copy paste error in the changelog --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff1707b71..a325b975e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -118,9 +118,9 @@ You can find out more about the change, how to know if a plugin is even affected * [Commits](https://github.com/foosel/OctoPrint/compare/1.3.5...1.3.6) * Release Candidates: - * [1.3.5rc1](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc1) - * [1.3.5rc2](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc2) - * [1.3.5rc3](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc3) + * [1.3.6rc1](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc1) + * [1.3.6rc2](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc2) + * [1.3.6rc3](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc3) * A special **Thank you!** to everyone who reported back on these release candidates this time: [andrivet](https://github.com/andrivet), [b-morgan](https://github.com/b-morgan), [bjarchi](https://github.com/bjarchi), [chippypilot](https://github.com/chippypilot), [ChrisHeerschap](https://github.com/ChrisHeerschap), [cosmith71](https://github.com/cosmith71), [Crowlord](https://github.com/Crowlord), [ctgreybeard](https://github.com/ctgreybeard), [fiveangle](https://github.com/fiveangle), [goeland86](https://github.com/goeland86), [jbjones27](https://github.com/jbjones27), [jneilliii](https://github.com/jneilliii), [JohnOCFII](https://github.com/JohnOCFII), [Kunsi](https://github.com/Kunsi), [Lordxv](https://github.com/Lordxv), [malnvenshorn](https://github.com/malnvenshorn), [mcp5500](https://github.com/mcp5500), [ntoff](https://github.com/ntoff), [ripp2003](https://github.com/ripp2003) and [schorsch3000](https://github.com/schorsch3000) ## 1.3.5 (2017-10-16) From aa0ea299ea9ddafde1925dba39810c49e3fedd8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 1 Feb 2018 18:26:13 +0100 Subject: [PATCH 02/82] Docs for printer profile related bits and pieces --- docs/features/gcode_scripts.rst | 2 +- docs/modules/printer.rst | 7 + src/octoprint/printer/profile.py | 285 +++++++++++++++++-------------- 3 files changed, 168 insertions(+), 126 deletions(-) diff --git a/docs/features/gcode_scripts.rst b/docs/features/gcode_scripts.rst index 2533bdada..65732e2fd 100644 --- a/docs/features/gcode_scripts.rst +++ b/docs/features/gcode_scripts.rst @@ -66,7 +66,7 @@ Context All GCODE scripts have access to the following template variables through the template context: - * ``printer_profile``: The currently selected Printer Profile, including + * ``printer_profile``: The currently selected :ref:`Printer Profile `, including information such as the extruder count, the build volume size, the filament diameter etc. * ``last_position``: Last position reported by the printer via `M114` (might be unset if no `M114` was sent so far!). Consists of ``x``, ``y``, ``z`` and ``e`` coordinates as received by the printer and tracked values for ``f`` and diff --git a/docs/modules/printer.rst b/docs/modules/printer.rst index ce752f431..5fcd54ae4 100644 --- a/docs/modules/printer.rst +++ b/docs/modules/printer.rst @@ -4,3 +4,10 @@ octoprint.printer ----------------- .. automodule:: octoprint.printer + +.. _sec-modules-printer-profile: + +octoprint.printer.profile +------------------------- + +.. automodule:: octoprint.printer.profile diff --git a/src/octoprint/printer/profile.py b/src/octoprint/printer/profile.py index 7809325f6..191207087 100644 --- a/src/octoprint/printer/profile.py +++ b/src/octoprint/printer/profile.py @@ -1,4 +1,142 @@ # coding=utf-8 +""" +This module contains printer profile related code. + +A printer profile is a ``dict`` of the following structure: + +.. list-table:: + :widths: 15 5 30 + :header-rows: 1 + + * - Name + - Type + - Description + * - ``id`` + - ``string`` + - Internal id of the printer profile + * - ``name`` + - ``string`` + - Human readable name of the printer profile + * - ``model`` + - ``string`` + - Printer model + * - ``color`` + - ``string`` + - Color to associate with the printer profile + * - ``volume`` + - ``dict`` + - Information about the print volume + * - ``volume.width`` + - ``float`` + - Width of the print volume (X axis) + * - ``volume.depth`` + - ``float`` + - Depth of the print volume (Y axis) + * - ``volume.height`` + - ``float`` + - Height of the print volume (Z axis) + * - ``volume.formFactor`` + - ``string`` + - Form factor of the print bed, either ``rectangular`` or ``circular`` + * - ``volume.origin`` + - ``string`` + - Location of gcode origin in the print volume, either ``lowerleft`` or ``center`` + * - ``volume.custom_box`` + - ``dict`` or ``False`` + - Custom boundary box overriding the default bounding box based on the provided width, depth, height and origin. + If ``False``, the default boundary box will be used. + * - ``volume.custom_box.x_min`` + - ``float`` + - Minimum valid X coordinate + * - ``volume.custom_box.y_min`` + - ``float`` + - Minimum valid Y coordinate + * - ``volume.custom_box.z_min`` + - ``float`` + - Minimum valid Z coordinate + * - ``volume.custom_box.x_max`` + - ``float`` + - Maximum valid X coordinate + * - ``volume.custom_box.y_max`` + - ``float`` + - Maximum valid Y coordinate + * - ``volume.custom_box.z_max`` + - ``float`` + - Maximum valid Z coordinate + * - ``heatedBed`` + - ``bool`` + - Whether the printer has a heated bed (``True``) or not (``False``) + * - ``extruder`` + - ``dict`` + - Information about the printer's extruders + * - ``extruder.count`` + - ``int`` + - How many extruders the printer has (default 1) + * - ``extruder.offsets`` + - ``list`` of ``tuple`` + - Extruder offsets relative to first extruder, list of (x, y) tuples, first is always (0,0) + * - ``extruder.nozzleDiameter`` + - ``float`` + - Diameter of the printer nozzle(s) + * - ``extruder.sharedNozzle`` + - ``boolean`` + - Whether there's only one nozzle shared among all extruders (true) or one nozzle per extruder (false). + * - ``axes`` + - ``dict`` + - Information about the printer axes + * - ``axes.x`` + - ``dict`` + - Information about the printer's X axis + * - ``axes.x.speed`` + - ``float`` + - Speed of the X axis in mm/s + * - ``axes.x.inverted`` + - ``bool`` + - Whether a positive value change moves the nozzle away from the print bed's origin (False, default) or towards it (True) + * - ``axes.y`` + - ``dict`` + - Information about the printer's Y axis + * - ``axes.y.speed`` + - ``float`` + - Speed of the Y axis in mm/s + * - ``axes.y.inverted`` + - ``bool`` + - Whether a positive value change moves the nozzle away from the print bed's origin (False, default) or towards it (True) + * - ``axes.z`` + - ``dict`` + - Information about the printer's Z axis + * - ``axes.z.speed`` + - ``float`` + - Speed of the Z axis in mm/s + * - ``axes.z.inverted`` + - ``bool`` + - Whether a positive value change moves the nozzle away from the print bed (False, default) or towards it (True) + * - ``axes.e`` + - ``dict`` + - Information about the printer's E axis + * - ``axes.e.speed`` + - ``float`` + - Speed of the E axis in mm/s + * - ``axes.e.inverted`` + - ``bool`` + - Whether a positive value change extrudes (False, default) or retracts (True) filament + +.. autoclass:: PrinterProfileManager + :members: + +.. autoclass:: BedFormFactor + :members: + +.. autoclass:: BedOrigin + :members: + +.. autoclass:: SaveError + +.. autoclass:: CouldNotOverwriteError + +.. autoclass:: InvalidProfileError +""" + from __future__ import absolute_import, division, print_function __author__ = "Gina Häußge " @@ -20,25 +158,41 @@ from octoprint.settings import settings from octoprint.util import dict_merge, dict_sanitize, dict_contains_keys, is_hidden_path class SaveError(Exception): + """Saving a profile failed""" pass class CouldNotOverwriteError(SaveError): + """Overwriting of a profile not allowed""" pass class InvalidProfileError(Exception): + """Profile invalid""" pass -class BedTypes(object): +class BedFormFactor(object): + """Valid values for bed form factor""" + RECTANGULAR = "rectangular" + """Rectangular bed""" + CIRCULAR = "circular" + """Circular bed""" @classmethod def values(cls): return [getattr(cls, name) for name in cls.__dict__ if not (name.startswith("__") or name == "values")] +BedTypes = BedFormFactor +"""Deprecated name of :class:`BedFormFactors`""" + class BedOrigin(object): + """Valid values for bed origin""" + LOWERLEFT = "lowerleft" + """Origin at lower left corner of the bed when looking from the top""" + CENTER = "center" + """Origin at the center of the bed when looking from top""" @classmethod def values(cls): @@ -48,125 +202,6 @@ class PrinterProfileManager(object): """ Manager for printer profiles. Offers methods to select the globally used printer profile and to list, add, remove, load and save printer profiles. - - A printer profile is a ``dict`` of the following structure: - - .. list-table:: - :widths: 15 5 10 30 - :header-rows: 1 - - * - Name - - Type - - Description - * - ``id`` - - ``string`` - - Internal id of the printer profile - * - ``name`` - - ``string`` - - Human readable name of the printer profile - * - ``model`` - - ``string`` - - Printer model - * - ``color`` - - ``string`` - - Color to associate with the printer profile - * - ``volume`` - - ``dict`` - - Information about the print volume - * - ``volume.width`` - - ``float`` - - Width of the print volume (X axis) - * - ``volume.depth`` - - ``float`` - - Depth of the print volume (Y axis) - * - ``volume.height`` - - ``float`` - - Height of the print volume (Z axis) - * - ``volume.formFactor`` - - ``string`` - - Form factor of the print bed, either ``rectangular`` or ``circular`` - * - ``volume.origin`` - - ``string`` - - Location of gcode origin in the print volume, either ``lowerleft`` or ``center`` - * - ``volume.custom_box`` - - ``dict`` or ``False`` - - Custom boundary box overriding the default bounding box based on the provided width, depth, height and origin. - If ``False``, the default boundary box will be used. - * - ``volume.custom_box.x_min`` - - ``float`` - - Minimum valid X coordinate - * - ``volume.custom_box.y_min`` - - ``float`` - - Minimum valid Y coordinate - * - ``volume.custom_box.z_min`` - - ``float`` - - Minimum valid Z coordinate - * - ``volume.custom_box.x_max`` - - ``float`` - - Maximum valid X coordinate - * - ``volume.custom_box.y_max`` - - ``float`` - - Maximum valid Y coordinate - * - ``volume.custom_box.z_max`` - - ``float`` - - Maximum valid Z coordinate - * - ``heatedBed`` - - ``bool`` - - Whether the printer has a heated bed (``True``) or not (``False``) - * - ``extruder`` - - ``dict`` - - Information about the printer's extruders - * - ``extruder.count`` - - ``int`` - - How many extruders the printer has (default 1) - * - ``extruder.offsets`` - - ``list`` of ``tuple``s - - Extruder offsets relative to first extruder, list of (x, y) tuples, first is always (0,0) - * - ``extruder.nozzleDiameter`` - - ``float`` - - Diameter of the printer nozzle(s) - * - ``extruder.sharedNozzle`` - - ``boolean`` - - Whether there's only one nozzle shared among all extruders (true) or one nozzle per extruder (false). - * - ``axes`` - - ``dict`` - - Information about the printer axes - * - ``axes.x`` - - ``dict`` - - Information about the printer's X axis - * - ``axes.x.speed`` - - ``float`` - - Speed of the X axis in mm/s - * - ``axes.x.inverted`` - - ``bool`` - - Whether a positive value change moves the nozzle away from the print bed's origin (False, default) or towards it (True) - * - ``axes.y`` - - ``dict`` - - Information about the printer's Y axis - * - ``axes.y.speed`` - - ``float`` - - Speed of the Y axis in mm/s - * - ``axes.y.inverted`` - - ``bool`` - - Whether a positive value change moves the nozzle away from the print bed's origin (False, default) or towards it (True) - * - ``axes.z`` - - ``dict`` - - Information about the printer's Z axis - * - ``axes.z.speed`` - - ``float`` - - Speed of the Z axis in mm/s - * - ``axes.z.inverted`` - - ``bool`` - - Whether a positive value change moves the nozzle away from the print bed (False, default) or towards it (True) - * - ``axes.e`` - - ``dict`` - - Information about the printer's E axis - * - ``axes.e.speed`` - - ``float`` - - Speed of the E axis in mm/s - * - ``axes.e.inverted`` - - ``bool`` - - Whether a positive value change extrudes (False, default) or retracts (True) filament """ default = dict( @@ -178,7 +213,7 @@ class PrinterProfileManager(object): width = 200, depth = 200, height = 200, - formFactor = BedTypes.RECTANGULAR, + formFactor = BedFormFactor.RECTANGULAR, origin = BedOrigin.LOWERLEFT, custom_box = False ), @@ -459,7 +494,7 @@ class PrinterProfileManager(object): modified = False if "volume" in profile and "formFactor" in profile["volume"] and not "origin" in profile["volume"]: - profile["volume"]["origin"] = BedOrigin.CENTER if profile["volume"]["formFactor"] == BedTypes.CIRCULAR else BedOrigin.LOWERLEFT + profile["volume"]["origin"] = BedOrigin.CENTER if profile["volume"]["formFactor"] == BedFormFactor.CIRCULAR else BedOrigin.LOWERLEFT modified = True if "volume" in profile and not "custom_box" in profile["volume"]: @@ -520,7 +555,7 @@ class PrinterProfileManager(object): return False # validate form factor - if not profile["volume"]["formFactor"] in BedTypes.values(): + if not profile["volume"]["formFactor"] in BedFormFactor.values(): self._logger.warn("Profile has invalid value volume.formFactor: {formFactor}".format(formFactor=profile["volume"]["formFactor"])) return False @@ -530,11 +565,11 @@ class PrinterProfileManager(object): return False # ensure origin and form factor combination is legal - if profile["volume"]["formFactor"] == BedTypes.CIRCULAR and not profile["volume"]["origin"] == BedOrigin.CENTER: + if profile["volume"]["formFactor"] == BedFormFactor.CIRCULAR and not profile["volume"]["origin"] == BedOrigin.CENTER: profile["volume"]["origin"] = BedOrigin.CENTER # force width and depth of volume to be identical for circular beds, with width being the reference - if profile["volume"]["formFactor"] == BedTypes.CIRCULAR: + if profile["volume"]["formFactor"] == BedFormFactor.CIRCULAR: profile["volume"]["depth"] = profile["volume"]["width"] # if we have a custom bounding box, validate it From 40082456c1a9bad8a52b393313af3d1469cf45b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 23 Feb 2018 16:57:46 +0100 Subject: [PATCH 03/82] Don't even import disabled plugins We want to avoid disabled plugins interfering with our application in any way at all. Hence disabled plugins are now treated the same way as blacklisted ones. The system will only create a dummy entry for them and not import them at all. As a consequence, a restart of the platform will be necessary for disabling plugins that were disabled. The Plugin Manager has been adjusted accordingly. Note that by no longer even importing the base file, plugin name, version, description and other such metadata defined through control properties won't be accessible. Closes #2442 --- src/octoprint/__init__.py | 7 +- src/octoprint/plugin/core.py | 69 +++++++++++-------- .../plugins/pluginmanager/__init__.py | 21 +++--- .../pluginmanager/static/js/pluginmanager.js | 9 +-- 4 files changed, 60 insertions(+), 46 deletions(-) diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index f04a963f1..c67c05280 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -322,12 +322,9 @@ def init_pluginsystem(settings, safe_mode=False, ignore_blacklist=True, connecti plugin_validators = [] if safe_mode: def validator(phase, plugin_info): - if phase == "after_load": + if phase in ("before_import", "before_load", "before_enable"): setattr(plugin_info, "safe_mode_victim", not plugin_info.bundled) - setattr(plugin_info, "safe_mode_enabled", False) - elif phase == "before_enable": if not plugin_info.bundled: - setattr(plugin_info, "safe_mode_enabled", True) return False return True plugin_validators.append(validator) @@ -440,7 +437,7 @@ def get_plugin_blacklist(settings, connectivity_checker=None): result.append((entry["plugin"], version)) else: logger.debug("Blacklisted plugin: {}".format(entry["plugin"])) - result.append(entry["key"]) + result.append(entry["plugin"]) return result diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index 2cce7fe1a..1ceffcc36 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -144,6 +144,7 @@ class PluginInfo(object): self.origin = None self.enabled = True self.blacklisted = False + self.forced_disabled = False self.bundled = False self.loaded = False self.managable = True @@ -159,7 +160,10 @@ class PluginInfo(object): def validate(self, phase, additional_validators=None): result = True - if phase == "before_load": + if phase == "before_import": + result = not self.forced_disabled and not self.blacklisted and result + + elif phase == "before_load": # if the plugin still uses __plugin_init__, log a deprecation warning and move it to __plugin_load__ if hasattr(self.instance, self.__class__.attr_init): if not hasattr(self.instance, self.__class__.attr_load): @@ -193,7 +197,7 @@ class PluginInfo(object): if additional_validators is not None: for validator in additional_validators: - result = result and validator(phase, self) + result = validator(phase, self) and result return result @@ -602,14 +606,13 @@ class PluginManager(object): # plugin is already defined, ignore it continue - plugin = self._import_plugin_from_module(key, folder=folder) + bundled = flagged_readonly + + plugin = self._import_plugin_from_module(key, folder=folder, bundled=bundled) if plugin: plugin.origin = FolderOrigin("folder", folder) plugin.managable = not flagged_readonly and not actual_readonly - plugin.bundled = flagged_readonly - plugin.enabled = False - result[key] = plugin except: self.logger.exception("Error processing folder entry {!r} from folder {}".format(entry, folder)) @@ -676,6 +679,7 @@ class PluginManager(object): plugin = self._import_plugin_from_module(key, **kwargs) if plugin: plugin.origin = EntryPointOrigin("entry_point", group, module_name, package_name, version) + plugin.enabled = False # plugin is manageable if its location is writable and OctoPrint # is either not running from a virtual env or the plugin is @@ -685,19 +689,19 @@ class PluginManager(object): plugin.managable = os.access(plugin.location, os.W_OK) \ and (not self._python_virtual_env or is_sub_path_of(plugin.location, self._python_prefix) - or is_editable_install(self._python_install_dir, - package_name, - module_name, - plugin.location)) + or is_editable_install(self._python_install_dir, + package_name, + module_name, + plugin.location)) - plugin.enabled = False result[key] = plugin except: self.logger.exception("Error processing entry point {!r} for group {}".format(entry_point, group)) return result - def _import_plugin_from_module(self, key, folder=None, module_name=None, name=None, version=None, summary=None, author=None, url=None, license=None): + def _import_plugin_from_module(self, key, folder=None, module_name=None, name=None, version=None, summary=None, + author=None, url=None, license=None, bundled=False): # TODO error handling try: if folder: @@ -710,14 +714,34 @@ class PluginManager(object): self.logger.warn("Could not locate plugin {key}".format(key=key)) return None + # Create a simple dummy entry first ... + plugin = PluginInfo(key, module[1], None, name=name, version=version, description=summary, author=author, + url=url, license=license) + plugin.bundled = bundled + + if self._is_plugin_disabled(key): + self.logger.info("Plugin {} is disabled.".format(plugin)) + plugin.forced_disabled = True + if self._is_plugin_blacklisted(key) or (version is not None and self._is_plugin_version_blacklisted(key, version)): - plugin = PluginInfo(key, module[1], None, name=name, version=version, description=summary, author=author, url=url, license=license) + self.logger.warn("Plugin {} is blacklisted.".format(plugin)) plugin.blacklisted = True - self.logger.warn("Plugin {} is blacklisted. Not importing it, only registering a dummy entry.".format(plugin)) + + if not plugin.validate("before_import", additional_validators=self.plugin_validators): return plugin - plugin = self._import_plugin(key, *module, name=name, version=version, summary=summary, author=author, url=url, license=license) - if plugin is None: + # ... then create and return the real one + return self._import_plugin(key, *module, + name=name, version=version, summary=summary, author=author, url=url, + license=license, bundled=bundled) + + def _import_plugin(self, key, f, filename, description, name=None, version=None, summary=None, author=None, url=None, license=None, bundled=False): + try: + instance = imp.load_module(key, f, filename, description) + plugin = PluginInfo(key, filename, instance, name=name, version=version, description=summary, author=author, url=url, license=license) + plugin.bundled = bundled + except: + self.logger.exception("Error loading plugin {key}".format(key=key)) return None if plugin.check(): @@ -726,15 +750,6 @@ class PluginManager(object): self.logger.warn("Plugin \"{plugin}\" did not pass check".format(plugin=str(plugin))) return None - - def _import_plugin(self, key, f, filename, description, name=None, version=None, summary=None, author=None, url=None, license=None): - try: - instance = imp.load_module(key, f, filename, description) - return PluginInfo(key, filename, instance, name=name, version=version, description=summary, author=author, url=url, license=license) - except: - self.logger.exception("Error loading plugin {key}".format(key=key)) - return None - def _is_plugin_disabled(self, key): return key in self.plugin_disabled_list or key.endswith('disabled') @@ -765,7 +780,7 @@ class PluginManager(object): # 1st pass: loading the plugins for name, plugin in plugins.items(): try: - if not plugin.blacklisted: + if not plugin.blacklisted and not plugin.forced_disabled: self.load_plugin(name, plugin, startup=startup, initialize_implementation=initialize_implementations) except PluginNeedsRestart: pass @@ -779,7 +794,7 @@ class PluginManager(object): # 2nd pass: enabling those plugins that need enabling for name, plugin in plugins.items(): try: - if plugin.loaded and not self._is_plugin_disabled(name): + if plugin.loaded and not plugin.forced_disabled: if plugin.blacklisted: self.logger.warn("Plugin {} is blacklisted. Not enabling it.".format(plugin)) continue diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index 2ee271bb4..e15c987f9 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -561,13 +561,14 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin, if plugin.key == "pluginmanager": return make_response("Can't enable/disable Plugin Manager", 400) + pending = ((command == "disable" and plugin.key in self._pending_enable) or (command == "enable" and plugin.key in self._pending_disable)) + safe_mode_victim = getattr(plugin, "safe_mode_victim", False) + needs_restart = self._plugin_manager.is_restart_needing_plugin(plugin) needs_refresh = plugin.implementation and isinstance(plugin.implementation, octoprint.plugin.ReloadNeedingPlugin) needs_reconnect = self._plugin_manager.has_any_of_hooks(plugin, self._reconnect_hooks) and self._printer.is_operational() - pending = ((command == "disable" and plugin.key in self._pending_enable) or (command == "enable" and plugin.key in self._pending_disable)) - safe_mode_victim = getattr(plugin, "safe_mode_victim", False) - needs_restart_api = (needs_restart or safe_mode_victim) and not pending + needs_restart_api = (needs_restart or safe_mode_victim or plugin.forced_disabled) and not pending needs_refresh_api = needs_refresh and not pending needs_reconnect_api = needs_reconnect and not pending @@ -677,12 +678,12 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin, self._settings.global_set(["plugins", "_disabled"], disabled_list) self._settings.save(force=True) - if not needs_restart and not getattr(plugin, "safe_mode_victim", False): + if not needs_restart and not plugin.forced_disabled and not getattr(plugin, "safe_mode_victim", False): self._plugin_manager.enable_plugin(plugin.key) else: if plugin.key in self._pending_disable: self._pending_disable.remove(plugin.key) - elif (not plugin.enabled and not getattr(plugin, "safe_mode_enabled", False)) and plugin.key not in self._pending_enable: + elif not plugin.enabled and plugin.key not in self._pending_enable: self._pending_enable.add(plugin.key) def _mark_plugin_disabled(self, plugin, needs_restart=False): @@ -692,12 +693,12 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin, self._settings.global_set(["plugins", "_disabled"], disabled_list) self._settings.save(force=True) - if not needs_restart and not getattr(plugin, "safe_mode_victim", False): + if not needs_restart and not plugin.forced_disabled and not getattr(plugin, "safe_mode_victim", False): self._plugin_manager.disable_plugin(plugin.key) else: if plugin.key in self._pending_enable: self._pending_enable.remove(plugin.key) - elif (plugin.enabled or getattr(plugin, "safe_mode_enabled", False)) and plugin.key not in self._pending_disable: + elif (plugin.enabled or plugin.forced_disabled or getattr(plugin, "safe_mode_victim", False)) and plugin.key not in self._pending_disable: self._pending_disable.add(plugin.key) def _fetch_all_data(self, async=False): @@ -920,10 +921,10 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin, managable=plugin.managable, enabled=plugin.enabled, blacklisted=plugin.blacklisted, + forced_disabled=plugin.forced_disabled, safe_mode_victim=getattr(plugin, "safe_mode_victim", False), - safe_mode_enabled=getattr(plugin, "safe_mode_enabled", False), - pending_enable=(not plugin.enabled and not getattr(plugin, "safe_mode_enabled", False) and plugin.key in self._pending_enable), - pending_disable=((plugin.enabled or getattr(plugin, "safe_mode_enabled", False)) and plugin.key in self._pending_disable), + pending_enable=(not plugin.enabled and not getattr(plugin, "safe_mode_victim", False) and plugin.key in self._pending_enable), + pending_disable=((plugin.enabled or getattr(plugin, "safe_mode_victim", False)) and plugin.key in self._pending_disable), pending_install=(self._plugin_manager.is_plugin_marked(plugin.key, "installed")), pending_uninstall=(self._plugin_manager.is_plugin_marked(plugin.key, "uninstalled")), origin=plugin.origin.type, diff --git a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js index d658aa1d0..19842dcb6 100644 --- a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js +++ b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js @@ -222,7 +222,7 @@ $(function() { self.enableToggle = function(data) { var command = self._getToggleCommand(data); - var not_safemode_victim = !data.safe_mode_victim || data.safe_mode_enabled; + var not_safemode_victim = !data.safe_mode_victim; var not_blacklisted = !data.blacklisted; return self.enableManagement() && (command == "disable" || (not_safemode_victim && not_blacklisted)) && data.key != 'pluginmanager'; }; @@ -462,7 +462,7 @@ $(function() { }; if (self._getToggleCommand(data) == "enable") { - if (data.safe_mode_victim && !data.safe_mode_enabled) return; + if (data.safe_mode_victim) return; OctoPrint.plugins.pluginmanager.enable(data.key) .done(onSuccess) .fail(onError); @@ -857,7 +857,8 @@ $(function() { }; self._getToggleCommand = function(data) { - var disable = (data.enabled || data.pending_enable || (data.safe_mode_victim && data.safe_mode_enabled)) && !data.pending_disable; + var disable = (data.enabled || (data.safe_mode_victim && !data.forced_disabled) || data.pending_enable) + && !data.pending_disable; return disable ? "disable" : "enable"; }; @@ -873,7 +874,7 @@ $(function() { if (command == "enable") { if (data.blacklisted) { return gettext("Blacklisted"); - } else if (data.safe_mode_victim && !data.safe_mode_enabled) { + } else if (data.safe_mode_victim) { return gettext("Disabled due to active safe mode"); } else { return gettext("Enable Plugin"); From b108fc939cf56cead2d4e358e66fe6738d2dca27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 23 Feb 2018 17:02:52 +0100 Subject: [PATCH 04/82] Extract control property values from disabled plugins By parsing the main plugin file into a Python AST we can still extract the control property values (as long as they are simple string assignments or calls to gettext with a string argument) without having to execute them in any way. --- src/octoprint/plugin/core.py | 84 ++++++++++++++++++++++++++++++++---- 1 file changed, 76 insertions(+), 8 deletions(-) diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index 1ceffcc36..a6f26661c 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -157,6 +157,8 @@ class PluginInfo(object): self._url = url self._license = license + self._cached_parsed_metadata = None + def validate(self, phase, additional_validators=None): result = True @@ -292,7 +294,9 @@ class PluginInfo(object): Returns: str: Name of the plugin, fallback is the plugin's identifier. """ - return self._get_instance_attribute(self.__class__.attr_name, defaults=(self._name, self.key)) + return self._get_instance_attribute(self.__class__.attr_name, + defaults=(self._name, self.key), + incl_metadata=True) @property def description(self): @@ -304,7 +308,9 @@ class PluginInfo(object): Returns: str or None: Description of the plugin. """ - return self._get_instance_attribute(self.__class__.attr_description, default=self._description) + return self._get_instance_attribute(self.__class__.attr_description, + default=self._description, + incl_metadata=True) @property def disabling_discouraged(self): @@ -328,7 +334,9 @@ class PluginInfo(object): Returns: str or None: Version of the plugin. """ - return self._version if self._version is not None else self._get_instance_attribute(self.__class__.attr_version, default=self._version) + return self._version if self._version is not None else self._get_instance_attribute(self.__class__.attr_version, + default=self._version, + incl_metadata=True) @property def author(self): @@ -339,7 +347,9 @@ class PluginInfo(object): Returns: str or None: Author of the plugin. """ - return self._get_instance_attribute(self.__class__.attr_author, default=self._author) + return self._get_instance_attribute(self.__class__.attr_author, + default=self._author, + incl_metadata=True) @property def url(self): @@ -350,7 +360,9 @@ class PluginInfo(object): Returns: str or None: Website URL for the plugin. """ - return self._get_instance_attribute(self.__class__.attr_url, default=self._url) + return self._get_instance_attribute(self.__class__.attr_url, + default=self._url, + incl_metadata=True) @property def license(self): @@ -361,7 +373,9 @@ class PluginInfo(object): Returns: str or None: License of the plugin. """ - return self._get_instance_attribute(self.__class__.attr_license, default=self._license) + return self._get_instance_attribute(self.__class__.attr_license, + default=self._license, + incl_metadata=True) @property def hooks(self): @@ -452,15 +466,69 @@ class PluginInfo(object): """ return self._get_instance_attribute(self.__class__.attr_disable, default=lambda: True) - def _get_instance_attribute(self, attr, default=None, defaults=None): + def _get_instance_attribute(self, attr, default=None, defaults=None, incl_metadata=False): if self.instance is None or not hasattr(self.instance, attr): - if defaults is not None: + if incl_metadata and attr in self._parsed_metadata: + return self._parsed_metadata[attr] + + elif defaults is not None: for value in defaults: + if callable(value): + value = value() if value is not None: return value + return default + return getattr(self.instance, attr) + @property + def _parsed_metadata(self): + if self._cached_parsed_metadata is None: + self._cached_parsed_metadata = self._parse_metadata() + return self._cached_parsed_metadata + + def _parse_metadata(self): + result = dict() + try: + import ast + + path = self.location + if os.path.isdir(path): + path = os.path.join(self.location, "__init__.py") + + if not os.path.isfile(path): + return result + + with open(path, "rb") as f: + root = ast.parse(f.read()) + + assignments = filter(lambda x: isinstance(x, ast.Assign) and x.targets, + root.body) + + def extract_target_ids(node): + return map(lambda x: x.id, + filter(lambda x: isinstance(x, ast.Name), node.targets)) + + for key in (self.__class__.attr_name, self.__class__.attr_version, self.__class__.attr_author, + self.__class__.attr_description, self.__class__.attr_url, self.__class__.attr_license): + for a in reversed(assignments): + targets = extract_target_ids(a) + if key in targets: + if isinstance(a.value, ast.Str): + result[key] = a.value.s + + elif isinstance(a.value, ast.Call) and hasattr(a.value, "func") \ + and a.value.func.id == "gettext" and a.value.args \ + and isinstance(a.value.args[0], ast.Str): + result[key] = a.value.args[0].s + + break + except: + pass + + return result + class PluginManager(object): """ From 9a8b8d86d5ed6dd2d59a5794947af1887f0fb730 Mon Sep 17 00:00:00 2001 From: electr0sheep Date: Fri, 23 Feb 2018 18:00:54 -0700 Subject: [PATCH 05/82] Extended "customControls_controlTemplate_command" --- src/octoprint/templates/tabs/control.jinja2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/octoprint/templates/tabs/control.jinja2 b/src/octoprint/templates/tabs/control.jinja2 index a3c8cc633..0cf7e741f 100644 --- a/src/octoprint/templates/tabs/control.jinja2 +++ b/src/octoprint/templates/tabs/control.jinja2 @@ -173,6 +173,11 @@ From a3ba266a6b37b9632d430ce1552ee1a4b68ba496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 24 Feb 2018 14:54:58 +0100 Subject: [PATCH 06/82] Some more work on the AST parsing Also use version parsed from AST for blacklist check too. --- src/octoprint/plugin/core.py | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index a6f26661c..5bf24a060 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -137,7 +137,7 @@ class PluginInfo(object): attr_disable = '__plugin_disable__' """ Module attribute which to call when disabling the plugin. """ - def __init__(self, key, location, instance, name=None, version=None, description=None, author=None, url=None, license=None): + def __init__(self, key, location, instance, name=None, version=None, description=None, author=None, url=None, license=None, parsed_metadata=None): self.key = key self.location = location self.instance = instance @@ -157,7 +157,9 @@ class PluginInfo(object): self._url = url self._license = license - self._cached_parsed_metadata = None + self._logger = logging.getLogger(__name__) + + self._cached_parsed_metadata = parsed_metadata def validate(self, phase, additional_validators=None): result = True @@ -468,8 +470,8 @@ class PluginInfo(object): def _get_instance_attribute(self, attr, default=None, defaults=None, incl_metadata=False): if self.instance is None or not hasattr(self.instance, attr): - if incl_metadata and attr in self._parsed_metadata: - return self._parsed_metadata[attr] + if incl_metadata and attr in self.parsed_metadata: + return self.parsed_metadata[attr] elif defaults is not None: for value in defaults: @@ -483,12 +485,14 @@ class PluginInfo(object): return getattr(self.instance, attr) @property - def _parsed_metadata(self): + def parsed_metadata(self): if self._cached_parsed_metadata is None: self._cached_parsed_metadata = self._parse_metadata() return self._cached_parsed_metadata def _parse_metadata(self): + self._logger.debug("Parsing plugin metadata for {} from AST".format(self.key)) + result = dict() try: import ast @@ -791,7 +795,7 @@ class PluginManager(object): self.logger.info("Plugin {} is disabled.".format(plugin)) plugin.forced_disabled = True - if self._is_plugin_blacklisted(key) or (version is not None and self._is_plugin_version_blacklisted(key, version)): + if self._is_plugin_blacklisted(key) or (plugin.version is not None and self._is_plugin_version_blacklisted(key, plugin.version)): self.logger.warn("Plugin {} is blacklisted.".format(plugin)) plugin.blacklisted = True @@ -801,12 +805,19 @@ class PluginManager(object): # ... then create and return the real one return self._import_plugin(key, *module, name=name, version=version, summary=summary, author=author, url=url, - license=license, bundled=bundled) + license=license, bundled=bundled, parsed_metadata=plugin.parsed_metadata) - def _import_plugin(self, key, f, filename, description, name=None, version=None, summary=None, author=None, url=None, license=None, bundled=False): + def _import_plugin(self, key, f, filename, description, name=None, version=None, summary=None, author=None, url=None, license=None, bundled=False, parsed_metadata=None): try: instance = imp.load_module(key, f, filename, description) - plugin = PluginInfo(key, filename, instance, name=name, version=version, description=summary, author=author, url=url, license=license) + plugin = PluginInfo(key, filename, instance, + name=name, + version=version, + description=summary, + author=author, + url=url, + license=license, + parsed_metadata=parsed_metadata) plugin.bundled = bundled except: self.logger.exception("Error loading plugin {key}".format(key=key)) @@ -919,14 +930,8 @@ class PluginManager(object): plugin.load() plugin.validate("after_load", additional_validators=self.plugin_validators) self.on_plugin_loaded(name, plugin) - plugin.loaded = True - # we might only now have a version, so check again if we are blacklisted - if not plugin.blacklisted and plugin.version and self._is_plugin_version_blacklisted(plugin.key, - plugin.version): - plugin.blacklisted = True - self.logger.debug("Loaded plugin {name}: {plugin}".format(**locals())) except PluginLifecycleException as e: raise e From c3ba9c84532279289f8e5a6673f422b696398dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 24 Feb 2018 14:59:30 +0100 Subject: [PATCH 07/82] Fix upload_cli --- src/octoprint/util/comm.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 05babc295..d81800d1a 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -3978,6 +3978,7 @@ def upload_cli(): self._path = path self._target = target + self._state = None def on_comm_file_transfer_started(self, filename, filesize): # transfer started, report @@ -3990,6 +3991,8 @@ def upload_cli(): self.finished.set() def on_comm_state_change(self, state): + self._state = state + if state in (MachineCom.STATE_ERROR, MachineCom.STATE_CLOSED_WITH_ERROR): # report and exit on errors logger.error("Error/closed with error, exiting.") @@ -3997,14 +4000,22 @@ def upload_cli(): self.finished.set() elif state in (MachineCom.STATE_OPERATIONAL,) and not self.started: - # start transfer once we are operational - self.comm.startFileTransfer(self._path, os.path.basename(self._path), self._target) + def run(): + logger.info("Looks like we are operational, waiting a bit for everything to settle") + time.sleep(15) + if self._state in (MachineCom.STATE_OPERATIONAL,) and not self.started: + # start transfer once we are operational + self.comm.startFileTransfer(self._path, os.path.basename(self._path), self._target) + + thread = threading.Thread(target=run) + thread.daemon = True + thread.start() callback = MyMachineComCallback(path, target) # mock printer profile manager profile = dict(heatedBed=False, - extruder=dict(count=1)) + extruder=dict(count=1, sharedNozzle=False)) printer_profile_manager = Object() printer_profile_manager.get_current_or_default = lambda: profile From 763888e83aeeae9ad79ed5dfc9d8a8b00fd04df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 24 Feb 2018 22:30:12 +0100 Subject: [PATCH 08/82] Allow slicers to manage their profiles themselves --- src/octoprint/plugin/types.py | 41 +++++++++++++++++++++++++++++++ src/octoprint/slicing/__init__.py | 20 ++++----------- 2 files changed, 46 insertions(+), 15 deletions(-) diff --git a/src/octoprint/plugin/types.py b/src/octoprint/plugin/types.py index b39dcac91..9067ee596 100644 --- a/src/octoprint/plugin/types.py +++ b/src/octoprint/plugin/types.py @@ -1861,6 +1861,47 @@ class SlicerPlugin(OctoPrintPlugin): destination_extensions=["gco", "gcode", "g"] ) + def get_slicer_profiles(self, profile_path): + """ + Fetch all :class:`~octoprint.slicing.SlicingProfile`s stored for this slicer. + + For compatibility reasons with existing slicing plugins this method defaults to returning profiles parsed from + .profile files in the plugin's ``profile_path``, utilizing the :func:`SlicingPlugin.get_slicer_profile` method + of the plugin implementation. + + Arguments: + profile_path (str): The base folder where OctoPrint stores this slicer plugin's profiles + """ + + try: + from os import scandir + except ImportError: + from scandir import scandir + + import octoprint.util + + profiles = dict() + for entry in scandir(profile_path): + if not entry.name.endswith(".profile") or octoprint.util.is_hidden_path(entry.name): + # we are only interested in profiles and no hidden files + continue + + profile_name = entry.name[:-len(".profile")] + profiles[profile_name] = self.get_slicer_profile(entry.path) + return profiles + + # noinspection PyMethodMayBeStatic + def get_slicer_profiles_lastmodified(self, profile_path): + import os + try: + from os import scandir + except ImportError: + from scandir import scandir + + lms = [os.stat(profile_path).st_mtime] + lms += [os.stat(entry.path).st_mtime for entry in scandir(profile_path) if entry.name.endswith(".profile")] + return max(lms) + # noinspection PyMethodMayBeStatic def get_slicer_default_profile(self): """ diff --git a/src/octoprint/slicing/__init__.py b/src/octoprint/slicing/__init__.py index 9174cc52f..f14ecc199 100644 --- a/src/octoprint/slicing/__init__.py +++ b/src/octoprint/slicing/__init__.py @@ -377,9 +377,9 @@ class SlicingManager(object): If it's a :class:`dict`, a new :class:`SlicingProfile` instance will be created with the supplied meta data and the profile data as the :attr:`~SlicingProfile.data` attribute. - + .. note:: - + If the profile is the first profile to be saved for the slicer, it will automatically be marked as default. Arguments: @@ -432,7 +432,7 @@ class SlicingManager(object): profile=name) event = octoprint.events.Events.SLICING_PROFILE_MODIFIED if is_overwrite else octoprint.events.Events.SLICING_PROFILE_ADDED octoprint.events.eventManager().fire(event, payload) - + if first_profile: # enforce the first profile we add for this slicer is set as default self.set_default_profile(slicer, name) @@ -557,16 +557,8 @@ class SlicingManager(object): if require_configured and not slicer in self.configured_slicers: raise SlicerNotConfigured(slicer) - profiles = dict() slicer_profile_path = self.get_slicer_profile_path(slicer) - for entry in scandir(slicer_profile_path): - if not entry.name.endswith(".profile") or octoprint.util.is_hidden_path(entry.name): - # we are only interested in profiles and no hidden files - continue - - profile_name = entry.name[:-len(".profile")] - profiles[profile_name] = self._load_profile_from_path(slicer, entry.path, require_configured=require_configured) - return profiles + return self.get_slicer(slicer).get_slicer_profiles(slicer_profile_path) def profiles_last_modified(self, slicer): """ @@ -583,9 +575,7 @@ class SlicingManager(object): raise UnknownSlicer(slicer) slicer_profile_path = self.get_slicer_profile_path(slicer) - lms = [os.stat(slicer_profile_path).st_mtime] - lms += [os.stat(entry.path).st_mtime for entry in scandir(slicer_profile_path) if entry.name.endswith(".profile")] - return max(lms) + return self.get_slicer(slicer).get_slicer_profiles_lastmodified(slicer_profile_path) def get_slicer_profile_path(self, slicer): """ From b3fff6e95f53f93811360844cdcb53690b02fcda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Feb 2018 12:47:46 +0100 Subject: [PATCH 09/82] Fix firmware error reporting on job cancel Closes #2364 --- docs/events/index.rst | 12 ++++- src/octoprint/events.py | 1 + src/octoprint/printer/standard.py | 7 +++ src/octoprint/static/js/app/dataupdater.js | 63 +++++++++++++++++----- src/octoprint/util/comm.py | 23 ++++---- 5 files changed, 82 insertions(+), 24 deletions(-) diff --git a/docs/events/index.rst b/docs/events/index.rst index 4e675c8f8..7086ccecd 100644 --- a/docs/events/index.rst +++ b/docs/events/index.rst @@ -363,8 +363,18 @@ PrintDone Still available for reasons of backwards compatibility. Will be removed with 1.4.0. +PrintCancelling + The print is about to be cancelled. + + Payload: + + * ``name``: the file's name + * ``path``: the file's path within its storage location + * ``origin``: the origin storage location of the file, either ``local`` or ``sdcard`` + * ``firmwareError``: the firmware error that caused cancelling the print job, if any + PrintCancelled - The print has been cancelled via the cancel button. + The print has been cancelled. Payload: diff --git a/src/octoprint/events.py b/src/octoprint/events.py index b789f0527..476e6d182 100644 --- a/src/octoprint/events.py +++ b/src/octoprint/events.py @@ -69,6 +69,7 @@ class Events(object): PRINT_STARTED = "PrintStarted" PRINT_DONE = "PrintDone" PRINT_FAILED = "PrintFailed" + PRINT_CANCELLING = "PrintCancelling" PRINT_CANCELLED = "PrintCancelled" PRINT_PAUSED = "PrintPaused" PRINT_RESUMED = "PrintResumed" diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 1284ac2be..4b6707fe6 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -1163,6 +1163,13 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): payload = self._payload_for_print_job_event() eventManager().fire(Events.PRINT_FAILED, payload) + def on_comm_print_job_cancelling(self, firmware_error=None): + payload = self._payload_for_print_job_event() + if payload: + if firmware_error: + payload["firmwareError"] = firmware_error + eventManager().fire(Events.PRINT_CANCELLING, payload) + def on_comm_print_job_cancelled(self): self._setCurrentZ(None) self._updateProgressData() diff --git a/src/octoprint/static/js/app/dataupdater.js b/src/octoprint/static/js/app/dataupdater.js index 06a15c122..406df4690 100644 --- a/src/octoprint/static/js/app/dataupdater.js +++ b/src/octoprint/static/js/app/dataupdater.js @@ -225,28 +225,63 @@ function DataUpdater(allViewModels, connectCallback, disconnectCallback) { log.debug("Got event " + type + " with payload: " + JSON.stringify(payload)); - if (type == "PrintCancelled") { - if (payload.firmwareError) { - new PNotify({ - title: gettext("Unhandled communication error"), - text: _.sprintf(gettext("There was an unhandled error while talking to the printer. Due to that the ongoing print job was cancelled. Error: %(firmwareError)s"), payload), - type: "error", - hide: false - }); + if (type === "PrintCancelling" && payload.firmwareError) { + new PNotify({ + title: gettext("Error reported by printer"), + text: _.sprintf(gettext("Your printer's firmware reported an error. Due to that the ongoing print job will be cancelled. Reported error: %(firmwareError)s"), payload), + type: "error", + hide: false + }); + } else if (type === "Error" && payload.error) { + var title = undefined, + text = undefined; + + switch (payload.reason) { + case "firmware": { + title = gettext("Error reported by printer"); + text = _.sprintf(gettext("Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: %(error)s"), payload); + break; + } + case "resend": + case "timeout": { + title = gettext("Communication error"); + text = gettext("There was a communication error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s", payload); + break; + } + case "connection": { + title = gettext("Error connecting to printer"); + text = gettext("There was an error while trying to connect to your printer. Error: %(error)s", payload); + break; + } + case "start_print": { + title = gettext("Error starting a print"); + text = gettext("There was an error while trying to start a print job. Error: %(error)s", payload); + break; + } + case "autodetect_port": + case "autodetect_baudrate": { + // ignore + break; + } + default: { + title = gettext("Unknown error"); + text = gettext("There was an unknown error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s", payload); + break; + } } - } else if (type == "Error") { - if (payload.error && payload.error.indexOf("autodetect") == -1) { // ignore "failed to autodetect" + + if (title && text) { new PNotify({ - title: gettext("Unhandled communication error"), - text: _.sprintf(gettext("There was an unhandled error while talking to the printer. Due to that OctoPrint disconnected. Error: %(error)s"), payload), + title: title, + text: text, type: "error", hide: false }); } - } else if (type == "PrinterReset") { + } else if (type === "PrinterReset") { new PNotify({ title: gettext("Printer reset detected"), - text: gettext("It looks like the printer was reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD."), + text: gettext("It looks like your printer reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD."), hide: false }); } diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index d81800d1a..a9070dd9a 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -953,7 +953,7 @@ class MachineCom(object): self._logger.exception("Error while trying to start printing") self._errorValue = get_exception_string() self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString()}) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "start_print"}) def startFileTransfer(self, filename, localFilename, remoteFilename, special=False, tags=None): if not self.isOperational() or self.isBusy(): @@ -1040,7 +1040,7 @@ class MachineCom(object): self._currentFile = None self._callback.on_comm_file_selected(None, None, False) - def _cancel_preparation_done(self): + def _cancel_preparation_done(self, firmware_error=None): self._recordFilePosition() self._callback.on_comm_print_job_cancelled() @@ -1067,6 +1067,8 @@ class MachineCom(object): self._record_cancel_data = True self.sendCommand("M114", tags=tags | {"trigger:comm.cancel", "trigger:record_position"}) + self._callback.on_comm_print_job_cancelling(firmware_error=firmware_error) + with self._jobLock: self._changeState(self.STATE_OPERATIONAL) @@ -1724,7 +1726,7 @@ class MachineCom(object): self.close(wait=False) self._errorValue = "No more baudrates to test, and no suitable baudrate found." self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString()}) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "autodetect_baudrate"}) elif 'start' in line or 'ok' in line: self._onConnected() if 'start' in line: @@ -1774,7 +1776,7 @@ class MachineCom(object): errorMsg = "See octoprint.log for details" self._log(errorMsg) self._errorValue = errorMsg - eventManager().fire(Events.ERROR, {"error": self.getErrorString()}) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "crash"}) self.close(is_error=True) self._log("Connection closed, closing down monitor") @@ -1831,7 +1833,7 @@ class MachineCom(object): self._logger.info(message) self._log(message + " " + general_message) self._errorValue = "Too many consecutive timeouts, printer still connected and alive?" - eventManager().fire(Events.ERROR, {"error": self._errorValue}) + eventManager().fire(Events.ERROR, {"error": self._errorValue, "reason": "timeout"}) self.close(is_error=True) elif self._resendActive: @@ -2092,7 +2094,7 @@ class MachineCom(object): if port is None: self._errorValue = 'Failed to autodetect serial port, please set it manually.' self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString()}) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "autodetect_port"}) self._log("Failed to autodetect serial port, please set it manually.") return None @@ -2125,7 +2127,7 @@ class MachineCom(object): exception_string = get_exception_string() self._errorValue = "Connection error, see Terminal tab" self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString()}) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "connection"}) error_message = "Unexpected error while connecting to serial port: %s %s (hook %s)" % (self._port, exception_string, name) self._log(error_message) @@ -2198,7 +2200,7 @@ class MachineCom(object): if self._disconnect_on_errors: self._errorValue = error_text self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString()}) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "firmware"}) elif self.isPrinting(): self.cancelPrint(firmware_error=error_text) self._clear_to_send.set() @@ -2333,7 +2335,7 @@ class MachineCom(object): if self.isPrinting(): # abort the print, there's nothing we can do to rescue it now self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString()}) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "resend"}) else: # reset resend delta, we can't do anything about it self._resendDelta = None @@ -3013,6 +3015,9 @@ class MachineComPrintCallback(object): def on_comm_print_job_done(self): pass + def on_comm_print_job_cancelling(self, firmware_error=None): + pass + def on_comm_print_job_cancelled(self): pass From ec86b3328eaeb5f3dd58f270156eea32b8a25592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Feb 2018 12:51:38 +0100 Subject: [PATCH 10/82] Remove left-over parameter --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index a9070dd9a..390faa176 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1040,7 +1040,7 @@ class MachineCom(object): self._currentFile = None self._callback.on_comm_file_selected(None, None, False) - def _cancel_preparation_done(self, firmware_error=None): + def _cancel_preparation_done(self): self._recordFilePosition() self._callback.on_comm_print_job_cancelled() From 18ad764ef59a276c5ce9f5454c2b7cd73ffad8a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Feb 2018 16:04:27 +0100 Subject: [PATCH 11/82] Also detect plugins only provided as pyc Implements #2448 --- src/octoprint/plugin/core.py | 49 ++++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index 5bf24a060..c86b117cd 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -491,19 +491,27 @@ class PluginInfo(object): return self._cached_parsed_metadata def _parse_metadata(self): - self._logger.debug("Parsing plugin metadata for {} from AST".format(self.key)) - result = dict() + + path = self.location + if not path: + return result + + if os.path.isdir(path): + path = os.path.join(self.location, "__init__.py") + + if not os.path.isfile(path): + return result + + if not path.endswith(".py"): + # we only support parsing plain text source files + return result + + self._logger.debug("Parsing plugin metadata for {} from AST of {}".format(self.key, path)) + try: import ast - path = self.location - if os.path.isdir(path): - path = os.path.join(self.location, "__init__.py") - - if not os.path.isfile(path): - return result - with open(path, "rb") as f: root = ast.parse(f.read()) @@ -663,15 +671,24 @@ class PluginManager(object): for entry in scandir(folder): try: - if entry.is_dir() and os.path.isfile(os.path.join(entry.path, "__init__.py")): - key = entry.name - elif entry.is_file() and entry.name.endswith(".py"): - key = entry.name[:-3] # strip off the .py extension - if key.startswith("__"): - # might be an __init__.py in our plugins folder, or something else we don't want - # to handle + if entry.is_dir(): + init_py = os.path.join(entry.path, "__init__.py") + init_pyc = os.path.join(entry.path, "__init__.pyc") + + if not os.path.isfile(init_py) and not os.path.isfile(init_pyc): + # neither does exist, we ignore this continue + + key = entry.name + + elif entry.is_file(): + key, ext = os.path.splitext(entry.name) + if ext not in (".py", ".pyc") or key.startswith("__"): + # neither py nor pyc, or starts with __ (like __init__), we ignore this + continue + else: + # whatever this is, we ignore it continue if key in existing or key in result or (ignored_uninstalled and key in self.marked_plugins["uninstalled"]): From 296af89b024679a667542c14d05706a35a49ea85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Feb 2018 16:52:00 +0100 Subject: [PATCH 12/82] Fix two buggy sets of tags --- src/octoprint/util/comm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 390faa176..f65480dca 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1707,7 +1707,7 @@ class MachineCom(object): self._baudrateDetectRetry -= 1 self._serial.write('\n') self._log("Baudrate test retry: %d" % (self._baudrateDetectRetry)) - self.sayHello(tags="trigger:baudrate_detection") + self.sayHello(tags={"trigger:baudrate_detection",}) elif len(self._baudrateDetectList) > 0: baudrate = self._baudrateDetectList.pop(0) try: @@ -1718,7 +1718,7 @@ class MachineCom(object): self._baudrateDetectRetry = 5 self._timeout = get_new_timeout("communicationBusy" if self._busy_protocol_detected else "communication", self._timeout_intervals) self._serial.write('\n') - self.sayHello(tags="trigger:baudrate_detection") + self.sayHello(tags={"trigger:baudrate_detection",}) except: self._log("Unexpected error while setting baudrate {}: {}".format(baudrate, get_exception_string())) self._logger.exception("Unexpceted error while setting baudrate {}".format(baudrate)) From 2c87133f3de3c22c8f45f7c188461533befb8e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Feb 2018 17:05:18 +0100 Subject: [PATCH 13/82] Virtual: Report invalid extruders on serial For testing #2302 --- src/octoprint/plugins/virtual_printer/virtual.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/octoprint/plugins/virtual_printer/virtual.py b/src/octoprint/plugins/virtual_printer/virtual.py index 5866f1b15..63767ea46 100644 --- a/src/octoprint/plugins/virtual_printer/virtual.py +++ b/src/octoprint/plugins/virtual_printer/virtual.py @@ -353,9 +353,11 @@ class VirtualPrinter(object): def _gcode_T(self, code, data): t = int(code) - if 0 <= t <= self.extruderCount: + if 0 <= t < self.extruderCount: self.currentExtruder = t self._send("Active Extruder: %d" % self.currentExtruder) + else: + self._send("echo:T{} Invalid extruder ".format(t)) def _gcode_F(self, code, data): if self._supportF: From 551d6aab68abfddcd1a212ab215b38051294e74d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 26 Feb 2018 17:25:42 +0100 Subject: [PATCH 14/82] Detect invalid tools according to firmware Also don't send invalid tool commands (based on printer profile and former responses from the firmware on the ongoing connection). Closes #2302 --- src/octoprint/util/comm.py | 63 ++++++++++++++++++++++++++++++++------ 1 file changed, 53 insertions(+), 10 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index f65480dca..3320dbb30 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -374,7 +374,9 @@ class MachineCom(object): self._pauseWaitStartTime = None self._pauseWaitTimeLost = 0.0 self._currentTool = 0 - self._formerTool = None + self._toolBeforeChange = None + self._toolBeforeHeatup = None + self._knownInvalidTools = set() self._long_running_command = False self._heating = False @@ -1466,7 +1468,7 @@ class MachineCom(object): if handled and self._state not in (self.STATE_CONNECTING, self.STATE_DETECT_BAUDRATE): continue - # position report processing + ##~~ position report processing if 'X:' in line and 'Y:' in line and 'Z:' in line: parsed = parse_position_line(line) if parsed: @@ -1509,7 +1511,7 @@ class MachineCom(object): self._callback.on_comm_position_update(self.last_position.as_dict(), reason=reason) - # temperature processing + ##~~ temperature processing elif ' T:' in line or line.startswith('T:') or ' T0:' in line or line.startswith('T0:') \ or ((' B:' in line or line.startswith('B:')) and not 'A:' in line): @@ -1612,6 +1614,33 @@ class MachineCom(object): self._logger.info("Firmware states that it supports temperature autoreporting") self._set_autoreport_temperature_interval() + ##~~ invalid extruder + elif 'invalid extruder' in lower_line: + tool = None + + match = regexes_parameters["intT"].search(line) + if match: + try: + tool = int(match.group("value")) + except ValueError: + pass # should never happen + + if tool is None or tool == self._currentTool: + if self._toolBeforeChange is not None: + fallback_tool = self._toolBeforeChange + else: + fallback_tool = 0 + + invalid_tool = self._currentTool + + # log to terminal and remember as invalid + self._log("T{} reported as invalid, reverting to T{}".format(invalid_tool, fallback_tool)) + self._knownInvalidTools.add(invalid_tool) + + # we actually do send a T command here instead of just settings self._currentTool just in case + # we had any scripts or plugins modify stuff due to the prior tool change + self.sendCommand("T{}".format(fallback_tool), tags={"trigger:revert_invalid_tool",}) + ##~~ SD Card handling elif 'SD init fail' in line or 'volume.init failed' in line or 'openRoot failed' in line: self._sdAvailable = False @@ -1788,9 +1817,9 @@ class MachineCom(object): self._long_running_command = False - if self._formerTool is not None: - self._currentTool = self._formerTool - self._formerTool = None + if self._toolBeforeHeatup is not None: + self._currentTool = self._toolBeforeHeatup + self._toolBeforeHeatup = None self._finish_heatup() @@ -2782,6 +2811,11 @@ class MachineCom(object): current_tool = self._currentTool new_tool = int(toolMatch.group("value")) + if not self._validate_tool(new_tool): + self._log("Not queuing T{}, that tool doesn't exist according to the printer profile or " + "was reported as invalid by the firmware".format(new_tool)) + return None + before = self._getGcodeScript("beforeToolChange", replacements=dict(tool=dict(old=current_tool, new=new_tool))) after = self._getGcodeScript("afterToolChange", replacements=dict(tool=dict(old=current_tool, new=new_tool))) @@ -2790,9 +2824,15 @@ class MachineCom(object): def _gcode_T_sent(self, cmd, cmd_type=None, gcode=None, subcode=None, *args, **kwargs): toolMatch = regexes_parameters["intT"].search(cmd) if toolMatch: - old = self._currentTool - self._currentTool = int(toolMatch.group("value")) - eventManager().fire(Events.TOOL_CHANGE, dict(old=old, new=self._currentTool)) + new_tool = int(toolMatch.group("value")) + if not self._validate_tool(new_tool): + self._log("Not sending T{}, that tool doesn't exist according to the printer profile or " + "was reported as invalid by the firmware".format(new_tool)) + return None + + self._toolBeforeChange = self._currentTool + self._currentTool = new_tool + eventManager().fire(Events.TOOL_CHANGE, dict(old=self._toolBeforeChange, new=self._currentTool)) def _gcode_G0_sent(self, cmd, cmd_type=None, gcode=None, subcode=None, *args, **kwargs): if "Z" in cmd or "F" in cmd: @@ -2862,7 +2902,7 @@ class MachineCom(object): toolNum = int(toolMatch.group("value")) if wait: - self._formerTool = self._currentTool + self._toolBeforeHeatup = self._currentTool self._currentTool = toolNum match = regexes_parameters["floatS"].search(cmd) @@ -2979,6 +3019,9 @@ class MachineCom(object): self._timeout = get_new_timeout("communicationBusy" if self._busy_protocol_detected else "communication", self._timeout_intervals) + _timeout self._dwelling_until = time.time() + _timeout + def _validate_tool(self, tool): + return tool < self._printerProfileManager.get_current_or_default()["extruder"]["count"] and not tool in self._knownInvalidTools + ##~~ command phase handlers def _command_phase_sending(self, cmd, cmd_type=None, gcode=None, subcode=None, *args, **kwargs): From d42c74d34adc22c13fa671c2c933b8d02d22474d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 28 Feb 2018 16:50:08 +0100 Subject: [PATCH 15/82] Hook for custom error handling by plugins Implements #2208 --- docs/plugins/hooks.rst | 20 ++++++++++++++++++++ src/octoprint/util/comm.py | 17 +++++++++++++++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rst index 6a397fe31..d6d79fb52 100644 --- a/docs/plugins/hooks.rst +++ b/docs/plugins/hooks.rst @@ -587,6 +587,26 @@ octoprint.comm.protocol.gcode.received :return: The received line or in any case, a modified version of it. :rtype: str +.. _sec-plugins-hook-comm-protocol-gcode-error: + +octoprint.comm.protocol.gcode.error +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. py:function:: gcode_received_hook(comm_instance, error_message, *args, **kwargs) + + Get the messages of any errors messages sent by the printer, with the leading ``Error:`` or ``!!`` already + stripped. Handlers should return True if they handled that error internally and it should not be processed by + the system further. Normal processing of these kinds of errors - depending on the configuration of error + handling - involves canceling the ongoing print and possibly also disconnecting. + + Plugins might utilize this hook to handle errors generated by the printer that are recoverable in one way or + the other and should not trigger the normal handling that assumes the worst. + + :param MachineCom comm_instance: The :class:`~octoprint.util.comm.MachineCom` instance which triggered the hook. + :param str error_message: The error message received from the printer. + :return: True if the error was handled in the plugin and should not be processed further, False (or None) otherwise. + :rtype: bool + .. _sec-plugins-hook-comm-protocol-scripts: octoprint.comm.protocol.scripts diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 3320dbb30..746f05b98 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -137,7 +137,7 @@ regex_e_positions = re.compile("E(?P\d+):(?P{float})".format(float=re Groups will be as follows: * ``id``: id of the extruder or which the position is reported - * ``value``: reported position value + * ``value``: reported position value """ regex_firmware_splitter = re.compile("\s*([A-Z0-9_]+):") @@ -473,6 +473,7 @@ class MachineCom(object): sent=self._pluginManager.get_hooks("octoprint.comm.protocol.gcode.sent") ) self._received_message_hooks = self._pluginManager.get_hooks("octoprint.comm.protocol.gcode.received") + self._error_message_hooks = self._pluginManager.get_hooks("octoprint.comm.protocol.gcode.error") self._printer_action_hooks = self._pluginManager.get_hooks("octoprint.comm.protocol.action") self._gcodescript_hooks = self._pluginManager.get_hooks("octoprint.comm.protocol.scripts") @@ -2200,6 +2201,9 @@ class MachineCom(object): if regex_minMaxError.match(line): # special delivery for firmware that goes "Error:x\n: Extruder switched off. MAXTEMP triggered !\n" line = line.rstrip() + self._readline() + lower_line = line.lower() + + stripped_error = (line[6:] if lower_line.startswith("error:") else line[2:]).strip() if any(map(lambda x: x in lower_line, self._recoverable_communication_errors)): # manually trigger an ack for comm errors the printer doesn't send a resend request for but @@ -2209,7 +2213,7 @@ class MachineCom(object): elif any(map(lambda x: x in lower_line, self._resend_request_communication_errors)): # skip comm errors that the printer sends a resend request for anyhow - self._lastCommError = line[6:] if lower_line.startswith("error:") else line[2:] + self._lastCommError = stripped_error elif any(map(lambda x: x in lower_line, self._sd_card_errors)): # skip errors with the SD card @@ -2221,6 +2225,15 @@ class MachineCom(object): elif not self.isError(): # handle everything else + for name, hook in self._error_message_hooks.items(): + try: + ret = hook(self, stripped_error) + except: + self._logger.exception("Error while processing hook {name}:".format(**locals())) + else: + if ret: + return line + error_text = line[6:] if lower_line.startswith("error:") else line[2:] self._to_logfile_with_terminal(u"Received an error from the printer's firmware: {}".format(error_text), level=logging.WARN) From 2db2532c2fa35c5316b200abd67116b5b8cabf9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 28 Feb 2018 17:07:53 +0100 Subject: [PATCH 16/82] Fix unit tests broken by implementation of #2208 --- tests/util/test_comm.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/util/test_comm.py b/tests/util/test_comm.py index 0c3618da1..3ff2d9969 100644 --- a/tests/util/test_comm.py +++ b/tests/util/test_comm.py @@ -19,6 +19,7 @@ class TestCommErrorHandling(unittest.TestCase): self._comm._lastCommError = None self._comm._errorValue = None self._comm._clear_to_send = mock.Mock() + self._comm._error_message_hooks = dict() # settings self._comm._ignore_errors = False @@ -113,6 +114,16 @@ class TestCommErrorHandling(unittest.TestCase): self.assertEqual(line, result) self.assert_nop() + @ddt.data("Error: This should get handled", "!! This should also get handled") + def test_unknown_handled(self, line): + """Should pass""" + def handler(comm, message, *args, **kwargs): + return "handled" in message + self._comm._error_message_hooks["test"] = handler + result = self._comm._handle_errors(line) + self.assertEqual(line, result) + self.assert_nop() + @ddt.data("Error: Printer on fire") def test_other_error_disconnect(self, line): """Should trigger escalation""" From b8e4ac21d0d338066d956ca50001d8c27f1ff39e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 28 Feb 2018 17:14:06 +0100 Subject: [PATCH 17/82] Example and copy-paste-fix for new comm error handler hook --- docs/plugins/hooks.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rst index d6d79fb52..3e1801ae6 100644 --- a/docs/plugins/hooks.rst +++ b/docs/plugins/hooks.rst @@ -592,7 +592,7 @@ octoprint.comm.protocol.gcode.received octoprint.comm.protocol.gcode.error ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. py:function:: gcode_received_hook(comm_instance, error_message, *args, **kwargs) +.. py:function:: gcode_error_hook(comm_instance, error_message, *args, **kwargs) Get the messages of any errors messages sent by the printer, with the leading ``Error:`` or ``!!`` already stripped. Handlers should return True if they handled that error internally and it should not be processed by @@ -602,6 +602,16 @@ octoprint.comm.protocol.gcode.error Plugins might utilize this hook to handle errors generated by the printer that are recoverable in one way or the other and should not trigger the normal handling that assumes the worst. + **Example:** + + Looks for error messages containing "fan error" or "bed missing" (ignoring case) and marks them as handled by the + plugin. + + .. onlineinclude:: https://raw.githubusercontent.com/OctoPrint/Plugin-Examples/master/comm_error_handler_test.py + :linenos: + :tab-width: 4 + :caption: `comm_error_handler_test.py `_ + :param MachineCom comm_instance: The :class:`~octoprint.util.comm.MachineCom` instance which triggered the hook. :param str error_message: The error message received from the printer. :return: True if the error was handled in the plugin and should not be processed further, False (or None) otherwise. From 59cbfaf8ff193c4ecf5af5f12793234f27374939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 5 Mar 2018 12:33:23 +0100 Subject: [PATCH 18/82] Introduce Cancelling/Pausing states before full cancel/pause We so far switched immediately to "Operational" state, even while the M400/M114 combo and/or any post switch scripts were still being executed. That was confusing and as witnessed in #2321 and also #2449 also could cause issues. --- docs/api/datamodel.rst | 8 + docs/api/printer.rst | 4 + src/octoprint/printer/__init__.py | 14 ++ src/octoprint/printer/standard.py | 8 + .../static/js/app/viewmodels/printerstate.js | 10 +- src/octoprint/util/comm.py | 167 +++++++++++++----- 6 files changed, 164 insertions(+), 47 deletions(-) diff --git a/docs/api/datamodel.rst b/docs/api/datamodel.rst index 92e32050f..74d56dc57 100644 --- a/docs/api/datamodel.rst +++ b/docs/api/datamodel.rst @@ -44,6 +44,14 @@ Printer State - 1 - Boolean - ``true`` if the printer is currently printing, ``false`` otherwise + * - ``flags.pausing`` + - 1 + - Boolean + - ``true`` if the printer is currently printing and in the process of pausing, ``false`` otherwise + * - ``flags.cancelling`` + - 1 + - Boolean + - ``true`` if the printer is currently printing and in the process of pausing, ``false`` otherwise * - ``flags.sdReady`` - 1 - Boolean diff --git a/docs/api/printer.rst b/docs/api/printer.rst index 200f42108..23d002afe 100644 --- a/docs/api/printer.rst +++ b/docs/api/printer.rst @@ -149,6 +149,8 @@ Retrieve the current printer state "operational": true, "paused": false, "printing": false, + "cancelling": false, + "pausing": false, "sdReady": true, "error": false, "ready": true, @@ -179,6 +181,8 @@ Retrieve the current printer state "operational": true, "paused": false, "printing": false, + "cancelling": false, + "pausing": false, "sdReady": true, "error": false, "ready": true, diff --git a/src/octoprint/printer/__init__.py b/src/octoprint/printer/__init__.py index 038aa1547..6a090bcfd 100644 --- a/src/octoprint/printer/__init__.py +++ b/src/octoprint/printer/__init__.py @@ -486,6 +486,20 @@ class PrinterInterface(object): """ raise NotImplementedError() + def is_cancelling(self, *args, **kwargs): + """ + Returns: + (boolean) Whether the printer is currently cancelling a print. + """ + raise NotImplementedError() + + def is_pausing(self, *args, **kwargs): + """ + Returns: + (boolean) Whether the printer is currently pausing a print. + """ + raise NotImplementedError() + def is_paused(self, *args, **kwargs): """ Returns: diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 4b6707fe6..0d0649783 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -578,6 +578,12 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): def is_printing(self, *args, **kwargs): return self._comm is not None and self._comm.isPrinting() + def is_cancelling(self, *args, **kwargs): + return self._comm is not None and self._comm.isCancelling() + + def is_pausing(self, *args, **kwargs): + return self._comm is not None and self._comm.isPausing() + def is_paused(self, *args, **kwargs): return self._comm is not None and self._comm.isPaused() @@ -1001,6 +1007,8 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): return { "operational": self.is_operational(), "printing": self.is_printing(), + "cancelling": self.is_cancelling(), + "pausing": self.is_pausing(), "closedOrError": self.is_closed_or_error(), "error": self.is_error(), "paused": self.is_paused(), diff --git a/src/octoprint/static/js/app/viewmodels/printerstate.js b/src/octoprint/static/js/app/viewmodels/printerstate.js index 5b4b905cd..9028291c9 100644 --- a/src/octoprint/static/js/app/viewmodels/printerstate.js +++ b/src/octoprint/static/js/app/viewmodels/printerstate.js @@ -9,6 +9,8 @@ $(function() { self.isErrorOrClosed = ko.observable(undefined); self.isOperational = ko.observable(undefined); self.isPrinting = ko.observable(undefined); + self.isCancelling = ko.observable(undefined); + self.isPausing = ko.observable(undefined); self.isPaused = ko.observable(undefined); self.isError = ko.observable(undefined); self.isReady = ko.observable(undefined); @@ -16,13 +18,13 @@ $(function() { self.isSdReady = ko.observable(undefined); self.enablePrint = ko.pureComputed(function() { - return self.isOperational() && self.isReady() && !self.isPrinting() && self.loginState.isUser() && self.filename() != undefined; + return self.isOperational() && self.isReady() && !self.isPrinting() && !self.isCancelling() && !self.isPausing() && self.loginState.isUser() && self.filename() != undefined; }); self.enablePause = ko.pureComputed(function() { - return self.isOperational() && (self.isPrinting() || self.isPaused()) && self.loginState.isUser(); + return self.isOperational() && (self.isPrinting() || self.isPaused()) && !self.isCancelling() && !self.isPausing() && self.loginState.isUser(); }); self.enableCancel = ko.pureComputed(function() { - return self.isOperational() && (self.isPrinting() || self.isPaused()) && self.loginState.isUser(); + return self.isOperational() && (self.isPrinting() || self.isPaused()) && !self.isCancelling() && !self.isPausing() && self.loginState.isUser(); }); self.filename = ko.observable(undefined); @@ -193,6 +195,8 @@ $(function() { self.isOperational(data.flags.operational); self.isPaused(data.flags.paused); self.isPrinting(data.flags.printing); + self.isCancelling(data.flags.cancelling); + self.isPausing(data.flags.pausing); self.isError(data.flags.error); self.isReady(data.flags.ready); self.isSdReady(data.flags.sdReady); diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 746f05b98..6cde33f9d 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -332,6 +332,8 @@ class MachineCom(object): STATE_ERROR = 9 STATE_CLOSED_WITH_ERROR = 10 STATE_TRANSFERING_FILE = 11 + STATE_CANCELLING = 12 + STATE_PAUSING = 13 CAPABILITY_AUTOREPORT_TEMP = "AUTOREPORT_TEMP" CAPABILITY_BUSY_PROTOCOL = "BUSY_PROTOCOL" @@ -594,32 +596,36 @@ class MachineCom(object): if state == self.STATE_NONE: return "Offline" - if state == self.STATE_OPEN_SERIAL: + elif state == self.STATE_OPEN_SERIAL: return "Opening serial port" - if state == self.STATE_DETECT_SERIAL: + elif state == self.STATE_DETECT_SERIAL: return "Detecting serial port" - if state == self.STATE_DETECT_BAUDRATE: + elif state == self.STATE_DETECT_BAUDRATE: return "Detecting baudrate" - if state == self.STATE_CONNECTING: + elif state == self.STATE_CONNECTING: return "Connecting" - if state == self.STATE_OPERATIONAL: + elif state == self.STATE_OPERATIONAL: return "Operational" - if state == self.STATE_PRINTING: + elif state == self.STATE_PRINTING: if self.isSdFileSelected(): return "Printing from SD" elif self.isStreaming(): return "Sending file to SD" else: return "Printing" - if state == self.STATE_PAUSED: + elif state == self.STATE_CANCELLING: + return "Cancelling" + elif state == self.STATE_PAUSING: + return "Pausing" + elif state == self.STATE_PAUSED: return "Paused" - if state == self.STATE_CLOSED: + elif state == self.STATE_CLOSED: return "Offline" - if state == self.STATE_ERROR: + elif state == self.STATE_ERROR: return "Error: %s" % (self.getErrorString()) - if state == self.STATE_CLOSED_WITH_ERROR: + elif state == self.STATE_CLOSED_WITH_ERROR: return "Offline: %s" % (self.getErrorString()) - if state == self.STATE_TRANSFERING_FILE: + elif state == self.STATE_TRANSFERING_FILE: return "Transferring file to SD" return "Unknown State (%d)" % (self._state) @@ -627,16 +633,23 @@ class MachineCom(object): return self._errorValue def isClosedOrError(self): - return self._state == self.STATE_ERROR or self._state == self.STATE_CLOSED_WITH_ERROR or self._state == self.STATE_CLOSED + return self._state in (self.STATE_ERROR, self.STATE_CLOSED, self.STATE_CLOSED_WITH_ERROR) def isError(self): - return self._state == self.STATE_ERROR or self._state == self.STATE_CLOSED_WITH_ERROR + return self._state in (self.STATE_ERROR, self.STATE_CLOSED_WITH_ERROR) def isOperational(self): - return self._state == self.STATE_OPERATIONAL or self._state == self.STATE_PRINTING or self._state == self.STATE_PAUSED or self._state == self.STATE_TRANSFERING_FILE + return self._state in (self.STATE_OPERATIONAL, self.STATE_PRINTING, self.STATE_CANCELLING, self.STATE_PAUSING, + self.STATE_PAUSED, self.STATE_TRANSFERING_FILE) def isPrinting(self): - return self._state == self.STATE_PRINTING + return self._state in (self.STATE_PRINTING, self.STATE_CANCELLING, self.STATE_PAUSING) + + def isCancelling(self): + return self._state == self.STATE_CANCELLING + + def isPausing(self): + return self._state == self.STATE_PAUSING def isSdPrinting(self): return self.isSdFileSelected() and self.isPrinting() @@ -645,13 +658,13 @@ class MachineCom(object): return self._currentFile is not None and isinstance(self._currentFile, PrintingSdFileInformation) def isStreaming(self): - return self._currentFile is not None and isinstance(self._currentFile, StreamingGcodeFileInformation) + return self._currentFile is not None and isinstance(self._currentFile, StreamingGcodeFileInformation) and not self._currentFile.done def isPaused(self): return self._state == self.STATE_PAUSED def isBusy(self): - return self.isPrinting() or self.isPaused() + return self.isPrinting() or self.isPaused() or self._state in (self.STATE_CANCELLING, self.STATE_PAUSING) def isSdReady(self): return self._sdAvailable @@ -808,11 +821,12 @@ class MachineCom(object): self._handle_ok() def sendCommand(self, cmd, cmd_type=None, processed=False, force=False, on_sent=None, tags=None): - cmd = to_unicode(cmd, errors="replace") - if not processed: - cmd = process_gcode_line(cmd) - if not cmd: - return False + if not isinstance(cmd, QueueMarker): + cmd = to_unicode(cmd, errors="replace") + if not processed: + cmd = process_gcode_line(cmd) + if not cmd: + return False if self.isPrinting() and not self.isSdFileSelected() and not self._job_on_hold: try: @@ -1003,17 +1017,19 @@ class MachineCom(object): "time": self.getPrintTime() } - self._currentFile = None - self._changeState(self.STATE_OPERATIONAL) + def finalize(): + self._currentFile = None + self._changeState(self.STATE_OPERATIONAL) - if failed: - self._callback.on_comm_file_transfer_failed(remote) - eventManager().fire(Events.TRANSFER_FAILED, payload) - else: - self._callback.on_comm_file_transfer_done(remote) - eventManager().fire(Events.TRANSFER_DONE, payload) + if failed: + self._callback.on_comm_file_transfer_failed(remote) + eventManager().fire(Events.TRANSFER_FAILED, payload) + else: + self._callback.on_comm_file_transfer_done(remote) + eventManager().fire(Events.TRANSFER_DONE, payload) - self.refreshSdFiles(tags={"trigger:comm.finish_file_transfer",}) + self.refreshSdFiles(tags={"trigger:comm.finish_file_transfer",}) + self._sendCommand(SendQueueMarker(finalize)) def selectFile(self, filename, sd, tags=None): if self.isBusy(): @@ -1047,6 +1063,11 @@ class MachineCom(object): self._recordFilePosition() self._callback.on_comm_print_job_cancelled() + def finalize(): + self._changeState(self.STATE_OPERATIONAL) + self.sendCommand(SendQueueMarker(finalize)) + self._continue_sending() + def cancelPrint(self, firmware_error=None, disable_log_position=False, tags=None): if not self.isOperational(): return @@ -1073,7 +1094,7 @@ class MachineCom(object): self._callback.on_comm_print_job_cancelling(firmware_error=firmware_error) with self._jobLock: - self._changeState(self.STATE_OPERATIONAL) + self._changeState(self.STATE_CANCELLING) if self.isSdFileSelected(): self.sendCommand("M25", tags=tags | {"trigger:comm.cancel",}) # pause print @@ -1093,6 +1114,11 @@ class MachineCom(object): def _pause_preparation_done(self): self._callback.on_comm_print_job_paused() + def finalize(): + self._changeState(self.STATE_PAUSED) + self.sendCommand(SendQueueMarker(finalize)) + self._continue_sending() + def setPause(self, pause, tags=None): if self.isStreaming(): return @@ -1132,7 +1158,7 @@ class MachineCom(object): if not self._pauseWaitStartTime: self._pauseWaitStartTime = time.time() - self._changeState(self.STATE_PAUSED) + self._changeState(self.STATE_PAUSING) if self.isSdFileSelected(): self.sendCommand("M25", tags=tags | {"trigger:comm.set_pause", "trigger:pause"}) # pause print @@ -1690,7 +1716,8 @@ class MachineCom(object): self._changeState(self.STATE_PRINTING) elif 'Done printing file' in line and self.isSdPrinting(): # printer is reporting file finished printing - self._sdFilePos = 0 + self._currentFile.done = True + self._currentFile.setFilepos(0) self._callback.on_comm_print_job_done() self._changeState(self.STATE_OPERATIONAL) if self._sd_status_timer is not None: @@ -1824,7 +1851,7 @@ class MachineCom(object): self._finish_heatup() - if not self._state in (self.STATE_PRINTING, self.STATE_OPERATIONAL, self.STATE_PAUSED): + if not self._state in (self.STATE_PRINTING, self.STATE_OPERATIONAL, self.STATE_PAUSED, self.STATE_CANCELLING, self.STATE_PAUSING): return # process queues ongoing resend requests and queues if we are operational @@ -1908,11 +1935,7 @@ class MachineCom(object): def _continue_sending(self): while self._active: - if self._state == self.STATE_OPERATIONAL or self._state == self.STATE_PAUSED or self.isSdPrinting(): - # just send stuff from the command queue and be done with it - return self._sendFromQueue() - - elif self._state == self.STATE_PRINTING: + if self._state == self.STATE_PRINTING and not (self._currentFile is None or self._currentFile.done or self.isSdPrinting()): # we are printing, we really want to send either something from the command # queue or the next line from our file, so we only return here if we actually DO # send something @@ -1928,6 +1951,9 @@ class MachineCom(object): return True self._logger.debug("No command sent on ok while printing, doing another iteration") + else: + # just send stuff from the command queue and be done with it + return self._sendFromQueue() def _process_registered_message(self, line, feedback_matcher, feedback_controls, feedback_errors): feedback_match = feedback_matcher.search(line) @@ -2294,11 +2320,13 @@ class MachineCom(object): line = self._currentFile.getNext() if line is None: - if self.isStreaming(): + if isinstance(self._currentFile, StreamingGcodeFileInformation): self._finishFileTransfer() else: self._callback.on_comm_print_job_done() - self._changeState(self.STATE_OPERATIONAL) + def finalize(): + self._changeState(self.STATE_OPERATIONAL) + return SendQueueMarker(finalize) return line def _sendNext(self): @@ -2310,7 +2338,15 @@ class MachineCom(object): return False line = self._getNext() - if line is None: + if isinstance(line, QueueMarker): + self.sendCommand(line) + self._callback.on_comm_progress() + + # end of file, return false so that the next round in continue_sending will process + # what we just enqueued (any scripts + marker) + return False + + elif line is None: # end of file, return false return False @@ -2446,6 +2482,13 @@ class MachineCom(object): if self._serial is None: return False + if isinstance(cmd, QueueMarker): + if isinstance(cmd, SendQueueMarker): + self._enqueue_for_sending(cmd) + return True + else: + return False + gcode, subcode = gcode_and_subcode_for_cmd(cmd) if not self.isStreaming(): @@ -2505,7 +2548,7 @@ class MachineCom(object): Enqueues a command and optional linenumber to use for it in the send queue. Arguments: - command (str): The command to send. + command (str or SendQueueMarker): The command to send. linenumber (int): The line number with which to send the command. May be ``None`` in which case the command will be sent without a line number and checksum. command_type (str): Optional command type, if set and command type is already in the queue the @@ -2553,6 +2596,11 @@ class MachineCom(object): # fetch command, command type and optional linenumber and sent callback from queue command, linenumber, command_type, on_sent, processed, tags = entry + if isinstance(command, SendQueueMarker): + command.run() + self._continue_sending() + continue + # some firmwares (e.g. Smoothie) might support additional in-band communication that will not # stick to the acknowledgement behaviour of GCODE, so we check here if we have a GCODE command # at hand here and only clear our clear_to_send flag later if that's the case @@ -3128,6 +3176,7 @@ class PrintingFileInformation(object): self._pos = 0 self._size = None self._start_time = None + self._done = False def getStartTime(self): return self._start_time @@ -3164,6 +3213,7 @@ class PrintingFileInformation(object): Marks the print job as started and remembers the start time. """ self._start_time = time.time() + self._done = False def close(self): """ @@ -3171,6 +3221,10 @@ class PrintingFileInformation(object): """ pass + @property + def done(self): + return self._done + class PrintingSdFileInformation(PrintingFileInformation): """ Encapsulates information regarding an ongoing print from SD. @@ -3191,6 +3245,14 @@ class PrintingSdFileInformation(PrintingFileInformation): def getFileLocation(self): return FileDestinations.SDCARD + @property + def done(self): + return self._done + + @done.setter + def done(self, value): + self._done = value + class PrintingGcodeFileInformation(PrintingFileInformation): """ Encapsulates information regarding an ongoing direct print. Takes care of the needed file handle and ensures @@ -3268,6 +3330,7 @@ class PrintingGcodeFileInformation(PrintingFileInformation): if self._handle is None: # file got closed just now self._pos = self._size + self._done = True self._report_stats() return None @@ -3995,6 +4058,22 @@ def _normalize_command_handler_result(command, command_type, gcode, subcode, tag return result +class QueueMarker(object): + + def __init__(self, callback): + self.callback = callback + + def run(self): + if callable(self.callback): + try: + self.callback() + except: + logging.getLogger(__name__).exception("Error while running callback of QueueMarker") + +class SendQueueMarker(QueueMarker): + pass + + # --- Test code for speed testing the comm layer via command line follows From 01d37fc9ee99b9cb247685e2a00954ad41968ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 5 Mar 2018 17:25:15 +0100 Subject: [PATCH 19/82] PMGR: Reduce notification spam --- .../pluginmanager/static/js/pluginmanager.js | 421 +++++++----------- 1 file changed, 156 insertions(+), 265 deletions(-) diff --git a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js index 19842dcb6..b30ab5971 100644 --- a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js +++ b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js @@ -205,6 +205,16 @@ $(function() { self.hiddenNoticeNotifications = {}; self.noticeCount = ko.observable(0); + self.notification = undefined; + self.logContents = { + steps: [], + action: { + reload: false, + refresh: false, + reconnect: false + } + }; + self.noticeCountText = ko.pureComputed(function() { var count = self.noticeCount(); if (count == 0) { @@ -701,133 +711,138 @@ $(function() { return self.isCompatible(data) ? (self.installed(data) ? gettext("Reinstall") : gettext("Install")) : (data.disabled ? gettext("Disabled") : gettext("Incompatible")); }; - self._displayNotification = function(response, action, titleSuccess, textSuccess, textRestart, textReload, textReconnect, titleError, textError) { - var notification; + self._displayPluginManagementNotification = function(response, action, plugin) { + self.logContents.action.restart = self.logContents.action.restart || response.needs_restart; + self.logContents.action.refresh = self.logContents.action.refresh || response.needs_refresh; + self.logContents.action_reconnect = self.logContents.action.reconnect || response.needs_reconnect; + self.logContents.steps.push({action: action, plugin: plugin, result: response.result}); - var beforeClose = function(notification) { - self.notifications = _.without(self.notifications, notification); - }; + var title = gettext("Plugin management log"); + var text = "

    "; - if (response.result) { - if (action == "install" && response.plugin && response.plugin.blacklisted) { - notification = new PNotify({ - title: titleSuccess, - text: textSuccess, - type: "warning", - callbacks: { - before_close: beforeClose - }, - hide: false - }) - } else if (response.needs_restart) { - var options = { - title: titleSuccess, - text: textRestart, - buttons: { - closer: true, - sticker: false - }, - callbacks: { - before_close: beforeClose - }, - hide: false - }; - - var restartClicked = false; - if (self.restartCommandSpec) { - options.confirm = { - confirm: true, - buttons: [{ - text: gettext("Restart now"), - click: function (notice) { - if (restartClicked) return; - restartClicked = true; - showConfirmationDialog({ - message: gettext("This will restart your OctoPrint server.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)."), - onproceed: function() { - OctoPrint.system.executeCommand("core", "restart") - .done(function() { - notice.remove(); - new PNotify({ - title: gettext("Restart in progress"), - text: gettext("The server is now being restarted in the background") - }) - }) - .fail(function() { - new PNotify({ - title: gettext("Something went wrong"), - text: gettext("Trying to restart the server produced an error, please check octoprint.log for details. You'll have to restart manually.") - }) - }); - }, - onclose: function() { - restartClicked = false; - } - }); - } - }] - } - } - - notification = PNotify.singleButtonNotify(options); - } else if (response.needs_refresh) { - var refreshClicked = false; - notification = PNotify.singleButtonNotify({ - title: titleSuccess, - text: textReload, - confirm: { - confirm: true, - buttons: [{ - text: gettext("Reload now"), - click: function () { - if (refreshClicked) return; - refreshClicked = true; - location.reload(true); - } - }] - }, - buttons: { - closer: true, - sticker: false - }, - callbacks: { - before_close: beforeClose - }, - hide: false - }) - } else if (response.needs_reconnect) { - notification = new PNotify({ - title: titleSuccess, - text: textReconnect, - callbacks: { - before_close: beforeClose - }, - hide: false - }) + var steps = self.logContents.steps; + if (steps.length > 5) { + var count = steps.length - 5; + var line; + if (count > 1) { + line = gettext("%(count)d earlier actions..."); } else { - notification = new PNotify({ - title: titleSuccess, - text: textSuccess, - type: "success", - callbacks: { - before_close: beforeClose - }, - hide: false - }) + line = gettext("%(count)d earlier action"); } - } else { - notification = new PNotify({ - title: titleError, - text: textError, - type: "error", - callbacks: { - before_close: beforeClose - }, - hide: false - }); + text += "

  • " + _.sprintf(line, {count: count}) + "
  • "; + steps = steps.slice(steps.length - 5); } - self.notifications.push(notification); + _.each(steps, function(step) { + var line = undefined; + + switch (step.action) { + case "install": { + line = gettext("Install %(plugin)s: %(result)s"); + break; + } + case "uninstall": { + line = gettext("Uninstall %(plugin)s: %(result)s"); + break; + } + case "enable": { + line = gettext("Enable %(plugin)s: %(result)s"); + break; + } + case "disable": { + line = gettext("Disable %(plugin)s: %(result)s"); + break; + } + default: { + return; + } + } + + text += "
  • " + + _.sprintf(line, {plugin: step.plugin, result: step.result ? "" : ""}) + + "
  • "; + }); + text += "

"; + + var confirm = undefined; + var type = "success"; + if (self.logContents.action.restart) { + text += "

" + gettext("A restart is needed for the changes to take effect.") + "

"; + type = "warning"; + + if (self.restartCommandSpec) { + var restartClicked = false; + confirm = { + confirm: true, + buttons: [{ + text: gettext("Restart now"), + click: function (notice) { + if (restartClicked) return; + restartClicked = true; + showConfirmationDialog({ + message: gettext("This will restart your OctoPrint server.

This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)."), + onproceed: function() { + OctoPrint.system.executeCommand("core", "restart") + .done(function() { + notice.remove(); + new PNotify({ + title: gettext("Restart in progress"), + text: gettext("The server is now being restarted in the background") + }) + }) + .fail(function() { + new PNotify({ + title: gettext("Something went wrong"), + text: gettext("Trying to restart the server produced an error, please check octoprint.log for details. You'll have to restart manually.") + }) + }); + }, + onclose: function() { + restartClicked = false; + } + }); + } + }] + } + } + } else if (self.logContents.action.refresh) { + text += "

" + gettext("A refresh is needed for the changes to take effect.") + "

"; + type = "warning"; + + var refreshClicked = false; + confirm = { + confirm: true, + buttons: [{ + text: gettext("Reload now"), + click: function () { + if (refreshClicked) return; + refreshClicked = true; + location.reload(true); + } + }] + } + } else if (self.logContents.action_reconnect) { + text += "

" + gettext("A reconnect to the printer is needed for the changes to take effect.") + "

"; + type = "warning"; + } + + var options = { + title: title, + text: text, + type: type + }; + + if (self.logNotification !== undefined) { + self.logNotification.remove(); + } + + if (confirm !== undefined) { + options.confirm = confirm; + options.hide = false; + self.logNotification = PNotify.singleButtonNotify(options); + } else { + self.logNotification = new PNotify(options); + } }; self._markWorking = function(title, line) { @@ -1068,14 +1083,26 @@ $(function() { }; self.onUserLoggedOut = function() { - self._closeAllNotifications(); + self._resetNotifications(); }; self.onEventConnectivityChanged = function(payload) { self.requestData({eval_notices: true}); }; + self._resetNotifications = function() { + self._closeAllNotifications(); + self.logContents.action.restart + = self.logContents.action.reload + = self.logContents.action.reconnect + = false; + self.logContents.steps = []; + }; + self._closeAllNotifications = function() { + if (self.logNotification) { + self.logNotification.remove(); + } if (self.notifications) { _.each(self.notifications, function(notification) { notification.remove(); @@ -1084,7 +1111,7 @@ $(function() { }; self.onServerDisconnect = function() { - self._closeAllNotifications(); + self._resetNotifications(); return true; }; @@ -1095,7 +1122,7 @@ $(function() { }; self.onDataUpdaterPluginMessage = function(plugin, data) { - if (plugin != "pluginmanager") { + if (plugin !== "pluginmanager") { return; } @@ -1109,157 +1136,21 @@ $(function() { var messageType = data.type; - if (messageType == "loglines" && self.working()) { + if (messageType === "loglines" && self.working()) { _.each(data.loglines, function(line) { self.loglines.push(self._preprocessLine(line)); }); self._scrollWorkingOutputToEnd(); - } else if (messageType == "result") { - var titleSuccess, textSuccess, textRestart, textReload, textReconnect, titleError, textError; + } else if (messageType === "result") { var action = data.action; - var name = "Unknown"; - if (action == "install") { - var unknown = false; - - if (data.hasOwnProperty("plugin")) { - if (data.plugin == "unknown") { - unknown = true; - } else { - name = data.plugin.name; - } - } - - if (unknown) { - titleSuccess = _.sprintf(gettext("Plugin installed")); - textSuccess = gettext("A plugin was installed successfully, however it was impossible to detect which one. Please Restart OctoPrint to make sure everything will be registered properly"); - textRestart = textSuccess; - textReload = textSuccess; - textReconnect = textSuccess; - } else if (data.plugin && data.plugin.blacklisted) { - if (data.was_reinstalled) { - titleSuccess = _.sprintf(gettext("Plugin \"%(name)s\" reinstalled"), {name: name}); - textSuccess = gettext("The plugin was reinstalled successfully, however it is blacklisted and therefore won't be loaded."); - } else { - titleSuccess = _.sprintf(gettext("Plugin \"%(name)s\" installed"), {name: name}); - textSuccess = gettext("The plugin was installed successfully, however it is blacklisted and therefore won't be loaded."); - } - textRestart = textSuccess; - textReload = textSuccess; - textReconnect = textSuccess; - } else if (data.was_reinstalled) { - titleSuccess = _.sprintf(gettext("Plugin \"%(name)s\" reinstalled"), {name: name}); - textSuccess = gettext("The plugin was reinstalled successfully"); - textRestart = gettext("The plugin was reinstalled successfully, however a restart of OctoPrint is needed for that to take effect."); - textReload = gettext("The plugin was reinstalled successfully, however a reload of the page is needed for that to take effect."); - textReconnect = gettext("The plugin was reinstalled successfully, however a reconnect to the printer is needed for that to take effect."); - } else { - titleSuccess = _.sprintf(gettext("Plugin \"%(name)s\" installed"), {name: name}); - textSuccess = gettext("The plugin was installed successfully"); - textRestart = gettext("The plugin was installed successfully, however a restart of OctoPrint is needed for that to take effect."); - textReload = gettext("The plugin was installed successfully, however a reload of the page is needed for that to take effect."); - textReconnect = gettext("The plugin was installed successfully, however a reconnect to the printer is needed for that to take effect."); - } - - titleError = gettext("Something went wrong"); - var source = "unknown"; - if (data.hasOwnProperty("source")) { - source = data.source; - } - var sourceType = "unknown"; - if (data.hasOwnProperty("source_type")) { - sourceType = data.source_type; - } - - if (data.hasOwnProperty("reason")) { - if (data.was_reinstalled) { - if (sourceType == "path") { - textError = _.sprintf(gettext("Reinstalling the plugin from file failed: %(reason)s"), {reason: data.reason}); - } else { - textError = _.sprintf(gettext("Reinstalling the plugin from \"%(source)s\" failed: %(reason)s"), {reason: data.reason, source: source}); - } - } else { - if (sourceType == "path") { - textError = _.sprintf(gettext("Installing the plugin from file failed: %(reason)s"), {reason: data.reason}); - } else { - textError = _.sprintf(gettext("Installing the plugin from \"%(source)s\" failed: %(reason)s"), {reason: data.reason, source: source}); - } - } - } else { - if (data.was_reinstalled) { - if (sourceType == "path") { - textError = gettext("Reinstalling the plugin from file failed, please see the log for details."); - } else { - textError = _.sprintf(gettext("Reinstalling the plugin from \"%(source)s\" failed, please see the log for details."), {source: source}); - } - } else { - if (sourceType == "path") { - textError = gettext("Installing the plugin from file failed, please see the log for details."); - } else { - textError = _.sprintf(gettext("Installing the plugin from \"%(source)s\" failed, please see the log for details."), {source: source}); - } - } - } - - } else if (action == "uninstall") { - if (data.hasOwnProperty("plugin")) { + if (data.hasOwnProperty("plugin")) { + if (data.plugin !== "unknown") { name = data.plugin.name; } - - titleSuccess = _.sprintf(gettext("Plugin \"%(name)s\" uninstalled"), {name: name}); - textSuccess = gettext("The plugin was uninstalled successfully"); - textRestart = gettext("The plugin was uninstalled successfully, however a restart of OctoPrint is needed for that to take effect."); - textReload = gettext("The plugin was uninstalled successfully, however a reload of the page is needed for that to take effect."); - textReconnect = gettext("The plugin was uninstalled successfully, however a reconnect to the printer is needed for that to take effect."); - - titleError = gettext("Something went wrong"); - if (data.hasOwnProperty("reason")) { - textError = _.sprintf(gettext("Uninstalling the plugin failed: %(reason)s"), {reason: data.reason}); - } else { - textError = gettext("Uninstalling the plugin failed, please see the log for details."); - } - - } else if (action == "enable") { - if (data.hasOwnProperty("plugin")) { - name = data.plugin.name; - } - - titleSuccess = _.sprintf(gettext("Plugin \"%(name)s\" enabled"), {name: name}); - textSuccess = gettext("The plugin was enabled successfully."); - textRestart = gettext("The plugin was enabled successfully, however a restart of OctoPrint is needed for that to take effect."); - textReload = gettext("The plugin was enabled successfully, however a reload of the page is needed for that to take effect."); - textReconnect = gettext("The plugin was enabled successfully, however a reconnect to the printer is needed for that to take effect."); - - titleError = gettext("Something went wrong"); - if (data.hasOwnProperty("reason")) { - textError = _.sprintf(gettext("Toggling the plugin failed: %(reason)s"), {reason: data.reason}); - } else { - textError = gettext("Toggling the plugin failed, please see the log for details."); - } - - } else if (action == "disable") { - if (data.hasOwnProperty("plugin")) { - name = data.plugin.name; - } - - titleSuccess = _.sprintf(gettext("Plugin \"%(name)s\" disabled"), {name: name}); - textSuccess = gettext("The plugin was disabled successfully."); - textRestart = gettext("The plugin was disabled successfully, however a restart of OctoPrint is needed for that to take effect."); - textReload = gettext("The plugin was disabled successfully, however a reload of the page is needed for that to take effect."); - textReconnect = gettext("The plugin was disabled successfully, however a reconnect to the printer is needed for that to take effect."); - - titleError = gettext("Something went wrong"); - if (data.hasOwnProperty("reason")) { - textError = _.sprintf(gettext("Toggling the plugin failed: %(reason)s"), {reason: data.reason}); - } else { - textError = gettext("Toggling the plugin failed, please see the log for details."); - } - - } else { - return; } - self._displayNotification(data, action, titleSuccess, textSuccess, textRestart, textReload, textReconnect, titleError, textError); + self._displayPluginManagementNotification(data, action, name); self.requestData(); } }; From 11eb731b3d139327ea96a775f2a5cb09067fbcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 6 Mar 2018 12:43:48 +0100 Subject: [PATCH 20/82] Virtual printer: simulate broken resends w/o ok --- src/octoprint/plugins/virtual_printer/virtual.py | 4 +++- src/octoprint/settings.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/octoprint/plugins/virtual_printer/virtual.py b/src/octoprint/plugins/virtual_printer/virtual.py index 63767ea46..725a69019 100644 --- a/src/octoprint/plugins/virtual_printer/virtual.py +++ b/src/octoprint/plugins/virtual_printer/virtual.py @@ -119,6 +119,7 @@ class VirtualPrinter(object): self._echoOnM117 = settings().getBoolean(["devel", "virtualPrinter", "echoOnM117"]) self._brokenM29 = settings().getBoolean(["devel", "virtualPrinter", "brokenM29"]) + self._brokenResend = settings().getBoolean(["devel", "virtualPrinter", "brokenResend"]) self._m115FormatString = settings().get(["devel", "virtualPrinter", "m115FormatString"]) self._firmwareName = settings().get(["devel", "virtualPrinter", "firmwareName"]) @@ -583,7 +584,8 @@ class VirtualPrinter(object): def request_resend(): self._send("Resend:%d" % expected) - self._sendOk() + if not self._brokenResend: + self._sendOk() if settings().getBoolean(["devel", "virtualPrinter", "repetierStyleResends"]): request_resend() diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 64eb8e829..9b6606737 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -385,6 +385,7 @@ default_settings = { "supportM112": True, "echoOnM117": True, "brokenM29": True, + "brokenResend": False, "supportF": False, "firmwareName": "Virtual Marlin 1.0", "sharedNozzle": False, From ee36e2abd37d1aa4f5f884007f2c75c459e429a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 6 Mar 2018 12:48:24 +0100 Subject: [PATCH 21/82] Allow detection of firmware w/ broken resend If firmware doesn't send an ok immediately after a resend request, we will now be able to detect this (if enabled to do so) by starting a timer that will simulate an ok after .5s if none has been received. This should help with issues like prusa3d/Prusa-Firmware#331 where an ok is only missing sometimes and not always, making the existing workaround of always simulating an ok after a resend cause additional problems. --- src/octoprint/server/api/settings.py | 7 +++-- src/octoprint/settings.py | 24 ++++++++++++-- .../dialogs/settings/serialconnection.jinja2 | 31 +++++++++++++------ src/octoprint/util/comm.py | 18 +++++++++-- 4 files changed, 62 insertions(+), 18 deletions(-) diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index 0ea189907..ff578813a 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -148,7 +148,7 @@ def getSettings(): "triggerOkForM29": s.getBoolean(["serial", "triggerOkForM29"]), "logPositionOnPause": s.getBoolean(["serial", "logPositionOnPause"]), "logPositionOnCancel": s.getBoolean(["serial", "logPositionOnCancel"]), - "supportResendsWithoutOk": s.getBoolean(["serial", "supportResendsWithoutOk"]), + "supportResendsWithoutOk": s.get(["serial", "supportResendsWithoutOk"]), "waitForStart": s.getBoolean(["serial", "waitForStartOnConnect"]), "alwaysSendChecksum": s.getBoolean(["serial", "alwaysSendChecksum"]), "neverSendChecksum": s.getBoolean(["serial", "neverSendChecksum"]), @@ -374,7 +374,10 @@ def _saveSettings(data): if "ignoreErrorsFromFirmware" in data["serial"]: s.setBoolean(["serial", "ignoreErrorsFromFirmware"], data["serial"]["ignoreErrorsFromFirmware"]) if "disconnectOnErrors" in data["serial"]: s.setBoolean(["serial", "disconnectOnErrors"], data["serial"]["disconnectOnErrors"]) if "triggerOkForM29" in data["serial"]: s.setBoolean(["serial", "triggerOkForM29"], data["serial"]["triggerOkForM29"]) - if "supportResendsWithoutOk" in data["serial"]: s.setBoolean(["serial", "supportResendsWithoutOk"], data["serial"]["supportResendsWithoutOk"]) + if "supportResendsWithoutOk" in data["serial"]: + value = data["serial"]["supportResendsWithoutOk"] + if value in ("always", "detect", "never"): + s.set(["serial", "supportResendsWithoutOk"], value) if "waitForStart" in data["serial"]: s.setBoolean(["serial", "waitForStartOnConnect"], data["serial"]["waitForStart"]) if "alwaysSendChecksum" in data["serial"]: s.setBoolean(["serial", "alwaysSendChecksum"], data["serial"]["alwaysSendChecksum"]) if "neverSendChecksum" in data["serial"]: s.setBoolean(["serial", "neverSendChecksum"], data["serial"]["neverSendChecksum"]) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 9b6606737..6ed1d1bb7 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -98,7 +98,8 @@ default_settings = { "temperature": 5, "temperatureTargetSet": 2, "temperatureAutoreport": 2, - "sdStatus": 1 + "sdStatus": 1, + "resendOk": .5 }, "maxCommunicationTimeouts": { "idle": 2, @@ -114,7 +115,7 @@ default_settings = { "disconnectOnErrors": True, "ignoreErrorsFromFirmware": False, "logResends": True, - "supportResendsWithoutOk": False, + "supportResendsWithoutOk": "detect", "logPositionOnPause": True, "logPositionOnCancel": True, "waitForStartOnConnect": False, @@ -910,7 +911,8 @@ class Settings(object): self._migrate_printer_parameters, self._migrate_gcode_scripts, self._migrate_core_system_commands, - self._migrate_serial_features + self._migrate_serial_features, + self._migrate_resend_without_ok ) for migrate in migrators: @@ -1217,6 +1219,22 @@ class Settings(object): return changed + def _migrate_resend_without_ok(self, config): + """ + Migrates supportResendsWithoutOk flag from boolean to ("always", "detect", "never") value range. + + True gets migrated to "always", False to "detect" (which is the new default). + """ + if "serial" in config and "supportResendsWithoutOk" in config["serial"] \ + and config["serial"]["supportResendsWithoutOk"] not in ("always", "detect", "never"): + value = config["serial"]["supportResendsWithoutOk"] + if value: + config["serial"]["supportResendsWithoutOk"] = "always" + else: + config["serial"]["supportResendsWithoutOk"] = "detect" + return True + return False + def backup(self, suffix, path=None): import shutil diff --git a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 index 5b40eaab8..355c8a023 100644 --- a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 +++ b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 @@ -250,17 +250,28 @@ -
- +
+
+ +
-
- +
+ +
+ + + + {{ _('Some Marlin forks lack an acknowledging ok with their resend requests. Set this to "always" or "if detected as necessary" if you run into communication stalls on resend requests.') }} +
diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 6cde33f9d..d697de8e8 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -440,7 +440,8 @@ class MachineCom(object): self._temperature_autoreporting = False self._busy_protocol_detected = False - self._supportResendsWithoutOk = settings().getBoolean(["serial", "supportResendsWithoutOk"]) + self._trigger_ok_after_resend = settings().get(["serial", "supportResendsWithoutOk"]) + self._resend_ok_timer = None self._resendActive = False @@ -1838,6 +1839,10 @@ class MachineCom(object): self._log("Connection closed, closing down monitor") def _handle_ok(self): + if self._resend_ok_timer: + self._resend_ok_timer.cancel() + self._resend_ok_timer = None + self._ok_timeout = get_new_timeout("communicationBusy" if self._busy_protocol_detected else "communication", self._timeout_intervals) self._clear_to_send.set() @@ -2436,11 +2441,18 @@ class MachineCom(object): self._log_resends_rate_count += 1 self._send_queue.resend_active = True + return True finally: - if self._supportResendsWithoutOk: - # simulate an ok if our flags indicate that the printer needs that for resend requests to work + if self._trigger_ok_after_resend == "always": self._handle_ok() + elif self._trigger_ok_after_resend == "detect": + def process(): + self._resend_ok_timer = None + self._handle_ok() + self._logger.info("Firmware didn't send an 'ok' with their resend request. That's a known bug with some firmware variants out there. Simulating an ok to continue...") + self._resend_ok_timer = threading.Timer(self._timeout_intervals.get("resendOk", 1.0), process) + self._resend_ok_timer.start() def _resendSameCommand(self): return self._resendNextCommand(again=True) From de0660f6782c01b1532f211468aa50afe9b304a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 6 Mar 2018 13:28:40 +0100 Subject: [PATCH 22/82] Force disconnect on error state Fixes #2461 --- src/octoprint/util/comm.py | 49 ++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 26 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index d697de8e8..f47721679 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -623,12 +623,12 @@ class MachineCom(object): elif state == self.STATE_CLOSED: return "Offline" elif state == self.STATE_ERROR: - return "Error: %s" % (self.getErrorString()) + return "Error: {}".format(self.getErrorString()) elif state == self.STATE_CLOSED_WITH_ERROR: - return "Offline: %s" % (self.getErrorString()) + return "Offline (Error: {})".format(self.getErrorString()) elif state == self.STATE_TRANSFERING_FILE: return "Transferring file to SD" - return "Unknown State (%d)" % (self._state) + return "Unknown State ({})".format(self._state) def getErrorString(self): return self._errorValue @@ -969,9 +969,7 @@ class MachineCom(object): self._sendFromQueue() except: self._logger.exception("Error while trying to start printing") - self._errorValue = get_exception_string() - self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "start_print"}) + self._trigger_error(get_exception_string(), "start_print") def startFileTransfer(self, filename, localFilename, remoteFilename, special=False, tags=None): if not self.isOperational() or self.isBusy(): @@ -1781,10 +1779,8 @@ class MachineCom(object): self._log("Unexpected error while setting baudrate {}: {}".format(baudrate, get_exception_string())) self._logger.exception("Unexpceted error while setting baudrate {}".format(baudrate)) else: - self.close(wait=False) - self._errorValue = "No more baudrates to test, and no suitable baudrate found." - self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "autodetect_baudrate"}) + error_text = "No more baudrates to test, and no suitable baudrate found." + self._trigger_error(error_text, "autodetect_baudrate") elif 'start' in line or 'ok' in line: self._onConnected() if 'start' in line: @@ -2153,10 +2149,9 @@ class MachineCom(object): self._changeState(self.STATE_DETECT_SERIAL) port = self._detect_port() if port is None: - self._errorValue = 'Failed to autodetect serial port, please set it manually.' - self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "autodetect_port"}) - self._log("Failed to autodetect serial port, please set it manually.") + error_text = "Failed to autodetect serial port, please set it manually." + self._trigger_error(error_text, "autodetect_port") + self._log(error_text) return None # connect to regular serial port @@ -2186,9 +2181,7 @@ class MachineCom(object): serial_obj = factory(self, self._port, self._baudrate, settings().getFloat(["serial", "timeout", "connection"])) except: exception_string = get_exception_string() - self._errorValue = "Connection error, see Terminal tab" - self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "connection"}) + self._trigger_error("Connection error, see Terminal tab", "connection") error_message = "Unexpected error while connecting to serial port: %s %s (hook %s)" % (self._port, exception_string, name) self._log(error_message) @@ -2271,9 +2264,7 @@ class MachineCom(object): if not self._ignore_errors: if self._disconnect_on_errors: - self._errorValue = error_text - self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "firmware"}) + self._trigger_error(error_text, "firmware") elif self.isPrinting(): self.cancelPrint(firmware_error=error_text) self._clear_to_send.set() @@ -2284,6 +2275,13 @@ class MachineCom(object): # finally return the line return line + def _trigger_error(self, text, reason, close=True): + self._errorValue = text + self._changeState(self.STATE_ERROR) + eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": reason}) + if close: + self.close(is_error=True) + def _readline(self): if self._serial is None: return None @@ -2412,13 +2410,12 @@ class MachineCom(object): self._resendSwallowRepetitionsCounter = settings().getInt(["serial", "identicalResendsCountdown"]) if self._resendDelta > len(self._lastLines) or len(self._lastLines) == 0 or self._resendDelta < 0: - self._errorValue = "Printer requested line %d but no sufficient history is available, can't resend" % lineToResend - self._log(self._errorValue) - self._logger.warn(self._errorValue + ". Printer requested line {}, current line is {}, line history has {} entries.".format(lineToResend, self._currentLine, len(self._lastLines))) + error_text = "Printer requested line %d but no sufficient history is available, can't resend" % lineToResend + self._log(error_text) + self._logger.warn(error_text + ". Printer requested line {}, current line is {}, line history has {} entries.".format(lineToResend, self._currentLine, len(self._lastLines))) if self.isPrinting(): - # abort the print, there's nothing we can do to rescue it now - self._changeState(self.STATE_ERROR) - eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": "resend"}) + # abort the print & disconnect, there's nothing we can do to rescue it + self._trigger_error(error_text, "resend") else: # reset resend delta, we can't do anything about it self._resendDelta = None From c84f49e852670a9eeaa8251eab76541e1efc3b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 6 Mar 2018 14:49:30 +0100 Subject: [PATCH 23/82] Change presentation of serial error handling config A set of radio controls is less confusing than two distinct checkboxes. --- .../static/js/app/viewmodels/settings.js | 13 ++++++++----- .../dialogs/settings/serialconnection.jinja2 | 17 +++++++++-------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/settings.js b/src/octoprint/static/js/app/viewmodels/settings.js index 08e315943..96abb943f 100644 --- a/src/octoprint/static/js/app/viewmodels/settings.js +++ b/src/octoprint/static/js/app/viewmodels/settings.js @@ -162,8 +162,7 @@ $(function() { self.serial_longRunningCommands = ko.observable(undefined); self.serial_checksumRequiringCommands = ko.observable(undefined); self.serial_helloCommand = ko.observable(undefined); - self.serial_ignoreErrorsFromFirmware = ko.observable(undefined); - self.serial_disconnectOnErrors = ko.observable(undefined); + self.serial_serialErrorBehaviour = ko.observable(undefined); self.serial_triggerOkForM29 = ko.observable(undefined); self.serial_waitForStart = ko.observable(undefined); self.serial_sendChecksum = ko.observable("print"); @@ -694,8 +693,10 @@ $(function() { longRunningCommands: function() { return splitTextToArray(self.serial_longRunningCommands(), ",", true) }, checksumRequiringCommands: function() { return splitTextToArray(self.serial_checksumRequiringCommands(), ",", true) }, externalHeatupDetection: function() { return !self.serial_disableExternalHeatupDetection()}, - alwaysSendChecksum: function() { return self.serial_sendChecksum() == "always"}, - neverSendChecksum: function() { return self.serial_sendChecksum() == "never"} + alwaysSendChecksum: function() { return self.serial_sendChecksum() === "always"}, + neverSendChecksum: function() { return self.serial_sendChecksum() === "never"}, + ignoreErrorsFromFirmware: function() { return self.serial_serialErrorBehaviour() === "ignore"}, + disconnectOnErrors: function() { return self.serial_serialErrorBehaviour() === "disconnect" } }, scripts: { gcode: function() { @@ -812,7 +813,9 @@ $(function() { checksumRequiringCommands: function(value) { self.serial_checksumRequiringCommands(value.join(", "))}, externalHeatupDetection: function(value) { self.serial_disableExternalHeatupDetection(!value) }, alwaysSendChecksum: function(value) { if (value) { self.serial_sendChecksum("always")}}, - neverSendChecksum: function(value) { if (value) { self.serial_sendChecksum("never")}} + neverSendChecksum: function(value) { if (value) { self.serial_sendChecksum("never")}}, + ignoreErrorsFromFirmware: function(value) { if (value) {self.serial_serialErrorBehaviour("ignore")}}, + disconnectOnErrors: function(value) { if (value) {self.serial_serialErrorBehaviour("disconnect")}} }, terminalFilters: function(value) { self.terminalFilters($.extend(true, [], value)) }, temperature: { diff --git a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 index 355c8a023..39912dd89 100644 --- a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 +++ b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 @@ -318,16 +318,17 @@
{{ _('Error handling') }}
+
-
-
-
-
-
From 2abff3b589f5bfc6184ebf9601680180b0d1e5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 6 Mar 2018 15:05:25 +0100 Subject: [PATCH 24/82] Fix broken unit test --- tests/util/test_comm.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/util/test_comm.py b/tests/util/test_comm.py index 3ff2d9969..babeb202c 100644 --- a/tests/util/test_comm.py +++ b/tests/util/test_comm.py @@ -13,6 +13,7 @@ class TestCommErrorHandling(unittest.TestCase): # mocks self._comm._handle_errors = lambda *args, **kwargs: octoprint.util.comm.MachineCom._handle_errors(self._comm, *args, **kwargs) + self._comm._trigger_error = lambda *args, **kwargs: octoprint.util.comm.MachineCom._trigger_error(self._comm, *args, **kwargs) self._comm._recoverable_communication_errors = octoprint.util.comm.MachineCom._recoverable_communication_errors self._comm._resend_request_communication_errors = octoprint.util.comm.MachineCom._resend_request_communication_errors self._comm._sd_card_errors = octoprint.util.comm.MachineCom._sd_card_errors @@ -206,11 +207,13 @@ class TestCommErrorHandling(unittest.TestCase): def assert_disconnected(self): self.assertIsNotNone(self._comm._errorValue) - self._comm._changeState.assert_called_once() + self._comm._changeState.assert_called_with(self._comm.STATE_ERROR) + self._comm.close.assert_called_once_with(is_error=True) def assert_not_disconnected(self): self.assertIsNone(self._comm._errorValue) self._comm._changeState.assert_not_called() + self._comm.close.assert_not_called() def assert_print_cancelled(self): self._comm.cancelPrint.assert_called_once() From 6a3f1d28fb2381c5f6264bdfa6099211c2a68d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 6 Mar 2018 15:08:41 +0100 Subject: [PATCH 25/82] Reduce code duplication in error handling --- src/octoprint/util/comm.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index f47721679..765571573 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -2258,18 +2258,18 @@ class MachineCom(object): if ret: return line - error_text = line[6:] if lower_line.startswith("error:") else line[2:] - self._to_logfile_with_terminal(u"Received an error from the printer's firmware: {}".format(error_text), + self._to_logfile_with_terminal(u"Received an error from the printer's firmware: {}".format(stripped_error), level=logging.WARN) if not self._ignore_errors: if self._disconnect_on_errors: - self._trigger_error(error_text, "firmware") + self._trigger_error(stripped_error, "firmware") elif self.isPrinting(): - self.cancelPrint(firmware_error=error_text) + self.cancelPrint(firmware_error=stripped_error) self._clear_to_send.set() else: - self._log("WARNING! Received an error from the printer's firmware, ignoring that as configured but you might want to investigate what happened here! Error: {}".format(error_text)) + self._log("WARNING! Received an error from the printer's firmware, ignoring that as configured " + "but you might want to investigate what happened here! Error: {}".format(stripped_error)) self._clear_to_send.set() # finally return the line From fb6ff04013716b460252d63c95e95e75915ccc6c Mon Sep 17 00:00:00 2001 From: ntoff Date: Wed, 7 Mar 2018 22:04:09 +1000 Subject: [PATCH 26/82] Add a confirmation to disconnect while printing Fullfills a feature request: https://github.com/foosel/OctoPrint/issues/2287 Add a confirmation dialog if a user attempts to disconnect while a print is in progress --- .../static/js/app/viewmodels/connection.js | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/connection.js b/src/octoprint/static/js/app/viewmodels/connection.js index bfdf03bfb..2c8bf90b7 100644 --- a/src/octoprint/static/js/app/viewmodels/connection.js +++ b/src/octoprint/static/js/app/viewmodels/connection.js @@ -125,8 +125,24 @@ $(function() { self.settings.printerProfiles.requestData(); }); } else { - self.requestData(); - OctoPrint.connection.disconnect(); + if (!self.isPrinting() && !self.isPaused()) { + self.requestData(); + OctoPrint.connection.disconnect(); + } else { + showConfirmationDialog({ + title: gettext("Are you sure?"), + message: gettext("

You are about to disconnect from the printer while a print is in progress.

\ +

Disconnecting while a print is in progress will prevent OctoPrint from completing the print. If you're printing from an SD card attached directly to the printer, any attempt to restart OctoPrint or reconnect to the printer could interrupt the print.

"), + question: gettext("Are you sure you want to disconnect from the printer?"), + cancel: gettext("Stay Connected"), + proceed: gettext("Disconnect"), + onproceed: function() { + self.requestData(); + OctoPrint.connection.disconnect(); + } + }) + } + } }; From 283c44e35ee4d70d8be75199f16128b541cc1564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 13:23:35 +0100 Subject: [PATCH 27/82] Better logging of printer callback errors --- src/octoprint/printer/standard.py | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 0d0649783..5ad114b43 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -139,23 +139,31 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): def _sendAddTemperatureCallbacks(self, data): for callback in self._callbacks: - try: callback.on_printer_add_temperature(data) - except: self._logger.exception("Exception while adding temperature data point") + try: + callback.on_printer_add_temperature(data) + except: + self._logger.exception(u"Exception while adding temperature data point to callback {}".format(callback)) def _sendAddLogCallbacks(self, data): for callback in self._callbacks: - try: callback.on_printer_add_log(data) - except: self._logger.exception("Exception while adding communication log entry") + try: + callback.on_printer_add_log(data) + except: + self._logger.exception(u"Exception while adding communication log entry to callback {}".format(callback)) def _sendAddMessageCallbacks(self, data): for callback in self._callbacks: - try: callback.on_printer_add_message(data) - except: self._logger.exception("Exception while adding printer message") + try: + callback.on_printer_add_message(data) + except: + self._logger.exception(u"Exception while adding printer message to callback {}".format(callback)) def _sendCurrentDataCallbacks(self, data): for callback in self._callbacks: - try: callback.on_printer_send_current_data(copy.deepcopy(data)) - except: self._logger.exception("Exception while pushing current data") + try: + callback.on_printer_send_current_data(copy.deepcopy(data)) + except: + self._logger.exception(u"Exception while pushing current data to callback {}".format(callback)) #~~ callback from metadata analysis event From 3c8d2f2df5e271553c997d8d4512144d4c62517e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 13:46:24 +0100 Subject: [PATCH 28/82] Remove a blank line so @ntoff can sleep again Also reformatted the block of text a bit in code. --- src/octoprint/static/js/app/viewmodels/connection.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/connection.js b/src/octoprint/static/js/app/viewmodels/connection.js index 2c8bf90b7..aaf646d6e 100644 --- a/src/octoprint/static/js/app/viewmodels/connection.js +++ b/src/octoprint/static/js/app/viewmodels/connection.js @@ -131,8 +131,12 @@ $(function() { } else { showConfirmationDialog({ title: gettext("Are you sure?"), - message: gettext("

You are about to disconnect from the printer while a print is in progress.

\ -

Disconnecting while a print is in progress will prevent OctoPrint from completing the print. If you're printing from an SD card attached directly to the printer, any attempt to restart OctoPrint or reconnect to the printer could interrupt the print.

"), + message: gettext("

You are about to disconnect from the printer while a print " + + "is in progress.

" + + "

Disconnecting while a print is in progress will prevent OctoPrint from " + + "completing the print. If you're printing from an SD card attached directly " + + "to the printer, any attempt to restart OctoPrint or reconnect to the printer " + + "could interrupt the print.

"), question: gettext("Are you sure you want to disconnect from the printer?"), cancel: gettext("Stay Connected"), proceed: gettext("Disconnect"), @@ -142,7 +146,6 @@ $(function() { } }) } - } }; From 90aa5ed3d4684be0d0e59e54f1b697662b5b56ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 14:00:04 +0100 Subject: [PATCH 29/82] Custom json encoding for flask & sockjs That will allow us to support encoding non-built in types by simply adding them through octoprint.util.json.JsonEncoding.add_encoder --- src/octoprint/server/__init__.py | 4 +++- src/octoprint/server/util/flask.py | 8 ++++++++ src/octoprint/server/util/sockjs.py | 24 ++++++++++++++++++++++++ src/octoprint/util/json/__init__.py | 23 +++++++++++++++++++++++ 4 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 src/octoprint/util/json/__init__.py diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index ae624cf33..ede0b10cc 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -793,12 +793,14 @@ class Server(object): return Locale.parse(request.accept_languages.best_match(LANGUAGES)) def _setup_app(self, app): - from octoprint.server.util.flask import ReverseProxiedEnvironment, OctoPrintFlaskRequest, OctoPrintFlaskResponse + from octoprint.server.util.flask import ReverseProxiedEnvironment, OctoPrintFlaskRequest, OctoPrintFlaskResponse, OctoPrintJsonEncoder s = settings() app.debug = self._debug + app.json_encoder = OctoPrintJsonEncoder + secret_key = s.get(["server", "secretKey"]) if not secret_key: import string diff --git a/src/octoprint/server/util/flask.py b/src/octoprint/server/util/flask.py index 58dc8b448..4085e88aa 100644 --- a/src/octoprint/server/util/flask.py +++ b/src/octoprint/server/util/flask.py @@ -8,6 +8,7 @@ __copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms import tornado.web import flask +import flask.json import flask.ext.login import flask.ext.principal import flask.ext.assets @@ -29,6 +30,7 @@ import octoprint.users import octoprint.plugin from octoprint.util import DefaultOrderedDict +from octoprint.util.json import JsonEncoding from werkzeug.contrib.cache import BaseCache @@ -1399,3 +1401,9 @@ def collect_plugin_assets(enable_gcodeviewer=True, preferred_stylesheet="css"): break return assets + +##~~ JSON encoding + +class OctoPrintJsonEncoder(flask.json.JSONEncoder): + def default(self, obj): + return JsonEncoding.encode(obj) diff --git a/src/octoprint/server/util/sockjs.py b/src/octoprint/server/util/sockjs.py index bcd027a4b..dbd3e8600 100644 --- a/src/octoprint/server/util/sockjs.py +++ b/src/octoprint/server/util/sockjs.py @@ -9,6 +9,8 @@ import logging import threading import sockjs.tornado import sockjs.tornado.session +import sockjs.tornado.proto +import sockjs.tornado.util import time import octoprint.timelapse @@ -18,9 +20,13 @@ import octoprint.plugin from octoprint.events import Events from octoprint.settings import settings +from octoprint.util.json import JsonEncoding import octoprint.printer +import wrapt +import json + class ThreadSafeSession(sockjs.tornado.session.Session): def __init__(self, conn, server, session_id, expiry=None): @@ -50,8 +56,26 @@ class ThreadSafeSession(sockjs.tornado.session.Session): return result +class JsonEncodingSessionWrapper(wrapt.ObjectProxy): + + def send_message(self, msg, stats=True, binary=False): + """Send or queue outgoing message + + `msg` + Message to send + `stats` + If set to True, will update statistics after operation completes + """ + self.send_jsonified(json.dumps(sockjs.tornado.util.bytes_to_str(msg), + separators=(',', ':'), + default=JsonEncoding.encode), + stats) + + class PrinterStateConnection(sockjs.tornado.SockJSConnection, octoprint.printer.PrinterCallback): def __init__(self, printer, fileManager, analysisQueue, userManager, eventManager, pluginManager, session): + session = JsonEncodingSessionWrapper(session) + sockjs.tornado.SockJSConnection.__init__(self, session) self._logger = logging.getLogger(__name__) diff --git a/src/octoprint/util/json/__init__.py b/src/octoprint/util/json/__init__.py new file mode 100644 index 000000000..f8fb31a7f --- /dev/null +++ b/src/octoprint/util/json/__init__.py @@ -0,0 +1,23 @@ +# coding=utf-8 +from __future__ import absolute_import, division, print_function + +__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' +__copyright__ = "Copyright (C) 2018 The OctoPrint Project - Released under terms of the AGPLv3 License" + + +import collections + +class JsonEncoding(object): + + encoders = collections.OrderedDict() + + @classmethod + def add_encoder(cls, type, encoder): + cls.encoders[type] = encoder + + @classmethod + def encode(cls, obj): + for type, encoder in cls.encoders.items(): + if isinstance(obj, type): + return encoder(obj) + raise TypeError From 088b4a8059ecc172969971be1809b3e453f77f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 14:04:20 +0100 Subject: [PATCH 30/82] Use frozendict for printer state Attempt to narrow down on #1951. To be on the safe side, the use of frozendict here can be disabled by settings devel.useFrozenDictForPrinterState to False in the config. --- setup.py | 3 +- src/octoprint/printer/standard.py | 159 +++++++++++++--------------- src/octoprint/settings.py | 1 + src/octoprint/util/json/__init__.py | 3 + 4 files changed, 77 insertions(+), 89 deletions(-) diff --git a/setup.py b/setup.py index 12066905b..643e82b96 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,8 @@ INSTALL_REQUIRES = [ "wrapt>=1.10.10,<1.11", "futures>=3.1.1,<3.2", "emoji>=0.4.5,<0.5", - "monotonic>=1.3,<1.4" + "monotonic>=1.3,<1.4", + "frozendict>=1.2,<1.3" ] if sys.platform == "darwin": diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 5ad114b43..cf17870e9 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -17,6 +17,8 @@ import time from past.builtins import basestring +from frozendict import frozendict + from octoprint import util as util from octoprint.events import eventManager, Events from octoprint.filemanager import FileDestinations, NoSuchStorage, valid_file_type @@ -40,6 +42,8 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._logger = logging.getLogger(__name__) + self._dict = frozendict if settings().getBoolean(["devel", "useFrozenDictForPrinterState"]) else dict + self._analysisQueue = analysisQueue self._fileManager = fileManager self._printerProfileManager = printerProfileManager @@ -100,25 +104,23 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): on_get_progress=self._updateProgressDataCallback ) self._stateMonitor.reset( - state={"text": self.get_state_string(), "flags": self._getStateFlags()}, - job_data={ - "file": { - "name": None, - "path": None, - "size": None, - "origin": None, - "date": None - }, - "estimatedPrintTime": None, - "lastPrintTime": None, - "filament": { - "length": None, - "volume": None - } - }, - progress={"completion": None, "filepos": None, "printTime": None, "printTimeLeft": None}, + state=self._dict(text=self.get_state_string(), flags=self._getStateFlags()), + job_data=self._dict(file=self._dict(name=None, + path=None, + size=None, + origin=None, + date=None), + estimatedPrintTime=None, + lastPrintTime=None, + filament=self._dict(length=None, + volume=None)), + progress=self._dict(completion=None, + filepos=None, + printTime=None, + printTimeLeft=None, + printTimeOrigin=None), current_z=None, - offsets=dict() + offsets=self._dict() ) eventManager().subscribe(Events.METADATA_ANALYSIS_FINISHED, self._on_event_MetadataAnalysisFinished) @@ -682,7 +684,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): state_string = self.get_state_string() self._state = state - self._stateMonitor.set_state({"text": state_string, "flags": self._getStateFlags()}) + self._stateMonitor.set_state(self._dict(text=state_string, flags=self._getStateFlags())) payload = dict( state_id=self.get_state_id(self._state), @@ -712,11 +714,12 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): return result - def _updateProgressData(self, completion=None, filepos=None, printTime=None, printTimeLeft=None): - self._stateMonitor.set_progress(dict(completion=int(completion * 100) if completion is not None else None, - filepos=filepos, - printTime=int(printTime) if printTime is not None else None, - printTimeLeft=int(printTimeLeft) if printTimeLeft is not None else None)) + def _updateProgressData(self, completion=None, filepos=None, printTime=None, printTimeLeft=None, printTimeLeftOrigin=None): + self._stateMonitor.set_progress(self._dict(completion=int(completion * 100) if completion is not None else None, + filepos=filepos, + printTime=int(printTime) if printTime is not None else None, + printTimeLeft=int(printTimeLeft) if printTimeLeft is not None else None, + printTimeLeftOrigin=printTimeLeftOrigin)) def _updateProgressDataCallback(self): if self._comm is None: @@ -746,11 +749,11 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._lastProgressReport = progress_int self._reportPrintProgressToPlugins(progress_int) - return dict(completion=progress * 100 if progress is not None else None, - filepos=filepos, - printTime=int(printTime) if printTime is not None else None, - printTimeLeft=int(printTimeLeft) if printTimeLeft is not None else None, - printTimeLeftOrigin=printTimeLeftOrigin) + return self._dict(completion=progress * 100 if progress is not None else None, + filepos=filepos, + printTime=int(printTime) if printTime is not None else None, + printTimeLeft=int(printTimeLeft) if printTimeLeft is not None else None, + printTimeLeftOrigin=printTimeLeftOrigin) def _estimatePrintTimeLeft(self, progress, printTime, cleanedPrintTime, statisticalTotalPrintTime, statisticalTotalPrintTimeType): """ @@ -872,28 +875,18 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): if tools is None: tools = dict() - currentTimeUtc = int(time.time()) - - data = { - "time": currentTimeUtc - } + data = dict(time=int(time.time())) for tool in tools.keys(): - data["tool%d" % tool] = { - "actual": tools[tool][0], - "target": tools[tool][1] - } + data["tool%d" % tool] = self._dict(actual=tools[tool][0], target=tools[tool][1]) if bed is not None and isinstance(bed, tuple): - data["bed"] = { - "actual": bed[0], - "target": bed[1] - } + data["bed"] = self._dict(actual=bed[0], target=bed[1]) self._temps.append(data) self._temp = tools self._bedTemp = bed - self._stateMonitor.add_temperature(data) + self._stateMonitor.add_temperature(self._dict(**data)) def _validateJob(self, filename, sd): if not valid_file_type(filename, type="machinecode"): @@ -929,20 +922,16 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): } else: self._selectedFile = None - self._stateMonitor.set_job_data({ - "file": { - "name": None, - "path": None, - "display": None, - "origin": None, - "size": None, - "date": None - }, - "estimatedPrintTime": None, - "averagePrintTime": None, - "lastPrintTime": None, - "filament": None, - }) + self._stateMonitor.set_job_data(self._dict(file=self._dict(name=None, + path=None, + display=None, + origin=None, + size=None, + date=None), + estimatedPrintTime=None, + averagePrintTime=None, + lastPrintTime=None, + filament=None)) return estimatedPrintTime = None @@ -984,20 +973,16 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._selectedFile["estimatedPrintTime"] = estimatedPrintTime self._selectedFile["estimatedPrintTimeType"] = "analysis" - self._stateMonitor.set_job_data({ - "file": { - "name": name_in_storage, - "path": path_in_storage, - "display": display_name, - "origin": FileDestinations.SDCARD if sd else FileDestinations.LOCAL, - "size": filesize, - "date": date - }, - "estimatedPrintTime": estimatedPrintTime, - "averagePrintTime": averagePrintTime, - "lastPrintTime": lastPrintTime, - "filament": filament, - }) + self._stateMonitor.set_job_data(self._dict(file=self._dict(name=name_in_storage, + path=path_in_storage, + display=display_name, + origin=FileDestinations.SDCARD if sd else FileDestinations.LOCAL, + size=filesize, + date=date), + estimatedPrintTime=estimatedPrintTime, + averagePrintTime=averagePrintTime, + lastPrintTime=lastPrintTime, + filament=filament)) def _sendInitialStateUpdate(self, callback): try: @@ -1012,17 +997,15 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._logger.exception("Error while trying to send initial state update") def _getStateFlags(self): - return { - "operational": self.is_operational(), - "printing": self.is_printing(), - "cancelling": self.is_cancelling(), - "pausing": self.is_pausing(), - "closedOrError": self.is_closed_or_error(), - "error": self.is_error(), - "paused": self.is_paused(), - "ready": self.is_ready(), - "sdReady": self.is_sd_ready() - } + return self._dict(operational=self.is_operational(), + printing=self.is_printing(), + cancelling=self.is_cancelling(), + pausing=self.is_pausing(), + closedOrError=self.is_closed_or_error(), + error=self.is_error(), + paused=self.is_paused(), + ready=self.is_ready(), + sdReady=self.is_sd_ready()) #~~ comm.MachineComPrintCallback implementation @@ -1112,7 +1095,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._setCurrentZ(newZ) def on_comm_sd_state_change(self, sdReady): - self._stateMonitor.set_state({"text": self.get_state_string(), "flags": self._getStateFlags()}) + self._stateMonitor.set_state(self._dict(text=self.get_state_string(), flags=self._getStateFlags())) def on_comm_sd_files(self, files): eventManager().fire(Events.UPDATED_FILES, {"type": "gcode"}) @@ -1127,7 +1110,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): eventManager().fire(Events.FILE_DESELECTED) self._setJobData(full_path, size, sd) - self._stateMonitor.set_state({"text": self.get_state_string(), "flags": self._getStateFlags()}) + self._stateMonitor.set_state(self._dict(text=self.get_state_string(), flags=self._getStateFlags())) if self._printAfterSelect: self._printAfterSelect = False @@ -1151,7 +1134,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): filepos=payload["size"], printTime=payload["time"], printTimeLeft=0) - self._stateMonitor.set_state({"text": self.get_state_string(), "flags": self._getStateFlags()}) + self._stateMonitor.set_state(self._dict(text=self.get_state_string(), flags=self._getStateFlags())) eventManager().fire(Events.PRINT_DONE, payload) self.script("afterPrintDone", @@ -1172,7 +1155,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): else: self._updateProgressData() - self._stateMonitor.set_state({"text": self.get_state_string(), "flags": self._getStateFlags()}) + self._stateMonitor.set_state(self._dict(text=self.get_state_string(), flags=self._getStateFlags())) def on_comm_print_job_failed(self): @@ -1233,7 +1216,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._setJobData(filename, filesize, True) self._updateProgressData(completion=0.0, filepos=0, printTime=0) - self._stateMonitor.set_state({"text": self.get_state_string(), "flags": self._getStateFlags()}) + self._stateMonitor.set_state(self._dict(text=self.get_state_string(), flags=self._getStateFlags())) def on_comm_file_transfer_done(self, filename, failed=False): self._sdStreaming = False @@ -1250,7 +1233,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._setCurrentZ(None) self._setJobData(None, None, None) self._updateProgressData() - self._stateMonitor.set_state({"text": self.get_state_string(), "flags": self._getStateFlags()}) + self._stateMonitor.set_state(self._dict(text=self.get_state_string(), flags=self._getStateFlags())) def on_comm_file_transfer_failed(self, filename): self.on_comm_file_transfer_done(filename, failed=True) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 6ed1d1bb7..ca497ec59 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -363,6 +363,7 @@ default_settings = { "bundle": True, "clean_on_startup": True }, + "useFrozenDictForPrinterState": True, "virtualPrinter": { "enabled": False, "okAfterResend": False, diff --git a/src/octoprint/util/json/__init__.py b/src/octoprint/util/json/__init__.py index f8fb31a7f..7d0621b11 100644 --- a/src/octoprint/util/json/__init__.py +++ b/src/octoprint/util/json/__init__.py @@ -6,6 +6,7 @@ __copyright__ = "Copyright (C) 2018 The OctoPrint Project - Released under terms import collections +import frozendict class JsonEncoding(object): @@ -21,3 +22,5 @@ class JsonEncoding(object): if isinstance(obj, type): return encoder(obj) raise TypeError + +JsonEncoding.add_encoder(frozendict.frozendict, lambda obj: dict(obj)) From eada72a4d9fef3082ea5ae3a4642b9f83b371ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 14:05:10 +0100 Subject: [PATCH 31/82] Add __str__ for sockjs connection --- src/octoprint/server/util/sockjs.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/octoprint/server/util/sockjs.py b/src/octoprint/server/util/sockjs.py index dbd3e8600..07783ffd3 100644 --- a/src/octoprint/server/util/sockjs.py +++ b/src/octoprint/server/util/sockjs.py @@ -106,6 +106,12 @@ class PrinterStateConnection(sockjs.tornado.SockJSConnection, octoprint.printer. return forwardedFor.split(",")[0] return info.ip + def __str__(self): + if self._remoteAddress: + return "{!r} connected to {}".format(self, self._remoteAddress) + else: + return "Unconnected {!r}".format(self) + def on_open(self, info): self._remoteAddress = self._getRemoteAddress(info) self._logger.info("New connection from client: %s" % self._remoteAddress) @@ -156,7 +162,6 @@ class PrinterStateConnection(sockjs.tornado.SockJSConnection, octoprint.printer. self._emit("event", {"type": Events.MOVIE_RENDERING, "payload": octoprint.timelapse.current_render_job}) def on_close(self): - self._logger.info("Client connection closed: %s" % self._remoteAddress) self._printer.unregister_callback(self) self._fileManager.unregister_slicingprogress_callback(self) octoprint.timelapse.unregister_callback(self) @@ -166,6 +171,9 @@ class PrinterStateConnection(sockjs.tornado.SockJSConnection, octoprint.printer. for event in octoprint.events.all_events(): self._eventManager.unsubscribe(event, self._onEvent) + self._logger.info("Client connection closed: %s" % self._remoteAddress) + self._remoteAddress = None + def on_message(self, message): try: import json From bab4782b8c04447bbcb309b4c71ce619a75e4403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 14:09:55 +0100 Subject: [PATCH 32/82] Log comm states to application log Should allow to better debug some things in the future --- src/octoprint/util/comm.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 765571573..c0100b0a9 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -554,7 +554,10 @@ class MachineCom(object): oldState = self.getStateString() self._state = newState - self._log('Changing monitoring state from \'%s\' to \'%s\'' % (oldState, self.getStateString())) + + text = "Changing monitoring state from \"{}\" to \"{}\"".format(oldState, self.getStateString()) + self._log(text) + self._logger.info(text) self._callback.on_comm_state_change(newState) def _dual_log(self, message, level=logging.ERROR): From 52167298342accb6f4284e88473ca64619ee6842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 14:24:38 +0100 Subject: [PATCH 33/82] Add a regular server heartbeat to the log --- src/octoprint/server/__init__.py | 13 +++++++++++++ src/octoprint/settings.py | 1 + 2 files changed, 14 insertions(+) diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index ede0b10cc..9f37e2edf 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -218,6 +218,7 @@ class Server(object): safe_mode = self._safe_mode self._logger = logging.getLogger(__name__) + self._setup_heartbeat_logging() pluginManager = self._plugin_manager # monkey patch a bunch of stuff @@ -792,6 +793,18 @@ class Server(object): return Locale.parse(request.accept_languages.best_match(LANGUAGES)) + def _setup_heartbeat_logging(self): + logger = logging.getLogger(__name__ + ".heartbeat") + + def log_heartbeat(): + logger.info("Server heartbeat <3") + + interval = settings().getFloat(["server", "heartbeat"]) + logger.info("Starting server heartbeat, {}s interval".format(interval)) + + timer = octoprint.util.RepeatedTimer(interval, log_heartbeat) + timer.start() + def _setup_app(self, app): from octoprint.server.util.flask import ReverseProxiedEnvironment, OctoPrintFlaskRequest, OctoPrintFlaskResponse, OctoPrintJsonEncoder diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index ca497ec59..2b29b9348 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -150,6 +150,7 @@ default_settings = { "startOnceInSafeMode": False, "seenWizards": {}, "secretKey": None, + "heartbeat": 15 * 60, # 15 min "reverseProxy": { "prefixHeader": None, "schemeHeader": None, From f1401d3f1ecf5e7edb2bf4f425f1054278589d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 14:33:33 +0100 Subject: [PATCH 34/82] Gcode viewer: Don't hiccup on GCODE subcodes Implements #2378 --- src/octoprint/static/gcodeviewer/js/Worker.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/octoprint/static/gcodeviewer/js/Worker.js b/src/octoprint/static/gcodeviewer/js/Worker.js index 6afb77d77..f5c0f4224 100644 --- a/src/octoprint/static/gcodeviewer/js/Worker.js +++ b/src/octoprint/static/gcodeviewer/js/Worker.js @@ -335,7 +335,7 @@ var doParse = function () { var log = false; - if (/^(?:G0|G1|G2|G3)\s/i.test(line)) { + if (/^(?:G0|G1|G2|G3)(\.\d+)?\s/i.test(line)) { args = line.split(/\s/); for (j = 0; j < args.length; j++) { @@ -426,25 +426,25 @@ var doParse = function () { addToModel = true; move = true; } - } else if (/^(?:M82)/i.test(line)) { + } else if (/^(?:M82)(\.\d+)?/i.test(line)) { relativeE = false; - } else if (/^(?:G91)/i.test(line)) { + } else if (/^(?:G91)(\.\d+)?/i.test(line)) { relativeMode = true; if (g90InfluencesExtruder) { relativeE = true; } - } else if (/^(?:G90)/i.test(line)) { + } else if (/^(?:G90)(\.\d+)?/i.test(line)) { relativeMode = false; if (g90InfluencesExtruder) { relativeE = false; } - } else if (/^(?:M83)/i.test(line)) { + } else if (/^(?:M83)(\.\d+)?/i.test(line)) { relativeE = true; - } else if (/^(?:M101)/i.test(line)) { + } else if (/^(?:M101)(\.\d+)?/i.test(line)) { dcExtrude = true; - } else if (/^(?:M103)/i.test(line)) { + } else if (/^(?:M103)(\.\d+)?/i.test(line)) { dcExtrude = false; - } else if (/^(?:G92)/i.test(line)) { + } else if (/^(?:G92)(\.\d+)?/i.test(line)) { args = line.split(/\s/); for (j = 0; j < args.length; j++) { @@ -494,7 +494,7 @@ var doParse = function () { move = false; } - } else if (/^(?:G28)/i.test(line)) { + } else if (/^(?:G28)(\.\d+)?/i.test(line)) { args = line.split(/\s/); if (args.length === 1) { From 1f9c9bed42ddef19b4fa515870a3fe2e8213e323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 14:56:10 +0100 Subject: [PATCH 35/82] Timelapse: Remove post roll capturing from timed timelapses As discussed in #2317 this option was confusing and frustrating too many people. Instead of an actual capture we'll now just do the same as for z-based timelapses and use the last image repeatedly. No, using the live webstream and capturing real time image is NOT an option and not going to happen here, see the discussion in #2317 on this as well. --- src/octoprint/server/api/timelapse.py | 11 +---- .../static/js/app/viewmodels/timelapse.js | 12 ------ src/octoprint/templates/tabs/timelapse.jinja2 | 11 +---- src/octoprint/timelapse.py | 43 +++---------------- 4 files changed, 7 insertions(+), 70 deletions(-) diff --git a/src/octoprint/server/api/timelapse.py b/src/octoprint/server/api/timelapse.py index 2c5af7336..2c54a5c86 100644 --- a/src/octoprint/server/api/timelapse.py +++ b/src/octoprint/server/api/timelapse.py @@ -43,8 +43,7 @@ def _config_for_timelapse(timelapse): return dict(type="timed", postRoll=timelapse.post_roll, fps=timelapse.fps, - interval=timelapse.interval, - capturePostRoll=timelapse.capture_post_roll) + interval=timelapse.interval) else: return dict(type="off") @@ -216,14 +215,6 @@ def setTimelapseConfig(): else: return make_response("Invalid value for interval: %d" % interval, 400) - if "capturePostRoll" in data: - try: - capturePostRoll = bool(data["capturePostRoll"]) - except ValueError: - return make_response("Invalid value for capturePostRoll: %r" % data["capturePostRoll"], 400) - else: - config["options"]["capturePostRoll"] = capturePostRoll - if "retractionZHop" in data: try: retractionZHop = float(data["retractionZHop"]) diff --git a/src/octoprint/static/js/app/viewmodels/timelapse.js b/src/octoprint/static/js/app/viewmodels/timelapse.js index 5599f7f12..74c1bf22f 100644 --- a/src/octoprint/static/js/app/viewmodels/timelapse.js +++ b/src/octoprint/static/js/app/viewmodels/timelapse.js @@ -11,7 +11,6 @@ $(function() { self.defaultInterval = 10; self.defaultRetractionZHop = 0; self.defaultMinDelay = 5.0; - self.defaultCapturePostRoll = true; self.timelapseType = ko.observable(undefined); self.timelapseTimedInterval = ko.observable(self.defaultInterval); @@ -19,7 +18,6 @@ $(function() { self.timelapseFps = ko.observable(self.defaultFps); self.timelapseRetractionZHop = ko.observable(self.defaultRetractionZHop); self.timelapseMinDelay = ko.observable(self.defaultMinDelay); - self.timelapseCapturePostRoll = ko.observable(self.defaultCapturePostRoll); self.serverConfig = ko.observable(); @@ -76,9 +74,6 @@ $(function() { self.timelapseMinDelay.subscribe(function() { self.isDirty(true); }); - self.timelapseCapturePostRoll.subscribe(function() { - self.isDirty(true); - }); self.persist.subscribe(function() { self.isDirty(true); }); @@ -176,12 +171,6 @@ $(function() { self.timelapseTimedInterval(self.defaultInterval); } - if (config.type === "timed" && config.capturePostRoll !== undefined){ - self.timelapseCapturePostRoll(config.capturePostRoll); - } else { - self.timelapseCapturePostRoll(self.defaultCapturePostRoll); - } - if (config.type === "zchange" && config.retractionZHop !== undefined && config.retractionZHop > 0) { self.timelapseRetractionZHop(config.retractionZHop); } else { @@ -386,7 +375,6 @@ $(function() { if (self.timelapseType() === "timed") { payload["interval"] = self.timelapseTimedInterval(); - payload["capturePostRoll"] = self.timelapseCapturePostRoll(); } if (self.timelapseType() === "zchange") { diff --git a/src/octoprint/templates/tabs/timelapse.jinja2 b/src/octoprint/templates/tabs/timelapse.jinja2 index 3c2cbf495..c47778de5 100644 --- a/src/octoprint/templates/tabs/timelapse.jinja2 +++ b/src/octoprint/templates/tabs/timelapse.jinja2 @@ -56,16 +56,7 @@ {{ _('sec') }} - {{ _('OctoPrint will take additional pictures to add this many seconds to the end of your rendered timelapse.') }} - - - -

-
- + {{ _('OctoPrint will use the final picture to add this many seconds to the end of your rendered timelapse.') }}
diff --git a/src/octoprint/timelapse.py b/src/octoprint/timelapse.py index e8ae50c3f..8ecd40fb2 100644 --- a/src/octoprint/timelapse.py +++ b/src/octoprint/timelapse.py @@ -333,11 +333,7 @@ def configure_timelapse(config=None, persist=False): if "options" in config and "interval" in config["options"] and config["options"]["interval"] > 0: interval = config["options"]["interval"] - capture_post_roll = True - if "options" in config and "capturePostRoll" in config["options"] and isinstance(config["options"]["capturePostRoll"], bool): - capture_post_roll = config["options"]["capturePostRoll"] - - current = TimedTimelapse(post_roll=postRoll, interval=interval, fps=fps, capture_post_roll=capture_post_roll) + current = TimedTimelapse(post_roll=postRoll, interval=interval, fps=fps) notify_callbacks(current) @@ -685,13 +681,11 @@ class ZTimelapse(Timelapse): class TimedTimelapse(Timelapse): - def __init__(self, interval=1, capture_post_roll=True, post_roll=0, fps=25): + def __init__(self, interval=1, post_roll=0, fps=25): Timelapse.__init__(self, post_roll=post_roll, fps=fps) self._interval = interval if self._interval < 1: self._interval = 1 # force minimum interval of 1s - self._capture_post_roll = capture_post_roll - self._postroll_captures = 0 self._timer = None self._logger.debug("TimedTimelapse initialized") @@ -699,16 +693,11 @@ class TimedTimelapse(Timelapse): def interval(self): return self._interval - @property - def capture_post_roll(self): - return self._capture_post_roll - def config_data(self): return { "type": "timed", "options": { - "interval": self._interval, - "capture_post_roll": self._capture_post_roll + "interval": self._interval } } @@ -724,40 +713,18 @@ class TimedTimelapse(Timelapse): on_finish=self._on_timer_finished) self._timer.start() - def on_print_done(self, event, payload): - if self._capture_post_roll: - self._postroll_captures = self._post_roll * self._fps - else: - self._postroll_captures = 0 - Timelapse.on_print_done(self, event, payload) - - def calculate_post_roll(self): - if self._capture_post_roll: - return self._post_roll * self._fps * self._interval - else: - return Timelapse.calculate_post_roll(self) - def process_post_roll(self): - if self._capture_post_roll: - return - - # we only use the final image as post roll if we - # are not supposed to capture it + # we only use the final image as post roll self._copying_postroll() self.post_roll_finished() def _timer_active(self): - return self._in_timelapse or self._postroll_captures > 0 + return self._in_timelapse def _timer_task(self): self.capture_image() - if self._postroll_captures > 0: - self._postroll_captures -= 1 def _on_timer_finished(self): - if self._capture_post_roll: - self.post_roll_finished() - # timer is done, delete it self._timer = None From 3fcd5adfbd264b28f985c7cfd9d5b0792199ddaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 15:20:46 +0100 Subject: [PATCH 36/82] Timelapse: Add snapshot imeout & SSL validation settings Implements #2455 & #2362 --- docs/api/util.rst | 2 ++ src/octoprint/server/api/__init__.py | 6 +++++- src/octoprint/server/api/settings.py | 4 ++++ src/octoprint/settings.py | 2 ++ src/octoprint/static/js/app/viewmodels/settings.js | 9 ++++++++- src/octoprint/templates/dialogs/settings/webcam.jinja2 | 2 ++ .../settings/webcam/webcamSnapshotSslValidation.jinja2 | 7 +++++++ .../settings/webcam/webcamSnapshotTimeout.jinja2 | 9 +++++++++ src/octoprint/timelapse.py | 7 ++++++- 9 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 src/octoprint/templates/snippets/settings/webcam/webcamSnapshotSslValidation.jinja2 create mode 100644 src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2 diff --git a/docs/api/util.rst b/docs/api/util.rst index 1ee12ff22..e01664d20 100644 --- a/docs/api/util.rst +++ b/docs/api/util.rst @@ -45,6 +45,8 @@ Test paths or URLs * ``method``: The request method to use for the test. Optional, defaults to ``HEAD``. * ``timeout``: A timeout for the request, in seconds. If no reply from the tested URL has been received within this time frame, the check will be considered a failure. Optional, defaults to 3 seconds. + * ``validSsl``: Whether to validate the SSL connection if the ``url`` happens to be an HTTPS URL or not. Optional, + defaults to ``True``. * ``status``: The status code(s) or named status range(s) to test for. Can be either a single value or a list of either HTTP status codes or any of the following named status ranges: diff --git a/src/octoprint/server/api/__init__.py b/src/octoprint/server/api/__init__.py index ea042e3a2..ed9c164fe 100644 --- a/src/octoprint/server/api/__init__.py +++ b/src/octoprint/server/api/__init__.py @@ -337,6 +337,7 @@ def utilTestPath(): url = data["url"] method = data.get("method", "HEAD") timeout = 3.0 + valid_ssl = True check_status = [status_ranges["normal"]] if "timeout" in data: @@ -345,6 +346,9 @@ def utilTestPath(): except: return make_response("{!r} is not a valid value for timeout (must be int or float)".format(data["timeout"]), 400) + if "validSsl" in data: + valid_ssl = data["validSsl"] in valid_boolean_trues + if "status" in data: request_status = data["status"] if not isinstance(request_status, list): @@ -363,7 +367,7 @@ def utilTestPath(): check_status.append([code]) try: - response = requests.request(method=method, url=url, timeout=timeout) + response = requests.request(method=method, url=url, timeout=timeout, verify=valid_ssl) status = response.status_code except: status = 0 diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index ff578813a..c7023f8c7 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -101,6 +101,8 @@ def getSettings(): "streamRatio": s.get(["webcam", "streamRatio"]), "streamTimeout": s.getInt(["webcam", "streamTimeout"]), "snapshotUrl": s.get(["webcam", "snapshot"]), + "snapshotTimeout": s.getInt(["webcam", "snapshotTimeout"]), + "snapshotSslValidation": s.getBoolean(["webcam", "snapshotSslValidation"]), "ffmpegPath": s.get(["webcam", "ffmpeg"]), "bitrate": s.get(["webcam", "bitrate"]), "ffmpegThreads": s.get(["webcam", "ffmpegThreads"]), @@ -332,6 +334,8 @@ def _saveSettings(data): if "streamRatio" in data["webcam"] and data["webcam"]["streamRatio"] in ("16:9", "4:3"): s.set(["webcam", "streamRatio"], data["webcam"]["streamRatio"]) if "streamTimeout" in data["webcam"]: s.setInt(["webcam", "streamTimeout"], data["webcam"]["streamTimeout"]) if "snapshotUrl" in data["webcam"]: s.set(["webcam", "snapshot"], data["webcam"]["snapshotUrl"]) + if "snapshotTimeout" in data["webcam"]: s.setInt(["webcam", "snapshotTimeout"], data["webcam"]["snapshotTimeout"]) + if "snapshotSslValidation" in data["webcam"]: s.setBoolean(["webcam", "snapshotSslValidation"], data["webcam"]["snapshotSslValidation"]) if "ffmpegPath" in data["webcam"]: s.set(["webcam", "ffmpeg"], data["webcam"]["ffmpegPath"]) if "bitrate" in data["webcam"]: s.set(["webcam", "bitrate"], data["webcam"]["bitrate"]) if "ffmpegThreads" in data["webcam"]: s.setInt(["webcam", "ffmpegThreads"], data["webcam"]["ffmpegThreads"]) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 2b29b9348..83e60498c 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -199,6 +199,8 @@ default_settings = { "streamRatio": "16:9", "streamTimeout": 5, "snapshot": None, + "snapshotTimeout": 5, + "snapshotSslValidation": True, "ffmpeg": None, "ffmpegThreads": 1, "bitrate": "5000k", diff --git a/src/octoprint/static/js/app/viewmodels/settings.js b/src/octoprint/static/js/app/viewmodels/settings.js index 96abb943f..86a9ce019 100644 --- a/src/octoprint/static/js/app/viewmodels/settings.js +++ b/src/octoprint/static/js/app/viewmodels/settings.js @@ -120,6 +120,8 @@ $(function() { self.webcam_streamRatio = ko.observable(undefined); self.webcam_streamTimeout = ko.observable(undefined); self.webcam_snapshotUrl = ko.observable(undefined); + self.webcam_snapshotTimeout = ko.observable(undefined); + self.webcam_snapshotSslValidation = ko.observable(undefined); self.webcam_ffmpegPath = ko.observable(undefined); self.webcam_bitrate = ko.observable(undefined); self.webcam_ffmpegThreads = ko.observable(undefined); @@ -322,7 +324,12 @@ $(function() { var errorTitle = gettext("Snapshot test failed"); self.testWebcamSnapshotUrlBusy(true); - OctoPrint.util.testUrl(self.webcam_snapshotUrl(), {method: "GET", response: "bytes"}) + OctoPrint.util.testUrl(self.webcam_snapshotUrl(), { + method: "GET", + response: "bytes", + timeout: self.webcam_snapshotTimeout(), + validSsl: self.webcam_snapshotSslValidation() + }) .done(function(response) { if (!response.result) { showMessageDialog({ diff --git a/src/octoprint/templates/dialogs/settings/webcam.jinja2 b/src/octoprint/templates/dialogs/settings/webcam.jinja2 index 60a846c90..7a1330edc 100644 --- a/src/octoprint/templates/dialogs/settings/webcam.jinja2 +++ b/src/octoprint/templates/dialogs/settings/webcam.jinja2 @@ -24,6 +24,8 @@
{% include "snippets/settings/webcam/ffmpegBitrate.jinja2" %} {% include "snippets/settings/webcam/ffmpegThreads.jinja2" %} + {% include "snippets/settings/webcam/webcamSnapshotTimeout.jinja2" %} + {% include "snippets/settings/webcam/webcamSnapshotSslValidation.jinja2" %}
diff --git a/src/octoprint/templates/snippets/settings/webcam/webcamSnapshotSslValidation.jinja2 b/src/octoprint/templates/snippets/settings/webcam/webcamSnapshotSslValidation.jinja2 new file mode 100644 index 000000000..c3a425628 --- /dev/null +++ b/src/octoprint/templates/snippets/settings/webcam/webcamSnapshotSslValidation.jinja2 @@ -0,0 +1,7 @@ +
+
+ +
+
diff --git a/src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2 b/src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2 new file mode 100644 index 000000000..8f6e35c40 --- /dev/null +++ b/src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2 @@ -0,0 +1,9 @@ +
+ +
+
+ + sec +
+
+
diff --git a/src/octoprint/timelapse.py b/src/octoprint/timelapse.py index 8ecd40fb2..d18fb2d9a 100644 --- a/src/octoprint/timelapse.py +++ b/src/octoprint/timelapse.py @@ -363,6 +363,8 @@ class Timelapse(object): self._capture_dir = settings().getBaseFolder("timelapse_tmp") self._movie_dir = settings().getBaseFolder("timelapse") self._snapshot_url = settings().get(["webcam", "snapshot"]) + self._snapshot_timeout = settings().getInt(["webcam", "snapshotTimeout"]) + self._snapshot_validate_ssl = settings().getBoolean(["webcam", "snapshotSslValidation"]) self._fps = fps @@ -578,7 +580,10 @@ class Timelapse(object): eventManager().fire(Events.CAPTURE_START, dict(file=filename)) try: self._logger.debug("Going to capture {} from {}".format(filename, self._snapshot_url)) - r = requests.get(self._snapshot_url, stream=True, timeout=5) + r = requests.get(self._snapshot_url, + stream=True, + timeout=self._snapshot_timeout, + verify=self._snapshot_validate_ssl) r.raise_for_status() with open (filename, "wb") as f: From 88b622e28291f1ee11a1433dbaef1dbd405e03f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 15:37:16 +0100 Subject: [PATCH 37/82] customClass => additionalClasses --- docs/features/custom_controls.rst | 4 ++++ src/octoprint/static/js/app/viewmodels/control.js | 4 ++++ src/octoprint/templates/tabs/control.jinja2 | 7 +------ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/features/custom_controls.rst b/docs/features/custom_controls.rst index a953617e9..f130596c1 100644 --- a/docs/features/custom_controls.rst +++ b/docs/features/custom_controls.rst @@ -166,6 +166,10 @@ Controls clicked. This allows to override the direct sending of the command or commands to the printer with more sophisticated behaviour. The JavaScript snippet is ``eval``'d and processed in a context where the control it is part of is provided as local variable ``data`` and the ``ControlViewModel`` is available as ``self``. + * - ``additionalClasses`` + - (Optional) Additional classes to apply to the button of a ``command``, ``commands``, ``script`` or ``javascript`` + control, other than the default ``btn``. Can be used to visually style the button, e.g. set to ``btn-danger`` to + turn the button red. * - ``enabled`` - (Optional) A JavaScript snippet returning either ``true`` or ``false`` determining whether the control should be enabled or not. This allow to override the default logic for this (disabled if printer is offline diff --git a/src/octoprint/static/js/app/viewmodels/control.js b/src/octoprint/static/js/app/viewmodels/control.js index 0f38329de..072205414 100644 --- a/src/octoprint/static/js/app/viewmodels/control.js +++ b/src/octoprint/static/js/app/viewmodels/control.js @@ -226,6 +226,10 @@ $(function() { } } + if (control.hasOwnProperty("command") && !control.hasOwnProperty("additionalClasses")) { + control.additionalClasses = ""; + } + control.processed = true; return control; }; diff --git a/src/octoprint/templates/tabs/control.jinja2 b/src/octoprint/templates/tabs/control.jinja2 index 0cf7e741f..14b672508 100644 --- a/src/octoprint/templates/tabs/control.jinja2 +++ b/src/octoprint/templates/tabs/control.jinja2 @@ -173,11 +173,6 @@ From e0f8ae898686bb226e16df5f0dae53c5bb83c18a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 27 Feb 2018 09:46:46 +0100 Subject: [PATCH 38/82] "SD printing byte 0/0" means we ain't printing Newer versions of Marlin apparently now report it like that instead of returning "Not SD printing". --- src/octoprint/util/comm.py | 48 ++++++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index c0100b0a9..da961db02 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -951,10 +951,10 @@ class MachineCom(object): self.sendCommand("M23 {filename}".format(filename=self._currentFile.getFilename()), tags=tags | {"trigger:comm.start_print",}) if pos is not None and isinstance(pos, int) and pos > 0: - self._currentFile.setFilepos(pos) + self._currentFile.pos = pos self.sendCommand("M26 S{}".format(pos), tags=tags | {"trigger:comm.start_print",}) else: - self._currentFile.setFilepos(0) + self._currentFile.pos = 0 self.sendCommand("M24", tags=tags | {"trigger:comm.start_print",}) @@ -1675,11 +1675,6 @@ class MachineCom(object): self._sdAvailable = False self._sdFiles = [] self._callback.on_comm_sd_state_change(self._sdAvailable) - elif 'Not SD printing' in line: - if self.isSdFileSelected() and self.isPrinting(): - # something went wrong, printer is reporting that we actually are not printing right now... - self._sdFilePos = 0 - self._changeState(self.STATE_OPERATIONAL) elif 'SD card ok' in line and not self._sdAvailable: self._sdAvailable = True self.refreshSdFiles() @@ -1693,8 +1688,21 @@ class MachineCom(object): elif 'SD printing byte' in line and self.isSdPrinting(): # answer to M27, at least on Marlin, Repetier and Sprinter: "SD printing byte %d/%d" match = regex_sdPrintingByte.search(line) - self._currentFile.setFilepos(int(match.group("current"))) - self._callback.on_comm_progress() + if match: + current = int(match.group("current")) + total = int(match.group("total")) + + if current == total == 0: + # apparently not SD printing - newer Marlin reports it like that for some reason + self._changeState(self.STATE_OPERATIONAL) + else: + self._currentFile.pos = current + if self._currentFile.size == 0: + self._currentFile.size = total + self._callback.on_comm_progress() + elif 'Not SD printing' in line and self.isSdFileSelected() and self.isPrinting(): + # something went wrong, printer is reporting that we actually are not printing right now... + self._changeState(self.STATE_OPERATIONAL) elif 'File opened' in line and not self._ignore_select: # answer to M23, at least on Marlin, Repetier and Sprinter: "File opened:%s Size:%d" match = regex_sdFileOpened.search(line) @@ -3248,12 +3256,6 @@ class PrintingSdFileInformation(PrintingFileInformation): PrintingFileInformation.__init__(self, filename) self._size = size - def setFilepos(self, pos): - """ - Sets the current file position. - """ - self._pos = pos - def getFileLocation(self): return FileDestinations.SDCARD @@ -3265,6 +3267,22 @@ class PrintingSdFileInformation(PrintingFileInformation): def done(self, value): self._done = value + @property + def size(self): + return self._size + + @size.setter + def size(self, value): + self._size = value + + @property + def pos(self): + return self._pos + + @pos.setter + def pos(self, value): + self._pos = value + class PrintingGcodeFileInformation(PrintingFileInformation): """ Encapsulates information regarding an ongoing direct print. Takes care of the needed file handle and ensures From 52bb94e272bc3541a8adf315ee9b94949658bcd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 27 Feb 2018 10:54:33 +0100 Subject: [PATCH 39/82] Try to detect externally started SD prints Strongly depends on the firmware: * Firmware must send a "File opened: ..." message on start of the print * Firmware must respond to an immediately sent M27 with "SD printing byte /" * Firmware must stay responsive during ongoing print to allow for regular M27 polls (or push those automatically) or M25 to pause/ cancel the print through OctoPrint. --- src/octoprint/util/comm.py | 63 +++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 24 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index da961db02..fdc0c7759 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -917,7 +917,7 @@ class MachineCom(object): self.sendCommand(line, tags=tags | {"trigger:comm.send_gcode_script", "source:script", "script:{}".format(scriptName)}) return "\n".join(scriptLines) - def startPrint(self, pos=None, tags=None): + def startPrint(self, pos=None, tags=None, external_sd=False): if not self.isOperational() or self.isPrinting(): return @@ -938,25 +938,24 @@ class MachineCom(object): self._changeState(self.STATE_PRINTING) - self.resetLineNumbers(tags={"trigger:comm.start_print"}) + if not self.isSdFileSelected(): + self.resetLineNumbers(tags={"trigger:comm.start_print"}) self._callback.on_comm_print_job_started() if self.isSdFileSelected(): - #self.sendCommand("M26 S0") # setting the sd pos apparently sometimes doesn't work, so we re-select - # the file instead + if not external_sd: + # make sure to ignore the "file selected" later on, otherwise we'll reset our progress data + self._ignore_select = True + self.sendCommand("M23 {filename}".format(filename=self._currentFile.getFilename()), + tags=tags | {"trigger:comm.start_print",}) + if pos is not None and isinstance(pos, int) and pos > 0: + self._currentFile.pos = pos + self.sendCommand("M26 S{}".format(pos), tags=tags | {"trigger:comm.start_print",}) + else: + self._currentFile.pos = 0 - # make sure to ignore the "file selected" later on, otherwise we'll reset our progress data - self._ignore_select = True - self.sendCommand("M23 {filename}".format(filename=self._currentFile.getFilename()), - tags=tags | {"trigger:comm.start_print",}) - if pos is not None and isinstance(pos, int) and pos > 0: - self._currentFile.pos = pos - self.sendCommand("M26 S{}".format(pos), tags=tags | {"trigger:comm.start_print",}) - else: - self._currentFile.pos = 0 - - self.sendCommand("M24", tags=tags | {"trigger:comm.start_print",}) + self.sendCommand("M24", tags=tags | {"trigger:comm.start_print",}) self._sd_status_timer = RepeatedTimer(self._timeout_intervals.get("sdStatus", 1.0), self._poll_sd_status, run_first=True) self._sd_status_timer.start() @@ -1070,7 +1069,7 @@ class MachineCom(object): self.sendCommand(SendQueueMarker(finalize)) self._continue_sending() - def cancelPrint(self, firmware_error=None, disable_log_position=False, tags=None): + def cancelPrint(self, firmware_error=None, disable_log_position=False, tags=None, external_sd=False): if not self.isOperational(): return @@ -1099,9 +1098,10 @@ class MachineCom(object): self._changeState(self.STATE_CANCELLING) if self.isSdFileSelected(): - self.sendCommand("M25", tags=tags | {"trigger:comm.cancel",}) # pause print - self.sendCommand("M27", tags=tags | {"trigger:comm.cancel",}) # get current byte position in file - self.sendCommand("M26 S0", tags=tags | {"trigger:comm.cancel",}) # reset position in file to byte 0 + if not external_sd: + self.sendCommand("M25", tags=tags | {"trigger:comm.cancel",}) # pause print + self.sendCommand("M27", tags=tags | {"trigger:comm.cancel",}) # get current byte position in file + self.sendCommand("M26 S0", tags=tags | {"trigger:comm.cancel",}) # reset position in file to byte 0 if self._sd_status_timer is not None: try: self._sd_status_timer.cancel() @@ -1685,24 +1685,29 @@ class MachineCom(object): elif 'End file list' in line: self._sdFileList = False self._callback.on_comm_sd_files(self._sdFiles) - elif 'SD printing byte' in line and self.isSdPrinting(): + elif 'SD printing byte' in line: # answer to M27, at least on Marlin, Repetier and Sprinter: "SD printing byte %d/%d" match = regex_sdPrintingByte.search(line) if match: current = int(match.group("current")) total = int(match.group("total")) - if current == total == 0: + if self.isSdPrinting() and current == total == 0: # apparently not SD printing - newer Marlin reports it like that for some reason - self._changeState(self.STATE_OPERATIONAL) - else: + self.cancelPrint(external_sd=True) + + elif self.isSdFileSelected(): + if not self.isSdPrinting(): + self.startPrint(external_sd=True) + self._currentFile.pos = current if self._currentFile.size == 0: self._currentFile.size = total self._callback.on_comm_progress() + elif 'Not SD printing' in line and self.isSdFileSelected() and self.isPrinting(): # something went wrong, printer is reporting that we actually are not printing right now... - self._changeState(self.STATE_OPERATIONAL) + self.cancelPrint(external_sd=True) elif 'File opened' in line and not self._ignore_select: # answer to M23, at least on Marlin, Repetier and Sprinter: "File opened:%s Size:%d" match = regex_sdFileOpened.search(line) @@ -1712,10 +1717,20 @@ class MachineCom(object): else: name = "Unknown" size = 0 + + expected = False if self._sdFileToSelect: + expected = True name = self._sdFileToSelect self._sdFileToSelect = None + self._currentFile = PrintingSdFileInformation(name, size) + + if not expected: + # It doesn't look like we expected this, so it might be that someone just started a print + # job from SD via the printer's controller. Let's query the printing status and see if that's + # indeed the case and if so switch states accordingly + self.sendCommand("M27", tags={"trigger:unexpected_file_open"}) elif 'File selected' in line: if self._ignore_select: self._ignore_select = False From 98c7ad0c2045d1a962c65097a61912cbc54a7d47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 27 Feb 2018 10:57:49 +0100 Subject: [PATCH 40/82] If current == total -> not SD printing --- src/octoprint/util/comm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index fdc0c7759..fc8b54bca 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1473,7 +1473,7 @@ class MachineCom(object): handled = True # process timeouts - elif ((line == "" and now > self._timeout) or (self.isPrinting() and not self._job_on_hold and now > self._ok_timeout)) \ + elif ((line == "" and now > self._timeout) or (self.isPrinting() and not self.isSdPrinting() and not self._job_on_hold and now > self._ok_timeout)) \ and (not self._blockWhileDwelling or not self._dwelling_until or now > self._dwelling_until): # We have two timeout variants: # @@ -1697,7 +1697,7 @@ class MachineCom(object): self.cancelPrint(external_sd=True) elif self.isSdFileSelected(): - if not self.isSdPrinting(): + if not self.isSdPrinting() and current != total: self.startPrint(external_sd=True) self._currentFile.pos = current @@ -1742,7 +1742,7 @@ class MachineCom(object): elif 'Done printing file' in line and self.isSdPrinting(): # printer is reporting file finished printing self._currentFile.done = True - self._currentFile.setFilepos(0) + self._currentFile.pos = 0 self._callback.on_comm_print_job_done() self._changeState(self.STATE_OPERATIONAL) if self._sd_status_timer is not None: From e6ec48b8a1221b4d77cf393767bd4295f0b3b409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Mar 2018 17:45:06 +0100 Subject: [PATCH 41/82] Support SD status autoreport --- .../plugins/virtual_printer/virtual.py | 22 +++++++++++++-- src/octoprint/server/api/settings.py | 4 +++ src/octoprint/settings.py | 5 +++- .../static/js/app/viewmodels/settings.js | 2 ++ .../dialogs/settings/serialconnection.jinja2 | 19 ++++++++++++- src/octoprint/util/comm.py | 28 ++++++++++++++++++- 6 files changed, 74 insertions(+), 6 deletions(-) diff --git a/src/octoprint/plugins/virtual_printer/virtual.py b/src/octoprint/plugins/virtual_printer/virtual.py index 725a69019..012bef910 100644 --- a/src/octoprint/plugins/virtual_printer/virtual.py +++ b/src/octoprint/plugins/virtual_printer/virtual.py @@ -126,9 +126,10 @@ class VirtualPrinter(object): self._okFormatString = settings().get(["devel", "virtualPrinter", "okFormatString"]) - self._capabilities = settings().get(["devel", "virtualPrinter", "capabilities"]) + self._capabilities = settings().get(["devel", "virtualPrinter", "capabilities"], merged=True) self._temperature_reporter = None + self._sdstatus_reporter = None self.currentLine = 0 self.lastN = 0 @@ -414,8 +415,23 @@ class VirtualPrinter(object): self._setSdPos(pos) def _gcode_M27(self, data): - if self._sdCardReady: - self._reportSdStatus() + def report(): + if self._sdCardReady: + self._reportSdStatus() + + match = re.search("S([0-9]+)", data) + if match: + interval = int(match.group(1)) + if self._sdstatus_reporter is not None: + self._sdstatus_reporter.cancel() + + if interval > 0: + self._sdstatus_reporter = RepeatedTimer(interval, report) + self._sdstatus_reporter.start() + else: + self._sdstatus_reporter = None + + report() def _gcode_M28(self, data): if self._sdCardReady: diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index c7023f8c7..9ccb461be 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -139,6 +139,7 @@ def getSettings(): "timeoutTemperatureTargetSet": s.getFloat(["serial", "timeout", "temperatureTargetSet"]), "timeoutTemperatureAutoreport": s.getFloat(["serial", "timeout", "temperatureAutoreport"]), "timeoutSdStatus": s.getFloat(["serial", "timeout", "sdStatus"]), + "timeoutSdStatusAutoreport": s.getFloat(["serial", "timeout", "sdStatusAutoreport"]), "log": s.getBoolean(["serial", "log"]), "additionalPorts": s.get(["serial", "additionalPorts"]), "additionalBaudrates": s.get(["serial", "additionalBaudrates"]), @@ -166,6 +167,7 @@ def getSettings(): "maxTimeoutsPrinting": s.getInt(["serial", "maxCommunicationTimeouts", "printing"]), "maxTimeoutsLong": s.getInt(["serial", "maxCommunicationTimeouts", "long"]), "capAutoreportTemp": s.getBoolean(["serial", "capabilities", "autoreport_temp"]), + "capAutoreportSdStatus": s.getBoolean(["serial", "capabilities", "autoreport_sdstatus"]), "capBusyProtocol": s.getBoolean(["serial", "capabilities", "busy_protocol"]) }, "folder": { @@ -370,6 +372,7 @@ def _saveSettings(data): if "timeoutTemperatureTargetSet" in data["serial"]: s.setFloat(["serial", "timeout", "temperatureTargetSet"], data["serial"]["timeoutTemperatureTargetSet"]) if "timeoutTemperatureAutoreport" in data["serial"]: s.setFloat(["serial", "timeout", "temperatureAutoreport"], data["serial"]["timeoutTemperatureAutoreport"]) if "timeoutSdStatus" in data["serial"]: s.setFloat(["serial", "timeout", "sdStatus"], data["serial"]["timeoutSdStatus"]) + if "timeoutSdStatusAutoreport" in data["serial"]: s.setFloat(["serial", "timeout", "sdStatusAutoreport"], data["serial"]["timeoutSdStatusAutoreport"]) if "additionalPorts" in data["serial"] and isinstance(data["serial"]["additionalPorts"], (list, tuple)): s.set(["serial", "additionalPorts"], data["serial"]["additionalPorts"]) if "additionalBaudrates" in data["serial"] and isinstance(data["serial"]["additionalBaudrates"], (list, tuple)): s.set(["serial", "additionalBaudrates"], data["serial"]["additionalBaudrates"]) if "longRunningCommands" in data["serial"] and isinstance(data["serial"]["longRunningCommands"], (list, tuple)): s.set(["serial", "longRunningCommands"], data["serial"]["longRunningCommands"]) @@ -399,6 +402,7 @@ def _saveSettings(data): if "maxTimeoutsPrinting" in data["serial"]: s.setInt(["serial", "maxCommunicationTimeouts", "printing"], data["serial"]["maxTimeoutsPrinting"]) if "maxTimeoutsLong" in data["serial"]: s.setInt(["serial", "maxCommunicationTimeouts", "long"], data["serial"]["maxTimeoutsLong"]) if "capAutoreportTemp" in data["serial"]: s.setBoolean(["serial", "capabilities", "autoreport_temp"], data["serial"]["capAutoreportTemp"]) + if "capAutoreportSdStatus" in data["serial"]: s.setBoolean(["serial", "capabilities", "autoreport_sdstatus"], data["serial"]["capAutoreportSdStatus"]) if "capBusyProtocol" in data["serial"]: s.setBoolean(["serial", "capabilities", "busy_protocol"], data["serial"]["capBusyProtocol"]) oldLog = s.getBoolean(["serial", "log"]) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 83e60498c..ab9c0f01c 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -99,6 +99,7 @@ default_settings = { "temperatureTargetSet": 2, "temperatureAutoreport": 2, "sdStatus": 1, + "sdStatusAutoreport": 1, "resendOk": .5 }, "maxCommunicationTimeouts": { @@ -137,6 +138,7 @@ default_settings = { "capabilities": { "autoreport_temp": True, + "autoreport_sdstatus": True, "busy_protocol": True }, @@ -403,7 +405,8 @@ default_settings = { "m115FormatString": "FIRMWARE_NAME: {firmware_name} PROTOCOL_VERSION:1.0", "m115ReportCapabilities": False, "capabilities": { - "AUTOREPORT_TEMP": True + "AUTOREPORT_TEMP": True, + "AUTOREPORT_SD_STATUS": True }, "ambientTemperature": 21.3, "errors": { diff --git a/src/octoprint/static/js/app/viewmodels/settings.js b/src/octoprint/static/js/app/viewmodels/settings.js index 86a9ce019..c2ee03faf 100644 --- a/src/octoprint/static/js/app/viewmodels/settings.js +++ b/src/octoprint/static/js/app/viewmodels/settings.js @@ -158,6 +158,7 @@ $(function() { self.serial_timeoutTemperatureTargetSet = ko.observable(undefined); self.serial_timeoutTemperatureAutoreport = ko.observable(undefined); self.serial_timeoutSdStatus = ko.observable(undefined); + self.serial_timeoutSdStatusAutoreport = ko.observable(undefined); self.serial_log = ko.observable(undefined); self.serial_additionalPorts = ko.observable(undefined); self.serial_additionalBaudrates = ko.observable(undefined); @@ -183,6 +184,7 @@ $(function() { self.serial_maxTimeoutsPrinting = ko.observable(undefined); self.serial_maxTimeoutsLong = ko.observable(undefined); self.serial_capAutoreportTemp = ko.observable(undefined); + self.serial_capAutoreportSdStatus = ko.observable(undefined); self.serial_capBusyProtocol = ko.observable(undefined); self.folder_uploads = ko.observable(undefined); diff --git a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 index 39912dd89..9cfd52039 100644 --- a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 +++ b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 @@ -87,7 +87,7 @@
- +
@@ -95,6 +95,16 @@
+
+ +
+
+ + s +
+ {{ _('Autoreport interval to request from firmware')}} +
+
{{ _('Timeouts') }} @@ -243,6 +253,13 @@ +
+
+ +
+
From faa81748460f89851169140270e32b61d775f384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 15 Mar 2018 16:08:02 +0100 Subject: [PATCH 61/82] Link to community forum & new FAQ location Also updated contribution guidelines & templates --- .github/ISSUE_TEMPLATE.md | 82 +++++++---- .github/PULL_REQUEST_TEMPLATE.md | 18 ++- CONTRIBUTING.md | 246 ++++++++++++++++++------------- README.md | 29 ++-- 4 files changed, 219 insertions(+), 156 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 00bd36a44..fdf1380d2 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,29 +1,27 @@ + #### What were you doing? -[Please be as specific as possible here. The maintainers will need to + 1. ... 2. ... 3. ... + #### What did you expect to happen? @@ -59,50 +56,75 @@ to also include a link to a file with which to reproduce the problem.] #### Did the same happen when running OctoPrint in safe mode? -[Try to reproduce your problem in safe mode. You can find information -on how to enable safe mode in the Contribution Guidelines.] + #### Version of OctoPrint -[Can be found in the lower left corner of the web interface. ALWAYS INCLUDE.] + #### Operating System running OctoPrint -[OctoPi, Linux, Windows, MacOS, something else? With version please. -OctoPi's version can be found in /etc/octopi_version] + #### Printer model & used firmware incl. version -[If applicable, always include if unsure.] + -#### Browser and Version of Browser, Operating System running Browser +#### Browser and version of browser, operating system running browser -[If applicable, always include if unsure.] + #### Link to octoprint.log -[On gist.github.com or pastebin.com. ALWAYS INCLUDE and never truncate. -The Contribution Guidelines tell you where to find that.] + #### Link to contents of terminal tab or serial.log -[On gist.github.com or pastebin.com. If applicable, always include if unsure or + #### Link to contents of Javascript console in the browser -[On gist.github.com or pastebin.com or alternatively a screenshot. If applicable - + #### Screenshot(s)/video(s) showing the problem: -[If applicable. Always include if unsure or reporting UI issues.] + I have read the FAQ. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4c18b123c..c9b4d9f22 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,4 @@ + * [ ] Your changes are not possible to do through a plugin and relevant to a large audience (ideally all users of OctoPrint) @@ -16,12 +18,13 @@ checklist: Brainstorming ticket * [ ] Your PR targets OctoPrint's devel branch, or maintenance if it's a bug fix for an issue present in the current stable version (no PRs - against master or anything else) + against master or anything else please) * [ ] Your PR was opened from a custom branch on your repository (no PRs from your version of master, maintenance or devel please), - e.g. dev/my_new_feature + e.g. dev/my_new_feature or fix/my_bugfix * [ ] Your PR only contains relevant changes: no unrelated files, - no dead code, ideally only one commit - rebase your PR if necessary! + no dead code, ideally only one commit - rebase and squash your PR + if necessary! * [ ] Your changes follow the existing coding style * [ ] If your changes include style sheets: You have modified the .less source files, not the .css files (those are generated with @@ -32,11 +35,10 @@ checklist: nothing broke * [ ] You have added yourself to the AUTHORS.md file :) -Feel free to delete all this help text, then describe -your PR further. You may use the template provided below to do that. -The more details the better! - ----- + #### What does this PR do and why is it necessary? diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 74b8be4fb..d730df513 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,45 +21,41 @@ or **[creating pull requests](#pull-requests)**. ## Issues, Tickets, however you may call them -Please read the following short instructions fully and follow them. You can +Please read the following instructions fully and follow them. You can help the project tremendously this way: not only do you help the maintainers to **address problems in a timely manner** but also keep it possible for them to **fix bugs, add new and improve on existing functionality** instead of doing nothing but ticket management. -![Ticket flow chart](http://i.imgur.com/qYSZyuw.png) +![Ticket flow chart](https://i.imgur.com/SmU7iCJ.png) -- **[Read the FAQ](https://github.com/foosel/OctoPrint/wiki/FAQ)** +- **[Read the FAQ](http://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 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 something is **not** what qualifies as a request here, use the - [Mailinglist](https://groups.google.com/group/octoprint) or the - [Google+ Community](https://plus.google.com/communities/102771308349328485741) for + [community forum at discourse.octoprint.org](https://discourse.octoprint.org) for such support issues. - If you are a **developer** that wants to brainstorm a pull request or possible changes to the plugin system, add [Brainstorming] to your issue's title (e.g. `[Brainstorming] New plugin hook for doing some cool stuff`). - If you need **support**, have a **question** or some **other reason** that doesn't fit any of the above categories, the issue tracker is not the right place. - Consult the [Mailinglist](https://groups.google.com/group/octoprint) or the - [Google+ Community](https://plus.google.com/communities/102771308349328485741) instead. + Consult the [community forum at discourse.octoprint.org](https://discourse.octoprint.org) instead. 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]` or `[Brainstorming]` in the title) without the 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. - ----- +> 👉 **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]` or `[Brainstorming]` 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 @@ -72,22 +68,25 @@ following section *completely* and also follow the instructions in the ### What should I do before submitting a bug report? -1. **Make sure you are at the right location**. This is the Github repository +1. **Make sure you are at the right location**. This is the bug tracker of the official version of OctoPrint, which is the 3D print server and corresponding web interface itself. - - **This is not the Github respository of OctoPi**, which is the preconfigured + + **OctoPrint doesn't manage your network connection or your webcam nor + can it fix your printer not getting detected as a serial interface** - + if you have any kinds of problems with that, get in touch on the + [community forum](https://discourse.octoprint.org). + + **This is not the bug tracker of OctoPi**, which is the preconfigured Raspberry Pi image including OctoPrint among other things - that one can be found - [here](https://github.com/guysoft/OctoPi). Please note that while we do have - some entries regarding OctoPi in the FAQ, any bugs should be reported in the - [proper bug tracker](https://github.com/guysoft/OctoPi/issues) which - again - - is not here. + [here](https://github.com/guysoft/OctoPi). If you have any kind of specific + issue with how the OctoPi system is setup, go there please. - **This is also not the Github repository of any OctoPrint Plugins you + **This is also not the bug tracker of any OctoPrint Plugins you might have installed**. Report any issues with those in their corresponding bug tracker (probably linked to from the plugin's homepage). - Finally, **this is also not the right issue tracker if you are running a + Finally, **this is also not the right bug tracker if you are running a forked version of OctoPrint**. Seek help for such unofficial versions from the people maintaining them instead. @@ -101,7 +100,7 @@ following section *completely* and also follow the instructions in the more about safe mode in the [docs](http://docs.octoprint.org/en/master/features/safemode.html). You might also want to try the current development version of OctoPrint - (if you aren't already). Refer to the [FAQ](https://github.com/foosel/OctoPrint/wiki/FAQ) + (if you aren't already). Refer to the [FAQ](http://faq.octoprint.org) for information on how to do this. 3. The problem still exists? Then please **look through the @@ -111,8 +110,8 @@ following section *completely* and also follow the instructions in the Sorting through duplicates of the same issue sometimes causes more work than fixing it. Take the time to filter through possible duplicates and be really sure that your problem definitely is a new one. Try more than one search query - (e.g. do not only search for "webcam" if you happen to run into an issue - with your webcam, also search for "timelapse" etc). Do not only read the subject lines + (e.g. do not only search for "timelapse" if you happen to run into an issue + with your webcam, also search for "recording" etc). Do not only read the subject lines of tickets that look like they might be related, but also read the ticket itself! **Very important:** Please make absolutely sure that if you find a bug that looks like @@ -126,84 +125,151 @@ following section *completely* and also follow the instructions in the makes it more difficult due to on top of having to figure out the original problem there's now also a [red herring](https://en.wikipedia.org/wiki/Red_herring) interfering - so please be very diligent here! - + +If in doubt about any of the above - get in touch on the [community forum](https://discourse.octoprint.org) +instead of opening a ticket here. If you are actually running into a bug, we'll figure it out together +there. + ### What should I include in a bug report? First of all make sure your use **a descriptive title**. "It doesn't work" and similar unspecific complaints are NOT descriptive titles. -**Always use the following template** (please remove what's within `[...]`, that's -only provided here as some additional information for you), **even if only adding a -"me too" to an existing ticket**: +**Always use the following template, even if only adding a "me too" to an +existing ticket**: - #### What were you doing? +``` + - #### Operating System running OctoPrint +#### What were you doing? - [OctoPi, Linux, Windows, MacOS, something else? With version please, - OctoPi's version can be found in /etc/octopi_version] + - [If applicable, always include if unsure.] +1. ... +2. ... +3. ... - #### Browser and Version of Browser, Operating System running Browser + - [If applicable, always include if unsure.] +#### What did you expect to happen? - #### Link to octoprint.log +#### What happened instead? - [On gist.github.com or pastebin.com. ALWAYS INCLUDE and never truncate. - The Contribution Guidelines tell you where to find that.] +#### Did the same happen when running OctoPrint in safe mode? - #### Link to contents of terminal tab or serial.log + - #### Link to contents of Javascript console in the browser +#### Version of OctoPrint - [On gist.github.com or pastebin.com or alternatively a screenshot. If applicable - - always include if unsure or reporting UI issues. + - The Contribution Guidelines tell you where to find that.] +#### Operating System running OctoPrint - #### Screenshot(s)/video(s) showing the problem: + - [If applicable. Always include if unsure or reporting UI issues.] +#### Printer model & used firmware incl. version - I have read the FAQ. + + +#### Browser and version of browser, operating system running browser + + + +#### Link to octoprint.log + + + +#### Link to contents of terminal tab or serial.log + + + +#### Link to contents of Javascript console in the browser + + + +#### Screenshot(s)/video(s) showing the problem: + + + +I have read the FAQ. +``` Copy-paste this template **completely** (or use the version that gets pre-filled into the "new issue" form). Do not skip any lines or the bot *will* complain! Provide @@ -226,35 +292,7 @@ current commit. ### Where can I find those log files you keep talking about? -OctoPrint by default provides two log outputs, a third one can be enabled if -more information is needed. - -One is contained in the **"Terminal" tab** within OctoPrint's UI and is a log -of the last 300 lines of communication with the printer. Please copy-paste -this *completely* somewhere (disable auto scroll to make copying the contents easier) - -e.g. http://pastebin.com or http://gist.github.com - and include a link in -your bug report. - -There is also **OctoPrint's application log file** or in short `octoprint.log`, -which is by default located at `~/.octoprint/logs/octoprint.log` on Linux, -`%APPDATA%\OctoPrint\logs\octoprint.log` on Windows and -`~/Library/Application Support/OctoPrint/logs/octoprint.log` on MacOS. You can -also access it directly through OctoPrint via Settings > Logs. Please -copy-paste this *completely* to pastebin or gist as well and include a link in your bug -report. - -It might happen that you are asked to provide a more **thorough log of the -communication with the printer** if you haven't already done so, the `serial.log`. -This is not written by default due to performance reasons, but you can enable -it in the settings dialog. After enabling that log, please reproduce the problem -again (connect to the printer, do whatever triggers it), then copy-paste -`~/.octoprint/logs/serial.log` (Windows: `%APPDATA%\OctoPrint\logs\serial.log`, -MacOS: `~/Library/Application Support/OctoPrint/logs/serial.log`) to pastebin -or gist and include the link in the bug report. - -You might also be asked to provide a log with an increased log level. You can -find information on how to do just that in the -[docs](http://docs.octoprint.org/en/master/configuration/logging_yaml.html). +Please refer to [this FAQ entry](https://discourse.octoprint.org/t/where-can-i-find-octoprints-log-files/299). ### Where can I find my browser's error console? @@ -445,6 +483,8 @@ the local version identifier to allow for an exact determination of the active c by OctoPrint itself and not a misbehaving plugin. * 2017-03-27: Added safe mode section to ticket template. * 2017-11-22: Added note on how to run the unit tests + * 2018-03-15: Link to new community forum and some clarifications re bug + reporting ## Footnotes * [1] - If you are wondering why, the problem is that anything that you add diff --git a/README.md b/README.md index 1571a3308..dce169a90 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ and released under the [GNU Affero General Public License V3](http://www.gnu.org Its website can be found at [octoprint.org](https://octoprint.org/?utm_source=github&utm_medium=readme). +The community forum available at [discourse.octoprint.org](https://discourse.octoprint.org/?utm_source=github&utm_medium=readme). + The documentation is located at [docs.octoprint.org](http://docs.octoprint.org). The official plugin repository can be reached at [plugins.octoprint.org](https://plugins.octoprint.org/?utm_source=github&utm_medium=readme). @@ -19,17 +21,17 @@ If you enjoy OctoPrint, please consider becoming a regular supporter!** You are currently looking at the source code repository of OctoPrint. If you already installed it (e.g. by using the Raspberry Pi targeted distribution [OctoPi](https://github.com/guysoft/OctoPi)) and only want to find out how to use it, [the documentation](http://docs.octoprint.org/) and [the public wiki](https://github.com/foosel/OctoPrint/wiki) -might be of more interest for you. You might also want to subscribe to [the mailing list](https://groups.google.com/group/octoprint) -or the [G+ Community](https://plus.google.com/communities/102771308349328485741) where there are other active users who might be +might be of more interest for you. You might also want to subscribe to join +[the community forum at discourse.octoprint.org](https://discourse.octoprint.org) where there are other active users who might be able to help you with any questions you might have. ## Contributing Contributions of all kinds are welcome, not only in the form of code but also with regards to the -[official documentation](http://docs.octoprint.org/) or [the public wiki](https://github.com/foosel/OctoPrint/wiki), support -of other users in the [bug tracker](https://github.com/foosel/OctoPrint/issues), -[the Mailinglist](https://groups.google.com/group/octoprint) or -[the G+ Community](https://plus.google.com/communities/102771308349328485741) and also [financially](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme). +[official documentation](http://docs.octoprint.org/) or [the public wiki](https://github.com/foosel/OctoPrint/wiki), debugging help +in the [bug tracker](https://github.com/foosel/OctoPrint/issues), support of other users on +[the community forum at discourse.octoprint.org](https://discourse.octoprint.org) +and also [financially](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme). If you think something is bad about OctoPrint or its documentation the way it is, please help in any way to make it better instead of just complaining about it -- this is an Open Source Project @@ -54,23 +56,20 @@ you already have Python 2.7, pip and virtualenv set up on your system: 1. Checkout OctoPrint: `git clone https://github.com/foosel/OctoPrint.git` 2. Change into the OctoPrint folder: `cd OctoPrint` 3. Create a user-owned virtual environment therein: `virtualenv venv` -4. Install OctoPrint *into that virtual environment*: `./venv/bin/python setup.py install` +4. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install .` You may then start the OctoPrint server via `/path/to/OctoPrint/venv/bin/octoprint`, see [Usage](#usage) for details. After installation, please make sure you follow the first-run wizard and set up -access control as necessary. If you want to not only be notified about new -releases, but also be able to automatically upgrade to them from within -OctoPrint, take a look [at the documentation of the Software Update Plugin](https://github.com/foosel/OctoPrint/wiki/Plugin:-Software-Update#making-octoprint-updateable-on-existing-installations) -and at its settings. +access control as necessary. ## Dependencies OctoPrint depends on a few python modules to do its job. Those are automatically installed when installing -OctoPrint via `setup.py`: +OctoPrint via `pip`: - python setup.py install + pip install . You should do this every time after pulling from the repository, since the dependencies may have changed. @@ -78,9 +77,9 @@ OctoPrint currently only supports Python 2.7. ## Usage -Running the `setup.py` script via +Running the pip install via - python setup.py install + pip install . installs the `octoprint` script in your Python installation's scripts folder (which, depending on whether you installed OctoPrint globally or into a virtual env, will be in your `PATH` or not). The From 61769262f6d1e3724b5aaed0019186444cf8d3ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 15 Mar 2018 16:10:17 +0100 Subject: [PATCH 62/82] New meta git prefix for github meta md updates --- .versioneer-lookup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index 7fd57865e..f3f420a29 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -7,8 +7,9 @@ # The file is processed from top to bottom, the first matching line wins. If or are left out, # the lookup table does not apply to the matched branches -# master and rc shall not use the lookup table, only tags +# master, meta, rc and prerelease shall not use the lookup table, only tags master +meta/.* rc/.* prerelease From 01f5a58709dd99d3d5b18f2d7d24a939dd44fe42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 15 Mar 2018 16:20:33 +0100 Subject: [PATCH 63/82] Fix a typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dce169a90..05481b5ca 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ and released under the [GNU Affero General Public License V3](http://www.gnu.org Its website can be found at [octoprint.org](https://octoprint.org/?utm_source=github&utm_medium=readme). -The community forum available at [discourse.octoprint.org](https://discourse.octoprint.org/?utm_source=github&utm_medium=readme). +The community forum is available at [discourse.octoprint.org](https://discourse.octoprint.org/?utm_source=github&utm_medium=readme). The documentation is located at [docs.octoprint.org](http://docs.octoprint.org). From e8d5449a8fe1f549f8b950058082a6873c6bfe3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 15 Mar 2018 16:30:54 +0100 Subject: [PATCH 64/82] Adjust issue template for new GH layout Apparently the "big yellow box" hinting the contribution guidelines vanished some time ago and got replaced by a teeny tiny link to the right under "Helpful resources". Ah well. --- .github/ISSUE_TEMPLATE.md | 10 ++++------ CONTRIBUTING.md | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index fdf1380d2..a17754fad 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,10 +1,8 @@ #### What were you doing? - #### What were you doing? - #### Version of OctoPrint From 46a0c3057f47c126bd1dd1702a27c32a78dd83f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 10:11:38 +0100 Subject: [PATCH 73/82] Logging: At missing CSS file Thanks @kantlivelong for the heads-up --- src/octoprint/plugins/logging/static/css/logging.css | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/octoprint/plugins/logging/static/css/logging.css diff --git a/src/octoprint/plugins/logging/static/css/logging.css b/src/octoprint/plugins/logging/static/css/logging.css new file mode 100644 index 000000000..31603a340 --- /dev/null +++ b/src/octoprint/plugins/logging/static/css/logging.css @@ -0,0 +1 @@ +table td.settings_logs_name,table th.settings_logs_name{text-overflow:ellipsis;text-align:left}table td.settings_logs_size,table th.settings_logs_size{text-align:right;width:70px}table td.settings_logs_date,table th.settings_logs_date{text-align:left;width:130px}table td.settings_logs_action,table th.settings_logs_action{width:70px;text-align:center;white-space:nowrap}table td.settings_logs_action a,table th.settings_logs_action a{text-decoration:none;color:#000}table td.settings_logs_action a.disabled,table th.settings_logs_action a.disabled{color:#ccc;cursor:default} \ No newline at end of file From 3e24b68b4529c907b42cc9a34a82472955983d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 10:35:24 +0100 Subject: [PATCH 74/82] Attach additionalClasses to all custom controls Fixes #2489 --- src/octoprint/static/js/app/viewmodels/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/static/js/app/viewmodels/control.js b/src/octoprint/static/js/app/viewmodels/control.js index 072205414..3eaba58e3 100644 --- a/src/octoprint/static/js/app/viewmodels/control.js +++ b/src/octoprint/static/js/app/viewmodels/control.js @@ -226,7 +226,7 @@ $(function() { } } - if (control.hasOwnProperty("command") && !control.hasOwnProperty("additionalClasses")) { + if (!control.hasOwnProperty("additionalClasses")) { control.additionalClasses = ""; } From 2ecbd9f8c8c1063e8167187a86eb2a4742e629ba Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Sat, 17 Mar 2018 19:52:39 +0100 Subject: [PATCH 75/82] Fix typos in docs --- docs/api/general.rst | 4 ++-- docs/api/printer.rst | 4 ++-- docs/api/timelapse.rst | 4 ++-- docs/api/util.rst | 4 ++-- docs/bundledplugins/logging.rst | 2 +- docs/bundledplugins/softwareupdate.rst | 16 ++++++++-------- docs/configuration/config_yaml.rst | 2 +- docs/events/index.rst | 2 +- docs/features/accesscontrol.rst | 2 +- docs/features/plugins.rst | 2 +- docs/jsclientlib/index.rst | 4 ++-- docs/jsclientlib/job.rst | 2 +- docs/jsclientlib/languages.rst | 2 +- docs/jsclientlib/printer.rst | 2 +- docs/jsclientlib/system.rst | 4 ++-- docs/jsclientlib/timelapse.rst | 2 +- docs/jsclientlib/users.rst | 2 +- docs/jsclientlib/util.rst | 4 ++-- docs/jsclientlib/wizard.rst | 2 +- docs/plugins/concepts.rst | 6 +++--- docs/plugins/gettingstarted.rst | 4 ++-- docs/plugins/helpers.rst | 2 +- docs/plugins/hooks.rst | 8 ++++---- docs/plugins/injectedproperties.rst | 2 +- docs/plugins/mixins.rst | 2 +- docs/plugins/viewmodels.rst | 6 +++--- 26 files changed, 48 insertions(+), 48 deletions(-) diff --git a/docs/api/general.rst b/docs/api/general.rst index 91e673571..4232a96c9 100644 --- a/docs/api/general.rst +++ b/docs/api/general.rst @@ -12,7 +12,7 @@ Authorization ============= OctoPrint's API expects an API key to be supplied with each request. This API key can be either the globally -configured one, a user specific one if "Access Control" is enabled or an ref:`App Session Key `. +configured one, a user specific one if "Access Control" is enabled or an :ref:`App Session Key `. Users are able to generate and revoke their custom API key via the "Change password" dialog. The API key must be supplied in the custom HTTP header ``X-Api-Key``, e.g. @@ -65,7 +65,7 @@ Please be advised that clients should use the header field variant if at all pos Content Type ============ -If not otherwise stated OctoPrint's API expects request bodies and issues response bodies as ``Content-Type: application/json``. +If not otherwise stated, OctoPrint's API expects request bodies and issues response bodies as ``Content-Type: application/json``. .. _sec-api-general-encoding: diff --git a/docs/api/printer.rst b/docs/api/printer.rst index 23d002afe..1409bf300 100644 --- a/docs/api/printer.rst +++ b/docs/api/printer.rst @@ -217,7 +217,7 @@ Issue a print head command * ``z``: Optional. Amount/coordinate to jog print head on z axis, must be a valid number corresponding to the distance to travel in mm. * ``absolute``: Optional. Boolean value specifying whether to move relative to current position (provided axes values are relative amounts) or to absolute position (provided axes values are coordinates) - * ``speed``: Optiona. Speed at which to move. If not provided, minimum speed for all selected axes from printer + * ``speed``: Optional. Speed at which to move. If not provided, minimum speed for all selected axes from printer profile will be used. If provided but ``false``, no speed parameter will be appended to the command. Otherwise interpreted as an integer signifying the speed in mm/s, to append to the command. @@ -227,7 +227,7 @@ Issue a print head command * ``axes``: A list of axes which to home, valid values are one or more of ``x``, ``y``, ``z``. feedrate - Changes the feedrate factor to apply to the movement's of the axes. + Changes the feedrate factor to apply to the movements of the axes. * ``factor``: The new factor, percentage as integer or float (percentage divided by 100) between 50 and 200%. diff --git a/docs/api/timelapse.rst b/docs/api/timelapse.rst index 914e43490..54b3668ec 100644 --- a/docs/api/timelapse.rst +++ b/docs/api/timelapse.rst @@ -128,7 +128,7 @@ Rendered timelapse * - ``date`` - 1 - string - - Formatted timestamp of the the timelapse creation date + - Formatted timestamp of the timelapse creation date * - ``url`` - 1 - string @@ -162,7 +162,7 @@ Unrendered timelapse * - ``date`` - 1 - string - - Formatted timestamp of the the timelapse job creation date + - Formatted timestamp of the timelapse job creation date * - ``recording`` - 1 - bool diff --git a/docs/api/util.rst b/docs/api/util.rst index e01664d20..ca1e46333 100644 --- a/docs/api/util.rst +++ b/docs/api/util.rst @@ -38,10 +38,10 @@ Test paths or URLs .. _sec-api-util-test-url: url - Tests whether a provided url responds. Request method and expected status codes can + Tests whether a provided URL responds. Request method and expected status codes can optionally be specified as well. Supported parameters are: - * ``url``: The url to test. Mandatory. + * ``url``: The URL to test. Mandatory. * ``method``: The request method to use for the test. Optional, defaults to ``HEAD``. * ``timeout``: A timeout for the request, in seconds. If no reply from the tested URL has been received within this time frame, the check will be considered a failure. Optional, defaults to 3 seconds. diff --git a/docs/bundledplugins/logging.rst b/docs/bundledplugins/logging.rst index 67e0a923e..d06d7915c 100644 --- a/docs/bundledplugins/logging.rst +++ b/docs/bundledplugins/logging.rst @@ -198,7 +198,7 @@ JS Client Library .. note:: - All methods here require that the used API token or a the existing browser session + All methods here require that the used API token or the existing browser session has admin rights. .. js:function:: OctoPrintClient.plugins.logging.listLogs(opts) diff --git a/docs/bundledplugins/softwareupdate.rst b/docs/bundledplugins/softwareupdate.rst index b8909ee23..de4896b6d 100644 --- a/docs/bundledplugins/softwareupdate.rst +++ b/docs/bundledplugins/softwareupdate.rst @@ -46,7 +46,7 @@ There you can adjust the following settings: for the various components registered with the plugin, so that they don't have to be queried from the internet every time you load the page. Defaults to 24h, you usually shouldn't need to change that value. -More settings are available by :ref:`editing the correspondi.. _section in config.yaml `. +More settings are available by :ref:`editing the corresponding section in config.yaml `. That restart commands for OctoPrint and the whole server can be configured under Settings > Server. @@ -56,9 +56,9 @@ Command line usage ------------------ The functionality of the Software Update Plugin is also available on OctoPrint's command line interface under the -``plugins`` sub command. It's is possible to check for updates via ``octoprint plugins softwareupdate:check`` -and to apply available updates via ``octoprint plugins softwareupdate:update``. Please the corresponding -``--help`` pages on details: +``plugins`` sub command. It's possible to check for updates via ``octoprint plugins softwareupdate:check`` +and to apply available updates via ``octoprint plugins softwareupdate:update``. Please see the corresponding +``--help`` pages for details: .. code-block:: none @@ -126,7 +126,7 @@ Configuring the Plugin checks: # "octoprint" is reserved for OctoPrint octoprint: - # this defines an version check that will check against releases + # this defines a version check that will check against releases # published on OctoPrint's Github repository and pip as update method # against the release archives on Github - this is the default type: github_release @@ -135,7 +135,7 @@ Configuring the Plugin method: pip pip: 'https://github.com/foosel/OctoPrint/archive/{target_version}.zip' - # further checks may be define here + # further checks may be defined here # pip command, if another one than the automatically detected one should be # used - should normally NOT be necessary and hence set @@ -209,7 +209,7 @@ Version checks :ref:`hook `. Additional config parameters: - * ``python_checker``: (mandatory) A python callable which returns version + * ``python_checker``: (mandatory) A Python callable which returns version information and whether the current version is up-to-date or not, see below for details. @@ -241,7 +241,7 @@ Update methods ``update_folder`` setting or if the ``git_commit`` check is used its ``checkout_folder`` setting. * ``python_updater``: Can only be specified by plugins through the - :ref:`hook `. A python callable + :ref:`hook `. A Python callable which performs the update, see below for details. * ``sleep_a_bit``: Does nothing but block for a configurable ``duration`` and log a countdown in the meantime. Useful for debugging software update mechanisms diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index 7205ee149..790702fd1 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -1107,7 +1107,7 @@ OctoPrint is running is allowed to do this without password entry: command: sudo shutdown -h now confirm: You are about to shutdown the system. -You can also add an divider by setting action to divider like this: +You can also add a divider by setting action to divider like this: .. code-block:: yaml diff --git a/docs/events/index.rst b/docs/events/index.rst index 7086ccecd..193574247 100644 --- a/docs/events/index.rst +++ b/docs/events/index.rst @@ -265,7 +265,7 @@ MetadataAnalysisFinished * ``name``: the file's name * ``path``: the file's path within its storage location * ``origin``: the file's origin storage location - * ``result``: the analysis result -- this is a python object currently only available for internal use + * ``result``: the analysis result -- this is a Python object currently only available for internal use .. deprecated:: 1.3.0 diff --git a/docs/features/accesscontrol.rst b/docs/features/accesscontrol.rst index dd59bd6b8..3207b1c42 100644 --- a/docs/features/accesscontrol.rst +++ b/docs/features/accesscontrol.rst @@ -39,7 +39,7 @@ Rerunning the wizard -------------------- In case Access Control was disabled in the configuration wizard, it is -possibly to re-run it by editing ``config.yaml`` [#f1]_ and setting ``firstRun`` +possible to re-run it by editing ``config.yaml`` [#f1]_ and setting ``firstRun`` in the ``server`` section and ``enabled`` in the ``accessControl`` section to ``true``: diff --git a/docs/features/plugins.rst b/docs/features/plugins.rst index 2530f7817..450074713 100644 --- a/docs/features/plugins.rst +++ b/docs/features/plugins.rst @@ -46,7 +46,7 @@ Manual Installation If you don't want or can't use the Plugin Manager, plugins may also be installed manually either by copying and unpacking them into one of the configured plugin folders (regularly those are ``/plugins`` and -``/plugins`` [#f1]_ or by installing them as regular python modules via ``pip`` [#f2]_. +``/plugins`` [#f1]_ or by installing them as regular Python modules via ``pip`` [#f2]_. For a plugin available on the Python Package Index (PyPi), the process is as simple as issuing a diff --git a/docs/jsclientlib/index.rst b/docs/jsclientlib/index.rst index 8fcc6ee18..cf4f20376 100644 --- a/docs/jsclientlib/index.rst +++ b/docs/jsclientlib/index.rst @@ -32,7 +32,7 @@ correct URL prefix: --> -Regardless of which way you use to include the library, you'll also need to make sure you included JQuery and lodash, +Regardless of which way you use to include the library, you'll also need to make sure you included jQuery and lodash, because the library depends on those to be available (as ``$`` and ``_``). You can embed those like this: .. code-block:: html+jinja @@ -45,7 +45,7 @@ number of components, make sure to at the very least include that one to be able When you import the client library as described above, a global variable ``OctoPrint`` will become available, which is a prepared instance of the ``OctoPrintClient`` class the library assembles from registered components. You can directly -used that singular ``OctoPrint`` instance if you only need to talk to one OctoPrint server: +use that singular ``OctoPrint`` instance if you only need to talk to one OctoPrint server: .. code-block:: javascript diff --git a/docs/jsclientlib/job.rst b/docs/jsclientlib/job.rst index eed5ac808..834b67f70 100644 --- a/docs/jsclientlib/job.rst +++ b/docs/jsclientlib/job.rst @@ -64,7 +64,7 @@ .. js:function:: OctoPrintClient.job.resume(opts) - Resumes the current job if it's currently pause, does nothing if it's running. + Resumes the current job if it's currently paused, does nothing if it's running. See :ref:`Issue a job command ` for details. diff --git a/docs/jsclientlib/languages.rst b/docs/jsclientlib/languages.rst index 5e187525f..f13b6430b 100644 --- a/docs/jsclientlib/languages.rst +++ b/docs/jsclientlib/languages.rst @@ -5,7 +5,7 @@ .. note:: - All methods here require that the used API token or a the existing browser session + All methods here require that the used API token or the existing browser session has admin rights. .. js:function:: OctoPrintClient.languages.list(opts) diff --git a/docs/jsclientlib/printer.rst b/docs/jsclientlib/printer.rst index b4e107d45..14df29834 100644 --- a/docs/jsclientlib/printer.rst +++ b/docs/jsclientlib/printer.rst @@ -174,7 +174,7 @@ Sets the given temperature on the printer's heated bed (if available). - ``target`` is expected to be a the target temperature as a float value. + ``target`` is expected to be the target temperature as a float value. **Example:** diff --git a/docs/jsclientlib/system.rst b/docs/jsclientlib/system.rst index 709977141..a82b89f29 100644 --- a/docs/jsclientlib/system.rst +++ b/docs/jsclientlib/system.rst @@ -5,7 +5,7 @@ .. note:: - All methods here require that the used API token or a the existing browser session + All methods here require that the used API token or the existing browser session has admin rights. .. js:function:: OctoPrintClient.system.getCommands(opts) @@ -35,4 +35,4 @@ .. seealso:: :ref:`System API ` - Documentation of the underlying system API + Documentation of the underlying system API. diff --git a/docs/jsclientlib/timelapse.rst b/docs/jsclientlib/timelapse.rst index a16b8ec9a..351483ceb 100644 --- a/docs/jsclientlib/timelapse.rst +++ b/docs/jsclientlib/timelapse.rst @@ -15,7 +15,7 @@ .. js:function:: OctoPrintClient.timelapse.list(opts) - Get the lists of rendered and unrendered timelapses. The returned promis + Get the lists of rendered and unrendered timelapses. The returned promise will be resolved with an object containing the properties ``rendered`` which will have the list of rendered timelapses, and ``unrendered`` which will have the list of unrendered timelapses. diff --git a/docs/jsclientlib/users.rst b/docs/jsclientlib/users.rst index a07ac7cf9..dd11adb19 100644 --- a/docs/jsclientlib/users.rst +++ b/docs/jsclientlib/users.rst @@ -5,7 +5,7 @@ .. note:: - Most methods here require that the used API token or a the existing browser session + Most methods here require that the used API token or the existing browser session has admin rights *or* corresponds to the user to be modified. Some methods definitely require admin rights. diff --git a/docs/jsclientlib/util.rst b/docs/jsclientlib/util.rst index 4569d1d79..f88062ee7 100644 --- a/docs/jsclientlib/util.rst +++ b/docs/jsclientlib/util.rst @@ -5,7 +5,7 @@ .. note:: - All methods here require that the used API token or a the existing browser session + All methods here require that the used API token or the existing browser session has admin rights. .. js:function:: OctoPrintClient.util.test(command, parameters, opts) @@ -206,4 +206,4 @@ .. seealso:: :ref:`Util API ` - Documentation of the underlying util API + Documentation of the underlying util API. diff --git a/docs/jsclientlib/wizard.rst b/docs/jsclientlib/wizard.rst index 12a0cad25..90de044d0 100644 --- a/docs/jsclientlib/wizard.rst +++ b/docs/jsclientlib/wizard.rst @@ -5,7 +5,7 @@ .. note:: - All methods here require that the used API token or a the existing browser session + All methods here require that the used API token or the existing browser session has admin rights. .. js:function:: OctoPrintClient.wizard.get(opts) diff --git a/docs/plugins/concepts.rst b/docs/plugins/concepts.rst index ceaf3acaa..5e1c624cf 100644 --- a/docs/plugins/concepts.rst +++ b/docs/plugins/concepts.rst @@ -23,9 +23,9 @@ Lifecycle There are three sources of installed plugins that OctoPrint will check during start up: - * it's own ``octoprint/plugins`` folder (this is where the bundled plugins reside), + * its own ``octoprint/plugins`` folder (this is where the bundled plugins reside), * the ``plugins`` folder in its configuration directory (e.g. ``~/.octoprint/plugins`` on Linux), - * any python packages registered for the entry point ``octoprint.plugin``. + * any Python packages registered for the entry point ``octoprint.plugin``. Each plugin that OctoPrint finds it will first load, then enable. On enabling a plugin, OctoPrint will register its declared :ref:`hook handlers ` and :ref:`helpers `, apply @@ -36,7 +36,7 @@ any :ref:`settings overlays .py ``~/.octoprint/plugins`` folder. You already know how that works. But let's say you have more than just a simple plugin that can be done in one file. Distributing multiple files and getting your users to install them in the right way so that OctoPrint will be able to actually find and load them is certainly not impossible, but we want to do it in the -best way possible, meaning we want to make our plugin a fully installable python module that your users will be able to +best way possible, meaning we want to make our plugin a fully installable Python module that your users will be able to install directly via `OctoPrint's built-in Plugin Manager `_ or alternatively manually utilizing Python's standard package manager ``pip`` directly. @@ -282,7 +282,7 @@ of information now defined twice: plugin_version = "1.0.0" plugin_description = "A quick \"Hello World\" example plugin for OctoPrint" -The nice thing about our plugin now being a proper python package is that OctoPrint can and will access the metadata defined +The nice thing about our plugin now being a proper Python package is that OctoPrint can and will access the metadata defined within ``setup.py``! So, we don't really need to define all this data twice. Remove ``__plugin_name__``, ``__plugin_version__`` and ``__plugin_description__`` from ``__init__.py``: diff --git a/docs/plugins/helpers.rst b/docs/plugins/helpers.rst index 17cd18289..c411d3776 100644 --- a/docs/plugins/helpers.rst +++ b/docs/plugins/helpers.rst @@ -8,7 +8,7 @@ system. They are registered with the OctoPrint plugin system through the use of An example for providing some helper functions to the system can be found in the `Discovery Plugin `_, -which provides it's SSDP browsing and Zeroconf browsing and publishing functions as helper methods. +which provides its SSDP browsing and Zeroconf browsing and publishing functions as helper methods. .. code-block:: python :linenos: diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rst index 6843e1d01..c20d482ea 100644 --- a/docs/plugins/hooks.rst +++ b/docs/plugins/hooks.rst @@ -608,7 +608,7 @@ octoprint.comm.protocol.gcode.received .. py:function:: gcode_received_hook(comm_instance, line, *args, **kwargs) Get the returned lines sent by the printer. Handlers should return the received line or in any case, the modified - version of it. If the the handler returns None, processing will be aborted and the communication layer will get an + version of it. If the handler returns None, processing will be aborted and the communication layer will get an empty string as the received line. Note that Python functions will also automatically return ``None`` if an empty ``return`` statement is used or just nothing is returned explicitly from the handler. @@ -896,7 +896,7 @@ octoprint.printer.factory If the factory returns anything but ``None``, it will be assigned to the global ``printer`` instance. - If no of the registered factories return a printer instance, the default :class:`~octoprint.printer.standard.Printer` + If none of the registered factories return a printer instance, the default :class:`~octoprint.printer.standard.Printer` class will be instantiated. :param dict components: System components to use for printer instance initialization @@ -998,7 +998,7 @@ octoprint.server.http.routes that allows delivery of the requested resource as attachment and access validation through an optional callback. :class:`~octoprint.server.util.tornado.UrlForwardHandler` `tornado.web.RequestHandler `_ that proxies - requests to a preconfigured url and returns the response. + requests to a preconfigured URL and returns the response. :param list server_routes: read-only list of the currently configured server routes :return: a list of 3-tuples with additional routes as defined above @@ -1141,7 +1141,7 @@ octoprint.users.factory If the factory returns anything but ``None``, it will be assigned to the global ``userManager`` instance. - If no of the registered factories return a user manager instance, the class referenced by the ``config.yaml`` + If none of the registered factories return a user manager instance, the class referenced by the ``config.yaml`` entry ``accessControl.userManager`` will be initialized if possible, otherwise a stock :class:`~octoprint.users.FilebasedUserManager` will be instantiated, linked to the default user storage file ``~/.octoprint/users.yaml``. diff --git a/docs/plugins/injectedproperties.rst b/docs/plugins/injectedproperties.rst index 0e063773a..7b4bf311a 100644 --- a/docs/plugins/injectedproperties.rst +++ b/docs/plugins/injectedproperties.rst @@ -51,7 +51,7 @@ An overview of these properties follows. .. seealso:: :class:`~octoprint.plugin.core.Plugin` and :class:`~octoprint.plugin.types.OctoPrintPlugin` - Class documentation also containing the properties shared among all mixing implementations. + Class documentation also containing the properties shared among all mixin implementations. :ref:`Available Mixins ` Some mixin types trigger the injection of additional properties. diff --git a/docs/plugins/mixins.rst b/docs/plugins/mixins.rst index 95bf3e5cf..fa73c1757 100644 --- a/docs/plugins/mixins.rst +++ b/docs/plugins/mixins.rst @@ -153,7 +153,7 @@ An overview of these properties can be found in the section :ref:`Injected Prope .. seealso:: :class:`~octoprint.plugin.core.Plugin` and :class:`~octoprint.plugin.types.OctoPrintPlugin` - Class documentation also containing the properties shared among all mixing implementations. + Class documentation also containing the properties shared among all mixin implementations. .. _sec-plugins-mixins-available: diff --git a/docs/plugins/viewmodels.rst b/docs/plugins/viewmodels.rst index 584b745ba..b21d07e1f 100644 --- a/docs/plugins/viewmodels.rst +++ b/docs/plugins/viewmodels.rst @@ -125,7 +125,7 @@ gcodeFilesViewModel logViewModel View model for the logfile settings dialog. loginStateViewModel - View model for the current loginstate of the user, very interesting for plugins that need to + View model for the current login state of the user, very interesting for plugins that need to evaluate the current login state or information about the current user, e.g. associated roles. navigationViewModel View model for the navigation bar. @@ -168,7 +168,7 @@ OctoPrint's web application will call several callbacks on all registered view m Those are listed below: onStartup() - Called when the first initialization has been done: All view models are constructed and hence their dependencies + Called when the first initialization has been done. All view models are constructed and hence their dependencies resolved, no bindings have been done yet. onBeforeBinding() @@ -210,7 +210,7 @@ onDataUpdaterPluginMessage(plugin, message) Called when a plugin message is pushed from the server with the identifier of the calling plugin as first and the actual message as the second parameter. Note that the latter might be a full fledged object, depending on the plugin sending the message. You can use this method to asynchronously push data from your plugin's server - component to it's frontend component. + component to its frontend component. onUserLoggedIn(user) Called when a user gets logged into the web app, either passively (upon initial load of the page due to a valid From c04fade9a77f80cf134b3afe2b25587f8d67ce94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 10:46:20 +0100 Subject: [PATCH 76/82] docs: Fix two issues pointed out by @dforsi Thanks! --- docs/api/system.rst | 2 +- docs/plugins/hooks.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/system.rst b/docs/api/system.rst index 9bf0907ff..b39e0a1ad 100644 --- a/docs/api/system.rst +++ b/docs/api/system.rst @@ -139,7 +139,7 @@ Execute a registered system command .. http:post:: /api/system/commands/(string:source)/(string:action) - Execute the system command ``action`` on defined in ``source``. + Execute the system command ``action`` defined in ``source``. **Example** diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rst index c20d482ea..18d63f75f 100644 --- a/docs/plugins/hooks.rst +++ b/docs/plugins/hooks.rst @@ -851,7 +851,7 @@ octoprint.filemanager.preprocessor ``file_object`` will be a subclass of :class:`~octoprint.filemanager.util.AbstractFileWrapper`. Handlers may access the raw data of the file via :func:`~octoprint.filemanager.util.AbstractFileWrapper.stream`, e.g. - to wrap it further. Handlers which do not wish to handle the `file_object` + to wrap it further. Handlers which do not wish to handle the `file_object` should just return it untouched. **Example** From 709f7a76f10198b94695d00aa382b62660907d9c Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Sun, 18 Mar 2018 18:13:17 +0100 Subject: [PATCH 77/82] Remove unused or duplicated imports Fixes the following pylint's warnings: W: 9, 0: Unused import io (unused-import) W: 33, 1: Unused walk imported from os (unused-import) W:308, 4: Reimport 're' (imported line 16) (reimported) W: 17, 1: Reimport 'os' (imported line 8) (reimported) --- src/octoprint/_version.py | 1 - src/octoprint/daemon.py | 2 +- src/octoprint/timelapse.py | 4 ++-- src/octoprint_setuptools/__init__.py | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/octoprint/_version.py b/src/octoprint/_version.py index ee9406584..9c9eeab62 100644 --- a/src/octoprint/_version.py +++ b/src/octoprint/_version.py @@ -305,7 +305,6 @@ def git_parse_lookup_file(path): if not os.path.exists(path): return [] - import re lookup = [] with open(path, "r") as f: for line in f: diff --git a/src/octoprint/daemon.py b/src/octoprint/daemon.py index b6888271b..6b42e1d88 100644 --- a/src/octoprint/daemon.py +++ b/src/octoprint/daemon.py @@ -6,7 +6,7 @@ Originally from http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon """ from __future__ import absolute_import, division, print_function -import sys, os, time, signal, io +import sys, os, time, signal class Daemon: """ diff --git a/src/octoprint/timelapse.py b/src/octoprint/timelapse.py index d18fb2d9a..4019654e3 100644 --- a/src/octoprint/timelapse.py +++ b/src/octoprint/timelapse.py @@ -29,9 +29,9 @@ import collections import re try: - from os import scandir, walk + from os import scandir except ImportError: - from scandir import scandir, walk + from scandir import scandir # currently configured timelapse diff --git a/src/octoprint_setuptools/__init__.py b/src/octoprint_setuptools/__init__.py index 6913bc55c..1fb8b9909 100644 --- a/src/octoprint_setuptools/__init__.py +++ b/src/octoprint_setuptools/__init__.py @@ -14,7 +14,6 @@ from distutils.command.clean import clean as _clean def package_data_dirs(source, sub_folders): - import os dirs = [] for d in sub_folders: From 8cdae335a2a8f21d7daad6d565c7a6c089bc377d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 10:50:56 +0100 Subject: [PATCH 78/82] Fix typo in issue template --- .github/ISSUE_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index e36297938..c65e40fb2 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -61,7 +61,7 @@ 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 text this in safe mode, state why. +If you can't test this in safe mode, state why. --> #### Version of OctoPrint From 8a3a87efac04e9d004b915dd3072524fcc390f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 13:21:09 +0100 Subject: [PATCH 79/82] Extract firmware safety check into bundled plugin --- docs/bundledplugins/index.rst | 1 + docs/bundledplugins/printer_safety_check.rst | 43 +++++++ src/octoprint/events.py | 1 + .../plugins/printer_safety_check/__init__.py | 110 ++++++++++++++++++ .../static/css/printer_safety_check.css | 1 + .../static/js/printer_safety_check.js | 78 +++++++++++++ .../static/less/printer_safety_check.less | 15 +++ .../printer_safety_check_sidebar.jinja2 | 7 ++ src/octoprint/printer/__init__.py | 8 ++ src/octoprint/printer/standard.py | 24 ++-- src/octoprint/settings.py | 2 +- .../static/js/app/viewmodels/printerstate.js | 11 -- src/octoprint/static/less/octoprint.less | 23 ---- src/octoprint/templates/sidebar/state.jinja2 | 7 -- src/octoprint/util/comm.py | 25 +--- 15 files changed, 275 insertions(+), 81 deletions(-) create mode 100644 docs/bundledplugins/printer_safety_check.rst create mode 100644 src/octoprint/plugins/printer_safety_check/__init__.py create mode 100644 src/octoprint/plugins/printer_safety_check/static/css/printer_safety_check.css create mode 100644 src/octoprint/plugins/printer_safety_check/static/js/printer_safety_check.js create mode 100644 src/octoprint/plugins/printer_safety_check/static/less/printer_safety_check.less create mode 100644 src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2 diff --git a/docs/bundledplugins/index.rst b/docs/bundledplugins/index.rst index 53516474c..bd862b005 100644 --- a/docs/bundledplugins/index.rst +++ b/docs/bundledplugins/index.rst @@ -11,4 +11,5 @@ Bundled Plugins discovery.rst logging.rst pluginmanager.rst + printer_safety_check.rst softwareupdate.rst diff --git a/docs/bundledplugins/printer_safety_check.rst b/docs/bundledplugins/printer_safety_check.rst new file mode 100644 index 000000000..89974de48 --- /dev/null +++ b/docs/bundledplugins/printer_safety_check.rst @@ -0,0 +1,43 @@ +.. _sec-bundledplugins-printer_safety_check: + +Printer Safety Check +==================== + +The Printer Safety Check plugin comes bundled with OctoPrint starting with version 1.3.7. + +It tries to identify printers or rather printer firmwares with known safety issues, such as +disabled thermal runaway protection, and displays a warning box to logged in users on +such identification. + +.. _fig-bundledplugins-printer_safety_check-example: +.. figure:: ../images/bundledplugins-printer_safety_check-example.png + :align: center + :alt: Printer Safety Check warning example + + An example of a warning generated by the Printer Safety Check + +Currently the following firmwares produce this warning: + + * Anet A8 stock firmware + +If you know of further printers/printer firmwares that need to be added here, please +`get in touch on the forum and provide their response to an M115 `_. + +.. seealso:: + + `Entry on the "unsafe firmware" warning in OctoPrint's FAQ `_ + +.. note:: + + Feel free to disable the plugin in OctoPrint's Plugin Manager if you feel like it is unnecessary. Be advised though + that even if your printer might be running totally fine with a known unsafe configuration, that might change + unexpectedly and with `catastrophic `_ + `results `_. + +.. _sec-bundledplugins-printer_safety_check-source: + +Source Code +----------- + +The source of the Printer Safety Check plugin is bundled with OctoPrint and can be +found in its source repository under ``src/octoprint/plugins/printer_safety_check``. diff --git a/src/octoprint/events.py b/src/octoprint/events.py index 476e6d182..4b2e2a12b 100644 --- a/src/octoprint/events.py +++ b/src/octoprint/events.py @@ -88,6 +88,7 @@ class Events(object): EJECT = "Eject" E_STOP = "EStop" POSITION_UPDATE = "PositionUpdate" + FIRMWARE_DATA = "FirmwareData" TOOL_CHANGE = "ToolChange" REGISTERED_MESSAGE_RECEIVED = "RegisteredMessageReceived" diff --git a/src/octoprint/plugins/printer_safety_check/__init__.py b/src/octoprint/plugins/printer_safety_check/__init__.py new file mode 100644 index 000000000..431892cf6 --- /dev/null +++ b/src/octoprint/plugins/printer_safety_check/__init__.py @@ -0,0 +1,110 @@ +# coding=utf-8 +from __future__ import absolute_import, division, print_function + +__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' +__copyright__ = "Copyright (C) 2018 The OctoPrint Project - Released under terms of the AGPLv3 License" + +import octoprint.plugin + +from octoprint.events import Events +from octoprint.server import user_permission + +import flask +from flask_babel import gettext + +import textwrap + +TERMINAL_SAFETY_WARNING = """ +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +{message} + +Learn more at https://faq.octoprint.org/warning-{warning_type} +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +""" + +SAFETY_CHECKS = { + "firmware-unsafe": (lambda name, data: name and name.lower().startswith("anet_a8_"),) +} + +class PrinterSafetyCheckPlugin(octoprint.plugin.AssetPlugin, + octoprint.plugin.EventHandlerPlugin, + octoprint.plugin.SimpleApiPlugin, + octoprint.plugin.TemplatePlugin): + + # noinspection PyMissingConstructor + def __init__(self): + self._warnings = dict() + + ##~~ TemplatePlugin API + + def get_template_configs(self): + return [ + dict(type="sidebar", + name=gettext("Printer Safety Warning"), + data_bind="visible: printerState.isOperational() && loginState.isAdmin() && warnings().length > 0", + icon="exclamation-triangle", + styles_wrapper=["display: none"]) + ] + + ##~~ AssetPlugin API + + def get_assets(self): + return dict(js=("js/printer_safety_check.js",), + css=("css/printer_safety_check.css",), + less=("less/printer_safety_check.less",)) + + ##~~ EventHandlerPlugin API + + def on_event(self, event, payload): + if event == Events.FIRMWARE_DATA: + self._analyze_firmware_data(payload.get("name"), payload.get("data")) + elif event == Events.DISCONNECTED: + self._reset_warnings() + + ##~~ SimpleApiPlugin API + + def on_api_get(self, request): + if not user_permission.can(): + return flask.make_response("Insufficient rights", 403) + return flask.jsonify(self._warnings) + + ##~~ Helpers + + def _analyze_firmware_data(self, name, data): + changes = False + + for warning_type, checks in SAFETY_CHECKS.items(): + if any(x(name, data) for x in checks): + message = u"Your printer's firmware is known to lack mandatory safety features (e.g. " \ + u"thermal runaway protection). This is a fire risk." + self._log_to_terminal(TERMINAL_SAFETY_WARNING.format(message="\n".join(textwrap.wrap(message, 75)), + warning_type=warning_type)) + self._warnings[warning_type] = message + changes = True + + if changes: + self._ping_clients() + + def _reset_warnings(self): + self._warnings.clear() + self._ping_clients() + + def _log_to_terminal(self, message): + if self._printer: + lines = message.split("\n") + self._printer.log_lines(*lines) + + def _ping_clients(self): + self._plugin_manager.send_plugin_message(self._identifier, dict(type="update")) + +__plugin_name__ = "Printer Safety Check" +__plugin_author__ = "Gina Häußge" +__plugin_url__ = "http://docs.octoprint.org/en/master/bundledplugins/printer_safety_check.html" +__plugin_description__ = "Checks for unsafe printers/printer firmwares" +__plugin_disabling_discouraged__ = gettext("Without this plugin OctoPrint will no longer be able to " + "check if the printer it is connected to has a known safety" + "issue and inform you about that fact.") +__plugin_license__ = "AGPLv3" +__plugin_implementation__ = PrinterSafetyCheckPlugin() + diff --git a/src/octoprint/plugins/printer_safety_check/static/css/printer_safety_check.css b/src/octoprint/plugins/printer_safety_check/static/css/printer_safety_check.css new file mode 100644 index 000000000..b806ecf6a --- /dev/null +++ b/src/octoprint/plugins/printer_safety_check/static/css/printer_safety_check.css @@ -0,0 +1 @@ +#sidebar_plugin_printer_safety_check_wrapper{border:1px solid #b94a48}#sidebar_plugin_printer_safety_check_wrapper .accordion-heading{background-color:#b94a48;font-weight:700;color:#fff}#sidebar_plugin_printer_safety_check_wrapper .accordion-heading .icon-black,#sidebar_plugin_printer_safety_check_wrapper .accordion-heading a,#sidebar_plugin_printer_safety_check_wrapper .accordion-heading a:active,#sidebar_plugin_printer_safety_check_wrapper .accordion-heading a:hover,#sidebar_plugin_printer_safety_check_wrapper .accordion-heading a:visited{color:#fff} \ No newline at end of file diff --git a/src/octoprint/plugins/printer_safety_check/static/js/printer_safety_check.js b/src/octoprint/plugins/printer_safety_check/static/js/printer_safety_check.js new file mode 100644 index 000000000..c69bf8eb6 --- /dev/null +++ b/src/octoprint/plugins/printer_safety_check/static/js/printer_safety_check.js @@ -0,0 +1,78 @@ +(function (global, factory) { + if (typeof define === "function" && define.amd) { + define(["OctoPrintClient"], factory); + } else { + factory(global.OctoPrintClient); + } +})(this, function(OctoPrintClient) { + var OctoPrintPrinterSafetyCheckClient = function(base) { + this.base = base; + }; + + OctoPrintPrinterSafetyCheckClient.prototype.get = function(opts) { + return this.base.get(this.base.getSimpleApiUrl("printer_safety_check"), opts); + }; + + OctoPrintClient.registerPluginComponent("printer_safety_check", OctoPrintPrinterSafetyCheckClient); + return OctoPrintPrinterSafetyCheckClient; +}); + +$(function() { + function PrinterSafetyCheckViewModel(parameters) { + var self = this; + + self.loginState = parameters[0]; + self.printerState = parameters[1]; + + self.warnings = ko.observableArray([]); + + self.requestData = function() { + if (!self.loginState.isUser()) { + self.warnings([]); + return; + } + + OctoPrint.plugins.printer_safety_check.get() + .done(self.fromResponse) + .fail(function() { + self.warnings([]); + }); + }; + + self.fromResponse = function(data) { + var warnings = []; + _.each(data, function(message, warning_type) { + warnings.push({type: warning_type, message: message}); + }); + self.warnings(warnings); + }; + + self.onStartup = function() { + self.requestData(); + }; + + self.onUserLoggedIn = function() { + self.requestData(); + }; + + self.onUserLoggedOut = function() { + self.requestData(); + }; + + self.onDataUpdaterPluginMessage = function(plugin, data) { + if (plugin !== "printer_safety_check") return; + if (!data.hasOwnProperty("type")) return; + + if (data.type === "update") { + self.requestData(); + } + } + } + + OCTOPRINT_VIEWMODELS.push({ + construct: PrinterSafetyCheckViewModel, + dependencies: ["loginStateViewModel", "printerStateViewModel"], + elements: ["#sidebar_plugin_printer_safety_check_wrapper"] + }); +}); + diff --git a/src/octoprint/plugins/printer_safety_check/static/less/printer_safety_check.less b/src/octoprint/plugins/printer_safety_check/static/less/printer_safety_check.less new file mode 100644 index 000000000..3dc124f1b --- /dev/null +++ b/src/octoprint/plugins/printer_safety_check/static/less/printer_safety_check.less @@ -0,0 +1,15 @@ +#sidebar_plugin_printer_safety_check_wrapper { + border: 1px solid #b94a48; + + .accordion-heading { + background-color: #b94a48; + font-weight: bold; + color: #fff; + a, a:hover, a:visited, a:active { + color: #fff; + } + .icon-black { + color: #fff; + } + } +} diff --git a/src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2 b/src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2 new file mode 100644 index 000000000..a09f76812 --- /dev/null +++ b/src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2 @@ -0,0 +1,7 @@ +

{{ _('Warning!') }}

+ +

+
+ {{ _('Learn more...') }} +

+ diff --git a/src/octoprint/printer/__init__.py b/src/octoprint/printer/__init__.py index 89dc75c71..7c52b1388 100644 --- a/src/octoprint/printer/__init__.py +++ b/src/octoprint/printer/__init__.py @@ -430,6 +430,14 @@ class PrinterInterface(object): """ raise NotImplementedError() + def log_lines(self, *lines): + """ + Logs the provided lines to the printer log and serial.log + Args: + *lines: the lines to log + """ + pass + def get_state_string(self, *args, **kwargs): """ Returns: diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index aa058687c..c7f27492d 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -120,8 +120,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): printTimeLeft=None, printTimeOrigin=None), current_z=None, - offsets=self._dict(), - warnings=self._dict() + offsets=self._dict() ) eventManager().subscribe(Events.METADATA_ANALYSIS_FINISHED, self._on_event_MetadataAnalysisFinished) @@ -532,6 +531,12 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): # for further processing self._comm.cancelPrint(tags=kwargs.get("tags", set()) | {"trigger:printer.cancel_print"}) + def log_lines(self, *lines): + serial_logger = logging.getLogger("SERIAL") + self.on_comm_log("\n".join(lines)) + for line in lines: + serial_logger.debug(line) + def get_state_string(self, state=None, *args, **kwargs): if self._comm is None: return "Offline" @@ -1067,7 +1072,6 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._setCurrentZ(None) self._setJobData(None, None, None) self._setOffsets(None) - self._stateMonitor.set_warnings(None) self._addTemperatureData() self._printerProfileManager.deselect() eventManager().fire(Events.DISCONNECTED) @@ -1256,9 +1260,6 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): except: self._logger.exception("Error while trying to persist print recovery data") - def on_comm_set_warnings(self, warnings): - self._stateMonitor.set_warnings(self._dict(warnings)) - def _payload_for_print_job_event(self, location=None, print_job_file=None, print_job_size=None, position=None): if print_job_file is None: with self._selectedFileMutex: @@ -1315,7 +1316,6 @@ class StateMonitor(object): self._current_z = None self._offsets = dict() self._progress = None - self._warnings = dict() self._progress_dirty = False @@ -1333,13 +1333,12 @@ class StateMonitor(object): return self._on_get_progress() return self._progress - def reset(self, state=None, job_data=None, progress=None, current_z=None, offsets=None, warnings=None): + def reset(self, state=None, job_data=None, progress=None, current_z=None, offsets=None): self.set_state(state) self.set_job_data(job_data) self.set_progress(progress) self.set_current_z(current_z) self.set_temp_offsets(offsets) - self.set_warnings(warnings) def add_temperature(self, temperature): self._on_add_temperature(temperature) @@ -1353,10 +1352,6 @@ class StateMonitor(object): self._on_add_message(message) self._change_event.set() - def set_warnings(self, warnings): - self._warnings = warnings - self._change_event.set() - def set_current_z(self, current_z): self._current_z = current_z self._change_event.set() @@ -1414,8 +1409,7 @@ class StateMonitor(object): "job": self._job_data, "currentZ": self._current_z, "progress": self._progress, - "offsets": self._offsets, - "warnings": self._warnings + "offsets": self._offsets } diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index e3600772a..28bae863d 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -280,7 +280,7 @@ default_settings = { "components": { "order": { "navbar": ["settings", "systemmenu", "plugin_announcements", "login"], - "sidebar": ["connection", "state", "files"], + "sidebar": ["plugin_printer_safety_check", "connection", "state", "files"], "tab": ["temperature", "control", "gcodeviewer", "terminal", "timelapse"], "settings": [ "section_printer", "serial", "printerprofiles", "temperatures", "terminalfilters", "gcodescripts", diff --git a/src/octoprint/static/js/app/viewmodels/printerstate.js b/src/octoprint/static/js/app/viewmodels/printerstate.js index e88c635c4..9028291c9 100644 --- a/src/octoprint/static/js/app/viewmodels/printerstate.js +++ b/src/octoprint/static/js/app/viewmodels/printerstate.js @@ -39,8 +39,6 @@ $(function() { self.sd = ko.observable(undefined); self.timelapse = ko.observable(undefined); - self.warnings = ko.observableArray([]); - self.busyFiles = ko.observableArray([]); self.filament = ko.observableArray([]); @@ -187,7 +185,6 @@ $(function() { self._processProgressData(data.progress); self._processZData(data.currentZ); self._processBusyFiles(data.busyFiles); - self._processWarnings(data.warnings); }; self._processStateData = function(data) { @@ -275,14 +272,6 @@ $(function() { self.busyFiles(busyFiles); }; - self._processWarnings = function(data) { - var warnings = []; - _.each(data, function(message, key) { - warnings.push({type: key, message: message}); - }); - self.warnings(warnings); - }; - self.print = function() { if (self.isPaused()) { showConfirmationDialog({ diff --git a/src/octoprint/static/less/octoprint.less b/src/octoprint/static/less/octoprint.less index 7b973313b..afc82f098 100644 --- a/src/octoprint/static/less/octoprint.less +++ b/src/octoprint/static/less/octoprint.less @@ -638,29 +638,6 @@ ul.dropdown-menu li a { hr { margin: 5px 0; } - - .alert { - margin-bottom: 5px; - - a { - text-decoration: underline; - } - } - - .alert a { - color: #c09853; - } - .alert-error a, - .alert-danger a { - color: #b94a48; - } - .alert-success a { - color: #468847; - } - .alert-info a { - color: #3a87ad; - } - } /** GCODE file manager */ diff --git a/src/octoprint/templates/sidebar/state.jinja2 b/src/octoprint/templates/sidebar/state.jinja2 index 0c2e43c07..c961ba07f 100644 --- a/src/octoprint/templates/sidebar/state.jinja2 +++ b/src/octoprint/templates/sidebar/state.jinja2 @@ -1,10 +1,3 @@ -
-
- {{ _('Warning!') }} -
- {{ _('Learn more...') }} -
-
{{ _('State') }}:

{{ _('File') }}:  (SD)
diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index cc7834aed..b24fc5310 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -19,7 +19,6 @@ except ImportError: from past.builtins import basestring import logging -import textwrap import serial @@ -199,16 +198,6 @@ regex_firmware_splitter = re.compile("\s*([A-Z0-9_]+):") regex_resend_linenumber = re.compile("(N|N:)?(?P%s)" % regex_int_pattern) """Regex to use for request line numbers in resend requests""" -SAFETY_WARNING = """ -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -{message} - -Learn more at https://faq.octoprint.org/warning-{key} -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -""" - - def serialList(): baselist=[] if os.name=="nt": @@ -444,8 +433,6 @@ class MachineCom(object): self._toolBeforeHeatup = None self._knownInvalidTools = set() - self._warnings = dict() - self._long_running_command = False self._heating = False self._dwelling_until = False @@ -1691,14 +1678,7 @@ class MachineCom(object): if name and "malyan" in name.lower() and ver: firmware_name = name.strip() + " " + ver.strip() - # special handling for dangerous firmware without obligatory safety features - if firmware_name and firmware_name.lower().startswith("anet_a8"): - key = "firmware-unsafe" - message = "Your printer's firmware is known to lack mandatory safety features (e.g. " \ - "thermal runaway protection). This is a fire risk." - self._log(SAFETY_WARNING.format(message="\n".join(textwrap.wrap(message, 75)), key=key)) - self._warnings[key] = message - self._callback.on_comm_set_warnings(self._warnings) + eventManager().fire(Events.FIRMWARE_DATA, dict(name=firmware_name, data=data)) if not self._firmware_info_received and firmware_name: firmware_name = firmware_name.strip() @@ -3392,9 +3372,6 @@ class MachineComPrintCallback(object): def on_comm_record_fileposition(self, origin, name, pos): pass - def on_comm_set_warnings(self, warnings): - pass - ### Printing file information classes ################################################################################## class PrintingFileInformation(object): From da2c9632ea54fd1b3c8ae34f8f26bab29dbaf3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 13:46:19 +0100 Subject: [PATCH 80/82] Preparing release of 1.3.7rc1 --- CHANGELOG.md | 75 + README.md | 2 + SUPPORTERS.md | 16 +- .../translations/de/LC_MESSAGES/messages.mo | Bin 125354 -> 125348 bytes .../translations/de/LC_MESSAGES/messages.po | 1745 +++++++++------- translations/de/LC_MESSAGES/messages.mo | Bin 125354 -> 125348 bytes translations/de/LC_MESSAGES/messages.po | 1763 ++++++++++------- translations/messages.pot | 1586 +++++++-------- 8 files changed, 2985 insertions(+), 2202 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a325b975e..490503c4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,80 @@ # OctoPrint Changelog +## 1.3.7rc1 (2018-03-19) + +### Improvements + + * [#324](https://github.com/foosel/OctoPrint/issues/324) & [#2414](https://github.com/foosel/OctoPrint/issues/2414) - Native support for the following [@ commands](http://docs.octoprint.org/en/maintenance/features/atcommands.html): `@pause` (pauses the print), `@resume` (resumes the print), `@cancel` or `@abort` (cancels the print). More commands can be added through the plugin hooks [`octoprint.comm.protocol.atcommand.*`](http://docs.octoprint.org/en/maintenance/plugins/hooks.html#octoprint-comm-protocol-atcommand-phase). + * [#2208](https://github.com/foosel/OctoPrint/issues/2208) - New plugin hook [`octoprint.comm.protocol.gcode.error`](http://docs.octoprint.org/en/maintenance/plugins/hooks.html#octoprint-comm-protocol-gcode-error) to allow plugins to override OctoPrint's handling of `Error:`/`!!` messages reported by the firmware. Can be used to "downgrade" errors that aren't actually fatal errors that make the printer halt. + * [#2213](https://github.com/foosel/OctoPrint/issues/2213) - Made sure to prevent accidental configuration of a temperature cutoff value less than 1min for the temperature graph. + * [#2250](https://github.com/foosel/OctoPrint/pull/2250) - Added [`octoprint.util.ResettableTimer`](http://docs.octoprint.org/en/maintenance/modules/util.html#octoprint.util.ResettableTimer) helper class. + * [#2287](https://github.com/foosel/OctoPrint/issues/2287) - Added confirmation for attempting to disconnect during an ongoing print. See also [#2466](https://github.com/foosel/OctoPrint/pull/2466). + * [#2302](https://github.com/foosel/OctoPrint/issues/2302) - Detect invalid tools as reported by firmware and blacklist them for `T` commands. + * [#2317](https://github.com/foosel/OctoPrint/issues/2317) - Removed capturing of post roll images for time based timelapses, was causing too much confusion and surprise. + * [#2335](https://github.com/foosel/OctoPrint/issues/2335) - First throw at detecting if a print from the printer's SD was started outside of OctoPrint via the printer's control panel. Requires some specific requirements to be fulfilled by the printer's firmware to function properly: + * Firmware must send a "File opened: ..." message on start of the print + * Firmware must respond to an immediately sent `M27` with `SD printing byte /` + * Firmware must stay responsive during ongoing print to allow for regular M27 polls (or push those automatically) or M25 to pause/cancel the print through OctoPrint. + * [#2362](https://github.com/foosel/OctoPrint/issues/2362) - Added option to configure timelapse snapshot timeout. + * [#2367](https://github.com/foosel/OctoPrint/issues/2367) - Added support for `//action:cancel` action command. + * [#2378](https://github.com/foosel/OctoPrint/issues/2378) - Made GCODE viewer gracefully handle GCODE subcodes. + * [#2385](https://github.com/foosel/OctoPrint/pull/2385) - Made valid boolean trues check case insensitive. + * [#2304](https://github.com/foosel/OctoPrint/pull/2304) & [#2405](https://github.com/foosel/OctoPrint/pull/2405) - Added support to trust Basic Authentication headers for user login. Currently requires [manual configuration through `config.yaml`](http://docs.octoprint.org/en/maintenance/configuration/config_yaml.html#access-control), see the `accessControl.trustBasicAuthentication` and `accessControl.checkBasicAuthenticationPassword` settings. + * [#2338](https://github.com/foosel/OctoPrint/pull/2338) - Allowed plugins to define GCODE script variables using the `octoprint.comm.protocol.scripts` hook. + * [#2406](https://github.com/foosel/OctoPrint/pull/2406) - Extracted log management into its own bundled plugin and allow fine tuning of log levels. + * [#2409](https://github.com/foosel/OctoPrint/pull/2409) - Added `m4v` and `mkv` to the list of accepted timelapse extensions. + * [#2444](https://github.com/foosel/OctoPrint/pull/2444) - Support additional CSS classes on custom control buttons. + * [#2448](https://github.com/foosel/OctoPrint/issues/2448) - Also detect plugins in `~/.octoprint/plugins` that are provided as bytecode `pyc` instead of source `py` files. + * [#2455](https://github.com/foosel/OctoPrint/issues/2455) - Added option to configure SSL validation for snapshot URL. + * Support `M114` response format of RepRapFirmware (uses `X:... Y:... Z:... E0:... E1:...` instead of +`X:... Y:... Z:... E:...`) + * Added refresh button to connection panel for easy refresh of the available ports to connect to without having to reload the whole page. + * Increased upper bound of PySerial dependency from 2.7 to 3.4. See also [#2333](https://github.com/foosel/OctoPrint/issues/2333). + * Switch to lower communication timeouts if support of the `busy` protocol by the firmware is detected. + * Refactored serial settings dialog, now has sub tabs and more explanations. + * Allow to disable support for certain firmware capabilities, even if reported as supported by the firmware: `busy` protocol, temperature auto reporting, SD status auto reporting + * Attached tags to GCODE commands moving through the comm layer and allowed plugins to access and extend these tags through the GCODE hooks. Makes it possible for plugins to detect the origin of a command (streamed file vs. GCODE script vs. user input vs. plugin), the point where it entered the system and so on. Also added a new logger `octoprint.util.comm.command_phases` that if set to `DEBUG` will log the lifecycle of commands through the comm layer including tags to `octoprint.log`. See also [the docs here](http://docs.octoprint.org/en/maintenance/plugins/hooks.html#octoprint-comm-protocol-gcode-phase). + * Added new [`job_on_hold`](http://docs.octoprint.org/en/maintenance/modules/printer.html#octoprint.printer.PrinterInterface.job_on_hold) and [`set_job_on_hold`](http://docs.octoprint.org/en/maintenance/modules/printer.html#octoprint.printer.PrinterInterface.set_job_on_hold) methods on the printer instance, allowing plugins to quickly stall the streaming of a queue. This should be used sparingly - abuse will have significant negative effects on the print job. Read the docs if you plan to utilize this. + * Support extraction of plugin metadata even from disabled and blacklisted plugins through the AST of the module. + * Better logging of printer callback errors and utilization of `frozendict` for internal printer state propagation in an attempt to narrow down on [#1951](https://github.com/foosel/OctoPrint/issues/1951). Should `frozendict` cause issues it can be disabled through the settings in `config.yaml`, just set `devel.useFrozenDictForPrinterState` to `false` + * Log comm state changes to `octoprint.log`. + * Added a regular server heartbeat to the log (every 15min). + * Support SD status auto report by the firmware. + * Added `Not SD printing` to default "SD status" terminal filters. + * Added custom `readline` implementation for the serial port. Instead of relying on PySerial's `readline` that depending on the installed version might only read from the port one byte at the time, we now wait for one byte and then read everything available into a persistent buffer which then is used to fetch lines from. + * Ensure that `callViewModelIf` doesn't try to call null or uncallable `method`s. + * Added links to the new [Community Forum](https://discourse.octoprint.org) and the new location of the [FAQ](https://faq.octoprint.org). + * Improved pip utility logging, `LocalPipHelper` wasn't producing output, making it hard to debug such non writable install directories. + * Added a new bundled plugin "Printer Safety Check" that will try to identify printer/printer firmware with known safety issues such as missing thermal runaway protection. + * Plugin Manager: Reduce notification spam. See also [#2260](https://github.com/foosel/OctoPrint/issues/2260). + * Software Update Plugin: Better detection if an update is already running. + * Software Update Plugin: Refer to `plugin_softwareupdate_console.log` on update errors in log and notification. + +### Bugfixes + + * [#2294](https://github.com/foosel/OctoPrint/issues/2294) - Improved resilience against errors during gathering the file list (e.g. permission errors) + * [#2296](https://github.com/foosel/OctoPrint/issues/2296) - Fixed `X-Forwarded-For` handling in Flask Login through monkey patched backport. + * [#2297](https://github.com/foosel/OctoPrint/issues/2297) - Return `403` instead of `401` on missing/insufficient credentials. + * [#2311](https://github.com/foosel/OctoPrint/issues/2311) - Fixed server not auto connecting on startup if port is set to `AUTO` (see also [#2311](https://github.com/foosel/OctoPrint/pull/2337)). + * [#2316](https://github.com/foosel/OctoPrint/issues/2316) - Check for valid queue entry in file analysis queue before trying to dequeue, fix for a HTTP `500` on upload of a file not supported for analysis. + * [#2321](https://github.com/foosel/OctoPrint/issues/2321) & [#2449](https://github.com/foosel/OctoPrint/issues/2449) - Fixed wrong queuing order of cancel script & first line from printed file on quick start-cancel-start scenarios by introducing a two new states "Cancelling" and "Pausing". + * [#2324](https://github.com/foosel/OctoPrint/pull/2324) - Fixed 500 error when + * [#2333](https://github.com/foosel/OctoPrint/issues/2333) (Part 1/3) - Workaround for an update problem caused by interaction of `pip` with dependencies formerly installed as eggs through `python setup.py install`. + * [#2333](https://github.com/foosel/OctoPrint/issues/2333) (Part 2/3) - If supported by the underlying PySerial version, cancel all reads and writes on disconnect if possible for a faster connection release. Part 3 (forcing an upgrade of PySerial to 3.4 so this should work in more cases) will in OctoPrint 1.3.8. + * [#2364](https://github.com/foosel/OctoPrint/issues/2364) - Fixed firmware error reporting in case of cancelling a print due to a firmware error. + * [#2368](https://github.com/foosel/OctoPrint/issues/2368) - Fixed for incorrect handling of unicode filenames in cura slicer profiles + * [#2371](https://github.com/foosel/OctoPrint/issues/2371) - Removed "just now"/"gerade eben" label from temperature graph to work around a graph resize issue caused by that. + * [#2392](https://github.com/foosel/OctoPrint/issues/2392) - Fixed "Copy all" on terminal tab only working the first time. + * [#2406](https://github.com/foosel/OctoPrint/pull/2406) - Fixed `showTab` JS function of about dialog. + * [#2426](https://github.com/foosel/OctoPrint/issues/2426) - Made resend logging to `octoprint.log` unicode safe + * [#2442](https://github.com/foosel/OctoPrint/issues/2442) - Don't even import disabled plugins, use a dummy entry for them just like for backlisted plugins. More resilience against misbehaving plugins. + * [#2461](https://github.com/foosel/OctoPrint/issues/2461) - Fixed OctoPrint not properly disconnecting in case of a firmware error. + * Announcement Plugin: Fixed a missing line break in case of more than three announcements in a notification. + * Docs: Documentation for printer profile related bits and pieces + * Docs: Various fixes of typos and grammar. + +([Commits](https://github.com/foosel/OctoPrint/compare/1.3.6...1.3.7rc1)) + ## 1.3.6 (2017-12-12) ### Note for upgraders and plugin authors: Change in the bundling of JS assets can lead to issues in plugins diff --git a/README.md b/README.md index 05481b5ca..b44dfe19e 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ Its website can be found at [octoprint.org](https://octoprint.org/?utm_source=gi The community forum is available at [discourse.octoprint.org](https://discourse.octoprint.org/?utm_source=github&utm_medium=readme). +The FAQ can be accessed by following [faq.octoprint.org](https://faq.octoprint.org/?utm_source=github&utm_medium=readme). + The documentation is located at [docs.octoprint.org](http://docs.octoprint.org). The official plugin repository can be reached at [plugins.octoprint.org](https://plugins.octoprint.org/?utm_source=github&utm_medium=readme). diff --git a/SUPPORTERS.md b/SUPPORTERS.md index 29c55a3e3..2690df2f6 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -11,12 +11,10 @@ thanks to everyone who contributed! * Andrew Moorby * Arnljot Arntsen * BEEVERYCREATIVE - * Boris Hussein * Brad Jackson * Brian E. Tyler * Christian Petropolis * COLLE+McVOY - * CreativeTools * D Brian Kimmel * DeltaMaker 3D Printers * E3D BigBox @@ -24,19 +22,18 @@ thanks to everyone who contributed! * F. Kunsmann * Frank Sander * Gary Deen - * Gary N McKinney - * George Robles * günter weber * James Seigel - * Jason Lawrence * Jeff Moe + * Jefferson Hunt + * Jeremiah Avery * Josh Daniels * Kaile Riser * Kale Stedman * Kazuhiro Ogura + * Kodama Inc. * Makespace Madrid - * Marcus Ackermann - * Mark Walker + * Martin Beattie * Michael Aumock * Miles Flavel * mitchell hirsch @@ -44,8 +41,8 @@ thanks to everyone who contributed! * Noe Ruiz * Patrick McGinnis * Peter Schmehl - * PRINT3Dforum.com * Randy C. Will + * Robert Gusek * Roger Strolz * Roy Cortes * Samer Najia @@ -55,7 +52,6 @@ thanks to everyone who contributed! * Sven Mueller * Symbiotic Devices * Thomas Hatley - * Timeshell.ca * Trent Shumay -and 1062 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)! \ No newline at end of file +and 1188 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)! \ No newline at end of file diff --git a/src/octoprint/translations/de/LC_MESSAGES/messages.mo b/src/octoprint/translations/de/LC_MESSAGES/messages.mo index 700ea0115f3bcec4324de3b9f5211e40e233041b..f779144bdcd5d7286c930131bb90613094b86da1 100644 GIT binary patch delta 23384 zcmb8#349bq+Q;#3NI>rUz8d5vgj?hag!@KLMM0b-6EcuY!psB&l>w2<3vtu|5fubP zL{X!RsI1DNcmks0isHegc&y60iVN%e`*(E^)IHw)eBSrl)zjTo_0&_zvOTYFQ&W-)^{ZE{?IRsP&dPu$&Q=brlzcJ@?{r z%5Au7AP?G(m3UCnXv_MP^VPX~4CNp3P0EAES=QTFW4vWmVthJT2?tbN{_CztixQejM`OUaFS&mLu;~SwSwc=of|4&ZCUqH9yZ0Y`cXcP zLnycQSr(nQB3KExVJUnKYvVptWWU7nSSrJ^DquCNMEzD{4w_;ItcVlz1NyNF7JB8y zSdDTVYv7~a`IoT-<^7)TqAEIws`x0Xfp(^4CF4L;1BYX@3wcYXS?O4m%f0v`uIIYVd6sn>CvWLp5wdl!M9~Ou|N(hc)pwY>n%%4(>%aiM(>D z>&<-*Dn~k?hO!^_!4as2+>T1Zhfp1T0Ug|lYH;)@2MWzMsI2@2FTsm$Fgej1^?;$+ z1v9ZRu0$p6^Qiki^?v^rRdLg~memluVGFzh)$@6%h^)XA&Hu+aQ1Tr@Rdn1d|B6Y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de/LC_MESSAGES/messages.po index 8220bcd44..3fb9207a2 100644 --- a/src/octoprint/translations/de/LC_MESSAGES/messages.po +++ b/src/octoprint/translations/de/LC_MESSAGES/messages.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: OctoPrint\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2017-12-05 12:29+0100\n" -"PO-Revision-Date: 2017-12-05 12:31+0100\n" +"POT-Creation-Date: 2018-03-16 13:18+0100\n" +"PO-Revision-Date: 2018-03-16 14:07+0100\n" "Last-Translator: Gina Häußge \n" "Language: de\n" "Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n" @@ -46,12 +46,12 @@ msgid "You can edit your announcement subscriptions under Settings > Announcemen msgstr "Du kannst deine Benachrichtigungsabonnements unter Einstellungen > Benachrichtigungen konfigurieren." #: src/octoprint/plugins/announcements/static/js/announcements.js:271 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:957 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:973 msgid "Later" msgstr "Später" #: src/octoprint/plugins/announcements/static/js/announcements.js:277 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:964 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:980 msgid "Mark read" msgstr "Gelesen" @@ -81,15 +81,16 @@ msgstr "Konfigurierte Kanäle" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profileImporter.jinja2:27 #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:9 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:11 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:50 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:43 #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:4 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:12 #: src/octoprint/templates/dialogs/settings/terminalfilters.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:4 -#: src/octoprint/templates/tabs/timelapse.jinja2:130 -#: src/octoprint/templates/tabs/timelapse.jinja2:175 +#: src/octoprint/templates/tabs/timelapse.jinja2:121 +#: src/octoprint/templates/tabs/timelapse.jinja2:166 msgid "Name" msgstr "Name" @@ -362,6 +363,7 @@ msgstr "Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker ent #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:7 #: src/octoprint/plugins/cura/templates/cura_settings.jinja2:1 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditor.jinja2:9 #: src/octoprint/templates/tabs/control.jinja2:114 msgid "General" @@ -446,22 +448,22 @@ msgid "

\n" msgstr "

Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den korrekten Pfad zu FFMPEG wissen.

" #: src/octoprint/plugins/cura/static/js/cura.js:234 -#: src/octoprint/static/js/app/viewmodels/settings.js:357 +#: src/octoprint/static/js/app/viewmodels/settings.js:387 msgid "The path doesn't exist" msgstr "Der Pfad existiert nicht" #: src/octoprint/plugins/cura/static/js/cura.js:236 -#: src/octoprint/static/js/app/viewmodels/settings.js:359 +#: src/octoprint/static/js/app/viewmodels/settings.js:389 msgid "The path is not a file" msgstr "Der Pfad ist keine Datei" #: src/octoprint/plugins/cura/static/js/cura.js:238 -#: src/octoprint/static/js/app/viewmodels/settings.js:361 +#: src/octoprint/static/js/app/viewmodels/settings.js:391 msgid "The path is not an executable" msgstr "Der Pfad ist nicht ausführbar" #: src/octoprint/plugins/cura/static/js/cura.js:241 -#: src/octoprint/static/js/app/viewmodels/settings.js:364 +#: src/octoprint/static/js/app/viewmodels/settings.js:394 msgid "The path is valid" msgstr "Der Pfad ist valide" @@ -597,15 +599,15 @@ msgid "Confirm" msgstr "Bestätigen" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 msgid "Sort by" msgstr "Sortieren" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:142 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 #: src/octoprint/templates/sidebar/files_header.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:108 +#: src/octoprint/templates/tabs/timelapse.jinja2:99 msgid "ascending" msgstr "aufsteigend" @@ -622,6 +624,64 @@ msgstr "Profil entfernen" msgid "Without this plugin your OctoPrint instance will no longer be discoverable on the network via Bonjour and uPnP." msgstr "Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:1 +msgid "Logs" +msgstr "Logs" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +msgid "Modification date" +msgstr "Änderungsdatum" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:143 +#: src/octoprint/templates/sidebar/files_header.jinja2:7 +#: src/octoprint/templates/sidebar/files_header.jinja2:8 +#: src/octoprint/templates/tabs/timelapse.jinja2:100 +#: src/octoprint/templates/tabs/timelapse.jinja2:101 +msgid "descending" +msgstr "absteigend" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:12 +#: src/octoprint/templates/sidebar/files.jinja2:18 +#: src/octoprint/templates/sidebar/files.jinja2:33 +#: src/octoprint/templates/sidebar/files.jinja2:44 +#: src/octoprint/templates/tabs/timelapse.jinja2:122 +#: src/octoprint/templates/tabs/timelapse.jinja2:168 +msgid "Size" +msgstr "Größe" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:13 +msgid "Date" +msgstr "Datum" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:14 +#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:7 +#: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:6 +#: src/octoprint/templates/tabs/timelapse.jinja2:123 +#: src/octoprint/templates/tabs/timelapse.jinja2:169 +msgid "Action" +msgstr "Aktion" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:46 +msgid "Logging Levels" +msgstr "Logginglevel" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:51 +msgid "Level" +msgstr "Level" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:68 +#: src/octoprint/templates/sidebar/files.jinja2:23 +#: src/octoprint/templates/sidebar/files.jinja2:36 +#: src/octoprint/templates/sidebar/files.jinja2:46 +msgid "Remove" +msgstr "Entfernen" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:87 +msgid "Add" +msgstr "Hinzufügen" + #: src/octoprint/plugins/octopi_support/__init__.py:164 msgid "Without this plugin OctoPrint will no longer be able to provide additional information about your OctoPi instance,which will make it more tricky to help you if you need support." msgstr "Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen über deine OctoPi Instanz zur Verfügung stellen, was es ggf. schwieriger macht, dir zu helfen, falls du Support brauchst." @@ -642,385 +702,246 @@ msgstr "Über OctoPi" msgid "Plugin Manager" msgstr "Pluginmanager" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:211 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:221 msgid "There are no plugin notices. Great!" msgstr "Keine Nachrichten zu deinen Plugins. Super!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:213 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:223 msgid "There is a plugin notice for one of your installed plugins." msgstr "Es gibt eine Nachricht zu einem deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:215 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:225 #, python-format msgid "There are %(count)d plugin notices for one or more of your installed plugins." msgstr "Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:310 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:533 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:320 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:543 msgid "Installing plugin..." msgstr "Installiere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:310 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:320 msgid "Installing plugin from uploaded archive..." msgstr "Installiere Plugin von hochgeladenem Archiv..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:457 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:557 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:595 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:758 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1163 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1214 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1232 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1250 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:341 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:467 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:567 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:605 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:795 msgid "Something went wrong" msgstr "Etwas ist schief gegangen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:332 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:458 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:558 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:596 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:342 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:468 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:568 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:606 msgid "Please consult octoprint.log for details" msgstr "Bitte konsultiere octoprint.log für Details" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:477 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:487 #, python-format msgid "You are about to disable \"%(name)s\"." msgstr "Du bist im Begriff \"%(name)s\" zu deaktivieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:480 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:490 msgid "This is not recommended" msgstr "Das ist nicht empfohlen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:482 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:492 msgid "Do you still want to disable it?" msgstr "Möchtest du es immer noch deaktivieren?" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:483 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:493 msgid "Keep enabled" msgstr "Aktiviert lassen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:484 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:494 msgid "Disable anyway" msgstr "Trotzdem deaktivieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:535 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:545 #, python-format msgid "Installing plugin \"%(name)s\" from %(url)s..." msgstr "Installiere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:537 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:547 #, python-format msgid "Installing plugin from %(url)s..." msgstr "Installiere Plugin von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:540 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:550 msgid "Reinstalling plugin..." msgstr "Reinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:541 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:551 #, python-format msgid "Reinstalling plugin \"%(name)s\" from %(url)s..." msgstr "Reinstalliere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:587 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:597 msgid "Uninstalling plugin..." msgstr "Deinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:587 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:597 #, python-format msgid "Uninstalling plugin \"%(name)s\"" msgstr "Deinstalliere Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Reinstall" msgstr "Reinstallieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:198 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:214 msgid "Install" msgstr "Installieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Disabled" msgstr "Deaktiviert" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Incompatible" msgstr "Inkompatibel" +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:720 +msgid "Plugin management log" +msgstr "Pluginmanagementlog" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:728 +#, python-format +msgid "%(count)d earlier actions..." +msgstr "%(count)d frühere Aktionen..." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:730 +#, python-format +msgid "%(count)d earlier action" +msgstr "%(count)d earlier Aktion" + #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:741 +#, python-format +msgid "Install %(plugin)s: %(result)s" +msgstr "%(plugin)s installiert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:745 +#, python-format +msgid "Uninstall %(plugin)s: %(result)s" +msgstr "%(plugin)s deinstalliert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:749 +#, python-format +msgid "Enable %(plugin)s: %(result)s" +msgstr "%(plugin)s aktiviert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:753 +#, python-format +msgid "Disable %(plugin)s: %(result)s" +msgstr "%(plugin)s deaktiviert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:770 +msgid "A restart is needed for the changes to take effect." +msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:778 msgid "Restart now" msgstr "Jetzt neu starten" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:746 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:783 msgid "This will restart your OctoPrint server.

This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." msgstr "Dies wird deinen OctoPrint server neu starten

Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:752 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:789 msgid "Restart in progress" msgstr "Neustart findet statt" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:753 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:790 msgid "The server is now being restarted in the background" msgstr "Der Server wird nun im Hintergrund neu gestartet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:759 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:796 msgid "Trying to restart the server produced an error, please check octoprint.log for details. You'll have to restart manually." msgstr "Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. Bitte konsultiere octoprint.log für Details. Du musst manuell neu starten." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:781 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:809 +msgid "A refresh is needed for the changes to take effect." +msgstr "Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam werden." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:816 #: src/octoprint/templates/overlays/reloadui.jinja2:14 msgid "Reload now" msgstr "Jetzt neu laden" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:847 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:825 +msgid "A reconnect to the printer is needed for the changes to take effect." +msgstr "Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam werden." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:862 msgid "Error!" msgstr "Fehler!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:850 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:865 msgid "Done!" msgstr "Fertig!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:875 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:891 msgid "Blacklisted" msgstr "Geblacklistet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:877 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:893 msgid "Disabled due to active safe mode" msgstr "Deaktiviert wegen aktiviertem Safe Mode" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:879 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:895 msgid "Enable Plugin" msgstr "Plugin enablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:898 msgid "Disable Plugin" msgstr "Plugin disablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:902 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:918 #, python-format msgid "There are %(count)d notices (%(important)d marked as important) available regarding this plugin - click to show!" msgstr "Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:904 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:920 #, python-format msgid "There are %(count)d notices available regarding this plugin - click to show!" msgstr "Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:908 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:924 msgid "There is an important notice available regarding this plugin - click to show!" msgstr "Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:910 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:926 msgid "There is a notice available regarding this plugin - click to show!" msgstr "Es gibt eine Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:924 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:940 #, python-format msgid "Important notice regarding plugin \"%(name)s\"" msgstr "Wichtige Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:926 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:942 #, python-format msgid "Notice regarding plugin \"%(name)s\"" msgstr "Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:933 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:949 #, python-format msgid "Affected versions: %(versions)s" msgstr "Betroffene Versionen: %(versions)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:935 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:951 msgid "Affected versions: all" msgstr "Betroffene Versionen: alle" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:940 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:956 msgid "Read more..." msgstr "Mehr..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1133 -msgid "Plugin installed" -msgstr "Plugin installiert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1134 -msgid "A plugin was installed successfully, however it was impossible to detect which one. Please Restart OctoPrint to make sure everything will be registered properly" -msgstr "Ein Plugin wurde erfolgreich installiert, es war aber unmöglich zu detektieren, welches. Bitte starte OctoPrint neu um sicherzustellen, dass alles ordnungsgemäß registriert wird." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1140 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1150 -#, python-format -msgid "Plugin \"%(name)s\" reinstalled" -msgstr "Plugin \"%(name)s\" reinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1141 -msgid "The plugin was reinstalled successfully, however it is blacklisted and therefore won't be loaded." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber auf der Pluginblackliste und wird daher nicht geladen." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1143 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1156 -#, python-format -msgid "Plugin \"%(name)s\" installed" -msgstr "Plugin \"%(name)s\" installiert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1144 -msgid "The plugin was installed successfully, however it is blacklisted and therefore won't be loaded." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch auf der Pluginblackliste und wird daher nicht geladen." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1151 -msgid "The plugin was reinstalled successfully" -msgstr "Das Plugin wurde erfolgreich reinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1152 -msgid "The plugin was reinstalled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber ein Neustart von OctoPrint notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1153 -msgid "The plugin was reinstalled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber ein Neuladen der Seite notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1154 -msgid "The plugin was reinstalled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber eine Neuverbindung zum Drucker notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1157 -msgid "The plugin was installed successfully" -msgstr "Das Plugin wurde erfolgreich installiert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1158 -msgid "The plugin was installed successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch ein Neustart von OctoPrint notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1159 -msgid "The plugin was installed successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch ein Neuladen der Seite notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1160 -msgid "The plugin was installed successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch eine Neuverbindung zum Drucker notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1176 -#, python-format -msgid "Reinstalling the plugin from file failed: %(reason)s" -msgstr "Reinstallation des Plugins aus Datei fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1178 -#, python-format -msgid "Reinstalling the plugin from \"%(source)s\" failed: %(reason)s" -msgstr "Reinstallation des Plugins von \"%(source)s\" fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1182 -#, python-format -msgid "Installing the plugin from file failed: %(reason)s" -msgstr "Installation des Plugins aus Datei fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1184 -#, python-format -msgid "Installing the plugin from \"%(source)s\" failed: %(reason)s" -msgstr "Installation des Plugins von \"%(source)s\" fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1190 -msgid "Reinstalling the plugin from file failed, please see the log for details." -msgstr "Reinstallation des Plugins aus Datei fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1192 -#, python-format -msgid "Reinstalling the plugin from \"%(source)s\" failed, please see the log for details." -msgstr "Reinstallation des Plugins von \"%(source)s\" fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1196 -msgid "Installing the plugin from file failed, please see the log for details." -msgstr "Installation des Plugins aus Datei fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1198 -#, python-format -msgid "Installing the plugin from \"%(source)s\" failed, please see the log for details." -msgstr "Installation des Plugins von \"%(source)s\" fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1208 -#, python-format -msgid "Plugin \"%(name)s\" uninstalled" -msgstr "Plugin \"%(name)s\" deinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1209 -msgid "The plugin was uninstalled successfully" -msgstr "Das Plugin wurde erfolgreich deinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1210 -msgid "The plugin was uninstalled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deinstalliert, es ist jedoch ein Neustart von OctoPrint notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1211 -msgid "The plugin was uninstalled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deinstalliert, es ist jedoch ein Neuladen der Seite notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1212 -msgid "The plugin was uninstalled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deinstalliert, es ist jedoch eine Neuverbindung zum Drucker notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1216 -#, python-format -msgid "Uninstalling the plugin failed: %(reason)s" -msgstr "Deinstallation des Plugins fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1218 -msgid "Uninstalling the plugin failed, please see the log for details." -msgstr "Deinstallation des Plugins fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1226 -#, python-format -msgid "Plugin \"%(name)s\" enabled" -msgstr "Plugin \"%(name)s\" aktiviert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1227 -msgid "The plugin was enabled successfully." -msgstr "Das Plugin wurde erfolgreich aktiviert." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1228 -msgid "The plugin was enabled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich aktiviert, es ist jedoch ein Neustart von OctoPrint notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1229 -msgid "The plugin was enabled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich aktiviert, es ist jedoch ein Neuladen der Seite notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1230 -msgid "The plugin was enabled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich aktiviert, es ist jedoch eine Neuverbindung zum Drucker notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1234 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1252 -#, python-format -msgid "Toggling the plugin failed: %(reason)s" -msgstr "Togglen des Plugins fehlgeschalgen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1236 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1254 -msgid "Toggling the plugin failed, please see the log for details." -msgstr "Togglen des Plugins fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1244 -#, python-format -msgid "Plugin \"%(name)s\" disabled" -msgstr "Plugin \"%(name)s\" deaktiviert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1245 -msgid "The plugin was disabled successfully." -msgstr "Das Plugin wurde erfolgreich deaktiviert." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1246 -msgid "The plugin was disabled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deaktiviert, es ist jedoch ein Neustart von OctoPrint notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1247 -msgid "The plugin was disabled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deaktiviert, es ist jedoch ein Neuladen der Seite notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1248 -msgid "The plugin was disabled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deaktiviert, es ist jedoch eine Neuverbindung zum Drucker notwendig." - #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:3 msgid "Take note that all plugin management functionality is disabled while your printer is printing." msgstr "Bitte beachte dass jegliche Pluginmanagementfunktionen während des Druckens deaktiviert sind." @@ -1127,15 +1048,6 @@ msgstr "Nach Titel sortieren" msgid "Sort by publication date" msgstr "Nach Veröffentlichungsdatum sortieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:143 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/sidebar/files_header.jinja2:7 -#: src/octoprint/templates/sidebar/files_header.jinja2:8 -#: src/octoprint/templates/tabs/timelapse.jinja2:109 -#: src/octoprint/templates/tabs/timelapse.jinja2:110 -msgid "descending" -msgstr "absteigend" - #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:145 msgid "Only show uninstalled plugins" msgstr "Nur uninstallierte Plugins anzeigen" @@ -1192,7 +1104,9 @@ msgstr "Das sieht nicht aus wie ein valides Pluginarchiv. Valide Pluginarchive s #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:220 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:64 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:121 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:147 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:247 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:307 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:9 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:23 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 @@ -1282,12 +1196,12 @@ msgstr "Abbruch" msgid "Save" msgstr "Speichern" -#: src/octoprint/plugins/softwareupdate/__init__.py:589 +#: src/octoprint/plugins/softwareupdate/__init__.py:570 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:1 msgid "Software Update" msgstr "Software Update" -#: src/octoprint/plugins/softwareupdate/__init__.py:999 +#: src/octoprint/plugins/softwareupdate/__init__.py:982 #: src/octoprint/server/views.py:571 #: src/octoprint/static/js/app/viewmodels/appearance.js:13 #: src/octoprint/static/js/app/viewmodels/appearance.js:18 @@ -1298,7 +1212,7 @@ msgstr "Software Update" msgid "OctoPrint" msgstr "OctoPrint" -#: src/octoprint/plugins/softwareupdate/__init__.py:1166 +#: src/octoprint/plugins/softwareupdate/__init__.py:1142 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." @@ -1319,156 +1233,159 @@ msgstr "%(name)s: %(version)s" msgid "unknown" msgstr "unbekannt" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:309 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:307 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:511 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:682 +msgid "Updating..." +msgstr "Aktualisiere..." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:307 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:682 +msgid "Updating, please wait." +msgstr "Aktualisiere gerade, bitte warten." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:314 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:317 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:322 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate.jinja2:14 msgid "Release Notes" msgstr "Release Notes" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:323 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:328 msgid "Those components marked with can be updated directly." msgstr "Die mit markierten Komponenten können direkt aktualisiert werden." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:326 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:331 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:332 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:337 msgid "Update Available" msgstr "Aktualisierung verfügbar" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:344 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:370 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:349 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:347 msgid "Ignore" msgstr "Ignorieren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:348 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:353 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:352 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:357 msgid "Update now" msgstr "Jetzt aktualisieren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:390 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:395 msgid "Everything is up-to-date" msgstr "Alles ist auf dem neusten Stand" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:416 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:421 msgid "No internet connection" msgstr "Keine Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:420 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:425 msgid "Update not possible" msgstr "Update nicht möglich" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:431 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436 msgid "Unknown update check, configuration ok?" msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:434 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:439 msgid "Cannot check for update, need online connection" msgstr "Updatecheck ist nicht mögich, benötige Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:442 msgid "Network error while checking for update" msgstr "Netzwerkfehler bei Updatecheck" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:440 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:445 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:506 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:681 -msgid "Updating..." -msgstr "Aktualisiere..." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:507 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:512 msgid "Now updating, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:681 -msgid "Updating, please wait." -msgstr "Aktualisiere gerade, bitte warten." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:530 msgid "Update not started!" msgstr "Aktualisierung nicht gestartet!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 -msgid "The update could not be started. Is it already active? Please consult the log for details." -msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere das Log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:531 +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:548 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:553 msgid "Can't update while printing" msgstr "Aktualisierung nicht möglich während gedruckt wird" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:549 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:554 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:684 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:699 #, 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:703 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:718 msgid "Update successful, restarting!" msgstr "Aktualisierung erfolgreich, starte neu!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:704 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:719 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:721 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:770 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:736 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:785 msgid "Restart failed" msgstr "Neustart fehlgeschlagen" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:722 -msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult the log file on what went wrong." -msgstr "Der Server hat anscheinend nicht von selbst neu gstartet, Du wirst das manuell tun müssen. Bitte konsultiere das Logfile." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737 +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 gstartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:759 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:746 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761 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:749 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:764 msgid "Update successful, restart required!" msgstr "Aktualisierung erfolgreich, Neustart notwendig!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:765 -msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult the log file on what went wrong here." -msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest das Logfile konsultieren, um herauszufinden, was hier schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:780 +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:767 -msgid "Rebooting the server failed, please reboot it manually. You might also want to consult the log file on what went wrong here." -msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch das Logfile konsultieren, um herauszufinden, was hier gerade schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:782 +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:786 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:801 msgid "Update successful!" msgstr "Aktualisierung erfolgreich!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:802 msgid "The update finished successfully." msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:802 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:817 msgid "Update failed!" msgstr "Aktualisierung fehlgeschlagen!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803 -msgid "The update did not finish successfully. Please consult the log for details." -msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere das Log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:818 +msgid "The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details." +msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere octoprint.log und plugin_softwareupdate_console.log für Details." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate.jinja2:4 msgid "Are you sure you want to update now?" @@ -1611,6 +1528,7 @@ msgid "Plugins" msgstr "Plugins" #: src/octoprint/server/views.py:538 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 msgid "Connection" msgstr "Verbindung" @@ -1692,27 +1610,22 @@ msgid "Appearance" msgstr "Aussehen" #: src/octoprint/server/views.py:576 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:2 -msgid "Logs" -msgstr "Logs" - -#: src/octoprint/server/views.py:577 msgid "Server" msgstr "Server" -#: src/octoprint/server/views.py:583 +#: src/octoprint/server/views.py:582 msgid "Access" msgstr "Zugriff" -#: src/octoprint/server/views.py:584 +#: src/octoprint/server/views.py:583 msgid "Interface" msgstr "Interface" -#: src/octoprint/server/views.py:600 +#: src/octoprint/server/views.py:599 msgid "Start" msgstr "Start" -#: src/octoprint/server/views.py:601 +#: src/octoprint/server/views.py:600 #: src/octoprint/templates/dialogs/wizard.jinja2:57 msgid "Finish" msgstr "Beenden" @@ -1781,28 +1694,64 @@ msgstr "Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind dea msgid "Slicing ... (%(percentage)d%%)" msgstr "Slice ... (%(percentage)d%%)" -#: src/octoprint/static/js/app/dataupdater.js:231 -#: src/octoprint/static/js/app/dataupdater.js:240 -msgid "Unhandled communication error" -msgstr "Unbehandelter Kommunikationsfehler" - -#: src/octoprint/static/js/app/dataupdater.js:232 -#, python-format -msgid "There was an unhandled error while talking to the printer. Due to that the ongoing print job was cancelled. Error: %(firmwareError)s" -msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher wurder der laufende Druckauftrag abgebrochen. Fehler: %(firmwareError)s" - +#: src/octoprint/static/js/app/dataupdater.js:230 #: src/octoprint/static/js/app/dataupdater.js:241 +msgid "Error reported by printer" +msgstr "Fehler vom Drucker gemeldet" + +#: src/octoprint/static/js/app/dataupdater.js:231 #, python-format -msgid "There was an unhandled error while talking to the printer. Due to that OctoPrint disconnected. Error: %(error)s" -msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher hat OctoPrint die Verbindung getrennt. Fehler: %(error)s" +msgid "Your printer's firmware reported an error. Due to that the ongoing print job will be cancelled. Reported error: %(firmwareError)s" +msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher wird der laufende Druckauftrag abgebrochen. Fehler: %(firmwareError)s" + +#: src/octoprint/static/js/app/dataupdater.js:242 +#, python-format +msgid "Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: %(error)s" +msgstr "Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:247 +msgid "Communication error" +msgstr "Kommunikationsfehler" #: src/octoprint/static/js/app/dataupdater.js:248 +#, python-format +msgid "There was a communication error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:252 +msgid "Error connecting to printer" +msgstr "Fehler bei der Verbindung zum Drucker" + +#: src/octoprint/static/js/app/dataupdater.js:253 +#, python-format +msgid "There was an error while trying to connect to your printer. Error: %(error)s" +msgstr "Es gab einen Fehler bei der Verbindung zum Drucker. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:257 +msgid "Error starting a print" +msgstr "Fehler beim Start eines Drucks" + +#: src/octoprint/static/js/app/dataupdater.js:258 +#, python-format +msgid "There was an error while trying to start a print job. Error: %(error)s" +msgstr "Es gab einen Fehler beim Start eines Drucks. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:267 +msgid "Unknown error" +msgstr "Unbekannter Fehler" + +#: src/octoprint/static/js/app/dataupdater.js:268 +#, python-format +msgid "There was an unknown error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:283 msgid "Printer reset detected" msgstr "Druckerreset erkannt" -#: src/octoprint/static/js/app/dataupdater.js:249 -msgid "It looks like the printer was reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." -msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, denn das wird Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen." +#: src/octoprint/static/js/app/dataupdater.js:284 +msgid "It looks like your printer reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." +msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." #: src/octoprint/static/js/app/helpers.js:378 #, python-format @@ -1891,6 +1840,7 @@ msgid "off" msgstr "Aus" #: src/octoprint/static/js/app/helpers.js:654 +#: src/octoprint/static/js/app/viewmodels/connection.js:133 msgid "Are you sure?" msgstr "Bist Du sicher?" @@ -1952,13 +1902,26 @@ msgid "Connect" msgstr "Verbinden" #: src/octoprint/static/js/app/viewmodels/connection.js:44 +#: src/octoprint/static/js/app/viewmodels/connection.js:142 msgid "Disconnect" msgstr "Trennen" +#: src/octoprint/static/js/app/viewmodels/connection.js:134 +msgid "

You are about to disconnect from the printer while a print is in progress.

Disconnecting while a print is in progress will prevent OctoPrint from completing the print. If you're printing from an SD card attached directly to the printer, any attempt to restart OctoPrint or reconnect to the printer could interrupt the print.

" +msgstr "

Du bist im Begriff, die Verbindung zu deinem Drucker zu trennen während ein Druck läuft.

Das Trennen der Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden den Druck unterbrechen.

" + +#: src/octoprint/static/js/app/viewmodels/connection.js:140 +msgid "Are you sure you want to disconnect from the printer?" +msgstr "Bist Du sicher, dass du die Verbindung zum Drucker trennen willst?" + +#: src/octoprint/static/js/app/viewmodels/connection.js:141 +msgid "Stay Connected" +msgstr "Verbunden bleiben" + #: src/octoprint/static/js/app/viewmodels/control.js:72 #: src/octoprint/static/js/app/viewmodels/files.js:606 #: src/octoprint/static/js/app/viewmodels/gcode.js:567 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:237 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:241 #: src/octoprint/static/js/app/viewmodels/temperature.js:115 #: src/octoprint/static/js/app/viewmodels/temperature.js:126 msgid "Tool" @@ -2117,7 +2080,7 @@ msgid "Estimated layer height" msgstr "Geschätzte Schichthöhe" #: src/octoprint/static/js/app/viewmodels/gcode.js:528 -#: src/octoprint/templates/tabs/timelapse.jinja2:77 +#: src/octoprint/templates/tabs/timelapse.jinja2:68 msgid "mm" msgstr "mm" @@ -2291,89 +2254,89 @@ msgstr "Druckerprofil hinzufügen" msgid "Edit Printer Profile \"%(name)s\"" msgstr "Druckerprofile \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:48 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:50 msgid "Restarts the print job from the beginning" msgstr "Started den Druckjob von vorne" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:49 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:51 msgid "Starts the print job" msgstr "Startet den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:50 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:52 msgid "Resumes the print job" msgstr "Setzt den Druckjob fort" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:51 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:53 msgid "Pauses the print job" msgstr "Pausiert den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:84 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:86 msgid "Still stabilizing..." msgstr "Noch zu ungenau..." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:96 msgid "Based on a linear approximation (very low accuracy, especially at the beginning of the print)" msgstr "Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, insbesondere zu Beginn eines Drucks)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:97 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:99 msgid "Based on the estimate from analysis of file (medium accuracy)" msgstr "Basiert auf der Schätzung der Analyse der Datei (mittlere Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:100 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:102 msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)" msgstr "Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung (mittlere Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:103 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:105 msgid "Based on the average total of past prints of this model with the same printer profile (usually good accuracy)" msgstr "Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:106 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:108 msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)" msgstr "Basiert auf einem Mix der durschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:109 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:111 msgid "Based on the calculated estimate (best accuracy)" msgstr "Basiert auf der berechneten Schätzung (beste Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:147 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:149 msgid "Continue" msgstr "Fortsetzen" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:149 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:151 #: src/octoprint/templates/sidebar/state.jinja2:24 msgid "Pause" msgstr "Pause" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:160 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 #: src/octoprint/templates/tabs/timelapse.jinja2:15 msgid "On Z Change" msgstr "Bei Ebenenwechsel" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:164 #: src/octoprint/templates/tabs/timelapse.jinja2:14 msgid "Timed" msgstr "Nach Zeit" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:164 #: src/octoprint/templates/tabs/timelapse.jinja2:26 #: src/octoprint/templates/tabs/timelapse.jinja2:37 #: src/octoprint/templates/tabs/timelapse.jinja2:57 msgid "sec" msgstr "Sek" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:274 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:278 msgid "This will restart the print job from the beginning." msgstr "Der Druckjob wird zurückgesetzt und von vorne begonnen." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:301 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:305 msgid "This will cancel your print." msgstr "Das wird deinen Druck abbrechen." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:302 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:306 msgid "No" msgstr "Nein" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:303 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:307 msgid "Yes" msgstr "Ja" @@ -2391,39 +2354,39 @@ msgstr "weiß" msgid "Autodetect from browser" msgstr "Automatisch vom Browser erkennen" -#: src/octoprint/static/js/app/viewmodels/settings.js:274 +#: src/octoprint/static/js/app/viewmodels/settings.js:299 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:282 +#: src/octoprint/static/js/app/viewmodels/settings.js:307 msgid "Stream test" msgstr "Stream Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:300 +#: src/octoprint/static/js/app/viewmodels/settings.js:325 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:301 +#: src/octoprint/static/js/app/viewmodels/settings.js:326 msgid "Snapshot test failed" msgstr "Snapshot Test fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/settings.js:322 +#: src/octoprint/static/js/app/viewmodels/settings.js:352 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:324 +#: src/octoprint/static/js/app/viewmodels/settings.js:354 msgid "Snapshot test" msgstr "Snapshot Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:384 +#: src/octoprint/static/js/app/viewmodels/settings.js:414 msgid "The server is not reachable" msgstr "Der Server ist nicht erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:386 +#: src/octoprint/static/js/app/viewmodels/settings.js:416 msgid "The server is reachable" msgstr "Der Server ist errechbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:506 +#: src/octoprint/static/js/app/viewmodels/settings.js:536 #: src/octoprint/static/js/app/viewmodels/usersettings.js:87 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." @@ -2492,20 +2455,16 @@ msgstr "Definiere unten ein neues Offset für alle Temperaturkommandos für \"%( msgid "Bed" msgstr "Bett" -#: src/octoprint/static/js/app/viewmodels/temperature.js:350 -msgid "just now" -msgstr "gerade eben" - -#: src/octoprint/static/js/app/viewmodels/temperature.js:355 +#: src/octoprint/static/js/app/viewmodels/temperature.js:361 msgid "min" msgstr "Min" -#: src/octoprint/static/js/app/viewmodels/temperature.js:401 +#: src/octoprint/static/js/app/viewmodels/temperature.js:407 #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Actual" msgstr "Ist" -#: src/octoprint/static/js/app/viewmodels/temperature.js:406 +#: src/octoprint/static/js/app/viewmodels/temperature.js:412 #: src/octoprint/templates/tabs/temperature.jinja2:12 msgid "Target" msgstr "Soll" @@ -2530,144 +2489,144 @@ msgstr "zeige %(displayed)d Zeilen (Buffer voll)" msgid "showing %(displayed)d lines" msgstr "zeige %(displayed)d Zeilen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:251 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:240 #, python-format msgid "Failed to remove timelapse %(name)s.

Please consult octoprint.log for details.

" msgstr "Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

Bitte konsultiere octoprint.log für Details.

" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:254 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:243 msgid "Could not remove timelapse" msgstr "Konnte Zeitrafferaufnahme nicht entfernen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:262 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:251 #, python-format msgid "You are about to delete timelapse file \"%(name)s\"." msgstr "Du bist im Begriff die Zeitrafferaufnahme \"%(name)s\" zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:274 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:263 #, python-format msgid "You are about to delete %(count)d timelapse files." msgstr "Du bist im Begriff %(count)d Zeitrafferaufnahmen zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:299 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:288 #, python-format msgid "You are about to delete unrendered timelapse \"%(name)s\"." msgstr "Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:311 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:300 #, python-format msgid "You are about to delete %(count)d unrendered timelapses." msgstr "Du bist im Begriff %(count)d ungerenderte Zeitrafferaufnahmen zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:319 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:308 msgid "Deleting timelapse files" msgstr "Lösche Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:320 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:309 #, python-format msgid "Deleting %(count)d timelapse files..." msgstr "Lösche %(count)d Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:324 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:338 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:313 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:327 #, python-format msgid "Deleted %(filename)s..." msgstr "%(filename)s gelöscht..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:327 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:341 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:316 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:330 #, python-format msgid "Deletion of %(filename)s failed, continuing..." msgstr "Löschen von %(filename)s fehlgeschlagen, fahre fort..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:328 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:317 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" msgstr "Löschen von %(filename)s fehlgeschlagen: %(error)s" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:333 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:322 msgid "Deleting unrendered timelapses" msgstr "Lösche ungerenderte Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:334 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:323 #, python-format msgid "Deleting %(count)d unrendered timelapses..." msgstr "Lösche %(count)d ungerenderte Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:429 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:417 msgid "Capturing timelapse postroll" msgstr "Zeichne Timelapse-Postroll auf" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:433 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:421 msgid "Now capturing timelapse post roll, this will take only a moment..." msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird nur einen Moment dauern..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:440 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:428 #, python-format msgid "%(minutes)d min" msgstr "%(minutes)d Min" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:441 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:429 #, python-format msgid "Now capturing timelapse post roll, this will take approximately %(duration)s (so until %(time)s)..." msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern (also etwa bis %(time)s)..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:443 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:431 #, python-format msgid "%(seconds)d sec" msgstr "%(seconds)d Sek" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:444 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:432 #, python-format msgid "Now capturing timelapse post roll, this will take approximately %(duration)s..." msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:474 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:462 msgid "Failed repeatedly to capture timelapse frame from webcam - is the snapshot URL configured correctly and the camera on?" msgstr "Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die Snapshot-URL korrekt konfiguriert und die Kamera an?" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:477 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:465 msgid "Could not capture snapshots" msgstr "Konnte keine Snapshots aufnehmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:486 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:474 msgid "Rendering timelapse" msgstr "Zeitrafferaufnahme wird gerendert" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:487 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:475 #, python-format msgid "Now rendering timelapse %(movie_prefix)s. Due to performance reasons it is not recommended to start a print job while a movie is still rendering." msgstr "Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, so lange die Aufnahme noch gerendert wird." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:496 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:484 msgid "Cannot render timelapse" msgstr "Kann Zeitrafferaufnahme nicht rendern" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:497 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:485 #, python-format msgid "Rendering of timelapse %(movie_prefix)s is not possible since no frames were captured. Is the snapshot URL configured correctly?" msgstr "Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:499 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:503 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:487 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:491 msgid "Rendering timelapse failed" msgstr "Rendern von Zeitrafferaufnahme fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:500 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:488 #, python-format msgid "Rendering of timelapse %(movie_prefix)s failed with return code %(returncode)s" msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit Returncode %(returncode)s" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:504 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:492 #, python-format msgid "Rendering of timelapse %(movie_prefix)s failed due to an unknown error, please consult the log file" msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund eines unbekannten Fehlers, bitte konsultiere die Logdatei" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:517 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:505 msgid "Timelapse ready" msgstr "Zeitrafferaufnahme fertig" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:518 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:506 #, python-format msgid "New timelapse %(movie_prefix)s is done rendering." msgstr "Neue Zeitrafferaufnahme %(movie_prefix)s wurde fertig gerendert" @@ -2821,14 +2780,6 @@ msgstr "Aktiv" msgid "Admin" msgstr "Admin" -#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:7 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:15 -#: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:132 -#: src/octoprint/templates/tabs/timelapse.jinja2:178 -msgid "Action" -msgstr "Aktion" - #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:12 #: src/octoprint/templates/dialogs/settings/api.jinja2:17 #: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 @@ -3038,81 +2989,28 @@ msgid "Enable Keyboard Control" msgstr "Tastatursteuerung aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:54 -msgid "Wait for start on connect" -msgstr "Bei der Verbindung auf start warten" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:61 msgid "G90/G91 overrides relative extruder mode" msgstr "G90/G91 überschreibt relativen Modus des Extruders" -#: src/octoprint/templates/dialogs/settings/features.jinja2:61 +#: src/octoprint/templates/dialogs/settings/features.jinja2:54 msgid "Smoothieware" msgstr "Smoothieware" -#: src/octoprint/templates/dialogs/settings/features.jinja2:68 -msgid "Enable automatic firmware detection" -msgstr "Automatische Firmwareerkennung einschalten" +#: src/octoprint/templates/dialogs/settings/features.jinja2:55 +msgid "This is used by the GCODE analysis in the backend and the viewer in the frontend to interpret your sliced files correctly." +msgstr "Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." -#: src/octoprint/templates/dialogs/settings/features.jinja2:69 -msgid "\n" -" If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.\n" -" 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.\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/features.jinja2:59 +msgid "Commands to not completely auto uppercase in the terminal tab" +msgstr "Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt werden sollen" -#: src/octoprint/templates/dialogs/settings/features.jinja2:80 -msgid "Select SD files by relative path" -msgstr "SD Dateien per relativem Pfad addressieren" +#: src/octoprint/templates/dialogs/settings/features.jinja2:60 +msgid "Terminal Auto Uppercase Blacklist" +msgstr "Terminal Auto Uppercase Blackliste" -#: src/octoprint/templates/dialogs/settings/features.jinja2:80 -msgid "RepRap Firmware" -msgstr "RepRap Firmware" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:87 -msgid "Always assume SD card is present" -msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:87 -#: src/octoprint/templates/dialogs/settings/features.jinja2:94 -#: src/octoprint/templates/dialogs/settings/features.jinja2:101 -#: src/octoprint/templates/dialogs/settings/features.jinja2:108 -#: src/octoprint/templates/dialogs/settings/features.jinja2:115 -#: src/octoprint/templates/dialogs/settings/features.jinja2:126 -msgid "Repetier" -msgstr "Repetier" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:94 -msgid "Ignore consecutive resend requests for the same line" -msgstr "Aufeinanderfolgende Resend Requests für die selbe Zeilennummer ignorieren" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:101 -#, python-format -msgid "Support TargetExtr%%n/TargetBed target temperature format" -msgstr "TargetExtr%%n/TargetBed Zieltemperaturformat unterstützen" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:108 -msgid "Disable detection of external heatups" -msgstr "Detektierung externer Aufheizvorgänge deaktivieren" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:115 -msgid "Actively pause communication during G4 dwell command" -msgstr "Pausiere Kommunikation mit dem Drucker aktiv während eines G4 dwell Befehls." - -#: src/octoprint/templates/dialogs/settings/features.jinja2:120 -msgid "Send a checksum with the command" -msgstr "Eine Prüfsumme mit dem Befehl senden" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:123 -msgid "When printing" -msgstr "Beim Drucken" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:126 -msgid "Always" -msgstr "Immer" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:129 -msgid "Never" -msgstr "Nie" +#: src/octoprint/templates/dialogs/settings/features.jinja2:63 +msgid "Use this to specify the commands that should not have their parameters automatically uppercased in the terminal tab. Just the G or M code, comma separated." +msgstr "Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur den G oder M code, kommasepariert." #: src/octoprint/templates/dialogs/settings/folders.jinja2:5 msgid "Upload Folder" @@ -3147,10 +3045,10 @@ msgid "If the free disk space falls below these thresholds, OctoPrint will warn msgstr "Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird OctoPrint den Nutzer warnen." #: src/octoprint/templates/dialogs/settings/folders.jinja2:47 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:115 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:169 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:52 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:347 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:363 #: src/octoprint/templates/tabs/gcodeviewer.jinja2:111 msgid "Warning" msgstr "Warnung" @@ -3224,249 +3122,383 @@ msgstr "auf dem Desktop" msgid "on mobile" msgstr "auf Mobile" -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -msgid "Modification date" -msgstr "Änderungsdatum" - -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:13 -#: src/octoprint/templates/sidebar/files.jinja2:18 -#: src/octoprint/templates/sidebar/files.jinja2:33 -#: src/octoprint/templates/sidebar/files.jinja2:44 -#: src/octoprint/templates/tabs/timelapse.jinja2:131 -#: src/octoprint/templates/tabs/timelapse.jinja2:177 -msgid "Size" -msgstr "Größe" - -#: src/octoprint/templates/dialogs/settings/logs.jinja2:14 -msgid "Date" -msgstr "Datum" - #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:5 msgid "Add Profile..." msgstr "Profil hinzufügen..." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:2 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:4 +msgid "Intervals & timeouts" +msgstr "Intervalle & Timeouts" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:5 +msgid "Firmware & protocol" +msgstr "Firmware & Protokoll" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:6 +msgid "Behaviour" +msgstr "Verhalten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:13 msgid "Serial port to connect to, setting this to AUTO will make OctoPrint try to automatically find the right setting" msgstr "Serieller Port, mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port zu finden." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 #: src/octoprint/templates/sidebar/connection.jinja2:1 msgid "Serial Port" msgstr "Serialport" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:8 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:19 msgid "Serial baud rate to connect with, setting this to AUTO will make OctoPrint try to automatically find the right setting" msgstr "Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:9 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:20 #: src/octoprint/templates/sidebar/connection.jinja2:3 msgid "Baudrate" msgstr "Baudrate" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:25 msgid "Makes OctoPrint try to connect to the printer automatically during start up" msgstr "OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker zu verbinden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:17 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 msgid "Auto-connect to printer on server start" msgstr "Automatisch bei Serverstart verbinden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:21 -msgid "Interval in which to poll for the temperature information from the printer" -msgstr "Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden sollen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:22 -msgid "Temperature interval (polling)" -msgstr "Temperaturintervall (polling)" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 -msgid "When printing or idle" -msgstr "Beim Drucken oder Idle" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:35 -msgid "When a target temperature is set" -msgstr "Wenn eine Zieltemperatur eingestellt ist" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:38 -msgid "Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." -msgstr "Von der autoreportfähigen Firmware anzuforderndes Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:39 -msgid "Temperature interval (autoreport)" -msgstr "Temperaturintervall (autoreport)" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:45 -msgid "Autoreport interval to request from firmware" -msgstr "Anzuforderndes Temperaturupdateintervall" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:48 -msgid "Interval in which to poll for the SD printing status information from the printer while printing" -msgstr "Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens abgerufen werden sollen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:49 -msgid "SD status interval" -msgstr "SD-Status-Intervall" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:57 -msgid "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." -msgstr "Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche Bewegungen länger braucht." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:58 -msgid "Communication timeout" -msgstr "Kommunikationstimeout" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:66 -msgid "Time after which a connection attempt to the printer will be considered as having failed" -msgstr "Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert angenommen wird" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:67 -msgid "Connection timeout" -msgstr "Verbindungstimeout" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:75 -msgid "Time after which to consider an auto detection attempt to have failed if no successful connection is detected" -msgstr "Zeit nach der ein unbeantworteter Autodetektierungsversuch als gescheitert angenommen wird" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 -msgid "Autodetection timeout" -msgstr "Autodetectiontimeout" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 -msgid "Log communication to serial.log (might negatively impact performance)" -msgstr "Logge die Kommunikation in das serial.log (kann die Performance negativ beeinflussen)" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:92 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:33 msgid "Additional serial ports" msgstr "Zusätzliche serielle Ports" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:95 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:36 #, python-format msgid "Use this to define additional glob patterns matching serial ports to list for connecting against, e.g. /dev/ttyAMA*. One entry per line." msgstr "Nutze diese Einstellung um zusätzliche glob patterns zu konfigurieren, die auf serielle Ports deines Druckers matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:40 msgid "Additional baud rates" msgstr "Weitere Baudraten" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:102 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:43 msgid "Use this to define additional serial port baud rates to list for connecting with, e.g. 123456. Comma separated." msgstr "Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu konfigurieren, 123456. Komma-separiert." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:108 -msgid "Not only cancel ongoing prints but also disconnect on unhandled errors from the firmware." -msgstr "Bei unbehandelten Firmwarefehlern nicht nur den Druckauftrag abbrechen, sondern auch die Verbindung zum Drucker trennen." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:48 +msgid "Serial logging" +msgstr "Logging der seriellen Kommunikation" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:115 -msgid "Ignore any unhandled errors from the firmware. Only use this if your firmware sends stuff prefixed with \"Error\" that is not an actual error. Might mask printer issues, be careful!" -msgstr "Alle unbehandelten Firmwarefehler ignorieren. Nur nutzen wenn Deine Firmware Dinge mit \"Error\" sendet die nicht wirklich Fehler sind. Könnte Druckerprobleme maskieren, vorsicht!" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:52 +msgid "Log communication to serial.log" +msgstr "Kommunikation nach serial.log loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:123 -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:53 +msgid "While this can negatively impact performance, a serial.log can be incredibly useful for debugging any issues observed in the communication between OctoPrint and your printer." +msgstr "Dies kann zwar die Performance negativ beeinflussen, ein serial.log ist jedoch unglaublich nützlich beim Debugging jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und deinem Drucker auftreten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 -msgid "\"Hello\" command" -msgstr "\"Hallo\"-Befehl" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:61 +msgid "Query intervals" +msgstr "Abfrageintervalle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:127 -msgid "Use this to specify a different command than the default M110 to send to the printer on initial connection to trigger a communication handshake." -msgstr "Nutze diese Einstellung um einen anderen Befehl als M110 beim initialen Verbindungsaufbau zum drucker zu senden." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:62 +msgid "Interval in which to poll for the temperature information from the printer" +msgstr "Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden sollen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:130 -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:63 +msgid "Temperature interval (polling)" +msgstr "Temperaturintervall (polling)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:131 -msgid "Long running commands" -msgstr "Lang laufende Befehle" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:69 +msgid "When printing or idle" +msgstr "Beim Drucken oder Idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:134 -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:76 +msgid "When a target temperature is set" +msgstr "Wenn eine Zieltemperatur eingestellt ist" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79 +msgid "Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:80 +msgid "Temperature interval (autoreport)" +msgstr "Temperaturintervall (autoreport)" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:105 +msgid "Autoreport interval to request from firmware" +msgstr "Anzuforderndes Temperaturupdateintervall" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:89 +msgid "Interval in which to poll for the SD printing status information from the printer while printing" +msgstr "Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens abgerufen werden sollen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +msgid "SD status interval (polling)" +msgstr "SD-Statusintervall (polling)" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:98 +msgid "SD status interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 +msgid "SD status interval (autoreport)" +msgstr "SD-Statusintervall (autoreport)" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:110 +msgid "Timeouts" +msgstr "Timeouts" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:111 +msgid "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." +msgstr "Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche Bewegungen länger braucht." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:112 +msgid "Communication timeout" +msgstr "Kommunikationstimeout" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:118 +msgid "busy protocol support not detected" +msgstr "busy Protokoll nicht unterstützt" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:125 +msgid "busy protocol support detected" +msgstr "busy Protokoll unterstützt" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128 +msgid "Time after which a connection attempt to the printer will be considered as having failed" +msgstr "Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert angenommen wird" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:129 +msgid "Connection timeout" +msgstr "Verbindungstimeout" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 -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." +msgid "Time after which to consider an auto detection attempt to have failed if no successful connection is detected" +msgstr "Zeit nach der ein unbeantworteter Autodetektierungsversuch als gescheitert angenommen wird" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:138 -msgid "Commands that always require a checksum" -msgstr "Befehle, die immer eine Prüfsumme benötigen" +msgid "Autodetection timeout" +msgstr "Autodetectiontimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:141 -msgid "Use this to specify which commands always need to be sent with a checksum. Comma separated list." -msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die immer mit Prüfsumme gesendet werden müssen. Komma-separierte Liste." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:144 -msgid "Commands to not completely auto uppercase in the terminal tab" -msgstr "Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt werden sollen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:145 -msgid "Terminal Auto Uppercase Blacklist" -msgstr "Terminal Auto Uppercase Blackliste" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:148 -msgid "Use this to specify the commands that should not have their parameters automatically uppercased in the terminal tab. Just the G or M code, comma separated." -msgstr "Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur den G oder M code, kommasepariert." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "Generate additional ok for M29" -msgstr "Zusätzliches ok für M29 generieren" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "Most Marlin < v1.1.0" -msgstr "Die meisten Varianten von Marlin < v1.1.0" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:158 -msgid "Simulate an additional ok for resend requests" -msgstr "Zusätzliches ok für Resendrequests simulieren" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 -msgid "Log position on pause" -msgstr "Position bei Pause loggen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 -msgid "If you disabled this, the pause_position placeholders in your pause/resume GCODE scripts will stay unpopulated! However, pausing speed might improve slightly." -msgstr "Falls du das deaktivierst, werden die pause_position Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindkeit einen Hauch verbessern." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:169 -msgid "Log position on cancel" -msgstr "Position bei Abbruch loggen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:170 -msgid "If you disabled this, the cancel_position 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 cancel_position Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings könnte sich die Abbruchgeschwindkeit einen Hauch verbessern." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:173 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:149 msgid "Maximum consecutive communication timeouts while idle. More than this and the printer will be considered to be gone. Set to 0 to disable." msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts im Idlezustand. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:174 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 msgid "Max. consecutive timeouts while idle" msgstr "Max. aufeinanderfolgende Timeouts wenn idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:184 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:191 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:160 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:167 msgid "Set to 0 to disable consecutive timeout detection and handling." msgstr "Auf 0 setzen um aufeinanderfolgende Timeouts zu ignorieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:180 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:156 msgid "Maximum consecutive communication timeouts while printing. More than this and the printer will be considered to be gone. Set to 0 to disable." msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:157 msgid "Max. consecutive timeouts while printing" msgstr "Max. aufeinanderfolgende Timeouts beim Drucken" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:187 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 msgid "Maximum consecutive communication timeouts while a long running command is active. More than this and the printer will be considered to be gone. Set to 0 to disable." msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:188 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 msgid "Max. consecutive timeouts during long running commands" msgstr "Max. aufeinanderfolgende Timeouts während lang laufender Befehle" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176 +msgid "Firmware specific settings" +msgstr "Firmwarespezifische Einstellungen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:180 +msgid "Enable automatic firmware detection" +msgstr "Automatische Firmwareerkennung einschalten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 +msgid "\n" +" If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.\n" +" 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.\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:192 +msgid "Select SD files by relative path" +msgstr "SD Dateien per relativem Pfad addressieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:192 +msgid "RepRap Firmware" +msgstr "RepRap Firmware" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:199 +msgid "Always assume SD card is present" +msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:199 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:213 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:227 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 +msgid "Repetier" +msgstr "Repetier" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206 +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:213 +#, python-format +msgid "Support TargetExtr%%n/TargetBed target temperature format" +msgstr "TargetExtr%%n/TargetBed Zieltemperaturformat unterstützen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +msgid "Disable detection of external heatups" +msgstr "Detektierung externer Aufheizvorgänge deaktivieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:227 +msgid "Actively pause communication during G4 dwell command" +msgstr "Pausiere Kommunikation mit dem Drucker aktiv während eines G4 dwell Befehls." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:232 +msgid "Send a checksum with the command" +msgstr "Eine Prüfsumme mit dem Befehl senden" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:235 +msgid "When printing" +msgstr "Beim Drucken" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 +msgid "Always" +msgstr "Immer" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:241 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:288 +msgid "Never" +msgstr "Nie" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:252 +msgid "Support temperature autoreporting by firmware, if detected" +msgstr "Temperaturautoreporting durch die Firmware unterstützen, falls detektiert" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:259 +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:266 +msgid "Support busy protocol, if detected" +msgstr "busy Protokoll unterstützen, falls detektiert" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:273 +msgid "Simulate ok for M29" +msgstr "Zusätzliches ok für M29 generieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:274 +msgid "Most Marlin forks that were derived from Marlin versions < v1.1.0 do not send an acknowledging ok for a M29. 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 < v1.1.0 abgeleitet wurden, senden kein bestätigendes ok für ein M29. Aktiviere diese Option, falls du Kommunikationsprobleme nach dem Streaming einer Datei zu der SD des Druckers beobachtest." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:279 +msgid "Simulate ok for resend requests" +msgstr "Zusätzliches ok für Resendrequests simulieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:282 +msgid "If detected as necessary" +msgstr "Falls als notwendig erkannt" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:290 +msgid "Some Marlin forks lack an acknowledging ok 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 ok. Setze diese Option auf \"immer\" oder \"falls als notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests beobachtest." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297 +msgid "Protocol fine tuning" +msgstr "Protokollfinetuning" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:301 +msgid "Wait for start on connect" +msgstr "Bei der Verbindung auf start warten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:302 +msgid "Try checking this if you run into connection timeouts due to your printer taking too long to respond to OctoPrint' 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:309 +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:310 +msgid "\"Hello\" command" +msgstr "\"Hallo\"-Befehl" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:313 +msgid "Use this to specify a different command than the default M110 to send to the printer on initial connection to trigger a communication handshake." +msgstr "Nutze diese Einstellung um einen anderen Befehl als M110 beim initialen Verbindungsaufbau zum drucker zu senden." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:316 +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:317 +msgid "Long running commands" +msgstr "Lang laufende Befehle" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:320 +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:323 +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:324 +msgid "Commands that always require a checksum" +msgstr "Befehle, die immer eine Prüfsumme benötigen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:327 +msgid "Use this to specify which commands always need to be sent with a checksum. Comma separated list." +msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die immer mit Prüfsumme gesendet werden müssen. Komma-separierte Liste." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:336 +msgid "Error handling" +msgstr "Fehlerbehandlung" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338 +msgid "What to do on a firmware error (Error: or !!)" +msgstr "Was im Falle eines Firmwarefehlers (Error: oder !!) gemacht werden soll" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:341 +msgid "Disconnect from the printer" +msgstr "Verbindung zum Drucker trennen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:344 +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:348 +msgid "Only choose this if your firmware sends error messages that are not actual errors. Might mask printer issues, 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, Vorsicht!" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354 +msgid "Event based position logging" +msgstr "Eventbasiertes Positionslogging" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 +msgid "Log position on pause" +msgstr "Position bei Pause loggen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:358 +msgid "If you disable this, the pause_position placeholders in your pause/resume GCODE scripts will stay unpopulated! However, pausing speed might improve slightly." +msgstr "Falls du das deaktivierst, werden die pause_position Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindkeit einen Hauch verbessern." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:363 +msgid "Log position on cancel" +msgstr "Position bei Abbruch loggen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:364 +msgid "If you disable this, the cancel_position 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 cancel_position Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings könnte sich die Abbruchgeschwindkeit einen Hauch verbessern." + #: src/octoprint/templates/dialogs/settings/server.jinja2:2 msgid "Commands" msgstr "Befehle" @@ -3654,6 +3686,10 @@ msgstr "Verbindungseinstellungen speichern" msgid "Auto-connect on server startup" msgstr "Automatisch bei Serverstart verbinden" +#: src/octoprint/templates/sidebar/connection_header.jinja2:2 +msgid "Refresh connection options" +msgstr "Verbindungsoptionen aktualisieren" + #: src/octoprint/templates/sidebar/files.jinja2:6 msgid "Back" msgstr "Zurück" @@ -3682,12 +3718,6 @@ msgstr "Weitere Daten" msgid "Download" msgstr "Download" -#: src/octoprint/templates/sidebar/files.jinja2:23 -#: src/octoprint/templates/sidebar/files.jinja2:36 -#: src/octoprint/templates/sidebar/files.jinja2:46 -msgid "Remove" -msgstr "Entfernen" - #: src/octoprint/templates/sidebar/files.jinja2:24 msgid "Load" msgstr "Laden" @@ -3717,7 +3747,7 @@ msgid "File list settings" msgstr "Einstellungen der Dateiliste" #: src/octoprint/templates/sidebar/files_header.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:108 +#: src/octoprint/templates/tabs/timelapse.jinja2:99 msgid "Sort by name" msgstr "Nach Name sortieren" @@ -3726,7 +3756,7 @@ msgid "Sort by upload date" msgstr "Nach Uploaddatum sortieren" #: src/octoprint/templates/sidebar/files_header.jinja2:8 -#: src/octoprint/templates/tabs/timelapse.jinja2:110 +#: src/octoprint/templates/tabs/timelapse.jinja2:101 msgid "Sort by file size" msgstr "Nach Größe sortieren" @@ -4019,7 +4049,7 @@ msgid "\n" " If the connectivity check is enabled, OctoPrint will regularly check if it's connected to the internet.\n" " This is useful to prevent resource intensive operations (such as checking for updates) if it's already\n" " clear that they won't succeed anyhow.\n" -msgstr "Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist nützlich um resourcenintensive Operationen zu verhindern (wie z.b. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, dass diese Operationen mangels Verbindung nicht durchgeführt werden können." +msgstr "Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist nützlich um resourcenintensive Operationen zu verhindern (wie z.b. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, dass diese Operationen mangels Verbindung nicht durchgeführt werden können.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckEnabled.jinja2:4 msgid "Enable regular connectivity check" @@ -4124,6 +4154,18 @@ msgstr "Webcam vertikal flippen" msgid "Rotate webcam 90 degrees counter clockwise" msgstr "Webcam um 90° gegen den Uhrzeigersinn rotieren" +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotSslValidation.jinja2:4 +msgid "Validate SSL on snapshot URL (if applicable)" +msgstr "SSL für Snapshot URL validieren (falls relevant)" + +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2:1 +msgid "Timeout for taking a snapshot" +msgstr "Timeout für die Aufnahme eines Snapshots" + +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2:2 +msgid "Snapshot timeout" +msgstr "Snapshot Timeout" + #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:1 msgid "URL to use for retrieving webcam snapshot images for timelapse creation" msgstr "URL, die genutzt werden soll, um Einzelaufnahmen für die Zeitraffererstellung abzurufen" @@ -4226,7 +4268,7 @@ msgstr "Schrittgröße" #: src/octoprint/templates/tabs/control.jinja2:38 msgid "Hint: If you move your mouse over the picture, you enter keyboard control mode." -msgstr "Hinweis: Bewegen der Maus über das Bild aktiviert die Tastatursteuerung" +msgstr "Hinweis: Bewegen der Maus über das Bild aktiviert die Tastatursteuerung." #: src/octoprint/templates/tabs/control.jinja2:84 msgid "Feed rate:" @@ -4380,7 +4422,7 @@ msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe" #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Current actual temperature as reported by your printer" -msgstr "Aktuelle vom Drucker gemeldete Temperatur " +msgstr "Aktuelle vom Drucker gemeldete Temperatur" #: src/octoprint/templates/tabs/temperature.jinja2:12 msgid "Current target temperature as reported by your printer" @@ -4496,86 +4538,78 @@ msgid "Timelapse post roll" msgstr "Timelapse-Postroll" #: src/octoprint/templates/tabs/timelapse.jinja2:59 -msgid "OctoPrint will take additional pictures to add this many seconds to the end of your rendered timelapse." -msgstr "OctoPrint wird zusätzliche Aufnahmen machen um so viele zusätzliche Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." +msgid "OctoPrint will use the final picture to add this many seconds to the end of your rendered timelapse." +msgstr "OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." -#: src/octoprint/templates/tabs/timelapse.jinja2:66 -msgid "Capture post roll images" -msgstr "Bilder für Zeitraffernachlauf aufzeichnen" - -#: src/octoprint/templates/tabs/timelapse.jinja2:67 -msgid "If this is unchecked, OctoPrint will simply repeat the last frame for the post roll instead of continuing to capture new frames." -msgstr "Wenn diese Option nicht angehakt ist wird OctoPrint einfach den letzten Frame der regulären Aufnahme für den Nachlauf verwenden, anstatt neue Frames aufzuzeichnen." - -#: src/octoprint/templates/tabs/timelapse.jinja2:73 +#: src/octoprint/templates/tabs/timelapse.jinja2:64 msgid "Retraction Z-Hop" msgstr "Retraction Z-Hop" -#: src/octoprint/templates/tabs/timelapse.jinja2:79 +#: src/octoprint/templates/tabs/timelapse.jinja2:70 msgid "Enter the retraction z-hop used in the firmware or the gcode file to trigger snapshots for the timelapse only if a real layer change happens. For this to work properly your retraction z-hop has to be different from your layerheight!" msgstr "Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln auszulösen. Damit das korrekt funktionieren kann muss dein Retraction Z-Hop Wert anders als deine Schichthöhe sein!" -#: src/octoprint/templates/tabs/timelapse.jinja2:86 +#: src/octoprint/templates/tabs/timelapse.jinja2:77 msgid "Save as default" msgstr "Als Standard speichern" -#: src/octoprint/templates/tabs/timelapse.jinja2:87 +#: src/octoprint/templates/tabs/timelapse.jinja2:78 msgid "Check this to make your selected timelapse mode and options persist across restarts." msgstr "Auswählen um deinen gewählten Zeitraffermodus und -parameter über Neustarts hinweg zu persistieren." -#: src/octoprint/templates/tabs/timelapse.jinja2:94 +#: src/octoprint/templates/tabs/timelapse.jinja2:85 msgid "You have unsaved changes. Don't forget to save them." msgstr "Du hast ungespeicherte Änderungen. Vergiss nicht sie zu speichern." -#: src/octoprint/templates/tabs/timelapse.jinja2:95 +#: src/octoprint/templates/tabs/timelapse.jinja2:86 msgid "Save changes" msgstr "Änderungen speichern" -#: src/octoprint/templates/tabs/timelapse.jinja2:96 +#: src/octoprint/templates/tabs/timelapse.jinja2:87 msgid "Reset to active configuration" msgstr "Auf aktive Konfiguration zurücksetzen" -#: src/octoprint/templates/tabs/timelapse.jinja2:102 +#: src/octoprint/templates/tabs/timelapse.jinja2:93 msgid "Finished Timelapses" msgstr "Abgeschlossene Zeitraffer" -#: src/octoprint/templates/tabs/timelapse.jinja2:109 +#: src/octoprint/templates/tabs/timelapse.jinja2:100 msgid "Sort by date" msgstr "Nach Datum sortieren" -#: src/octoprint/templates/tabs/timelapse.jinja2:118 -#: src/octoprint/templates/tabs/timelapse.jinja2:163 +#: src/octoprint/templates/tabs/timelapse.jinja2:109 +#: src/octoprint/templates/tabs/timelapse.jinja2:154 msgid "Select all on this page" msgstr "Alles auf dieser Seite auswählen" -#: src/octoprint/templates/tabs/timelapse.jinja2:119 -#: src/octoprint/templates/tabs/timelapse.jinja2:164 +#: src/octoprint/templates/tabs/timelapse.jinja2:110 +#: src/octoprint/templates/tabs/timelapse.jinja2:155 msgid "Select all" msgstr "Alles auswählen" -#: src/octoprint/templates/tabs/timelapse.jinja2:121 -#: src/octoprint/templates/tabs/timelapse.jinja2:166 +#: src/octoprint/templates/tabs/timelapse.jinja2:112 +#: src/octoprint/templates/tabs/timelapse.jinja2:157 msgid "Clear selection" msgstr "Auswahl aufheben" -#: src/octoprint/templates/tabs/timelapse.jinja2:124 -#: src/octoprint/templates/tabs/timelapse.jinja2:169 +#: src/octoprint/templates/tabs/timelapse.jinja2:115 +#: src/octoprint/templates/tabs/timelapse.jinja2:160 msgid "Delete selected" msgstr "Ausgewählte Elemente löschen" -#: src/octoprint/templates/tabs/timelapse.jinja2:157 +#: src/octoprint/templates/tabs/timelapse.jinja2:148 msgid "Unrendered Timelapses" msgstr "Ungerenderte Zeitrafferaufnahmen" -#: src/octoprint/templates/tabs/timelapse.jinja2:176 +#: src/octoprint/templates/tabs/timelapse.jinja2:167 msgid "Frames" msgstr "Frames" -#: src/octoprint/templates/tabs/timelapse.jinja2:189 +#: src/octoprint/templates/tabs/timelapse.jinja2:180 msgid "Delete unrendered timelapse" msgstr "Ungerenderte Zeitrafferaufnahme löschen" -#: src/octoprint/templates/tabs/timelapse.jinja2:189 +#: src/octoprint/templates/tabs/timelapse.jinja2:180 msgid "Render timelapse" msgstr "Zeitrafferaufnahme rendern" @@ -4766,3 +4800,298 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "The ready-to-go Raspberry Pi image with OctoPrint" #~ msgstr "Das fertige RaspberryPi Image mit OctoPrint" + +#~ msgid "Plugin installed" +#~ msgstr "Plugin installiert" + +#~ msgid "" +#~ "A plugin was installed successfully, " +#~ "however it was impossible to detect " +#~ "which one. Please Restart OctoPrint to" +#~ " make sure everything will be " +#~ "registered properly" +#~ msgstr "" +#~ "Ein Plugin wurde erfolgreich installiert, " +#~ "es war aber unmöglich zu detektieren," +#~ " welches. Bitte starte OctoPrint neu " +#~ "um sicherzustellen, dass alles ordnungsgemäß" +#~ " registriert wird." + +#~ msgid "Plugin \"%(name)s\" reinstalled" +#~ msgstr "Plugin \"%(name)s\" reinstalliert" + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however it is blacklisted and therefore" +#~ " won't be loaded." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber auf der Pluginblackliste" +#~ " und wird daher nicht geladen." + +#~ msgid "Plugin \"%(name)s\" installed" +#~ msgstr "Plugin \"%(name)s\" installiert" + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however it is blacklisted and therefore" +#~ " won't be loaded." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch auf der Pluginblackliste" +#~ " und wird daher nicht geladen." + +#~ msgid "The plugin was reinstalled successfully" +#~ msgstr "Das Plugin wurde erfolgreich reinstalliert" + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber ein Neustart von " +#~ "OctoPrint notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber ein Neuladen der " +#~ "Seite notwendig bevor es genutzt werden" +#~ " kann." + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber eine Neuverbindung zum" +#~ " Drucker notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "The plugin was installed successfully" +#~ msgstr "Das Plugin wurde erfolgreich installiert" + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch ein Neuladen der " +#~ "Seite notwendig bevor es genutzt werden" +#~ " kann." + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch eine Neuverbindung zum " +#~ "Drucker notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "Reinstalling the plugin from file failed: %(reason)s" +#~ msgstr "Reinstallation des Plugins aus Datei fehlgeschlagen: %(reason)s" + +#~ msgid "Reinstalling the plugin from \"%(source)s\" failed: %(reason)s" +#~ msgstr "" +#~ "Reinstallation des Plugins von \"%(source)s\"" +#~ " fehlgeschlagen: %(reason)s" + +#~ msgid "Installing the plugin from file failed: %(reason)s" +#~ msgstr "Installation des Plugins aus Datei fehlgeschlagen: %(reason)s" + +#~ msgid "Installing the plugin from \"%(source)s\" failed: %(reason)s" +#~ msgstr "Installation des Plugins von \"%(source)s\" fehlgeschlagen: %(reason)s" + +#~ msgid "" +#~ "Reinstalling the plugin from file " +#~ "failed, please see the log for " +#~ "details." +#~ msgstr "" +#~ "Reinstallation des Plugins aus Datei " +#~ "fehlgeschlagen, bitte konsultiere das Log " +#~ "für Details." + +#~ msgid "" +#~ "Reinstalling the plugin from \"%(source)s\"" +#~ " failed, please see the log for " +#~ "details." +#~ msgstr "" +#~ "Reinstallation des Plugins von \"%(source)s\"" +#~ " fehlgeschlagen, bitte konsultiere das Log" +#~ " für Details." + +#~ msgid "Installing the plugin from file failed, please see the log for details." +#~ msgstr "" +#~ "Installation des Plugins aus Datei " +#~ "fehlgeschlagen, bitte konsultiere das Log " +#~ "für Details." + +#~ msgid "" +#~ "Installing the plugin from \"%(source)s\" " +#~ "failed, please see the log for " +#~ "details." +#~ msgstr "" +#~ "Installation des Plugins von \"%(source)s\"" +#~ " fehlgeschlagen, bitte konsultiere das Log" +#~ " für Details." + +#~ msgid "Plugin \"%(name)s\" uninstalled" +#~ msgstr "Plugin \"%(name)s\" deinstalliert" + +#~ msgid "The plugin was uninstalled successfully" +#~ msgstr "Das Plugin wurde erfolgreich deinstalliert" + +#~ msgid "" +#~ "The plugin was uninstalled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deinstalliert," +#~ " es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig." + +#~ msgid "" +#~ "The plugin was uninstalled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deinstalliert," +#~ " es ist jedoch ein Neuladen der " +#~ "Seite notwendig." + +#~ msgid "" +#~ "The plugin was uninstalled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deinstalliert," +#~ " es ist jedoch eine Neuverbindung zum" +#~ " Drucker notwendig." + +#~ msgid "Uninstalling the plugin failed, please see the log for details." +#~ msgstr "" +#~ "Deinstallation des Plugins fehlgeschlagen, " +#~ "bitte konsultiere das Log für Details." + +#~ msgid "Plugin \"%(name)s\" enabled" +#~ msgstr "Plugin \"%(name)s\" aktiviert" + +#~ msgid "The plugin was enabled successfully." +#~ msgstr "Das Plugin wurde erfolgreich aktiviert." + +#~ msgid "" +#~ "The plugin was enabled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich aktiviert, " +#~ "es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig." + +#~ msgid "" +#~ "The plugin was enabled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich aktiviert, " +#~ "es ist jedoch ein Neuladen der " +#~ "Seite notwendig." + +#~ msgid "" +#~ "The plugin was enabled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich aktiviert, " +#~ "es ist jedoch eine Neuverbindung zum " +#~ "Drucker notwendig." + +#~ msgid "Toggling the plugin failed: %(reason)s" +#~ msgstr "Togglen des Plugins fehlgeschalgen: %(reason)s" + +#~ msgid "Toggling the plugin failed, please see the log for details." +#~ msgstr "" +#~ "Togglen des Plugins fehlgeschlagen, bitte " +#~ "konsultiere das Log für Details." + +#~ msgid "Plugin \"%(name)s\" disabled" +#~ msgstr "Plugin \"%(name)s\" deaktiviert" + +#~ msgid "The plugin was disabled successfully." +#~ msgstr "Das Plugin wurde erfolgreich deaktiviert." + +#~ msgid "" +#~ "The plugin was disabled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deaktiviert, " +#~ "es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig." + +#~ msgid "" +#~ "The plugin was disabled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deaktiviert, " +#~ "es ist jedoch ein Neuladen der " +#~ "Seite notwendig." + +#~ msgid "" +#~ "The plugin was disabled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deaktiviert, " +#~ "es ist jedoch eine Neuverbindung zum " +#~ "Drucker notwendig." + +#~ msgid "just now" +#~ msgstr "gerade eben" + +#~ msgid "SD status interval" +#~ msgstr "SD-Status-Intervall" + +#~ msgid "Log communication to serial.log (might negatively impact performance)" +#~ msgstr "" +#~ "Logge die Kommunikation in das " +#~ "serial.log (kann die Performance negativ " +#~ "beeinflussen)" + +#~ msgid "Most Marlin < v1.1.0" +#~ msgstr "Die meisten Varianten von Marlin < v1.1.0" + +#~ msgid "Capture post roll images" +#~ msgstr "Bilder für Zeitraffernachlauf aufzeichnen" + +#~ msgid "" +#~ "If this is unchecked, OctoPrint will " +#~ "simply repeat the last frame for " +#~ "the post roll instead of continuing " +#~ "to capture new frames." +#~ msgstr "" +#~ "Wenn diese Option nicht angehakt ist " +#~ "wird OctoPrint einfach den letzten Frame" +#~ " der regulären Aufnahme für den " +#~ "Nachlauf verwenden, anstatt neue Frames " +#~ "aufzuzeichnen." diff --git a/translations/de/LC_MESSAGES/messages.mo b/translations/de/LC_MESSAGES/messages.mo index 700ea0115f3bcec4324de3b9f5211e40e233041b..f779144bdcd5d7286c930131bb90613094b86da1 100644 GIT binary patch delta 23384 zcmb8#349bq+Q;#3NI>rUz8d5vgj?hag!@KLMM0b-6EcuY!psB&l>w2<3vtu|5fubP zL{X!RsI1DNcmks0isHegc&y60iVN%e`*(E^)IHw)eBSrl)zjTo_0&_zvOTYFQ&W-)^{ZE{?IRsP&dPu$&Q=brlzcJ@?{r z%5Au7AP?G(m3UCnXv_MP^VPX~4CNp3P0EAES=QTFW4vWmVthJT2?tbN{_CztixQejM`OUaFS&mLu;~SwSwc=of|4&ZCUqH9yZ0Y`cXcP zLnycQSr(nQB3KExVJUnKYvVptWWU7nSSrJ^DquCNMEzD{4w_;ItcVlz1NyNF7JB8y zSdDTVYv7~a`IoT-<^7)TqAEIws`x0Xfp(^4CF4L;1BYX@3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4{XQ(UBLOLtE^D;hVSEMWZ5_!GT-tfxjJ9 z3)kFcw~Y?gJ!7{CzIWO#m&3<*iPskwEO^F_&!rDnyuX4G^?tie`0m&3 zU+fBfvV2>myMFfyo?*VQf}0Q8-K*mMGxj9j)6#jtaCwG#!Z&?tkGB605PaFg diff --git a/translations/de/LC_MESSAGES/messages.po b/translations/de/LC_MESSAGES/messages.po index ab1929635..4a3c05f82 100644 --- a/translations/de/LC_MESSAGES/messages.po +++ b/translations/de/LC_MESSAGES/messages.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: OctoPrint\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2017-12-05 12:29+0100\n" -"PO-Revision-Date: 2017-12-05 12:31+0100\n" +"POT-Creation-Date: 2018-03-19 13:41+0100\n" +"PO-Revision-Date: 2018-03-19 13:42+0100\n" "Last-Translator: Gina Häußge \n" "Language: de\n" "Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n" @@ -46,12 +46,12 @@ msgid "You can edit your announcement subscriptions under Settings > Announcemen msgstr "Du kannst deine Benachrichtigungsabonnements unter Einstellungen > Benachrichtigungen konfigurieren." #: src/octoprint/plugins/announcements/static/js/announcements.js:271 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:957 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:973 msgid "Later" msgstr "Später" #: src/octoprint/plugins/announcements/static/js/announcements.js:277 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:964 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:980 msgid "Mark read" msgstr "Gelesen" @@ -81,15 +81,16 @@ msgstr "Konfigurierte Kanäle" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profileImporter.jinja2:27 #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:9 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:11 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:50 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:43 #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:4 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:12 #: src/octoprint/templates/dialogs/settings/terminalfilters.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:4 -#: src/octoprint/templates/tabs/timelapse.jinja2:130 -#: src/octoprint/templates/tabs/timelapse.jinja2:175 +#: src/octoprint/templates/tabs/timelapse.jinja2:121 +#: src/octoprint/templates/tabs/timelapse.jinja2:166 msgid "Name" msgstr "Name" @@ -362,6 +363,7 @@ msgstr "Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker ent #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:7 #: src/octoprint/plugins/cura/templates/cura_settings.jinja2:1 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditor.jinja2:9 #: src/octoprint/templates/tabs/control.jinja2:114 msgid "General" @@ -446,22 +448,22 @@ msgid "

\n" msgstr "

Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den korrekten Pfad zu FFMPEG wissen.

" #: src/octoprint/plugins/cura/static/js/cura.js:234 -#: src/octoprint/static/js/app/viewmodels/settings.js:357 +#: src/octoprint/static/js/app/viewmodels/settings.js:387 msgid "The path doesn't exist" msgstr "Der Pfad existiert nicht" #: src/octoprint/plugins/cura/static/js/cura.js:236 -#: src/octoprint/static/js/app/viewmodels/settings.js:359 +#: src/octoprint/static/js/app/viewmodels/settings.js:389 msgid "The path is not a file" msgstr "Der Pfad ist keine Datei" #: src/octoprint/plugins/cura/static/js/cura.js:238 -#: src/octoprint/static/js/app/viewmodels/settings.js:361 +#: src/octoprint/static/js/app/viewmodels/settings.js:391 msgid "The path is not an executable" msgstr "Der Pfad ist nicht ausführbar" #: src/octoprint/plugins/cura/static/js/cura.js:241 -#: src/octoprint/static/js/app/viewmodels/settings.js:364 +#: src/octoprint/static/js/app/viewmodels/settings.js:394 msgid "The path is valid" msgstr "Der Pfad ist valide" @@ -597,15 +599,15 @@ msgid "Confirm" msgstr "Bestätigen" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 msgid "Sort by" msgstr "Sortieren" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:142 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 #: src/octoprint/templates/sidebar/files_header.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:108 +#: src/octoprint/templates/tabs/timelapse.jinja2:99 msgid "ascending" msgstr "aufsteigend" @@ -622,6 +624,64 @@ msgstr "Profil entfernen" msgid "Without this plugin your OctoPrint instance will no longer be discoverable on the network via Bonjour and uPnP." msgstr "Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:1 +msgid "Logs" +msgstr "Logs" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +msgid "Modification date" +msgstr "Änderungsdatum" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:143 +#: src/octoprint/templates/sidebar/files_header.jinja2:7 +#: src/octoprint/templates/sidebar/files_header.jinja2:8 +#: src/octoprint/templates/tabs/timelapse.jinja2:100 +#: src/octoprint/templates/tabs/timelapse.jinja2:101 +msgid "descending" +msgstr "absteigend" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:12 +#: src/octoprint/templates/sidebar/files.jinja2:18 +#: src/octoprint/templates/sidebar/files.jinja2:33 +#: src/octoprint/templates/sidebar/files.jinja2:44 +#: src/octoprint/templates/tabs/timelapse.jinja2:122 +#: src/octoprint/templates/tabs/timelapse.jinja2:168 +msgid "Size" +msgstr "Größe" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:13 +msgid "Date" +msgstr "Datum" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:14 +#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:7 +#: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:6 +#: src/octoprint/templates/tabs/timelapse.jinja2:123 +#: src/octoprint/templates/tabs/timelapse.jinja2:169 +msgid "Action" +msgstr "Aktion" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:46 +msgid "Logging Levels" +msgstr "Logginglevel" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:51 +msgid "Level" +msgstr "Level" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:68 +#: src/octoprint/templates/sidebar/files.jinja2:23 +#: src/octoprint/templates/sidebar/files.jinja2:36 +#: src/octoprint/templates/sidebar/files.jinja2:46 +msgid "Remove" +msgstr "Entfernen" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:87 +msgid "Add" +msgstr "Hinzufügen" + #: src/octoprint/plugins/octopi_support/__init__.py:164 msgid "Without this plugin OctoPrint will no longer be able to provide additional information about your OctoPi instance,which will make it more tricky to help you if you need support." msgstr "Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen über deine OctoPi Instanz zur Verfügung stellen, was es ggf. schwieriger macht, dir zu helfen, falls du Support brauchst." @@ -642,385 +702,246 @@ msgstr "Über OctoPi" msgid "Plugin Manager" msgstr "Pluginmanager" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:211 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:221 msgid "There are no plugin notices. Great!" msgstr "Keine Nachrichten zu deinen Plugins. Super!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:213 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:223 msgid "There is a plugin notice for one of your installed plugins." msgstr "Es gibt eine Nachricht zu einem deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:215 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:225 #, python-format msgid "There are %(count)d plugin notices for one or more of your installed plugins." msgstr "Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:310 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:533 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:320 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:543 msgid "Installing plugin..." msgstr "Installiere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:310 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:320 msgid "Installing plugin from uploaded archive..." msgstr "Installiere Plugin von hochgeladenem Archiv..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:457 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:557 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:595 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:758 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1163 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1214 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1232 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1250 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:341 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:467 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:567 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:605 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:795 msgid "Something went wrong" msgstr "Etwas ist schief gegangen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:332 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:458 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:558 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:596 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:342 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:468 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:568 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:606 msgid "Please consult octoprint.log for details" msgstr "Bitte konsultiere octoprint.log für Details" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:477 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:487 #, python-format msgid "You are about to disable \"%(name)s\"." msgstr "Du bist im Begriff \"%(name)s\" zu deaktivieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:480 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:490 msgid "This is not recommended" msgstr "Das ist nicht empfohlen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:482 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:492 msgid "Do you still want to disable it?" msgstr "Möchtest du es immer noch deaktivieren?" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:483 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:493 msgid "Keep enabled" msgstr "Aktiviert lassen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:484 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:494 msgid "Disable anyway" msgstr "Trotzdem deaktivieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:535 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:545 #, python-format msgid "Installing plugin \"%(name)s\" from %(url)s..." msgstr "Installiere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:537 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:547 #, python-format msgid "Installing plugin from %(url)s..." msgstr "Installiere Plugin von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:540 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:550 msgid "Reinstalling plugin..." msgstr "Reinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:541 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:551 #, python-format msgid "Reinstalling plugin \"%(name)s\" from %(url)s..." msgstr "Reinstalliere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:587 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:597 msgid "Uninstalling plugin..." msgstr "Deinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:587 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:597 #, python-format msgid "Uninstalling plugin \"%(name)s\"" msgstr "Deinstalliere Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Reinstall" msgstr "Reinstallieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:198 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:214 msgid "Install" msgstr "Installieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Disabled" msgstr "Deaktiviert" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Incompatible" msgstr "Inkompatibel" +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:720 +msgid "Plugin management log" +msgstr "Pluginmanagementlog" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:728 +#, python-format +msgid "%(count)d earlier actions..." +msgstr "%(count)d frühere Aktionen..." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:730 +#, python-format +msgid "%(count)d earlier action" +msgstr "%(count)d earlier Aktion" + #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:741 +#, python-format +msgid "Install %(plugin)s: %(result)s" +msgstr "%(plugin)s installiert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:745 +#, python-format +msgid "Uninstall %(plugin)s: %(result)s" +msgstr "%(plugin)s deinstalliert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:749 +#, python-format +msgid "Enable %(plugin)s: %(result)s" +msgstr "%(plugin)s aktiviert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:753 +#, python-format +msgid "Disable %(plugin)s: %(result)s" +msgstr "%(plugin)s deaktiviert: %(result)s" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:770 +msgid "A restart is needed for the changes to take effect." +msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:778 msgid "Restart now" msgstr "Jetzt neu starten" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:746 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:783 msgid "This will restart your OctoPrint server.

This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." msgstr "Dies wird deinen OctoPrint server neu starten

Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:752 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:789 msgid "Restart in progress" msgstr "Neustart findet statt" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:753 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:790 msgid "The server is now being restarted in the background" msgstr "Der Server wird nun im Hintergrund neu gestartet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:759 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:796 msgid "Trying to restart the server produced an error, please check octoprint.log for details. You'll have to restart manually." msgstr "Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. Bitte konsultiere octoprint.log für Details. Du musst manuell neu starten." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:781 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:809 +msgid "A refresh is needed for the changes to take effect." +msgstr "Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam werden." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:816 #: src/octoprint/templates/overlays/reloadui.jinja2:14 msgid "Reload now" msgstr "Jetzt neu laden" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:847 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:825 +msgid "A reconnect to the printer is needed for the changes to take effect." +msgstr "Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam werden." + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:862 msgid "Error!" msgstr "Fehler!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:850 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:865 msgid "Done!" msgstr "Fertig!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:875 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:891 msgid "Blacklisted" msgstr "Geblacklistet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:877 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:893 msgid "Disabled due to active safe mode" msgstr "Deaktiviert wegen aktiviertem Safe Mode" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:879 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:895 msgid "Enable Plugin" msgstr "Plugin enablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:898 msgid "Disable Plugin" msgstr "Plugin disablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:902 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:918 #, python-format msgid "There are %(count)d notices (%(important)d marked as important) available regarding this plugin - click to show!" msgstr "Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:904 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:920 #, python-format msgid "There are %(count)d notices available regarding this plugin - click to show!" msgstr "Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:908 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:924 msgid "There is an important notice available regarding this plugin - click to show!" msgstr "Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:910 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:926 msgid "There is a notice available regarding this plugin - click to show!" msgstr "Es gibt eine Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:924 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:940 #, python-format msgid "Important notice regarding plugin \"%(name)s\"" msgstr "Wichtige Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:926 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:942 #, python-format msgid "Notice regarding plugin \"%(name)s\"" msgstr "Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:933 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:949 #, python-format msgid "Affected versions: %(versions)s" msgstr "Betroffene Versionen: %(versions)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:935 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:951 msgid "Affected versions: all" msgstr "Betroffene Versionen: alle" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:940 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:956 msgid "Read more..." msgstr "Mehr..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1133 -msgid "Plugin installed" -msgstr "Plugin installiert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1134 -msgid "A plugin was installed successfully, however it was impossible to detect which one. Please Restart OctoPrint to make sure everything will be registered properly" -msgstr "Ein Plugin wurde erfolgreich installiert, es war aber unmöglich zu detektieren, welches. Bitte starte OctoPrint neu um sicherzustellen, dass alles ordnungsgemäß registriert wird." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1140 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1150 -#, python-format -msgid "Plugin \"%(name)s\" reinstalled" -msgstr "Plugin \"%(name)s\" reinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1141 -msgid "The plugin was reinstalled successfully, however it is blacklisted and therefore won't be loaded." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber auf der Pluginblackliste und wird daher nicht geladen." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1143 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1156 -#, python-format -msgid "Plugin \"%(name)s\" installed" -msgstr "Plugin \"%(name)s\" installiert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1144 -msgid "The plugin was installed successfully, however it is blacklisted and therefore won't be loaded." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch auf der Pluginblackliste und wird daher nicht geladen." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1151 -msgid "The plugin was reinstalled successfully" -msgstr "Das Plugin wurde erfolgreich reinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1152 -msgid "The plugin was reinstalled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber ein Neustart von OctoPrint notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1153 -msgid "The plugin was reinstalled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber ein Neuladen der Seite notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1154 -msgid "The plugin was reinstalled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich reinstalliert, es ist aber eine Neuverbindung zum Drucker notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1157 -msgid "The plugin was installed successfully" -msgstr "Das Plugin wurde erfolgreich installiert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1158 -msgid "The plugin was installed successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch ein Neustart von OctoPrint notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1159 -msgid "The plugin was installed successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch ein Neuladen der Seite notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1160 -msgid "The plugin was installed successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich installiert, es ist jedoch eine Neuverbindung zum Drucker notwendig bevor es genutzt werden kann." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1176 -#, python-format -msgid "Reinstalling the plugin from file failed: %(reason)s" -msgstr "Reinstallation des Plugins aus Datei fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1178 -#, python-format -msgid "Reinstalling the plugin from \"%(source)s\" failed: %(reason)s" -msgstr "Reinstallation des Plugins von \"%(source)s\" fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1182 -#, python-format -msgid "Installing the plugin from file failed: %(reason)s" -msgstr "Installation des Plugins aus Datei fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1184 -#, python-format -msgid "Installing the plugin from \"%(source)s\" failed: %(reason)s" -msgstr "Installation des Plugins von \"%(source)s\" fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1190 -msgid "Reinstalling the plugin from file failed, please see the log for details." -msgstr "Reinstallation des Plugins aus Datei fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1192 -#, python-format -msgid "Reinstalling the plugin from \"%(source)s\" failed, please see the log for details." -msgstr "Reinstallation des Plugins von \"%(source)s\" fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1196 -msgid "Installing the plugin from file failed, please see the log for details." -msgstr "Installation des Plugins aus Datei fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1198 -#, python-format -msgid "Installing the plugin from \"%(source)s\" failed, please see the log for details." -msgstr "Installation des Plugins von \"%(source)s\" fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1208 -#, python-format -msgid "Plugin \"%(name)s\" uninstalled" -msgstr "Plugin \"%(name)s\" deinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1209 -msgid "The plugin was uninstalled successfully" -msgstr "Das Plugin wurde erfolgreich deinstalliert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1210 -msgid "The plugin was uninstalled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deinstalliert, es ist jedoch ein Neustart von OctoPrint notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1211 -msgid "The plugin was uninstalled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deinstalliert, es ist jedoch ein Neuladen der Seite notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1212 -msgid "The plugin was uninstalled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deinstalliert, es ist jedoch eine Neuverbindung zum Drucker notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1216 -#, python-format -msgid "Uninstalling the plugin failed: %(reason)s" -msgstr "Deinstallation des Plugins fehlgeschlagen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1218 -msgid "Uninstalling the plugin failed, please see the log for details." -msgstr "Deinstallation des Plugins fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1226 -#, python-format -msgid "Plugin \"%(name)s\" enabled" -msgstr "Plugin \"%(name)s\" aktiviert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1227 -msgid "The plugin was enabled successfully." -msgstr "Das Plugin wurde erfolgreich aktiviert." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1228 -msgid "The plugin was enabled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich aktiviert, es ist jedoch ein Neustart von OctoPrint notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1229 -msgid "The plugin was enabled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich aktiviert, es ist jedoch ein Neuladen der Seite notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1230 -msgid "The plugin was enabled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich aktiviert, es ist jedoch eine Neuverbindung zum Drucker notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1234 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1252 -#, python-format -msgid "Toggling the plugin failed: %(reason)s" -msgstr "Togglen des Plugins fehlgeschalgen: %(reason)s" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1236 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1254 -msgid "Toggling the plugin failed, please see the log for details." -msgstr "Togglen des Plugins fehlgeschlagen, bitte konsultiere das Log für Details." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1244 -#, python-format -msgid "Plugin \"%(name)s\" disabled" -msgstr "Plugin \"%(name)s\" deaktiviert" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1245 -msgid "The plugin was disabled successfully." -msgstr "Das Plugin wurde erfolgreich deaktiviert." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1246 -msgid "The plugin was disabled successfully, however a restart of OctoPrint is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deaktiviert, es ist jedoch ein Neustart von OctoPrint notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1247 -msgid "The plugin was disabled successfully, however a reload of the page is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deaktiviert, es ist jedoch ein Neuladen der Seite notwendig." - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1248 -msgid "The plugin was disabled successfully, however a reconnect to the printer is needed for that to take effect." -msgstr "Das Plugin wurde erfolgreich deaktiviert, es ist jedoch eine Neuverbindung zum Drucker notwendig." - #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:3 msgid "Take note that all plugin management functionality is disabled while your printer is printing." msgstr "Bitte beachte dass jegliche Pluginmanagementfunktionen während des Druckens deaktiviert sind." @@ -1127,15 +1048,6 @@ msgstr "Nach Titel sortieren" msgid "Sort by publication date" msgstr "Nach Veröffentlichungsdatum sortieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:143 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/sidebar/files_header.jinja2:7 -#: src/octoprint/templates/sidebar/files_header.jinja2:8 -#: src/octoprint/templates/tabs/timelapse.jinja2:109 -#: src/octoprint/templates/tabs/timelapse.jinja2:110 -msgid "descending" -msgstr "absteigend" - #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:145 msgid "Only show uninstalled plugins" msgstr "Nur uninstallierte Plugins anzeigen" @@ -1192,7 +1104,9 @@ msgstr "Das sieht nicht aus wie ein valides Pluginarchiv. Valide Pluginarchive s #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:220 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:64 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:121 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:147 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:247 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:307 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:9 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:23 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 @@ -1282,12 +1196,28 @@ msgstr "Abbruch" msgid "Save" msgstr "Speichern" -#: src/octoprint/plugins/softwareupdate/__init__.py:589 +#: src/octoprint/plugins/printer_safety_check/__init__.py:44 +msgid "Printer Safety Warning" +msgstr "Druckersicherheitswarnung" + +#: src/octoprint/plugins/printer_safety_check/__init__.py:105 +msgid "Without this plugin OctoPrint will no longer be able to check if the printer it is connected to has a known safetyissue and inform you about that fact." +msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, dich über bekannte Sicherheitsprobleme mit verbundenen Druckern zu informieren." + +#: src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2:1 +msgid "Warning!" +msgstr "Warnung!" + +#: src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2:5 +msgid "Learn more..." +msgstr "Mehr erfahren..." + +#: src/octoprint/plugins/softwareupdate/__init__.py:570 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:1 msgid "Software Update" msgstr "Software Update" -#: src/octoprint/plugins/softwareupdate/__init__.py:999 +#: src/octoprint/plugins/softwareupdate/__init__.py:982 #: src/octoprint/server/views.py:571 #: src/octoprint/static/js/app/viewmodels/appearance.js:13 #: src/octoprint/static/js/app/viewmodels/appearance.js:18 @@ -1298,7 +1228,7 @@ msgstr "Software Update" msgid "OctoPrint" msgstr "OctoPrint" -#: src/octoprint/plugins/softwareupdate/__init__.py:1166 +#: src/octoprint/plugins/softwareupdate/__init__.py:1142 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." @@ -1319,156 +1249,159 @@ msgstr "%(name)s: %(version)s" msgid "unknown" msgstr "unbekannt" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:309 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:307 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:511 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:682 +msgid "Updating..." +msgstr "Aktualisiere..." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:307 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:682 +msgid "Updating, please wait." +msgstr "Aktualisiere gerade, bitte warten." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:314 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:317 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:322 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate.jinja2:14 msgid "Release Notes" msgstr "Release Notes" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:323 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:328 msgid "Those components marked with can be updated directly." msgstr "Die mit markierten Komponenten können direkt aktualisiert werden." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:326 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:331 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:332 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:337 msgid "Update Available" msgstr "Aktualisierung verfügbar" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:344 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:370 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:349 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:347 msgid "Ignore" msgstr "Ignorieren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:348 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:353 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:352 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:357 msgid "Update now" msgstr "Jetzt aktualisieren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:390 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:395 msgid "Everything is up-to-date" msgstr "Alles ist auf dem neusten Stand" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:416 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:421 msgid "No internet connection" msgstr "Keine Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:420 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:425 msgid "Update not possible" msgstr "Update nicht möglich" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:431 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436 msgid "Unknown update check, configuration ok?" msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:434 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:439 msgid "Cannot check for update, need online connection" msgstr "Updatecheck ist nicht mögich, benötige Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:442 msgid "Network error while checking for update" msgstr "Netzwerkfehler bei Updatecheck" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:440 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:445 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:506 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:681 -msgid "Updating..." -msgstr "Aktualisiere..." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:507 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:512 msgid "Now updating, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:681 -msgid "Updating, please wait." -msgstr "Aktualisiere gerade, bitte warten." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:530 msgid "Update not started!" msgstr "Aktualisierung nicht gestartet!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 -msgid "The update could not be started. Is it already active? Please consult the log for details." -msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere das Log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:531 +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:548 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:553 msgid "Can't update while printing" msgstr "Aktualisierung nicht möglich während gedruckt wird" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:549 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:554 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:684 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:699 #, 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:703 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:718 msgid "Update successful, restarting!" msgstr "Aktualisierung erfolgreich, starte neu!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:704 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:719 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:721 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:770 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:736 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:785 msgid "Restart failed" msgstr "Neustart fehlgeschlagen" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:722 -msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult the log file on what went wrong." -msgstr "Der Server hat anscheinend nicht von selbst neu gstartet, Du wirst das manuell tun müssen. Bitte konsultiere das Logfile." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737 +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 gstartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:759 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:746 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761 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:749 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:764 msgid "Update successful, restart required!" msgstr "Aktualisierung erfolgreich, Neustart notwendig!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:765 -msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult the log file on what went wrong here." -msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest das Logfile konsultieren, um herauszufinden, was hier schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:780 +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:767 -msgid "Rebooting the server failed, please reboot it manually. You might also want to consult the log file on what went wrong here." -msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch das Logfile konsultieren, um herauszufinden, was hier gerade schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:782 +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:786 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:801 msgid "Update successful!" msgstr "Aktualisierung erfolgreich!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:802 msgid "The update finished successfully." msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:802 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:817 msgid "Update failed!" msgstr "Aktualisierung fehlgeschlagen!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803 -msgid "The update did not finish successfully. Please consult the log for details." -msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere das Log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:818 +msgid "The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details." +msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere octoprint.log und plugin_softwareupdate_console.log für Details." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate.jinja2:4 msgid "Are you sure you want to update now?" @@ -1611,6 +1544,7 @@ msgid "Plugins" msgstr "Plugins" #: src/octoprint/server/views.py:538 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 msgid "Connection" msgstr "Verbindung" @@ -1692,27 +1626,22 @@ msgid "Appearance" msgstr "Aussehen" #: src/octoprint/server/views.py:576 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:2 -msgid "Logs" -msgstr "Logs" - -#: src/octoprint/server/views.py:577 msgid "Server" msgstr "Server" -#: src/octoprint/server/views.py:583 +#: src/octoprint/server/views.py:582 msgid "Access" msgstr "Zugriff" -#: src/octoprint/server/views.py:584 +#: src/octoprint/server/views.py:583 msgid "Interface" msgstr "Interface" -#: src/octoprint/server/views.py:600 +#: src/octoprint/server/views.py:599 msgid "Start" msgstr "Start" -#: src/octoprint/server/views.py:601 +#: src/octoprint/server/views.py:600 #: src/octoprint/templates/dialogs/wizard.jinja2:57 msgid "Finish" msgstr "Beenden" @@ -1781,28 +1710,64 @@ msgstr "Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind dea msgid "Slicing ... (%(percentage)d%%)" msgstr "Slice ... (%(percentage)d%%)" -#: src/octoprint/static/js/app/dataupdater.js:231 -#: src/octoprint/static/js/app/dataupdater.js:240 -msgid "Unhandled communication error" -msgstr "Unbehandelter Kommunikationsfehler" - -#: src/octoprint/static/js/app/dataupdater.js:232 -#, python-format -msgid "There was an unhandled error while talking to the printer. Due to that the ongoing print job was cancelled. Error: %(firmwareError)s" -msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher wurder der laufende Druckauftrag abgebrochen. Fehler: %(firmwareError)s" - +#: src/octoprint/static/js/app/dataupdater.js:230 #: src/octoprint/static/js/app/dataupdater.js:241 +msgid "Error reported by printer" +msgstr "Fehler vom Drucker gemeldet" + +#: src/octoprint/static/js/app/dataupdater.js:231 #, python-format -msgid "There was an unhandled error while talking to the printer. Due to that OctoPrint disconnected. Error: %(error)s" -msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher hat OctoPrint die Verbindung getrennt. Fehler: %(error)s" +msgid "Your printer's firmware reported an error. Due to that the ongoing print job will be cancelled. Reported error: %(firmwareError)s" +msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher wird der laufende Druckauftrag abgebrochen. Fehler: %(firmwareError)s" + +#: src/octoprint/static/js/app/dataupdater.js:242 +#, python-format +msgid "Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: %(error)s" +msgstr "Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:247 +msgid "Communication error" +msgstr "Kommunikationsfehler" #: src/octoprint/static/js/app/dataupdater.js:248 +#, python-format +msgid "There was a communication error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:252 +msgid "Error connecting to printer" +msgstr "Fehler bei der Verbindung zum Drucker" + +#: src/octoprint/static/js/app/dataupdater.js:253 +#, python-format +msgid "There was an error while trying to connect to your printer. Error: %(error)s" +msgstr "Es gab einen Fehler bei der Verbindung zum Drucker. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:257 +msgid "Error starting a print" +msgstr "Fehler beim Start eines Drucks" + +#: src/octoprint/static/js/app/dataupdater.js:258 +#, python-format +msgid "There was an error while trying to start a print job. Error: %(error)s" +msgstr "Es gab einen Fehler beim Start eines Drucks. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:267 +msgid "Unknown error" +msgstr "Unbekannter Fehler" + +#: src/octoprint/static/js/app/dataupdater.js:268 +#, python-format +msgid "There was an unknown error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" + +#: src/octoprint/static/js/app/dataupdater.js:283 msgid "Printer reset detected" msgstr "Druckerreset erkannt" -#: src/octoprint/static/js/app/dataupdater.js:249 -msgid "It looks like the printer was reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." -msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, denn das wird Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen." +#: src/octoprint/static/js/app/dataupdater.js:284 +msgid "It looks like your printer reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." +msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." #: src/octoprint/static/js/app/helpers.js:378 #, python-format @@ -1891,6 +1856,7 @@ msgid "off" msgstr "Aus" #: src/octoprint/static/js/app/helpers.js:654 +#: src/octoprint/static/js/app/viewmodels/connection.js:135 msgid "Are you sure?" msgstr "Bist Du sicher?" @@ -1952,13 +1918,26 @@ msgid "Connect" msgstr "Verbinden" #: src/octoprint/static/js/app/viewmodels/connection.js:44 +#: src/octoprint/static/js/app/viewmodels/connection.js:144 msgid "Disconnect" msgstr "Trennen" +#: src/octoprint/static/js/app/viewmodels/connection.js:136 +msgid "

You are about to disconnect from the printer while a print is in progress.

Disconnecting while a print is in progress will prevent OctoPrint from completing the print. If you're printing from an SD card attached directly to the printer, any attempt to restart OctoPrint or reconnect to the printer could interrupt the print.

" +msgstr "

Du bist im Begriff, die Verbindung zu deinem Drucker zu trennen während ein Druck läuft.

Das Trennen der Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden den Druck unterbrechen.

" + +#: src/octoprint/static/js/app/viewmodels/connection.js:142 +msgid "Are you sure you want to disconnect from the printer?" +msgstr "Bist Du sicher, dass du die Verbindung zum Drucker trennen willst?" + +#: src/octoprint/static/js/app/viewmodels/connection.js:143 +msgid "Stay Connected" +msgstr "Verbunden bleiben" + #: src/octoprint/static/js/app/viewmodels/control.js:72 #: src/octoprint/static/js/app/viewmodels/files.js:606 #: src/octoprint/static/js/app/viewmodels/gcode.js:567 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:237 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:241 #: src/octoprint/static/js/app/viewmodels/temperature.js:115 #: src/octoprint/static/js/app/viewmodels/temperature.js:126 msgid "Tool" @@ -2117,7 +2096,7 @@ msgid "Estimated layer height" msgstr "Geschätzte Schichthöhe" #: src/octoprint/static/js/app/viewmodels/gcode.js:528 -#: src/octoprint/templates/tabs/timelapse.jinja2:77 +#: src/octoprint/templates/tabs/timelapse.jinja2:68 msgid "mm" msgstr "mm" @@ -2291,89 +2270,89 @@ msgstr "Druckerprofil hinzufügen" msgid "Edit Printer Profile \"%(name)s\"" msgstr "Druckerprofile \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:48 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:50 msgid "Restarts the print job from the beginning" msgstr "Started den Druckjob von vorne" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:49 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:51 msgid "Starts the print job" msgstr "Startet den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:50 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:52 msgid "Resumes the print job" msgstr "Setzt den Druckjob fort" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:51 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:53 msgid "Pauses the print job" msgstr "Pausiert den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:84 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:86 msgid "Still stabilizing..." msgstr "Noch zu ungenau..." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:96 msgid "Based on a linear approximation (very low accuracy, especially at the beginning of the print)" msgstr "Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, insbesondere zu Beginn eines Drucks)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:97 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:99 msgid "Based on the estimate from analysis of file (medium accuracy)" msgstr "Basiert auf der Schätzung der Analyse der Datei (mittlere Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:100 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:102 msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)" msgstr "Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung (mittlere Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:103 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:105 msgid "Based on the average total of past prints of this model with the same printer profile (usually good accuracy)" msgstr "Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:106 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:108 msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)" msgstr "Basiert auf einem Mix der durschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:109 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:111 msgid "Based on the calculated estimate (best accuracy)" msgstr "Basiert auf der berechneten Schätzung (beste Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:147 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:149 msgid "Continue" msgstr "Fortsetzen" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:149 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:151 #: src/octoprint/templates/sidebar/state.jinja2:24 msgid "Pause" msgstr "Pause" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:160 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 #: src/octoprint/templates/tabs/timelapse.jinja2:15 msgid "On Z Change" msgstr "Bei Ebenenwechsel" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:164 #: src/octoprint/templates/tabs/timelapse.jinja2:14 msgid "Timed" msgstr "Nach Zeit" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:164 #: src/octoprint/templates/tabs/timelapse.jinja2:26 #: src/octoprint/templates/tabs/timelapse.jinja2:37 #: src/octoprint/templates/tabs/timelapse.jinja2:57 msgid "sec" msgstr "Sek" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:274 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:278 msgid "This will restart the print job from the beginning." msgstr "Der Druckjob wird zurückgesetzt und von vorne begonnen." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:301 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:305 msgid "This will cancel your print." msgstr "Das wird deinen Druck abbrechen." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:302 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:306 msgid "No" msgstr "Nein" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:303 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:307 msgid "Yes" msgstr "Ja" @@ -2391,39 +2370,39 @@ msgstr "weiß" msgid "Autodetect from browser" msgstr "Automatisch vom Browser erkennen" -#: src/octoprint/static/js/app/viewmodels/settings.js:274 +#: src/octoprint/static/js/app/viewmodels/settings.js:299 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:282 +#: src/octoprint/static/js/app/viewmodels/settings.js:307 msgid "Stream test" msgstr "Stream Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:300 +#: src/octoprint/static/js/app/viewmodels/settings.js:325 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:301 +#: src/octoprint/static/js/app/viewmodels/settings.js:326 msgid "Snapshot test failed" msgstr "Snapshot Test fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/settings.js:322 +#: src/octoprint/static/js/app/viewmodels/settings.js:352 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:324 +#: src/octoprint/static/js/app/viewmodels/settings.js:354 msgid "Snapshot test" msgstr "Snapshot Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:384 +#: src/octoprint/static/js/app/viewmodels/settings.js:414 msgid "The server is not reachable" msgstr "Der Server ist nicht erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:386 +#: src/octoprint/static/js/app/viewmodels/settings.js:416 msgid "The server is reachable" msgstr "Der Server ist errechbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:506 +#: src/octoprint/static/js/app/viewmodels/settings.js:536 #: src/octoprint/static/js/app/viewmodels/usersettings.js:87 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." @@ -2492,20 +2471,16 @@ msgstr "Definiere unten ein neues Offset für alle Temperaturkommandos für \"%( msgid "Bed" msgstr "Bett" -#: src/octoprint/static/js/app/viewmodels/temperature.js:350 -msgid "just now" -msgstr "gerade eben" - -#: src/octoprint/static/js/app/viewmodels/temperature.js:355 +#: src/octoprint/static/js/app/viewmodels/temperature.js:361 msgid "min" msgstr "Min" -#: src/octoprint/static/js/app/viewmodels/temperature.js:401 +#: src/octoprint/static/js/app/viewmodels/temperature.js:407 #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Actual" msgstr "Ist" -#: src/octoprint/static/js/app/viewmodels/temperature.js:406 +#: src/octoprint/static/js/app/viewmodels/temperature.js:412 #: src/octoprint/templates/tabs/temperature.jinja2:12 msgid "Target" msgstr "Soll" @@ -2530,144 +2505,144 @@ msgstr "zeige %(displayed)d Zeilen (Buffer voll)" msgid "showing %(displayed)d lines" msgstr "zeige %(displayed)d Zeilen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:251 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:240 #, python-format msgid "Failed to remove timelapse %(name)s.

Please consult octoprint.log for details.

" msgstr "Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

Bitte konsultiere octoprint.log für Details.

" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:254 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:243 msgid "Could not remove timelapse" msgstr "Konnte Zeitrafferaufnahme nicht entfernen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:262 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:251 #, python-format msgid "You are about to delete timelapse file \"%(name)s\"." msgstr "Du bist im Begriff die Zeitrafferaufnahme \"%(name)s\" zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:274 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:263 #, python-format msgid "You are about to delete %(count)d timelapse files." msgstr "Du bist im Begriff %(count)d Zeitrafferaufnahmen zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:299 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:288 #, python-format msgid "You are about to delete unrendered timelapse \"%(name)s\"." msgstr "Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:311 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:300 #, python-format msgid "You are about to delete %(count)d unrendered timelapses." msgstr "Du bist im Begriff %(count)d ungerenderte Zeitrafferaufnahmen zu löschen." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:319 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:308 msgid "Deleting timelapse files" msgstr "Lösche Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:320 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:309 #, python-format msgid "Deleting %(count)d timelapse files..." msgstr "Lösche %(count)d Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:324 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:338 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:313 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:327 #, python-format msgid "Deleted %(filename)s..." msgstr "%(filename)s gelöscht..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:327 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:341 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:316 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:330 #, python-format msgid "Deletion of %(filename)s failed, continuing..." msgstr "Löschen von %(filename)s fehlgeschlagen, fahre fort..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:328 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:317 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" msgstr "Löschen von %(filename)s fehlgeschlagen: %(error)s" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:333 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:322 msgid "Deleting unrendered timelapses" msgstr "Lösche ungerenderte Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:334 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:323 #, python-format msgid "Deleting %(count)d unrendered timelapses..." msgstr "Lösche %(count)d ungerenderte Zeitrafferaufnahmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:429 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:417 msgid "Capturing timelapse postroll" msgstr "Zeichne Timelapse-Postroll auf" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:433 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:421 msgid "Now capturing timelapse post roll, this will take only a moment..." msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird nur einen Moment dauern..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:440 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:428 #, python-format msgid "%(minutes)d min" msgstr "%(minutes)d Min" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:441 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:429 #, python-format msgid "Now capturing timelapse post roll, this will take approximately %(duration)s (so until %(time)s)..." msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern (also etwa bis %(time)s)..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:443 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:431 #, python-format msgid "%(seconds)d sec" msgstr "%(seconds)d Sek" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:444 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:432 #, python-format msgid "Now capturing timelapse post roll, this will take approximately %(duration)s..." msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern..." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:474 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:462 msgid "Failed repeatedly to capture timelapse frame from webcam - is the snapshot URL configured correctly and the camera on?" msgstr "Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die Snapshot-URL korrekt konfiguriert und die Kamera an?" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:477 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:465 msgid "Could not capture snapshots" msgstr "Konnte keine Snapshots aufnehmen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:486 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:474 msgid "Rendering timelapse" msgstr "Zeitrafferaufnahme wird gerendert" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:487 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:475 #, python-format msgid "Now rendering timelapse %(movie_prefix)s. Due to performance reasons it is not recommended to start a print job while a movie is still rendering." msgstr "Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, so lange die Aufnahme noch gerendert wird." -#: src/octoprint/static/js/app/viewmodels/timelapse.js:496 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:484 msgid "Cannot render timelapse" msgstr "Kann Zeitrafferaufnahme nicht rendern" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:497 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:485 #, python-format msgid "Rendering of timelapse %(movie_prefix)s is not possible since no frames were captured. Is the snapshot URL configured correctly?" msgstr "Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:499 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:503 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:487 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:491 msgid "Rendering timelapse failed" msgstr "Rendern von Zeitrafferaufnahme fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:500 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:488 #, python-format msgid "Rendering of timelapse %(movie_prefix)s failed with return code %(returncode)s" msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit Returncode %(returncode)s" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:504 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:492 #, python-format msgid "Rendering of timelapse %(movie_prefix)s failed due to an unknown error, please consult the log file" msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund eines unbekannten Fehlers, bitte konsultiere die Logdatei" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:517 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:505 msgid "Timelapse ready" msgstr "Zeitrafferaufnahme fertig" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:518 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:506 #, python-format msgid "New timelapse %(movie_prefix)s is done rendering." msgstr "Neue Zeitrafferaufnahme %(movie_prefix)s wurde fertig gerendert" @@ -2821,14 +2796,6 @@ msgstr "Aktiv" msgid "Admin" msgstr "Admin" -#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:7 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:15 -#: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:132 -#: src/octoprint/templates/tabs/timelapse.jinja2:178 -msgid "Action" -msgstr "Aktion" - #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:12 #: src/octoprint/templates/dialogs/settings/api.jinja2:17 #: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 @@ -3038,81 +3005,28 @@ msgid "Enable Keyboard Control" msgstr "Tastatursteuerung aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:54 -msgid "Wait for start on connect" -msgstr "Bei der Verbindung auf start warten" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:61 msgid "G90/G91 overrides relative extruder mode" msgstr "G90/G91 überschreibt relativen Modus des Extruders" -#: src/octoprint/templates/dialogs/settings/features.jinja2:61 +#: src/octoprint/templates/dialogs/settings/features.jinja2:54 msgid "Smoothieware" msgstr "Smoothieware" -#: src/octoprint/templates/dialogs/settings/features.jinja2:68 -msgid "Enable automatic firmware detection" -msgstr "Automatische Firmwareerkennung einschalten" +#: src/octoprint/templates/dialogs/settings/features.jinja2:55 +msgid "This is used by the GCODE analysis in the backend and the viewer in the frontend to interpret your sliced files correctly." +msgstr "Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." -#: src/octoprint/templates/dialogs/settings/features.jinja2:69 -msgid "\n" -" If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.\n" -" 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.\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/features.jinja2:59 +msgid "Commands to not completely auto uppercase in the terminal tab" +msgstr "Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt werden sollen" -#: src/octoprint/templates/dialogs/settings/features.jinja2:80 -msgid "Select SD files by relative path" -msgstr "SD Dateien per relativem Pfad addressieren" +#: src/octoprint/templates/dialogs/settings/features.jinja2:60 +msgid "Terminal Auto Uppercase Blacklist" +msgstr "Terminal Auto Uppercase Blackliste" -#: src/octoprint/templates/dialogs/settings/features.jinja2:80 -msgid "RepRap Firmware" -msgstr "RepRap Firmware" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:87 -msgid "Always assume SD card is present" -msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:87 -#: src/octoprint/templates/dialogs/settings/features.jinja2:94 -#: src/octoprint/templates/dialogs/settings/features.jinja2:101 -#: src/octoprint/templates/dialogs/settings/features.jinja2:108 -#: src/octoprint/templates/dialogs/settings/features.jinja2:115 -#: src/octoprint/templates/dialogs/settings/features.jinja2:126 -msgid "Repetier" -msgstr "Repetier" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:94 -msgid "Ignore consecutive resend requests for the same line" -msgstr "Aufeinanderfolgende Resend Requests für die selbe Zeilennummer ignorieren" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:101 -#, python-format -msgid "Support TargetExtr%%n/TargetBed target temperature format" -msgstr "TargetExtr%%n/TargetBed Zieltemperaturformat unterstützen" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:108 -msgid "Disable detection of external heatups" -msgstr "Detektierung externer Aufheizvorgänge deaktivieren" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:115 -msgid "Actively pause communication during G4 dwell command" -msgstr "Pausiere Kommunikation mit dem Drucker aktiv während eines G4 dwell Befehls." - -#: src/octoprint/templates/dialogs/settings/features.jinja2:120 -msgid "Send a checksum with the command" -msgstr "Eine Prüfsumme mit dem Befehl senden" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:123 -msgid "When printing" -msgstr "Beim Drucken" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:126 -msgid "Always" -msgstr "Immer" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:129 -msgid "Never" -msgstr "Nie" +#: src/octoprint/templates/dialogs/settings/features.jinja2:63 +msgid "Use this to specify the commands that should not have their parameters automatically uppercased in the terminal tab. Just the G or M code, comma separated." +msgstr "Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur den G oder M code, kommasepariert." #: src/octoprint/templates/dialogs/settings/folders.jinja2:5 msgid "Upload Folder" @@ -3147,10 +3061,10 @@ msgid "If the free disk space falls below these thresholds, OctoPrint will warn msgstr "Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird OctoPrint den Nutzer warnen." #: src/octoprint/templates/dialogs/settings/folders.jinja2:47 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:115 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:169 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:52 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:347 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:363 #: src/octoprint/templates/tabs/gcodeviewer.jinja2:111 msgid "Warning" msgstr "Warnung" @@ -3224,249 +3138,383 @@ msgstr "auf dem Desktop" msgid "on mobile" msgstr "auf Mobile" -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -msgid "Modification date" -msgstr "Änderungsdatum" - -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:13 -#: src/octoprint/templates/sidebar/files.jinja2:18 -#: src/octoprint/templates/sidebar/files.jinja2:33 -#: src/octoprint/templates/sidebar/files.jinja2:44 -#: src/octoprint/templates/tabs/timelapse.jinja2:131 -#: src/octoprint/templates/tabs/timelapse.jinja2:177 -msgid "Size" -msgstr "Größe" - -#: src/octoprint/templates/dialogs/settings/logs.jinja2:14 -msgid "Date" -msgstr "Datum" - #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:5 msgid "Add Profile..." msgstr "Profil hinzufügen..." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:2 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:4 +msgid "Intervals & timeouts" +msgstr "Intervalle & Timeouts" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:5 +msgid "Firmware & protocol" +msgstr "Firmware & Protokoll" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:6 +msgid "Behaviour" +msgstr "Verhalten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:13 msgid "Serial port to connect to, setting this to AUTO will make OctoPrint try to automatically find the right setting" msgstr "Serieller Port, mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port zu finden." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 #: src/octoprint/templates/sidebar/connection.jinja2:1 msgid "Serial Port" msgstr "Serialport" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:8 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:19 msgid "Serial baud rate to connect with, setting this to AUTO will make OctoPrint try to automatically find the right setting" msgstr "Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:9 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:20 #: src/octoprint/templates/sidebar/connection.jinja2:3 msgid "Baudrate" msgstr "Baudrate" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:25 msgid "Makes OctoPrint try to connect to the printer automatically during start up" msgstr "OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker zu verbinden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:17 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 msgid "Auto-connect to printer on server start" msgstr "Automatisch bei Serverstart verbinden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:21 -msgid "Interval in which to poll for the temperature information from the printer" -msgstr "Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden sollen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:22 -msgid "Temperature interval (polling)" -msgstr "Temperaturintervall (polling)" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 -msgid "When printing or idle" -msgstr "Beim Drucken oder Idle" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:35 -msgid "When a target temperature is set" -msgstr "Wenn eine Zieltemperatur eingestellt ist" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:38 -msgid "Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." -msgstr "Von der autoreportfähigen Firmware anzuforderndes Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:39 -msgid "Temperature interval (autoreport)" -msgstr "Temperaturintervall (autoreport)" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:45 -msgid "Autoreport interval to request from firmware" -msgstr "Anzuforderndes Temperaturupdateintervall" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:48 -msgid "Interval in which to poll for the SD printing status information from the printer while printing" -msgstr "Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens abgerufen werden sollen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:49 -msgid "SD status interval" -msgstr "SD-Status-Intervall" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:57 -msgid "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." -msgstr "Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche Bewegungen länger braucht." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:58 -msgid "Communication timeout" -msgstr "Kommunikationstimeout" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:66 -msgid "Time after which a connection attempt to the printer will be considered as having failed" -msgstr "Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert angenommen wird" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:67 -msgid "Connection timeout" -msgstr "Verbindungstimeout" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:75 -msgid "Time after which to consider an auto detection attempt to have failed if no successful connection is detected" -msgstr "Zeit nach der ein unbeantworteter Autodetektierungsversuch als gescheitert angenommen wird" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 -msgid "Autodetection timeout" -msgstr "Autodetectiontimeout" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 -msgid "Log communication to serial.log (might negatively impact performance)" -msgstr "Logge die Kommunikation in das serial.log (kann die Performance negativ beeinflussen)" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:92 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:33 msgid "Additional serial ports" msgstr "Zusätzliche serielle Ports" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:95 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:36 #, python-format msgid "Use this to define additional glob patterns matching serial ports to list for connecting against, e.g. /dev/ttyAMA*. One entry per line." msgstr "Nutze diese Einstellung um zusätzliche glob patterns zu konfigurieren, die auf serielle Ports deines Druckers matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:40 msgid "Additional baud rates" msgstr "Weitere Baudraten" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:102 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:43 msgid "Use this to define additional serial port baud rates to list for connecting with, e.g. 123456. Comma separated." msgstr "Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu konfigurieren, 123456. Komma-separiert." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:108 -msgid "Not only cancel ongoing prints but also disconnect on unhandled errors from the firmware." -msgstr "Bei unbehandelten Firmwarefehlern nicht nur den Druckauftrag abbrechen, sondern auch die Verbindung zum Drucker trennen." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:48 +msgid "Serial logging" +msgstr "Logging der seriellen Kommunikation" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:115 -msgid "Ignore any unhandled errors from the firmware. Only use this if your firmware sends stuff prefixed with \"Error\" that is not an actual error. Might mask printer issues, be careful!" -msgstr "Alle unbehandelten Firmwarefehler ignorieren. Nur nutzen wenn Deine Firmware Dinge mit \"Error\" sendet die nicht wirklich Fehler sind. Könnte Druckerprobleme maskieren, vorsicht!" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:52 +msgid "Log communication to serial.log" +msgstr "Kommunikation nach serial.log loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:123 -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:53 +msgid "While this can negatively impact performance, a serial.log can be incredibly useful for debugging any issues observed in the communication between OctoPrint and your printer." +msgstr "Dies kann zwar die Performance negativ beeinflussen, ein serial.log ist jedoch unglaublich nützlich beim Debugging jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und deinem Drucker auftreten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 -msgid "\"Hello\" command" -msgstr "\"Hallo\"-Befehl" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:61 +msgid "Query intervals" +msgstr "Abfrageintervalle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:127 -msgid "Use this to specify a different command than the default M110 to send to the printer on initial connection to trigger a communication handshake." -msgstr "Nutze diese Einstellung um einen anderen Befehl als M110 beim initialen Verbindungsaufbau zum drucker zu senden." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:62 +msgid "Interval in which to poll for the temperature information from the printer" +msgstr "Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden sollen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:130 -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:63 +msgid "Temperature interval (polling)" +msgstr "Temperaturintervall (polling)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:131 -msgid "Long running commands" -msgstr "Lang laufende Befehle" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:69 +msgid "When printing or idle" +msgstr "Beim Drucken oder Idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:134 -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:76 +msgid "When a target temperature is set" +msgstr "Wenn eine Zieltemperatur eingestellt ist" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79 +msgid "Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:80 +msgid "Temperature interval (autoreport)" +msgstr "Temperaturintervall (autoreport)" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:105 +msgid "Autoreport interval to request from firmware" +msgstr "Anzuforderndes Temperaturupdateintervall" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:89 +msgid "Interval in which to poll for the SD printing status information from the printer while printing" +msgstr "Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens abgerufen werden sollen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +msgid "SD status interval (polling)" +msgstr "SD-Statusintervall (polling)" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:98 +msgid "SD status interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 +msgid "SD status interval (autoreport)" +msgstr "SD-Statusintervall (autoreport)" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:110 +msgid "Timeouts" +msgstr "Timeouts" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:111 +msgid "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." +msgstr "Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche Bewegungen länger braucht." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:112 +msgid "Communication timeout" +msgstr "Kommunikationstimeout" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:118 +msgid "busy protocol support not detected" +msgstr "busy Protokoll nicht unterstützt" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:125 +msgid "busy protocol support detected" +msgstr "busy Protokoll unterstützt" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128 +msgid "Time after which a connection attempt to the printer will be considered as having failed" +msgstr "Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert angenommen wird" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:129 +msgid "Connection timeout" +msgstr "Verbindungstimeout" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 -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." +msgid "Time after which to consider an auto detection attempt to have failed if no successful connection is detected" +msgstr "Zeit nach der ein unbeantworteter Autodetektierungsversuch als gescheitert angenommen wird" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:138 -msgid "Commands that always require a checksum" -msgstr "Befehle, die immer eine Prüfsumme benötigen" +msgid "Autodetection timeout" +msgstr "Autodetectiontimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:141 -msgid "Use this to specify which commands always need to be sent with a checksum. Comma separated list." -msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die immer mit Prüfsumme gesendet werden müssen. Komma-separierte Liste." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:144 -msgid "Commands to not completely auto uppercase in the terminal tab" -msgstr "Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt werden sollen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:145 -msgid "Terminal Auto Uppercase Blacklist" -msgstr "Terminal Auto Uppercase Blackliste" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:148 -msgid "Use this to specify the commands that should not have their parameters automatically uppercased in the terminal tab. Just the G or M code, comma separated." -msgstr "Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur den G oder M code, kommasepariert." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "Generate additional ok for M29" -msgstr "Zusätzliches ok für M29 generieren" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "Most Marlin < v1.1.0" -msgstr "Die meisten Varianten von Marlin < v1.1.0" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:158 -msgid "Simulate an additional ok for resend requests" -msgstr "Zusätzliches ok für Resendrequests simulieren" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 -msgid "Log position on pause" -msgstr "Position bei Pause loggen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 -msgid "If you disabled this, the pause_position placeholders in your pause/resume GCODE scripts will stay unpopulated! However, pausing speed might improve slightly." -msgstr "Falls du das deaktivierst, werden die pause_position Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindkeit einen Hauch verbessern." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:169 -msgid "Log position on cancel" -msgstr "Position bei Abbruch loggen" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:170 -msgid "If you disabled this, the cancel_position 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 cancel_position Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings könnte sich die Abbruchgeschwindkeit einen Hauch verbessern." - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:173 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:149 msgid "Maximum consecutive communication timeouts while idle. More than this and the printer will be considered to be gone. Set to 0 to disable." msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts im Idlezustand. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:174 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 msgid "Max. consecutive timeouts while idle" msgstr "Max. aufeinanderfolgende Timeouts wenn idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:184 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:191 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:160 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:167 msgid "Set to 0 to disable consecutive timeout detection and handling." msgstr "Auf 0 setzen um aufeinanderfolgende Timeouts zu ignorieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:180 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:156 msgid "Maximum consecutive communication timeouts while printing. More than this and the printer will be considered to be gone. Set to 0 to disable." msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:157 msgid "Max. consecutive timeouts while printing" msgstr "Max. aufeinanderfolgende Timeouts beim Drucken" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:187 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 msgid "Maximum consecutive communication timeouts while a long running command is active. More than this and the printer will be considered to be gone. Set to 0 to disable." msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:188 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 msgid "Max. consecutive timeouts during long running commands" msgstr "Max. aufeinanderfolgende Timeouts während lang laufender Befehle" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176 +msgid "Firmware specific settings" +msgstr "Firmwarespezifische Einstellungen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:180 +msgid "Enable automatic firmware detection" +msgstr "Automatische Firmwareerkennung einschalten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 +msgid "\n" +" If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.\n" +" 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.\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:192 +msgid "Select SD files by relative path" +msgstr "SD Dateien per relativem Pfad addressieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:192 +msgid "RepRap Firmware" +msgstr "RepRap Firmware" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:199 +msgid "Always assume SD card is present" +msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:199 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:213 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:227 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 +msgid "Repetier" +msgstr "Repetier" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206 +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:213 +#, python-format +msgid "Support TargetExtr%%n/TargetBed target temperature format" +msgstr "TargetExtr%%n/TargetBed Zieltemperaturformat unterstützen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +msgid "Disable detection of external heatups" +msgstr "Detektierung externer Aufheizvorgänge deaktivieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:227 +msgid "Actively pause communication during G4 dwell command" +msgstr "Pausiere Kommunikation mit dem Drucker aktiv während eines G4 dwell Befehls." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:232 +msgid "Send a checksum with the command" +msgstr "Eine Prüfsumme mit dem Befehl senden" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:235 +msgid "When printing" +msgstr "Beim Drucken" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 +msgid "Always" +msgstr "Immer" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:241 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:288 +msgid "Never" +msgstr "Nie" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:252 +msgid "Support temperature autoreporting by firmware, if detected" +msgstr "Temperaturautoreporting durch die Firmware unterstützen, falls detektiert" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:259 +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:266 +msgid "Support busy protocol, if detected" +msgstr "busy Protokoll unterstützen, falls detektiert" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:273 +msgid "Simulate ok for M29" +msgstr "Zusätzliches ok für M29 generieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:274 +msgid "Most Marlin forks that were derived from Marlin versions < v1.1.0 do not send an acknowledging ok for a M29. 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 < v1.1.0 abgeleitet wurden, senden kein bestätigendes ok für ein M29. Aktiviere diese Option, falls du Kommunikationsprobleme nach dem Streaming einer Datei zu der SD des Druckers beobachtest." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:279 +msgid "Simulate ok for resend requests" +msgstr "Zusätzliches ok für Resendrequests simulieren" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:282 +msgid "If detected as necessary" +msgstr "Falls als notwendig erkannt" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:290 +msgid "Some Marlin forks lack an acknowledging ok 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 ok. Setze diese Option auf \"immer\" oder \"falls als notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests beobachtest." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297 +msgid "Protocol fine tuning" +msgstr "Protokollfinetuning" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:301 +msgid "Wait for start on connect" +msgstr "Bei der Verbindung auf start warten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:302 +msgid "Try checking this if you run into connection timeouts due to your printer taking too long to respond to OctoPrint' 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:309 +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:310 +msgid "\"Hello\" command" +msgstr "\"Hallo\"-Befehl" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:313 +msgid "Use this to specify a different command than the default M110 to send to the printer on initial connection to trigger a communication handshake." +msgstr "Nutze diese Einstellung um einen anderen Befehl als M110 beim initialen Verbindungsaufbau zum drucker zu senden." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:316 +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:317 +msgid "Long running commands" +msgstr "Lang laufende Befehle" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:320 +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:323 +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:324 +msgid "Commands that always require a checksum" +msgstr "Befehle, die immer eine Prüfsumme benötigen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:327 +msgid "Use this to specify which commands always need to be sent with a checksum. Comma separated list." +msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die immer mit Prüfsumme gesendet werden müssen. Komma-separierte Liste." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:336 +msgid "Error handling" +msgstr "Fehlerbehandlung" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338 +msgid "What to do on a firmware error (Error: or !!)" +msgstr "Was im Falle eines Firmwarefehlers (Error: oder !!) gemacht werden soll" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:341 +msgid "Disconnect from the printer" +msgstr "Verbindung zum Drucker trennen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:344 +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:348 +msgid "Only choose this if your firmware sends error messages that are not actual errors. Might mask printer issues, 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, Vorsicht!" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354 +msgid "Event based position logging" +msgstr "Eventbasiertes Positionslogging" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 +msgid "Log position on pause" +msgstr "Position bei Pause loggen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:358 +msgid "If you disable this, the pause_position placeholders in your pause/resume GCODE scripts will stay unpopulated! However, pausing speed might improve slightly." +msgstr "Falls du das deaktivierst, werden die pause_position Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindkeit einen Hauch verbessern." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:363 +msgid "Log position on cancel" +msgstr "Position bei Abbruch loggen" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:364 +msgid "If you disable this, the cancel_position 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 cancel_position Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings könnte sich die Abbruchgeschwindkeit einen Hauch verbessern." + #: src/octoprint/templates/dialogs/settings/server.jinja2:2 msgid "Commands" msgstr "Befehle" @@ -3588,7 +3636,7 @@ msgstr "Danke, dass du OctoPrint installiert hast!\n" #: src/octoprint/templates/dialogs/wizard/firstrun_start.jinja2:6 msgid "\n" -" This wizard will guide you through the final steps to get your OctoPrint instance all setup and ready to go. We'll\n" +" This wizard will guide you through the final steps to get your OctoPrint instance all set up and ready to go. We'll\n" " get you printing in no time!\n" msgstr "Dieser Wizard wird dich nun durch die letzten Schritte begleiten, um deine OctoPrint Instanz fertig einzurichten.\n" @@ -3654,6 +3702,10 @@ msgstr "Verbindungseinstellungen speichern" msgid "Auto-connect on server startup" msgstr "Automatisch bei Serverstart verbinden" +#: src/octoprint/templates/sidebar/connection_header.jinja2:2 +msgid "Refresh connection options" +msgstr "Verbindungsoptionen aktualisieren" + #: src/octoprint/templates/sidebar/files.jinja2:6 msgid "Back" msgstr "Zurück" @@ -3682,12 +3734,6 @@ msgstr "Weitere Daten" msgid "Download" msgstr "Download" -#: src/octoprint/templates/sidebar/files.jinja2:23 -#: src/octoprint/templates/sidebar/files.jinja2:36 -#: src/octoprint/templates/sidebar/files.jinja2:46 -msgid "Remove" -msgstr "Entfernen" - #: src/octoprint/templates/sidebar/files.jinja2:24 msgid "Load" msgstr "Laden" @@ -3717,7 +3763,7 @@ msgid "File list settings" msgstr "Einstellungen der Dateiliste" #: src/octoprint/templates/sidebar/files_header.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:108 +#: src/octoprint/templates/tabs/timelapse.jinja2:99 msgid "Sort by name" msgstr "Nach Name sortieren" @@ -3726,7 +3772,7 @@ msgid "Sort by upload date" msgstr "Nach Uploaddatum sortieren" #: src/octoprint/templates/sidebar/files_header.jinja2:8 -#: src/octoprint/templates/tabs/timelapse.jinja2:110 +#: src/octoprint/templates/tabs/timelapse.jinja2:101 msgid "Sort by file size" msgstr "Nach Größe sortieren" @@ -4019,7 +4065,7 @@ msgid "\n" " If the connectivity check is enabled, OctoPrint will regularly check if it's connected to the internet.\n" " This is useful to prevent resource intensive operations (such as checking for updates) if it's already\n" " clear that they won't succeed anyhow.\n" -msgstr "Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist nützlich um resourcenintensive Operationen zu verhindern (wie z.b. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, dass diese Operationen mangels Verbindung nicht durchgeführt werden können." +msgstr "Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist nützlich um resourcenintensive Operationen zu verhindern (wie z.b. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, dass diese Operationen mangels Verbindung nicht durchgeführt werden können.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckEnabled.jinja2:4 msgid "Enable regular connectivity check" @@ -4124,6 +4170,18 @@ msgstr "Webcam vertikal flippen" msgid "Rotate webcam 90 degrees counter clockwise" msgstr "Webcam um 90° gegen den Uhrzeigersinn rotieren" +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotSslValidation.jinja2:4 +msgid "Validate SSL on snapshot URL (if applicable)" +msgstr "SSL für Snapshot URL validieren (falls relevant)" + +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2:1 +msgid "Timeout for taking a snapshot" +msgstr "Timeout für die Aufnahme eines Snapshots" + +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2:2 +msgid "Snapshot timeout" +msgstr "Snapshot Timeout" + #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:1 msgid "URL to use for retrieving webcam snapshot images for timelapse creation" msgstr "URL, die genutzt werden soll, um Einzelaufnahmen für die Zeitraffererstellung abzurufen" @@ -4226,7 +4284,7 @@ msgstr "Schrittgröße" #: src/octoprint/templates/tabs/control.jinja2:38 msgid "Hint: If you move your mouse over the picture, you enter keyboard control mode." -msgstr "Hinweis: Bewegen der Maus über das Bild aktiviert die Tastatursteuerung" +msgstr "Hinweis: Bewegen der Maus über das Bild aktiviert die Tastatursteuerung." #: src/octoprint/templates/tabs/control.jinja2:84 msgid "Feed rate:" @@ -4380,7 +4438,7 @@ msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe" #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Current actual temperature as reported by your printer" -msgstr "Aktuelle vom Drucker gemeldete Temperatur " +msgstr "Aktuelle vom Drucker gemeldete Temperatur" #: src/octoprint/templates/tabs/temperature.jinja2:12 msgid "Current target temperature as reported by your printer" @@ -4496,86 +4554,78 @@ msgid "Timelapse post roll" msgstr "Timelapse-Postroll" #: src/octoprint/templates/tabs/timelapse.jinja2:59 -msgid "OctoPrint will take additional pictures to add this many seconds to the end of your rendered timelapse." -msgstr "OctoPrint wird zusätzliche Aufnahmen machen um so viele zusätzliche Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." +msgid "OctoPrint will use the final picture to add this many seconds to the end of your rendered timelapse." +msgstr "OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." -#: src/octoprint/templates/tabs/timelapse.jinja2:66 -msgid "Capture post roll images" -msgstr "Bilder für Zeitraffernachlauf aufzeichnen" - -#: src/octoprint/templates/tabs/timelapse.jinja2:67 -msgid "If this is unchecked, OctoPrint will simply repeat the last frame for the post roll instead of continuing to capture new frames." -msgstr "Wenn diese Option nicht angehakt ist wird OctoPrint einfach den letzten Frame der regulären Aufnahme für den Nachlauf verwenden, anstatt neue Frames aufzuzeichnen." - -#: src/octoprint/templates/tabs/timelapse.jinja2:73 +#: src/octoprint/templates/tabs/timelapse.jinja2:64 msgid "Retraction Z-Hop" msgstr "Retraction Z-Hop" -#: src/octoprint/templates/tabs/timelapse.jinja2:79 +#: src/octoprint/templates/tabs/timelapse.jinja2:70 msgid "Enter the retraction z-hop used in the firmware or the gcode file to trigger snapshots for the timelapse only if a real layer change happens. For this to work properly your retraction z-hop has to be different from your layerheight!" msgstr "Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln auszulösen. Damit das korrekt funktionieren kann muss dein Retraction Z-Hop Wert anders als deine Schichthöhe sein!" -#: src/octoprint/templates/tabs/timelapse.jinja2:86 +#: src/octoprint/templates/tabs/timelapse.jinja2:77 msgid "Save as default" msgstr "Als Standard speichern" -#: src/octoprint/templates/tabs/timelapse.jinja2:87 +#: src/octoprint/templates/tabs/timelapse.jinja2:78 msgid "Check this to make your selected timelapse mode and options persist across restarts." msgstr "Auswählen um deinen gewählten Zeitraffermodus und -parameter über Neustarts hinweg zu persistieren." -#: src/octoprint/templates/tabs/timelapse.jinja2:94 +#: src/octoprint/templates/tabs/timelapse.jinja2:85 msgid "You have unsaved changes. Don't forget to save them." msgstr "Du hast ungespeicherte Änderungen. Vergiss nicht sie zu speichern." -#: src/octoprint/templates/tabs/timelapse.jinja2:95 +#: src/octoprint/templates/tabs/timelapse.jinja2:86 msgid "Save changes" msgstr "Änderungen speichern" -#: src/octoprint/templates/tabs/timelapse.jinja2:96 +#: src/octoprint/templates/tabs/timelapse.jinja2:87 msgid "Reset to active configuration" msgstr "Auf aktive Konfiguration zurücksetzen" -#: src/octoprint/templates/tabs/timelapse.jinja2:102 +#: src/octoprint/templates/tabs/timelapse.jinja2:93 msgid "Finished Timelapses" msgstr "Abgeschlossene Zeitraffer" -#: src/octoprint/templates/tabs/timelapse.jinja2:109 +#: src/octoprint/templates/tabs/timelapse.jinja2:100 msgid "Sort by date" msgstr "Nach Datum sortieren" -#: src/octoprint/templates/tabs/timelapse.jinja2:118 -#: src/octoprint/templates/tabs/timelapse.jinja2:163 +#: src/octoprint/templates/tabs/timelapse.jinja2:109 +#: src/octoprint/templates/tabs/timelapse.jinja2:154 msgid "Select all on this page" msgstr "Alles auf dieser Seite auswählen" -#: src/octoprint/templates/tabs/timelapse.jinja2:119 -#: src/octoprint/templates/tabs/timelapse.jinja2:164 +#: src/octoprint/templates/tabs/timelapse.jinja2:110 +#: src/octoprint/templates/tabs/timelapse.jinja2:155 msgid "Select all" msgstr "Alles auswählen" -#: src/octoprint/templates/tabs/timelapse.jinja2:121 -#: src/octoprint/templates/tabs/timelapse.jinja2:166 +#: src/octoprint/templates/tabs/timelapse.jinja2:112 +#: src/octoprint/templates/tabs/timelapse.jinja2:157 msgid "Clear selection" msgstr "Auswahl aufheben" -#: src/octoprint/templates/tabs/timelapse.jinja2:124 -#: src/octoprint/templates/tabs/timelapse.jinja2:169 +#: src/octoprint/templates/tabs/timelapse.jinja2:115 +#: src/octoprint/templates/tabs/timelapse.jinja2:160 msgid "Delete selected" msgstr "Ausgewählte Elemente löschen" -#: src/octoprint/templates/tabs/timelapse.jinja2:157 +#: src/octoprint/templates/tabs/timelapse.jinja2:148 msgid "Unrendered Timelapses" msgstr "Ungerenderte Zeitrafferaufnahmen" -#: src/octoprint/templates/tabs/timelapse.jinja2:176 +#: src/octoprint/templates/tabs/timelapse.jinja2:167 msgid "Frames" msgstr "Frames" -#: src/octoprint/templates/tabs/timelapse.jinja2:189 +#: src/octoprint/templates/tabs/timelapse.jinja2:180 msgid "Delete unrendered timelapse" msgstr "Ungerenderte Zeitrafferaufnahme löschen" -#: src/octoprint/templates/tabs/timelapse.jinja2:189 +#: src/octoprint/templates/tabs/timelapse.jinja2:180 msgid "Render timelapse" msgstr "Zeitrafferaufnahme rendern" @@ -4766,3 +4816,298 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "The ready-to-go Raspberry Pi image with OctoPrint" #~ msgstr "Das fertige RaspberryPi Image mit OctoPrint" + +#~ msgid "Plugin installed" +#~ msgstr "Plugin installiert" + +#~ msgid "" +#~ "A plugin was installed successfully, " +#~ "however it was impossible to detect " +#~ "which one. Please Restart OctoPrint to" +#~ " make sure everything will be " +#~ "registered properly" +#~ msgstr "" +#~ "Ein Plugin wurde erfolgreich installiert, " +#~ "es war aber unmöglich zu detektieren," +#~ " welches. Bitte starte OctoPrint neu " +#~ "um sicherzustellen, dass alles ordnungsgemäß" +#~ " registriert wird." + +#~ msgid "Plugin \"%(name)s\" reinstalled" +#~ msgstr "Plugin \"%(name)s\" reinstalliert" + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however it is blacklisted and therefore" +#~ " won't be loaded." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber auf der Pluginblackliste" +#~ " und wird daher nicht geladen." + +#~ msgid "Plugin \"%(name)s\" installed" +#~ msgstr "Plugin \"%(name)s\" installiert" + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however it is blacklisted and therefore" +#~ " won't be loaded." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch auf der Pluginblackliste" +#~ " und wird daher nicht geladen." + +#~ msgid "The plugin was reinstalled successfully" +#~ msgstr "Das Plugin wurde erfolgreich reinstalliert" + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber ein Neustart von " +#~ "OctoPrint notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber ein Neuladen der " +#~ "Seite notwendig bevor es genutzt werden" +#~ " kann." + +#~ msgid "" +#~ "The plugin was reinstalled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich reinstalliert," +#~ " es ist aber eine Neuverbindung zum" +#~ " Drucker notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "The plugin was installed successfully" +#~ msgstr "Das Plugin wurde erfolgreich installiert" + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch ein Neuladen der " +#~ "Seite notwendig bevor es genutzt werden" +#~ " kann." + +#~ msgid "" +#~ "The plugin was installed successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich installiert, " +#~ "es ist jedoch eine Neuverbindung zum " +#~ "Drucker notwendig bevor es genutzt " +#~ "werden kann." + +#~ msgid "Reinstalling the plugin from file failed: %(reason)s" +#~ msgstr "Reinstallation des Plugins aus Datei fehlgeschlagen: %(reason)s" + +#~ msgid "Reinstalling the plugin from \"%(source)s\" failed: %(reason)s" +#~ msgstr "" +#~ "Reinstallation des Plugins von \"%(source)s\"" +#~ " fehlgeschlagen: %(reason)s" + +#~ msgid "Installing the plugin from file failed: %(reason)s" +#~ msgstr "Installation des Plugins aus Datei fehlgeschlagen: %(reason)s" + +#~ msgid "Installing the plugin from \"%(source)s\" failed: %(reason)s" +#~ msgstr "Installation des Plugins von \"%(source)s\" fehlgeschlagen: %(reason)s" + +#~ msgid "" +#~ "Reinstalling the plugin from file " +#~ "failed, please see the log for " +#~ "details." +#~ msgstr "" +#~ "Reinstallation des Plugins aus Datei " +#~ "fehlgeschlagen, bitte konsultiere das Log " +#~ "für Details." + +#~ msgid "" +#~ "Reinstalling the plugin from \"%(source)s\"" +#~ " failed, please see the log for " +#~ "details." +#~ msgstr "" +#~ "Reinstallation des Plugins von \"%(source)s\"" +#~ " fehlgeschlagen, bitte konsultiere das Log" +#~ " für Details." + +#~ msgid "Installing the plugin from file failed, please see the log for details." +#~ msgstr "" +#~ "Installation des Plugins aus Datei " +#~ "fehlgeschlagen, bitte konsultiere das Log " +#~ "für Details." + +#~ msgid "" +#~ "Installing the plugin from \"%(source)s\" " +#~ "failed, please see the log for " +#~ "details." +#~ msgstr "" +#~ "Installation des Plugins von \"%(source)s\"" +#~ " fehlgeschlagen, bitte konsultiere das Log" +#~ " für Details." + +#~ msgid "Plugin \"%(name)s\" uninstalled" +#~ msgstr "Plugin \"%(name)s\" deinstalliert" + +#~ msgid "The plugin was uninstalled successfully" +#~ msgstr "Das Plugin wurde erfolgreich deinstalliert" + +#~ msgid "" +#~ "The plugin was uninstalled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deinstalliert," +#~ " es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig." + +#~ msgid "" +#~ "The plugin was uninstalled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deinstalliert," +#~ " es ist jedoch ein Neuladen der " +#~ "Seite notwendig." + +#~ msgid "" +#~ "The plugin was uninstalled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deinstalliert," +#~ " es ist jedoch eine Neuverbindung zum" +#~ " Drucker notwendig." + +#~ msgid "Uninstalling the plugin failed, please see the log for details." +#~ msgstr "" +#~ "Deinstallation des Plugins fehlgeschlagen, " +#~ "bitte konsultiere das Log für Details." + +#~ msgid "Plugin \"%(name)s\" enabled" +#~ msgstr "Plugin \"%(name)s\" aktiviert" + +#~ msgid "The plugin was enabled successfully." +#~ msgstr "Das Plugin wurde erfolgreich aktiviert." + +#~ msgid "" +#~ "The plugin was enabled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich aktiviert, " +#~ "es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig." + +#~ msgid "" +#~ "The plugin was enabled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich aktiviert, " +#~ "es ist jedoch ein Neuladen der " +#~ "Seite notwendig." + +#~ msgid "" +#~ "The plugin was enabled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich aktiviert, " +#~ "es ist jedoch eine Neuverbindung zum " +#~ "Drucker notwendig." + +#~ msgid "Toggling the plugin failed: %(reason)s" +#~ msgstr "Togglen des Plugins fehlgeschalgen: %(reason)s" + +#~ msgid "Toggling the plugin failed, please see the log for details." +#~ msgstr "" +#~ "Togglen des Plugins fehlgeschlagen, bitte " +#~ "konsultiere das Log für Details." + +#~ msgid "Plugin \"%(name)s\" disabled" +#~ msgstr "Plugin \"%(name)s\" deaktiviert" + +#~ msgid "The plugin was disabled successfully." +#~ msgstr "Das Plugin wurde erfolgreich deaktiviert." + +#~ msgid "" +#~ "The plugin was disabled successfully, " +#~ "however a restart of OctoPrint is " +#~ "needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deaktiviert, " +#~ "es ist jedoch ein Neustart von " +#~ "OctoPrint notwendig." + +#~ msgid "" +#~ "The plugin was disabled successfully, " +#~ "however a reload of the page is" +#~ " needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deaktiviert, " +#~ "es ist jedoch ein Neuladen der " +#~ "Seite notwendig." + +#~ msgid "" +#~ "The plugin was disabled successfully, " +#~ "however a reconnect to the printer " +#~ "is needed for that to take effect." +#~ msgstr "" +#~ "Das Plugin wurde erfolgreich deaktiviert, " +#~ "es ist jedoch eine Neuverbindung zum " +#~ "Drucker notwendig." + +#~ msgid "just now" +#~ msgstr "gerade eben" + +#~ msgid "SD status interval" +#~ msgstr "SD-Status-Intervall" + +#~ msgid "Log communication to serial.log (might negatively impact performance)" +#~ msgstr "" +#~ "Logge die Kommunikation in das " +#~ "serial.log (kann die Performance negativ " +#~ "beeinflussen)" + +#~ msgid "Most Marlin < v1.1.0" +#~ msgstr "Die meisten Varianten von Marlin < v1.1.0" + +#~ msgid "Capture post roll images" +#~ msgstr "Bilder für Zeitraffernachlauf aufzeichnen" + +#~ msgid "" +#~ "If this is unchecked, OctoPrint will " +#~ "simply repeat the last frame for " +#~ "the post roll instead of continuing " +#~ "to capture new frames." +#~ msgstr "" +#~ "Wenn diese Option nicht angehakt ist " +#~ "wird OctoPrint einfach den letzten Frame" +#~ " der regulären Aufnahme für den " +#~ "Nachlauf verwenden, anstatt neue Frames " +#~ "aufzuzeichnen." diff --git a/translations/messages.pot b/translations/messages.pot index 4a3cef5ce..10fd9c6dc 100644 --- a/translations/messages.pot +++ b/translations/messages.pot @@ -1,14 +1,14 @@ # Translations template for OctoPrint. -# Copyright (C) 2017 The OctoPrint Project +# Copyright (C) 2018 The OctoPrint Project # This file is distributed under the same license as the OctoPrint project. -# FIRST AUTHOR , 2017. +# FIRST AUTHOR , 2018. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: OctoPrint 1.3.6rc2.dev10+g41eb9481\n" +"Project-Id-Version: OctoPrint 1.3.7.dev166+g8a3a87efa.dirty\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2017-12-05 12:29+0100\n" +"POT-Creation-Date: 2018-03-19 13:41+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -48,12 +48,12 @@ msgid "" msgstr "" #: src/octoprint/plugins/announcements/static/js/announcements.js:271 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:957 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:973 msgid "Later" msgstr "" #: src/octoprint/plugins/announcements/static/js/announcements.js:277 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:964 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:980 msgid "Mark read" msgstr "" @@ -83,15 +83,16 @@ msgstr "" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profileImporter.jinja2:27 #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:9 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:11 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:50 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:43 #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:4 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:12 #: src/octoprint/templates/dialogs/settings/terminalfilters.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:4 -#: src/octoprint/templates/tabs/timelapse.jinja2:130 -#: src/octoprint/templates/tabs/timelapse.jinja2:175 +#: src/octoprint/templates/tabs/timelapse.jinja2:121 +#: src/octoprint/templates/tabs/timelapse.jinja2:166 msgid "Name" msgstr "" @@ -406,6 +407,7 @@ msgstr "" #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:7 #: src/octoprint/plugins/cura/templates/cura_settings.jinja2:1 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditor.jinja2:9 #: src/octoprint/templates/tabs/control.jinja2:114 msgid "General" @@ -504,22 +506,22 @@ msgid "" msgstr "" #: src/octoprint/plugins/cura/static/js/cura.js:234 -#: src/octoprint/static/js/app/viewmodels/settings.js:357 +#: src/octoprint/static/js/app/viewmodels/settings.js:387 msgid "The path doesn't exist" msgstr "" #: src/octoprint/plugins/cura/static/js/cura.js:236 -#: src/octoprint/static/js/app/viewmodels/settings.js:359 +#: src/octoprint/static/js/app/viewmodels/settings.js:389 msgid "The path is not a file" msgstr "" #: src/octoprint/plugins/cura/static/js/cura.js:238 -#: src/octoprint/static/js/app/viewmodels/settings.js:361 +#: src/octoprint/static/js/app/viewmodels/settings.js:391 msgid "The path is not an executable" msgstr "" #: src/octoprint/plugins/cura/static/js/cura.js:241 -#: src/octoprint/static/js/app/viewmodels/settings.js:364 +#: src/octoprint/static/js/app/viewmodels/settings.js:394 msgid "The path is valid" msgstr "" @@ -670,15 +672,15 @@ msgid "Confirm" msgstr "" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 msgid "Sort by" msgstr "" #: src/octoprint/plugins/cura/templates/snippets/settings/cura/profiles.jinja2:3 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:142 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 #: src/octoprint/templates/sidebar/files_header.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:108 +#: src/octoprint/templates/tabs/timelapse.jinja2:99 msgid "ascending" msgstr "" @@ -697,6 +699,64 @@ msgid "" "discoverable on the network via Bonjour and uPnP." msgstr "" +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:1 +msgid "Logs" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +msgid "Modification date" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:143 +#: src/octoprint/templates/sidebar/files_header.jinja2:7 +#: src/octoprint/templates/sidebar/files_header.jinja2:8 +#: src/octoprint/templates/tabs/timelapse.jinja2:100 +#: src/octoprint/templates/tabs/timelapse.jinja2:101 +msgid "descending" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:5 +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:12 +#: src/octoprint/templates/sidebar/files.jinja2:18 +#: src/octoprint/templates/sidebar/files.jinja2:33 +#: src/octoprint/templates/sidebar/files.jinja2:44 +#: src/octoprint/templates/tabs/timelapse.jinja2:122 +#: src/octoprint/templates/tabs/timelapse.jinja2:168 +msgid "Size" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:13 +msgid "Date" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:14 +#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:7 +#: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:6 +#: src/octoprint/templates/tabs/timelapse.jinja2:123 +#: src/octoprint/templates/tabs/timelapse.jinja2:169 +msgid "Action" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:46 +msgid "Logging Levels" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:51 +msgid "Level" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:68 +#: src/octoprint/templates/sidebar/files.jinja2:23 +#: src/octoprint/templates/sidebar/files.jinja2:36 +#: src/octoprint/templates/sidebar/files.jinja2:46 +msgid "Remove" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_settings.jinja2:87 +msgid "Add" +msgstr "" + #: src/octoprint/plugins/octopi_support/__init__.py:164 msgid "" "Without this plugin OctoPrint will no longer be able to provide " @@ -720,121 +780,155 @@ msgstr "" msgid "Plugin Manager" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:211 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:221 msgid "There are no plugin notices. Great!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:213 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:223 msgid "There is a plugin notice for one of your installed plugins." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:215 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:225 #, python-format msgid "" "There are %(count)d plugin notices for one or more of your installed " "plugins." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:310 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:533 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:320 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:543 msgid "Installing plugin..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:310 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:320 msgid "Installing plugin from uploaded archive..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:457 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:557 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:595 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:758 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1163 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1214 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1232 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1250 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:341 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:467 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:567 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:605 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:795 msgid "Something went wrong" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:332 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:458 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:558 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:596 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:342 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:468 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:568 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:606 msgid "Please consult octoprint.log for details" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:477 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:487 #, python-format msgid "You are about to disable \"%(name)s\"." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:480 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:490 msgid "This is not recommended" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:482 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:492 msgid "Do you still want to disable it?" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:483 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:493 msgid "Keep enabled" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:484 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:494 msgid "Disable anyway" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:535 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:545 #, python-format msgid "Installing plugin \"%(name)s\" from %(url)s..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:537 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:547 #, python-format msgid "Installing plugin from %(url)s..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:540 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:550 msgid "Reinstalling plugin..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:541 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:551 #, python-format msgid "Reinstalling plugin \"%(name)s\" from %(url)s..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:587 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:597 msgid "Uninstalling plugin..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:587 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:597 #, python-format msgid "Uninstalling plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Reinstall" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:198 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:214 msgid "Install" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Disabled" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:701 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 msgid "Incompatible" msgstr "" +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:720 +msgid "Plugin management log" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:728 +#, python-format +msgid "%(count)d earlier actions..." +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:730 +#, python-format +msgid "%(count)d earlier action" +msgstr "" + #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:741 +#, python-format +msgid "Install %(plugin)s: %(result)s" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:745 +#, python-format +msgid "Uninstall %(plugin)s: %(result)s" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:749 +#, python-format +msgid "Enable %(plugin)s: %(result)s" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:753 +#, python-format +msgid "Disable %(plugin)s: %(result)s" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:770 +msgid "A restart is needed for the changes to take effect." +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:778 msgid "Restart now" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:746 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:783 msgid "" "This will restart your OctoPrint server.

This " "action may disrupt any ongoing print jobs (depending on your printer's " @@ -842,318 +936,104 @@ msgid "" " from your printer's internal storage)." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:752 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:789 msgid "Restart in progress" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:753 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:790 msgid "The server is now being restarted in the background" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:759 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:796 msgid "" "Trying to restart the server produced an error, please check " "octoprint.log for details. You'll have to restart manually." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:781 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:809 +msgid "A refresh is needed for the changes to take effect." +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:816 #: src/octoprint/templates/overlays/reloadui.jinja2:14 msgid "Reload now" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:847 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:825 +msgid "A reconnect to the printer is needed for the changes to take effect." +msgstr "" + +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:862 msgid "Error!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:850 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:865 msgid "Done!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:875 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:891 msgid "Blacklisted" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:877 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:893 msgid "Disabled due to active safe mode" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:879 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:895 msgid "Enable Plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:898 msgid "Disable Plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:902 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:918 #, python-format msgid "" "There are %(count)d notices (%(important)d marked as important) available" " regarding this plugin - click to show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:904 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:920 #, python-format msgid "" "There are %(count)d notices available regarding this plugin - click to " "show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:908 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:924 msgid "" "There is an important notice available regarding this plugin - click to " "show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:910 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:926 msgid "There is a notice available regarding this plugin - click to show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:924 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:940 #, python-format msgid "Important notice regarding plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:926 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:942 #, python-format msgid "Notice regarding plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:933 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:949 #, python-format msgid "Affected versions: %(versions)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:935 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:951 msgid "Affected versions: all" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:940 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:956 msgid "Read more..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1133 -msgid "Plugin installed" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1134 -msgid "" -"A plugin was installed successfully, however it was impossible to detect " -"which one. Please Restart OctoPrint to make sure everything will be " -"registered properly" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1140 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1150 -#, python-format -msgid "Plugin \"%(name)s\" reinstalled" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1141 -msgid "" -"The plugin was reinstalled successfully, however it is blacklisted and " -"therefore won't be loaded." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1143 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1156 -#, python-format -msgid "Plugin \"%(name)s\" installed" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1144 -msgid "" -"The plugin was installed successfully, however it is blacklisted and " -"therefore won't be loaded." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1151 -msgid "The plugin was reinstalled successfully" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1152 -msgid "" -"The plugin was reinstalled successfully, however a restart of OctoPrint " -"is needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1153 -msgid "" -"The plugin was reinstalled successfully, however a reload of the page is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1154 -msgid "" -"The plugin was reinstalled successfully, however a reconnect to the " -"printer is needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1157 -msgid "The plugin was installed successfully" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1158 -msgid "" -"The plugin was installed successfully, however a restart of OctoPrint is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1159 -msgid "" -"The plugin was installed successfully, however a reload of the page is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1160 -msgid "" -"The plugin was installed successfully, however a reconnect to the printer" -" is needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1176 -#, python-format -msgid "Reinstalling the plugin from file failed: %(reason)s" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1178 -#, python-format -msgid "Reinstalling the plugin from \"%(source)s\" failed: %(reason)s" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1182 -#, python-format -msgid "Installing the plugin from file failed: %(reason)s" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1184 -#, python-format -msgid "Installing the plugin from \"%(source)s\" failed: %(reason)s" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1190 -msgid "Reinstalling the plugin from file failed, please see the log for details." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1192 -#, python-format -msgid "" -"Reinstalling the plugin from \"%(source)s\" failed, please see the log " -"for details." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1196 -msgid "Installing the plugin from file failed, please see the log for details." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1198 -#, python-format -msgid "" -"Installing the plugin from \"%(source)s\" failed, please see the log for " -"details." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1208 -#, python-format -msgid "Plugin \"%(name)s\" uninstalled" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1209 -msgid "The plugin was uninstalled successfully" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1210 -msgid "" -"The plugin was uninstalled successfully, however a restart of OctoPrint " -"is needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1211 -msgid "" -"The plugin was uninstalled successfully, however a reload of the page is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1212 -msgid "" -"The plugin was uninstalled successfully, however a reconnect to the " -"printer is needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1216 -#, python-format -msgid "Uninstalling the plugin failed: %(reason)s" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1218 -msgid "Uninstalling the plugin failed, please see the log for details." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1226 -#, python-format -msgid "Plugin \"%(name)s\" enabled" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1227 -msgid "The plugin was enabled successfully." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1228 -msgid "" -"The plugin was enabled successfully, however a restart of OctoPrint is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1229 -msgid "" -"The plugin was enabled successfully, however a reload of the page is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1230 -msgid "" -"The plugin was enabled successfully, however a reconnect to the printer " -"is needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1234 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1252 -#, python-format -msgid "Toggling the plugin failed: %(reason)s" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1236 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1254 -msgid "Toggling the plugin failed, please see the log for details." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1244 -#, python-format -msgid "Plugin \"%(name)s\" disabled" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1245 -msgid "The plugin was disabled successfully." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1246 -msgid "" -"The plugin was disabled successfully, however a restart of OctoPrint is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1247 -msgid "" -"The plugin was disabled successfully, however a reload of the page is " -"needed for that to take effect." -msgstr "" - -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1248 -msgid "" -"The plugin was disabled successfully, however a reconnect to the printer " -"is needed for that to take effect." -msgstr "" - #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:3 msgid "" "Take note that all plugin management functionality is disabled while your" @@ -1269,15 +1149,6 @@ msgstr "" msgid "Sort by publication date" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:143 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/sidebar/files_header.jinja2:7 -#: src/octoprint/templates/sidebar/files_header.jinja2:8 -#: src/octoprint/templates/tabs/timelapse.jinja2:109 -#: src/octoprint/templates/tabs/timelapse.jinja2:110 -msgid "descending" -msgstr "" - #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:145 msgid "Only show uninstalled plugins" msgstr "" @@ -1339,7 +1210,9 @@ msgstr "" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:220 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:64 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:121 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:147 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:247 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:307 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:9 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:23 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 @@ -1444,12 +1317,31 @@ msgstr "" msgid "Save" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:589 +#: src/octoprint/plugins/printer_safety_check/__init__.py:44 +msgid "Printer Safety Warning" +msgstr "" + +#: src/octoprint/plugins/printer_safety_check/__init__.py:105 +msgid "" +"Without this plugin OctoPrint will no longer be able to check if the " +"printer it is connected to has a known safetyissue and inform you about " +"that fact." +msgstr "" + +#: src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2:1 +msgid "Warning!" +msgstr "" + +#: src/octoprint/plugins/printer_safety_check/templates/printer_safety_check_sidebar.jinja2:5 +msgid "Learn more..." +msgstr "" + +#: src/octoprint/plugins/softwareupdate/__init__.py:570 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:1 msgid "Software Update" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:999 +#: src/octoprint/plugins/softwareupdate/__init__.py:982 #: src/octoprint/server/views.py:571 #: src/octoprint/static/js/app/viewmodels/appearance.js:13 #: src/octoprint/static/js/app/viewmodels/appearance.js:18 @@ -1460,7 +1352,7 @@ msgstr "" msgid "OctoPrint" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:1166 +#: src/octoprint/plugins/softwareupdate/__init__.py:1142 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." @@ -1483,173 +1375,177 @@ msgstr "" msgid "unknown" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:309 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:307 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:511 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:682 +msgid "Updating..." +msgstr "" + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:307 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:682 +msgid "Updating, please wait." +msgstr "" + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:314 msgid "There are updates available for the following components:" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:317 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:322 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate.jinja2:14 msgid "Release Notes" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:323 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:328 msgid "" "Those components marked with can be updated" " directly." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:326 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:331 msgid "" "To have updates applied, get in touch with an administrator of this " "OctoPrint instance." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:332 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:337 msgid "Update Available" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:344 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:370 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:349 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:347 msgid "Ignore" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:348 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:353 msgid "" "You can make this message display again via \"Settings\" > \"Software " "Update\" > \"Check for update now\"" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:352 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:357 msgid "Update now" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:390 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:395 msgid "Everything is up-to-date" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:416 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:421 msgid "No internet connection" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:420 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:425 msgid "Update not possible" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:431 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436 msgid "Unknown update check, configuration ok?" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:434 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:439 msgid "Cannot check for update, need online connection" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:442 msgid "Network error while checking for update" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:440 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:445 msgid "Unknown error while checking for update, please check the logs" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:506 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:681 -msgid "Updating..." -msgstr "" - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:507 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:512 msgid "Now updating, please wait." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:681 -msgid "Updating, please wait." -msgstr "" - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:530 msgid "Update not started!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:531 msgid "" -"The update could not be started. Is it already active? Please consult the" -" log for details." +"The update could not be started. Is it already active? Please consult " +"octoprint.log for details." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:548 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:553 msgid "Can't update while printing" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:549 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:554 msgid "" "A print job is currently in progress. Updating will be prevented until it" " is done." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:684 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:699 #, python-format msgid "Now updating %(name)s to %(version)s" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:703 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:718 msgid "Update successful, restarting!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:704 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:719 msgid "The update finished successfully and the server will now be restarted." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:721 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:770 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:736 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:785 msgid "Restart failed" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:722 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737 msgid "" "The server apparently did not restart by itself, you'll have to do it " -"manually. Please consult the log file on what went wrong." +"manually. Please consult octoprint.log on what went wrong." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:759 msgid "The update finished successfully, please restart OctoPrint now." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:746 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761 msgid "The update finished successfully, please reboot the server now." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:749 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:764 msgid "Update successful, restart required!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:765 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:780 msgid "" "Restarting OctoPrint failed, please restart it manually. You might also " -"want to consult the log file on what went wrong here." +"want to consult octoprint.log on what went wrong here." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:767 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:782 msgid "" "Rebooting the server failed, please reboot it manually. You might also " -"want to consult the log file on what went wrong here." +"want to consult octoprint.log on what went wrong here." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:786 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:801 msgid "Update successful!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:802 msgid "The update finished successfully." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:802 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:817 msgid "Update failed!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:818 msgid "" -"The update did not finish successfully. Please consult the log for " -"details." +"The update did not finish successfully. Please consult " +"octoprint.log and " +"plugin_softwareupdate_console.log for details." msgstr "" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate.jinja2:4 @@ -1820,6 +1716,7 @@ msgid "Plugins" msgstr "" #: src/octoprint/server/views.py:538 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 msgid "Connection" msgstr "" @@ -1901,27 +1798,22 @@ msgid "Appearance" msgstr "" #: src/octoprint/server/views.py:576 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:2 -msgid "Logs" -msgstr "" - -#: src/octoprint/server/views.py:577 msgid "Server" msgstr "" -#: src/octoprint/server/views.py:583 +#: src/octoprint/server/views.py:582 msgid "Access" msgstr "" -#: src/octoprint/server/views.py:584 +#: src/octoprint/server/views.py:583 msgid "Interface" msgstr "" -#: src/octoprint/server/views.py:600 +#: src/octoprint/server/views.py:599 msgid "Start" msgstr "" -#: src/octoprint/server/views.py:601 +#: src/octoprint/server/views.py:600 #: src/octoprint/templates/dialogs/wizard.jinja2:57 msgid "Finish" msgstr "" @@ -2015,35 +1907,78 @@ msgstr "" msgid "Slicing ... (%(percentage)d%%)" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:231 -#: src/octoprint/static/js/app/dataupdater.js:240 -msgid "Unhandled communication error" -msgstr "" - -#: src/octoprint/static/js/app/dataupdater.js:232 -#, python-format -msgid "" -"There was an unhandled error while talking to the printer. Due to that " -"the ongoing print job was cancelled. Error: %(firmwareError)s" -msgstr "" - +#: src/octoprint/static/js/app/dataupdater.js:230 #: src/octoprint/static/js/app/dataupdater.js:241 +msgid "Error reported by printer" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:231 #, python-format msgid "" -"There was an unhandled error while talking to the printer. Due to that " -"OctoPrint disconnected. Error: %(error)s" +"Your printer's firmware reported an error. Due to that the ongoing print " +"job will be cancelled. Reported error: %(firmwareError)s" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:242 +#, python-format +msgid "" +"Your printer's firmware reported an error. Due to that OctoPrint will " +"disconnect. Reported error: %(error)s" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:247 +msgid "Communication error" msgstr "" #: src/octoprint/static/js/app/dataupdater.js:248 +#, python-format +msgid "" +"There was a communication error while talking to your printer. Please " +"consult the terminal output and octoprint.log for details. Error: " +"%(error)s" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:252 +msgid "Error connecting to printer" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:253 +#, python-format +msgid "" +"There was an error while trying to connect to your printer. Error: " +"%(error)s" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:257 +msgid "Error starting a print" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:258 +#, python-format +msgid "There was an error while trying to start a print job. Error: %(error)s" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:267 +msgid "Unknown error" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:268 +#, python-format +msgid "" +"There was an unknown error while talking to your printer. Please consult " +"the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "" + +#: src/octoprint/static/js/app/dataupdater.js:283 msgid "Printer reset detected" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:249 +#: src/octoprint/static/js/app/dataupdater.js:284 msgid "" -"It looks like the printer was reset while a connection was active. If " -"this was intentional you may safely ignore this message. Otherwise you " -"should investigate why your printer reset itself, since this will " -"interrupt prints and also file transfers to your printer's SD." +"It looks like your printer reset while a connection was active. If this " +"was intentional you may safely ignore this message. Otherwise you should " +"investigate why your printer reset itself, since this will interrupt " +"prints and also file transfers to your printer's SD." msgstr "" #: src/octoprint/static/js/app/helpers.js:378 @@ -2133,6 +2068,7 @@ msgid "off" msgstr "" #: src/octoprint/static/js/app/helpers.js:654 +#: src/octoprint/static/js/app/viewmodels/connection.js:135 msgid "Are you sure?" msgstr "" @@ -2194,13 +2130,31 @@ msgid "Connect" msgstr "" #: src/octoprint/static/js/app/viewmodels/connection.js:44 +#: src/octoprint/static/js/app/viewmodels/connection.js:144 msgid "Disconnect" msgstr "" +#: src/octoprint/static/js/app/viewmodels/connection.js:136 +msgid "" +"

You are about to disconnect from the printer while a print is " +"in progress.

Disconnecting while a print is in progress " +"will prevent OctoPrint from completing the print. If you're printing from" +" an SD card attached directly to the printer, any attempt to restart " +"OctoPrint or reconnect to the printer could interrupt the print.

" +msgstr "" + +#: src/octoprint/static/js/app/viewmodels/connection.js:142 +msgid "Are you sure you want to disconnect from the printer?" +msgstr "" + +#: src/octoprint/static/js/app/viewmodels/connection.js:143 +msgid "Stay Connected" +msgstr "" + #: src/octoprint/static/js/app/viewmodels/control.js:72 #: src/octoprint/static/js/app/viewmodels/files.js:606 #: src/octoprint/static/js/app/viewmodels/gcode.js:567 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:237 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:241 #: src/octoprint/static/js/app/viewmodels/temperature.js:115 #: src/octoprint/static/js/app/viewmodels/temperature.js:126 msgid "Tool" @@ -2371,7 +2325,7 @@ msgid "Estimated layer height" msgstr "" #: src/octoprint/static/js/app/viewmodels/gcode.js:528 -#: src/octoprint/templates/tabs/timelapse.jinja2:77 +#: src/octoprint/templates/tabs/timelapse.jinja2:68 msgid "mm" msgstr "" @@ -2551,95 +2505,95 @@ msgstr "" msgid "Edit Printer Profile \"%(name)s\"" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:48 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:50 msgid "Restarts the print job from the beginning" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:49 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:51 msgid "Starts the print job" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:50 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:52 msgid "Resumes the print job" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:51 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:53 msgid "Pauses the print job" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:84 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:86 msgid "Still stabilizing..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:96 msgid "" "Based on a linear approximation (very low accuracy, especially at the " "beginning of the print)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:97 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:99 msgid "Based on the estimate from analysis of file (medium accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:100 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:102 msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:103 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:105 msgid "" "Based on the average total of past prints of this model with the same " "printer profile (usually good accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:106 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:108 msgid "" "Based on a mix of average total from past prints and calculation (usually" " good accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:109 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:111 msgid "Based on the calculated estimate (best accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:147 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:149 msgid "Continue" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:149 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:151 #: src/octoprint/templates/sidebar/state.jinja2:24 msgid "Pause" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:160 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 #: src/octoprint/templates/tabs/timelapse.jinja2:15 msgid "On Z Change" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:164 #: src/octoprint/templates/tabs/timelapse.jinja2:14 msgid "Timed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:164 #: src/octoprint/templates/tabs/timelapse.jinja2:26 #: src/octoprint/templates/tabs/timelapse.jinja2:37 #: src/octoprint/templates/tabs/timelapse.jinja2:57 msgid "sec" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:274 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:278 msgid "This will restart the print job from the beginning." msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:301 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:305 msgid "This will cancel your print." msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:302 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:306 msgid "No" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:303 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:307 msgid "Yes" msgstr "" @@ -2657,41 +2611,41 @@ msgstr "" msgid "Autodetect from browser" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:274 +#: src/octoprint/static/js/app/viewmodels/settings.js:299 msgid "If you see your webcam stream below, the entered stream URL is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:282 +#: src/octoprint/static/js/app/viewmodels/settings.js:307 msgid "Stream test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:300 +#: src/octoprint/static/js/app/viewmodels/settings.js:325 msgid "Could not retrieve snapshot URL, please double check the URL" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:301 +#: src/octoprint/static/js/app/viewmodels/settings.js:326 msgid "Snapshot test failed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:322 +#: src/octoprint/static/js/app/viewmodels/settings.js:352 msgid "" "If you see your webcam snapshot picture below, the entered snapshot URL " "is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:324 +#: src/octoprint/static/js/app/viewmodels/settings.js:354 msgid "Snapshot test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:384 +#: src/octoprint/static/js/app/viewmodels/settings.js:414 msgid "The server is not reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:386 +#: src/octoprint/static/js/app/viewmodels/settings.js:416 msgid "The server is reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:506 +#: src/octoprint/static/js/app/viewmodels/settings.js:536 #: src/octoprint/static/js/app/viewmodels/usersettings.js:87 msgid "" "This will generate a new API Key. The old API Key will cease to function " @@ -2764,20 +2718,16 @@ msgstr "" msgid "Bed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/temperature.js:350 -msgid "just now" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/temperature.js:355 +#: src/octoprint/static/js/app/viewmodels/temperature.js:361 msgid "min" msgstr "" -#: src/octoprint/static/js/app/viewmodels/temperature.js:401 +#: src/octoprint/static/js/app/viewmodels/temperature.js:407 #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Actual" msgstr "" -#: src/octoprint/static/js/app/viewmodels/temperature.js:406 +#: src/octoprint/static/js/app/viewmodels/temperature.js:412 #: src/octoprint/templates/tabs/temperature.jinja2:12 msgid "Target" msgstr "" @@ -2806,160 +2756,160 @@ msgstr "" msgid "showing %(displayed)d lines" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:251 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:240 #, python-format msgid "" "Failed to remove timelapse %(name)s.

Please consult octoprint.log " "for details.

" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:254 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:243 msgid "Could not remove timelapse" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:262 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:251 #, python-format msgid "You are about to delete timelapse file \"%(name)s\"." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:274 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:263 #, python-format msgid "You are about to delete %(count)d timelapse files." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:299 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:288 #, python-format msgid "You are about to delete unrendered timelapse \"%(name)s\"." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:311 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:300 #, python-format msgid "You are about to delete %(count)d unrendered timelapses." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:319 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:308 msgid "Deleting timelapse files" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:320 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:309 #, python-format msgid "Deleting %(count)d timelapse files..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:324 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:338 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:313 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:327 #, python-format msgid "Deleted %(filename)s..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:327 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:341 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:316 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:330 #, python-format msgid "Deletion of %(filename)s failed, continuing..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:328 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:317 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:333 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:322 msgid "Deleting unrendered timelapses" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:334 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:323 #, python-format msgid "Deleting %(count)d unrendered timelapses..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:429 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:417 msgid "Capturing timelapse postroll" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:433 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:421 msgid "Now capturing timelapse post roll, this will take only a moment..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:440 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:428 #, python-format msgid "%(minutes)d min" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:441 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:429 #, python-format msgid "" "Now capturing timelapse post roll, this will take approximately " "%(duration)s (so until %(time)s)..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:443 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:431 #, python-format msgid "%(seconds)d sec" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:444 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:432 #, python-format msgid "" "Now capturing timelapse post roll, this will take approximately " "%(duration)s..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:474 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:462 msgid "" "Failed repeatedly to capture timelapse frame from webcam - is the " "snapshot URL configured correctly and the camera on?" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:477 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:465 msgid "Could not capture snapshots" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:486 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:474 msgid "Rendering timelapse" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:487 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:475 #, python-format msgid "" "Now rendering timelapse %(movie_prefix)s. Due to performance reasons it " "is not recommended to start a print job while a movie is still rendering." msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:496 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:484 msgid "Cannot render timelapse" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:497 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:485 #, python-format msgid "" "Rendering of timelapse %(movie_prefix)s is not possible since no frames " "were captured. Is the snapshot URL configured correctly?" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:499 -#: src/octoprint/static/js/app/viewmodels/timelapse.js:503 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:487 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:491 msgid "Rendering timelapse failed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:500 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:488 #, python-format msgid "" "Rendering of timelapse %(movie_prefix)s failed with return code " "%(returncode)s" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:504 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:492 #, python-format msgid "" "Rendering of timelapse %(movie_prefix)s failed due to an unknown error, " "please consult the log file" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:517 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:505 msgid "Timelapse ready" msgstr "" -#: src/octoprint/static/js/app/viewmodels/timelapse.js:518 +#: src/octoprint/static/js/app/viewmodels/timelapse.js:506 #, python-format msgid "New timelapse %(movie_prefix)s is done rendering." msgstr "" @@ -3124,14 +3074,6 @@ msgstr "" msgid "Admin" msgstr "" -#: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:7 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:15 -#: src/octoprint/templates/snippets/settings/printerprofiles/profiles.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:132 -#: src/octoprint/templates/tabs/timelapse.jinja2:178 -msgid "Action" -msgstr "" - #: src/octoprint/templates/dialogs/settings/accesscontrol.jinja2:12 #: src/octoprint/templates/dialogs/settings/api.jinja2:17 #: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 @@ -3363,87 +3305,32 @@ msgid "Enable Keyboard Control" msgstr "" #: src/octoprint/templates/dialogs/settings/features.jinja2:54 -msgid "Wait for start on connect" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:61 msgid "G90/G91 overrides relative extruder mode" msgstr "" -#: src/octoprint/templates/dialogs/settings/features.jinja2:61 +#: src/octoprint/templates/dialogs/settings/features.jinja2:54 msgid "Smoothieware" msgstr "" -#: src/octoprint/templates/dialogs/settings/features.jinja2:68 -msgid "Enable automatic firmware detection" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:69 +#: src/octoprint/templates/dialogs/settings/features.jinja2:55 msgid "" -"\n" -" If enabled, OctoPrint will try to figure out your " -"printer's firmware automatically and adjust some communication parameters" -" based on that.\n" -" 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.\n" -" " +"This is used by the GCODE analysis in the backend and the viewer in the " +"frontend to interpret your sliced files correctly." msgstr "" -#: src/octoprint/templates/dialogs/settings/features.jinja2:80 -msgid "Select SD files by relative path" +#: src/octoprint/templates/dialogs/settings/features.jinja2:59 +msgid "Commands to not completely auto uppercase in the terminal tab" msgstr "" -#: src/octoprint/templates/dialogs/settings/features.jinja2:80 -msgid "RepRap Firmware" +#: src/octoprint/templates/dialogs/settings/features.jinja2:60 +msgid "Terminal Auto Uppercase Blacklist" msgstr "" -#: src/octoprint/templates/dialogs/settings/features.jinja2:87 -msgid "Always assume SD card is present" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:87 -#: src/octoprint/templates/dialogs/settings/features.jinja2:94 -#: src/octoprint/templates/dialogs/settings/features.jinja2:101 -#: src/octoprint/templates/dialogs/settings/features.jinja2:108 -#: src/octoprint/templates/dialogs/settings/features.jinja2:115 -#: src/octoprint/templates/dialogs/settings/features.jinja2:126 -msgid "Repetier" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:94 -msgid "Ignore consecutive resend requests for the same line" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:101 -#, python-format +#: src/octoprint/templates/dialogs/settings/features.jinja2:63 msgid "" -"Support TargetExtr%%n/TargetBed target " -"temperature format" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:108 -msgid "Disable detection of external heatups" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:115 -msgid "Actively pause communication during G4 dwell command" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:120 -msgid "Send a checksum with the command" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:123 -msgid "When printing" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:126 -msgid "Always" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/features.jinja2:129 -msgid "Never" +"Use this to specify the commands that should not have their parameters " +"automatically uppercased in the terminal tab. Just the G or M code, comma" +" separated." msgstr "" #: src/octoprint/templates/dialogs/settings/folders.jinja2:5 @@ -3483,10 +3370,10 @@ msgid "" msgstr "" #: src/octoprint/templates/dialogs/settings/folders.jinja2:47 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:115 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:169 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:52 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:347 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:363 #: src/octoprint/templates/tabs/gcodeviewer.jinja2:111 msgid "Warning" msgstr "" @@ -3565,141 +3452,59 @@ msgstr "" msgid "on mobile" msgstr "" -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -msgid "Modification date" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/logs.jinja2:6 -#: src/octoprint/templates/dialogs/settings/logs.jinja2:13 -#: src/octoprint/templates/sidebar/files.jinja2:18 -#: src/octoprint/templates/sidebar/files.jinja2:33 -#: src/octoprint/templates/sidebar/files.jinja2:44 -#: src/octoprint/templates/tabs/timelapse.jinja2:131 -#: src/octoprint/templates/tabs/timelapse.jinja2:177 -msgid "Size" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/logs.jinja2:14 -msgid "Date" -msgstr "" - #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:5 msgid "Add Profile..." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:2 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:4 +msgid "Intervals & timeouts" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:5 +msgid "Firmware & protocol" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:6 +msgid "Behaviour" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:13 msgid "" "Serial port to connect to, setting this to AUTO will make OctoPrint try " "to automatically find the right setting" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 #: src/octoprint/templates/sidebar/connection.jinja2:1 msgid "Serial Port" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:8 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:19 msgid "" "Serial baud rate to connect with, setting this to AUTO will make " "OctoPrint try to automatically find the right setting" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:9 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:20 #: src/octoprint/templates/sidebar/connection.jinja2:3 msgid "Baudrate" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:25 msgid "" "Makes OctoPrint try to connect to the printer automatically during start " "up" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:17 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 msgid "Auto-connect to printer on server start" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:21 -msgid "Interval in which to poll for the temperature information from the printer" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:22 -msgid "Temperature interval (polling)" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 -msgid "When printing or idle" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:35 -msgid "When a target temperature is set" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:38 -msgid "" -"Temperature report interval to request from autoreport capable firmwares." -" A value of 0 disables autoreporting by the firmware and forces polling." -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:39 -msgid "Temperature interval (autoreport)" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:45 -msgid "Autoreport interval to request from firmware" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:48 -msgid "" -"Interval in which to poll for the SD printing status information from the" -" printer while printing" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:49 -msgid "SD status interval" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:57 -msgid "" -"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." -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:58 -msgid "Communication timeout" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:66 -msgid "" -"Time after which a connection attempt to the printer will be considered " -"as having failed" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:67 -msgid "Connection timeout" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:75 -msgid "" -"Time after which to consider an auto detection attempt to have failed if " -"no successful connection is detected" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 -msgid "Autodetection timeout" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 -msgid "Log communication to serial.log (might negatively impact performance)" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:92 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:33 msgid "Additional serial ports" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:95 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:36 #, python-format msgid "" "Use this to define additional glob patterns" @@ -3707,164 +3512,395 @@ msgid "" "/dev/ttyAMA*. One entry per line." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:40 msgid "Additional baud rates" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:102 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:43 msgid "" "Use this to define additional serial port baud rates to list for " "connecting with, e.g. 123456. Comma separated." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:108 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:48 +msgid "Serial logging" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:52 +msgid "Log communication to serial.log" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:53 msgid "" -"Not only cancel ongoing prints but also disconnect on unhandled errors " -"from the firmware." +"While this can negatively impact performance, a serial.log " +"can be incredibly useful for debugging any issues observed in the " +"communication between OctoPrint and your printer." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:115 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:61 +msgid "Query intervals" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:62 +msgid "Interval in which to poll for the temperature information from the printer" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:63 +msgid "Temperature interval (polling)" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:69 +msgid "When printing or idle" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 +msgid "When a target temperature is set" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79 msgid "" -"Ignore any unhandled errors from the firmware. Only use this if your " -"firmware sends stuff prefixed with \"Error\" that is not an actual error." -" Might mask printer issues, be careful!" +"Temperature report interval to request from autoreport capable firmwares." +" A value of 0 disables autoreporting by the firmware and forces polling." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:123 -msgid "Command to send to the firmware on first handshake attempt." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:80 +msgid "Temperature interval (autoreport)" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 -msgid "\"Hello\" command" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:105 +msgid "Autoreport interval to request from firmware" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:127 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:89 msgid "" -"Use this to specify a different command than the default " -"M110 to send to the printer on initial connection to trigger" -" a communication handshake." +"Interval in which to poll for the SD printing status information from the" +" printer while printing" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:130 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +msgid "SD status interval (polling)" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:98 msgid "" -"Commands that are know to run long and hence should suppress " -"communication timeouts from being triggered." +"SD status interval to request from autoreport capable firmwares. A value " +"of 0 disables autoreporting by the firmware and forces polling." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:131 -msgid "Long running commands" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 +msgid "SD status interval (autoreport)" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:134 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:110 +msgid "Timeouts" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:111 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." +"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." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:112 +msgid "Communication timeout" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:118 +msgid "busy protocol support not detected" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:125 +msgid "busy protocol support detected" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128 +msgid "" +"Time after which a connection attempt to the printer will be considered " +"as having failed" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:129 +msgid "Connection timeout" msgstr "" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 msgid "" -"Commands that always require a line number and checksum to be sent with " -"them." +"Time after which to consider an auto detection attempt to have failed if " +"no successful connection is detected" msgstr "" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:138 -msgid "Commands that always require a checksum" +msgid "Autodetection timeout" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:141 -msgid "" -"Use this to specify which commands always need to be " -"sent with a checksum. Comma separated list." -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:144 -msgid "Commands to not completely auto uppercase in the terminal tab" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:145 -msgid "Terminal Auto Uppercase Blacklist" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:148 -msgid "" -"Use this to specify the commands that should not have their parameters " -"automatically uppercased in the terminal tab. Just the G or M code, comma" -" separated." -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "Generate additional ok for M29" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "Most Marlin < v1.1.0" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:158 -msgid "Simulate an additional ok for resend requests" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 -msgid "Log position on pause" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 -msgid "" -"If you disabled this, the pause_position placeholders in " -"your pause/resume GCODE scripts will stay unpopulated! However, pausing " -"speed might improve slightly." -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:169 -msgid "Log position on cancel" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:170 -msgid "" -"If you disabled this, the cancel_position 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 "" - -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:173 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:149 msgid "" "Maximum consecutive communication timeouts while idle. More than this and" " the printer will be considered to be gone. Set to 0 to disable." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:174 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 msgid "Max. consecutive timeouts while idle" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:184 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:191 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:160 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:167 msgid "Set to 0 to disable consecutive timeout detection and handling." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:180 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:156 msgid "" "Maximum consecutive communication timeouts while printing. More than this" " and the printer will be considered to be gone. Set to 0 to disable." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:157 msgid "Max. consecutive timeouts while printing" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:187 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 msgid "" "Maximum consecutive communication timeouts while a long running command " "is active. More than this and the printer will be considered to be gone. " "Set to 0 to disable." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:188 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 msgid "Max. consecutive timeouts during long running commands" msgstr "" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176 +msgid "Firmware specific settings" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:180 +msgid "Enable automatic firmware detection" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 +msgid "" +"\n" +" If enabled, OctoPrint will try to figure " +"out your printer's firmware automatically and adjust some communication " +"parameters based on that.\n" +" 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.\n" +" " +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:192 +msgid "Select SD files by relative path" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:192 +msgid "RepRap Firmware" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:199 +msgid "Always assume SD card is present" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:199 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:213 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:227 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 +msgid "Repetier" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:206 +msgid "Ignore consecutive resend requests for the same line" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:213 +#, python-format +msgid "" +"Support TargetExtr%%n/TargetBed target " +"temperature format" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +msgid "Disable detection of external heatups" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:227 +msgid "Actively pause communication during G4 dwell command" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:232 +msgid "Send a checksum with the command" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:235 +msgid "When printing" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 +msgid "Always" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:241 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:288 +msgid "Never" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:252 +msgid "Support temperature autoreporting by firmware, if detected" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:259 +msgid "Support sd status autoreporting by firmware, if detected" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:266 +msgid "Support busy protocol, if detected" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:273 +msgid "Simulate ok for M29" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:274 +msgid "" +"Most Marlin forks that were derived from Marlin versions < v1.1.0 do not " +"send an acknowledging ok for a M29. Check this " +"if you run into communication stalls following streaming of a file to " +"your printer's SD." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:279 +msgid "Simulate ok for resend requests" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:282 +msgid "If detected as necessary" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:290 +msgid "" +"Some Marlin forks lack an acknowledging ok with their resend" +" requests. Set this to \"always\" or \"if detected as necessary\" if you " +"run into communication stalls on resend requests." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297 +msgid "Protocol fine tuning" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:301 +msgid "Wait for start on connect" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:302 +msgid "" +"Try checking this if you run into connection timeouts due to your printer" +" taking too long to respond to OctoPrint' handshake attempts on connect." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:309 +msgid "Command to send to the firmware on first handshake attempt." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:310 +msgid "\"Hello\" command" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:313 +msgid "" +"Use this to specify a different command than the default " +"M110 to send to the printer on initial connection to trigger" +" a communication handshake." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:316 +msgid "" +"Commands that are know to run long and hence should suppress " +"communication timeouts from being triggered." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317 +msgid "Long running commands" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:320 +msgid "" +"Use this to specify the commands known to take a long time to complete " +"without output from your printer and hence might cause timeout issues. " +"Just the G or M code, comma separated." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:323 +msgid "" +"Commands that always require a line number and checksum to be sent with " +"them." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324 +msgid "Commands that always require a checksum" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:327 +msgid "" +"Use this to specify which commands always need to be " +"sent with a checksum. Comma separated list." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:336 +msgid "Error handling" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338 +msgid "What to do on a firmware error (Error: or !!)" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:341 +msgid "Disconnect from the printer" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:344 +msgid "Cancel any ongoing prints but stay connected to the printer" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:348 +msgid "" +"Only choose this if your firmware sends error messages that are not " +"actual errors. Might mask printer issues, be careful!" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354 +msgid "Event based position logging" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 +msgid "Log position on pause" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:358 +msgid "" +"If you disable this, the pause_position placeholders in your" +" pause/resume GCODE scripts will stay unpopulated! However, pausing speed" +" might improve slightly." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:363 +msgid "Log position on cancel" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:364 +msgid "" +"If you disable this, the cancel_position 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 "" + #: src/octoprint/templates/dialogs/settings/server.jinja2:2 msgid "Commands" msgstr "" @@ -4078,6 +4114,10 @@ msgstr "" msgid "Auto-connect on server startup" msgstr "" +#: src/octoprint/templates/sidebar/connection_header.jinja2:2 +msgid "Refresh connection options" +msgstr "" + #: src/octoprint/templates/sidebar/files.jinja2:6 msgid "Back" msgstr "" @@ -4106,12 +4146,6 @@ msgstr "" msgid "Download" msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:23 -#: src/octoprint/templates/sidebar/files.jinja2:36 -#: src/octoprint/templates/sidebar/files.jinja2:46 -msgid "Remove" -msgstr "" - #: src/octoprint/templates/sidebar/files.jinja2:24 msgid "Load" msgstr "" @@ -4141,7 +4175,7 @@ msgid "File list settings" msgstr "" #: src/octoprint/templates/sidebar/files_header.jinja2:6 -#: src/octoprint/templates/tabs/timelapse.jinja2:108 +#: src/octoprint/templates/tabs/timelapse.jinja2:99 msgid "Sort by name" msgstr "" @@ -4150,7 +4184,7 @@ msgid "Sort by upload date" msgstr "" #: src/octoprint/templates/sidebar/files_header.jinja2:8 -#: src/octoprint/templates/tabs/timelapse.jinja2:110 +#: src/octoprint/templates/tabs/timelapse.jinja2:101 msgid "Sort by file size" msgstr "" @@ -4581,6 +4615,18 @@ msgstr "" msgid "Rotate webcam 90 degrees counter clockwise" msgstr "" +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotSslValidation.jinja2:4 +msgid "Validate SSL on snapshot URL (if applicable)" +msgstr "" + +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2:1 +msgid "Timeout for taking a snapshot" +msgstr "" + +#: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotTimeout.jinja2:2 +msgid "Snapshot timeout" +msgstr "" + #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:1 msgid "URL to use for retrieving webcam snapshot images for timelapse creation" msgstr "" @@ -4980,25 +5026,15 @@ msgstr "" #: src/octoprint/templates/tabs/timelapse.jinja2:59 msgid "" -"OctoPrint will take additional pictures to add this many seconds to the " -"end of your rendered timelapse." +"OctoPrint will use the final picture to add this many seconds to the end " +"of your rendered timelapse." msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:66 -msgid "Capture post roll images" -msgstr "" - -#: src/octoprint/templates/tabs/timelapse.jinja2:67 -msgid "" -"If this is unchecked, OctoPrint will simply repeat the last frame for the" -" post roll instead of continuing to capture new frames." -msgstr "" - -#: src/octoprint/templates/tabs/timelapse.jinja2:73 +#: src/octoprint/templates/tabs/timelapse.jinja2:64 msgid "Retraction Z-Hop" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:79 +#: src/octoprint/templates/tabs/timelapse.jinja2:70 msgid "" "Enter the retraction z-hop used in the firmware or the gcode file to " "trigger snapshots for the timelapse only if a real layer change happens. " @@ -5006,69 +5042,69 @@ msgid "" "your layerheight!" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:86 +#: src/octoprint/templates/tabs/timelapse.jinja2:77 msgid "Save as default" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:87 +#: src/octoprint/templates/tabs/timelapse.jinja2:78 msgid "" "Check this to make your selected timelapse mode and options persist " "across restarts." msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:94 +#: src/octoprint/templates/tabs/timelapse.jinja2:85 msgid "You have unsaved changes. Don't forget to save them." msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:95 +#: src/octoprint/templates/tabs/timelapse.jinja2:86 msgid "Save changes" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:96 +#: src/octoprint/templates/tabs/timelapse.jinja2:87 msgid "Reset to active configuration" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:102 +#: src/octoprint/templates/tabs/timelapse.jinja2:93 msgid "Finished Timelapses" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:109 +#: src/octoprint/templates/tabs/timelapse.jinja2:100 msgid "Sort by date" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:118 -#: src/octoprint/templates/tabs/timelapse.jinja2:163 +#: src/octoprint/templates/tabs/timelapse.jinja2:109 +#: src/octoprint/templates/tabs/timelapse.jinja2:154 msgid "Select all on this page" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:119 -#: src/octoprint/templates/tabs/timelapse.jinja2:164 +#: src/octoprint/templates/tabs/timelapse.jinja2:110 +#: src/octoprint/templates/tabs/timelapse.jinja2:155 msgid "Select all" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:121 -#: src/octoprint/templates/tabs/timelapse.jinja2:166 +#: src/octoprint/templates/tabs/timelapse.jinja2:112 +#: src/octoprint/templates/tabs/timelapse.jinja2:157 msgid "Clear selection" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:124 -#: src/octoprint/templates/tabs/timelapse.jinja2:169 +#: src/octoprint/templates/tabs/timelapse.jinja2:115 +#: src/octoprint/templates/tabs/timelapse.jinja2:160 msgid "Delete selected" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:157 +#: src/octoprint/templates/tabs/timelapse.jinja2:148 msgid "Unrendered Timelapses" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:176 +#: src/octoprint/templates/tabs/timelapse.jinja2:167 msgid "Frames" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:189 +#: src/octoprint/templates/tabs/timelapse.jinja2:180 msgid "Delete unrendered timelapse" msgstr "" -#: src/octoprint/templates/tabs/timelapse.jinja2:189 +#: src/octoprint/templates/tabs/timelapse.jinja2:180 msgid "Render timelapse" msgstr "" From e4914b8bd38c81da4b4e34d4dd411625f3949c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 17:18:39 +0100 Subject: [PATCH 81/82] staging/maintenance is now 1.3.7rc2.dev --- .versioneer-lookup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index b87b971a5..44d9f682c 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -23,10 +23,10 @@ maintenance 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev fix/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev improve/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev -# staging/maintenance is currently the branch for preparation of 1.3.6rc4 +# staging/maintenance is currently the branch for preparation of 1.3.7rc2 # so is regressionfix/... -staging/maintenance 1.3.6rc4 a8747f7e36a03ff2449b62cdf68b8a26a6fa61b3 pep440-dev -regressionfix/.* 1.3.6rc4 a8747f7e36a03ff2449b62cdf68b8a26a6fa61b3 pep440-dev +staging/maintenance 1.3.7rc2 da2c9632ea54fd1b3c8ae34f8f26bab29dbaf3c6 pep440-dev +regressionfix/.* 1.3.7rc2 da2c9632ea54fd1b3c8ae34f8f26bab29dbaf3c6 pep440-dev # every other branch is a development branch and thus gets resolved to 1.4.0-dev for now .* 1.4.0 7f5d03d0549bcbd26f40e7e4a3297ea5204fb1cc pep440-dev From 4f1cd6b3a2cbab72873d5b06056ceb949961db9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Mar 2018 17:19:38 +0100 Subject: [PATCH 82/82] maintenance is now 1.3.8.dev --- .versioneer-lookup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index 44d9f682c..c5b025946 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -17,11 +17,11 @@ prerelease HEAD \(detached.* -# maintenance is currently the branch for preparation of maintenance release 1.3.7 +# maintenance is currently the branch for preparation of maintenance release 1.3.8 # so are any fix/... and improve/... branches -maintenance 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev -fix/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev -improve/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev +maintenance 1.3.8 da2c9632ea54fd1b3c8ae34f8f26bab29dbaf3c6 pep440-dev +fix/.* 1.3.8 da2c9632ea54fd1b3c8ae34f8f26bab29dbaf3c6 pep440-dev +improve/.* 1.3.8 da2c9632ea54fd1b3c8ae34f8f26bab29dbaf3c6 pep440-dev # staging/maintenance is currently the branch for preparation of 1.3.7rc2 # so is regressionfix/...