From de29cdb7e568150df1e452f67f12ab53fd908436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 2 Nov 2020 10:33:02 +0100 Subject: [PATCH 01/26] =?UTF-8?q?=F0=9F=93=9D=20Remove=20install=20from=20?= =?UTF-8?q?source=20from=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's still available in the developer docs on docs.octoprint.org See #3789 --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index c23ee8ef4..8f9cc1b84 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ For information about how to go about submitting bug reports or pull requests, p Installation instructions for installing from source for different operating systems can be found [on the forum](https://community.octoprint.org/tags/c/support/guides/15/setup). -If you want to run OctoPrint on a Raspberry Pi, you might want to take a look at [OctoPi](https://github.com/guysoft/OctoPi) +If you want to run OctoPrint on a Raspberry Pi, you really should take a look at [OctoPi](https://github.com/guysoft/OctoPi) which is a custom SD card image that includes OctoPrint plus dependencies. The generic steps that should basically be done regardless of operating system @@ -76,13 +76,6 @@ you already have Python 2.7, 3.6 or 3.7, pip and virtualenv and their dependenci parameter, e.g. `virtualenv --python=python3 venv`. 2. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install OctoPrint` -Or alternatively, for an install from source: - -1. Checkout OctoPrint: `git clone https://github.com/OctoPrint/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/pip install .` - You may then start the OctoPrint server via `/path/to/OctoPrint/venv/bin/octoprint`, see [Usage](#usage) for details. From f55d7e29f7681ab77a1eeb6b9141004fe082b3dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 10 Nov 2020 17:12:51 +0100 Subject: [PATCH 02/26] =?UTF-8?q?=F0=9F=93=9D=20Remove=20accessControl.ena?= =?UTF-8?q?bled=20from=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/configuration/config_yaml.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index 8a001dc05..3d7390465 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -24,9 +24,6 @@ Use the following settings to enable access control: .. code-block:: yaml accessControl: - # whether to enable access control or not. Defaults to true - enabled: true - # The user manager implementation to use for accessing user information. Currently only a filebased # user manager is implemented which stores configured accounts in a YAML file (Default: users.yaml # in the default configuration folder, see below) From bed0f8d1c8ce1e3915dbffbaacf0e1c24b2d74f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 11 Nov 2020 10:31:31 +0100 Subject: [PATCH 03/26] =?UTF-8?q?=F0=9F=90=9B=20Children=20is=20a=20dict,?= =?UTF-8?q?=20not=20a=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #3805 --- src/octoprint/filemanager/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/filemanager/storage.py b/src/octoprint/filemanager/storage.py index bf0a33c34..6428d8893 100644 --- a/src/octoprint/filemanager/storage.py +++ b/src/octoprint/filemanager/storage.py @@ -643,7 +643,7 @@ class LocalFileStorage(StorageInterface): for key, node in nodes.items(): if node["type"] == "folder": node = copy.copy(node) - node["children"] = [] + node["children"] = {} result[key] = node return result From 8fce191c558325f9e4f894330f8b1623c2f1f194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 11 Nov 2020 12:03:36 +0100 Subject: [PATCH 04/26] =?UTF-8?q?=F0=9F=A5=85=20Only=20import=20plugin=20i?= =?UTF-8?q?f=20metadata=20has=20any=20control=20property?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Protects against loading things from the plugin folders that aren't actually plugins, like errant setup.py files, see for example https://community.octoprint.org/t/26143 --- src/octoprint/__init__.py | 22 ++++++++++++++++++++-- src/octoprint/plugin/core.py | 28 ++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index de9bd4d30..d2de8d655 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -619,16 +619,34 @@ def init_pluginsystem( ) plugin_validators = [] + + def implementation_or_hook_validator(phase, plugin_info): + if phase in ("before_import", "before_load", "before_enable"): + result = plugin_info.parsed_metadata.get("has_control_properties", False) + if not result: + logger.info( + "Plugin {} declares no control properties, " + "might not even be a plugin, disabling".format(plugin_info.name) + ) + return result + return True + + plugin_validators.append(implementation_or_hook_validator) + if safe_mode: - def validator(phase, plugin_info): + def safe_mode_validator(phase, plugin_info): if phase in ("before_import", "before_load", "before_enable"): plugin_info.safe_mode_victim = not plugin_info.bundled if not plugin_info.bundled: + logger.info( + "Plugin {} is not bundled, safe mode is active, " + "disabling".format(plugin_info.name) + ) return False return True - plugin_validators.append(validator) + plugin_validators.append(safe_mode_validator) compatibility_ignored_list = settings.get(["plugins", "_forcedCompatible"]) diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index b3010b1ec..3d5f35da1 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -734,6 +734,14 @@ class PluginInfo(object): """The plugin metadata parsed from the plugin ``__init__.py``'s AST.""" return self._cached_parsed_metadata + @property + def control_properties(self): + return [ + getattr(self.__class__, key) + for key in dir(self.__class__) + if key.startswith("attr_") + ] + def _parse_metadata(self): result = {} @@ -764,6 +772,10 @@ class PluginInfo(object): assignments = list( filter(lambda x: isinstance(x, ast.Assign) and x.targets, root.body) ) + function_defs = list( + filter(lambda x: isinstance(x, ast.FunctionDef) and x.name, root.body) + ) + all_relevant = assignments + function_defs def extract_target_ids(node): return list( @@ -773,6 +785,16 @@ class PluginInfo(object): ) ) + def extract_names(node): + if isinstance(node, ast.Assign): + return extract_target_ids(node) + elif isinstance(node, ast.FunctionDef): + return [ + node.name, + ] + else: + return [] + for key in ( self.__class__.attr_name, self.__class__.attr_version, @@ -811,6 +833,12 @@ class PluginInfo(object): break + for a in reversed(all_relevant): + targets = extract_names(a) + if any(map(lambda x: x in targets, self.control_properties)): + result["has_control_properties"] = True + break + except SyntaxError: self._logger.exception( "Invalid syntax in {} for plugin {}".format(path, self.key) From cca3000eb2c40e6436588a91ef7793a2954c94a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 11 Nov 2020 12:04:30 +0100 Subject: [PATCH 05/26] =?UTF-8?q?=F0=9F=94=A5=20Remove=20deprecated=20plug?= =?UTF-8?q?in=20control=20properties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit __plugin_init__ and __plugin_implementations__ (plural!) have been deprecated since 1.2.0.dev, time to nuke them. --- src/octoprint/plugin/core.py | 71 +----------------------------------- 1 file changed, 2 insertions(+), 69 deletions(-) diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index 3d5f35da1..395f6b9eb 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -207,35 +207,12 @@ class PluginInfo(object): attr_implementation = "__plugin_implementation__" """ Module attribute from which to retrieve the plugin's provided mixin implementation. """ - attr_implementations = "__plugin_implementations__" - """ - Module attribute from which to retrieve the plugin's provided implementations. - - This deprecated attribute will only be used if a plugin does not yet offer :attr:`attr_implementation`. Only the - first entry will be evaluated. - - .. deprecated:: 1.2.0-dev-694 - - Use :attr:`attr_implementation` instead. - """ - attr_helpers = "__plugin_helpers__" """ Module attribute from which to retrieve the plugin's provided helpers. """ attr_check = "__plugin_check__" """ Module attribute which to call to determine if the plugin can be loaded. """ - attr_init = "__plugin_init__" - """ - Module attribute which to call when loading the plugin. - - This deprecated attribute will only be used if a plugin does not yet offer :attr:`attr_load`. - - .. deprecated:: 1.2.0-dev-720 - - Use :attr:`attr_load` instead. - """ - attr_load = "__plugin_load__" """ Module attribute which to call when loading the plugin. """ @@ -331,54 +308,10 @@ class PluginInfo(object): ) 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): - # deprecation warning - import warnings - - warnings.warn( - "{name} uses deprecated control property __plugin_init__, use __plugin_load__ instead".format( - name=self.key - ), - DeprecationWarning, - ) - - # move it - init = getattr(self.instance, self.__class__.attr_init) - setattr(self.instance, self.__class__.attr_load, init) - - # delete __plugin_init__ - delattr(self.instance, self.__class__.attr_init) + pass elif phase == "after_load": - # if the plugin still uses __plugin_implementations__, log a deprecation warning and put the first - # item into __plugin_implementation__ - if hasattr(self.instance, self.__class__.attr_implementations): - if not hasattr(self.instance, self.__class__.attr_implementation): - # deprecation warning - import warnings - - warnings.warn( - "{name} uses deprecated control property __plugin_implementations__, use __plugin_implementation__ instead - only the first implementation of {name} will be recognized".format( - name=self.key - ), - DeprecationWarning, - ) - - # put first item into __plugin_implementation__ - implementations = getattr( - self.instance, self.__class__.attr_implementations - ) - if len(implementations) > 0: - setattr( - self.instance, - self.__class__.attr_implementation, - implementations[0], - ) - - # delete __plugin_implementations__ - delattr(self.instance, self.__class__.attr_implementations) + pass if additional_validators is not None: for validator in additional_validators: From 9a573626026edcdf31ef927335375b59c0676e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 11 Nov 2020 18:23:29 +0100 Subject: [PATCH 06/26] =?UTF-8?q?=F0=9F=A5=85=20Better=20solution=20for=20?= =?UTF-8?q?invalid=20plugin=20detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Should be done at plugin manager level, not externally. Ignore pyc files though as we currently can't parse their metadata (looking into that). Fix tests while at it. --- src/octoprint/__init__.py | 17 ---------- src/octoprint/plugin/core.py | 33 +++++++++++++++++-- tests/plugin/_plugins/asset_plugin.py | 14 ++++++++ tests/plugin/_plugins/deprecated_plugin.py | 21 ------------ tests/plugin/_plugins/not_a_plugin.py | 2 ++ tests/plugin/test_core.py | 38 +++++++++++++++------- 6 files changed, 74 insertions(+), 51 deletions(-) create mode 100644 tests/plugin/_plugins/asset_plugin.py delete mode 100644 tests/plugin/_plugins/deprecated_plugin.py create mode 100644 tests/plugin/_plugins/not_a_plugin.py diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index d2de8d655..fb2721185 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -620,29 +620,12 @@ def init_pluginsystem( plugin_validators = [] - def implementation_or_hook_validator(phase, plugin_info): - if phase in ("before_import", "before_load", "before_enable"): - result = plugin_info.parsed_metadata.get("has_control_properties", False) - if not result: - logger.info( - "Plugin {} declares no control properties, " - "might not even be a plugin, disabling".format(plugin_info.name) - ) - return result - return True - - plugin_validators.append(implementation_or_hook_validator) - if safe_mode: def safe_mode_validator(phase, plugin_info): if phase in ("before_import", "before_load", "before_enable"): plugin_info.safe_mode_victim = not plugin_info.bundled if not plugin_info.bundled: - logger.info( - "Plugin {} is not bundled, safe mode is active, " - "disabling".format(plugin_info.name) - ) return False return True diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index 395f6b9eb..7c9f666ee 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -300,7 +300,8 @@ class PluginInfo(object): if phase == "before_import": result = ( - not self.forced_disabled + self.looks_like_plugin + and not self.forced_disabled and not self.blacklisted and not self.incompatible and not self.invalid_syntax @@ -675,6 +676,32 @@ class PluginInfo(object): if key.startswith("attr_") ] + @property + def looks_like_plugin(self): + """ + Returns whether the plugin actually looks like a plugin (has control properties) or not. + + Note that compiled (.pyc) plugins for now will return True here as well, since we + currently cannot easily parse metadata from them. + """ + return ( + self.parsed_metadata.get("has_control_properties", False) or self.is_compiled + ) + + @property + def is_compiled(self): + path = self.location + if not path: + return False + + if os.path.isdir(path): + path = os.path.join(self.location, "__init__.py") + + if not os.path.isfile(path): + return False + + return path.endswith(".pyc") + def _parse_metadata(self): result = {} @@ -1366,7 +1393,8 @@ class PluginManager(object): for name, plugin in added.items(): try: if ( - not plugin.blacklisted + plugin.looks_like_plugin + and not plugin.blacklisted and not plugin.forced_disabled and not plugin.incompatible ): @@ -1392,6 +1420,7 @@ class PluginManager(object): try: if ( plugin.loaded + and plugin.looks_like_plugin and not plugin.forced_disabled and not plugin.incompatible ): diff --git a/tests/plugin/_plugins/asset_plugin.py b/tests/plugin/_plugins/asset_plugin.py new file mode 100644 index 000000000..5936acc4e --- /dev/null +++ b/tests/plugin/_plugins/asset_plugin.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +from __future__ import absolute_import, division, print_function, unicode_literals + +import octoprint.plugin + + +class TestAssetPlugin(octoprint.plugin.AssetPlugin): + pass + + +__plugin_name__ = "Asset Plugin" +__plugin_description__ = "Test asset plugin" +__plugin_implementation__ = TestAssetPlugin() +__plugin_pythoncompat__ = ">=2.7,<4" diff --git a/tests/plugin/_plugins/deprecated_plugin.py b/tests/plugin/_plugins/deprecated_plugin.py deleted file mode 100644 index 26b7610de..000000000 --- a/tests/plugin/_plugins/deprecated_plugin.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import absolute_import, division, print_function, unicode_literals - -import octoprint.plugin - - -class TestDeprecatedAssetPlugin(octoprint.plugin.AssetPlugin): - pass - - -class TestSecondaryDeprecatedAssetPlugin(octoprint.plugin.AssetPlugin): - pass - - -__plugin_name__ = "Deprecated Plugin" -__plugin_description__ = "Test deprecated plugin" -__plugin_implementations__ = [ - TestDeprecatedAssetPlugin(), - TestSecondaryDeprecatedAssetPlugin(), -] -__plugin_pythoncompat__ = ">=2.7,<4" diff --git a/tests/plugin/_plugins/not_a_plugin.py b/tests/plugin/_plugins/not_a_plugin.py new file mode 100644 index 000000000..c58e04714 --- /dev/null +++ b/tests/plugin/_plugins/not_a_plugin.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +print("I'm not a plugin") diff --git a/tests/plugin/test_core.py b/tests/plugin/test_core.py index 89c8954bf..4b1fdd826 100644 --- a/tests/plugin/test_core.py +++ b/tests/plugin/test_core.py @@ -68,6 +68,18 @@ class PluginTestCase(unittest.TestCase): os.path.dirname(os.path.realpath(__file__)), "_plugins" ) + # prepare compiled files + import py_compile + + py_compile.compile( + os.path.join(self.plugin_folder, "asset_plugin.py"), + os.path.join(self.plugin_folder, "asset_plugin_2.pyc"), + ) + py_compile.compile( + os.path.join(self.plugin_folder, "not_a_plugin.py"), + os.path.join(self.plugin_folder, "not_a_plugin_either.pyc"), + ) + plugin_folders = [self.plugin_folder] plugin_bases = [octoprint.plugin.OctoPrintPlugin] plugin_entry_points = None @@ -92,9 +104,10 @@ class PluginTestCase(unittest.TestCase): assert "__plugin_implementation__" in str(w[-1].message) def test_plugin_loading(self): - self.assertEqual(7, len(self.plugin_manager.enabled_plugins)) + self.assertEqual(9, len(self.plugin_manager.enabled_plugins)) + self.assertEqual(10, len(self.plugin_manager.plugins)) self.assertEqual(2, len(self.plugin_manager.plugin_hooks)) - self.assertEqual(4, len(self.plugin_manager.plugin_implementations)) + self.assertEqual(5, len(self.plugin_manager.plugin_implementations)) self.assertEqual(3, len(self.plugin_manager.plugin_implementations_by_type)) # hook_plugin @@ -137,13 +150,13 @@ class PluginTestCase(unittest.TestCase): ), ) - # TestDeprecatedAssetPlugin, NOT TestSecondaryDeprecatedAssetPlugin + # TestAssetPlugin self.assertTrue( octoprint.plugin.AssetPlugin in self.plugin_manager.plugin_implementations_by_type ) self.assertEqual( - 1, + 2, len( self.plugin_manager.plugin_implementations_by_type[ octoprint.plugin.AssetPlugin @@ -167,7 +180,7 @@ class PluginTestCase(unittest.TestCase): ) all_implementations = self.plugin_manager.plugin_implementations - self.assertEqual(4, len(all_implementations)) + self.assertEqual(5, len(all_implementations)) for name, impl in all_implementations.items(): self.assertTrue(name in self.plugin_manager.enabled_plugins) plugin = self.plugin_manager.enabled_plugins[name] @@ -258,7 +271,8 @@ class PluginTestCase(unittest.TestCase): octoprint.plugin.AssetPlugin ) self.assertListEqual( - ["deprecated_plugin"], list(map(lambda x: x._identifier, implementations)) + ["asset_plugin", "asset_plugin_2"], + list(map(lambda x: x._identifier, implementations)), ) def test_get_filtered_implementations(self): @@ -305,12 +319,14 @@ class PluginTestCase(unittest.TestCase): client1.on_plugin_message.assert_called_once_with(plugin, data, permissions=None) client2.on_plugin_message.assert_called_once_with(plugin, data, permissions=None) - def test_validate_plugin(self): - self.assertTrue("deprecated_plugin" in self.plugin_manager.enabled_plugins) + def test_broken_plugin(self): + for key in ("not_a_plugin",): + self.assertTrue(key in self.plugin_manager.plugins) - plugin = self.plugin_manager.enabled_plugins["deprecated_plugin"] - self.assertTrue(hasattr(plugin.instance, plugin.__class__.attr_implementation)) - self.assertFalse(hasattr(plugin.instance, plugin.__class__.attr_implementations)) + plugin = self.plugin_manager.plugins[key] + self.assertFalse(plugin.looks_like_plugin) + self.assertFalse(plugin.loaded) + self.assertFalse(plugin.enabled) @ddt.data( ( From a4b44a8b0fa684134c879acda9ae7985cc300e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 12 Nov 2020 10:11:49 +0100 Subject: [PATCH 07/26] =?UTF-8?q?=F0=9F=A5=85=20Do=20not=20support=20pyc?= =?UTF-8?q?=20plugins?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A pyc file alone should really never happen anyhow in our plugin setup, and they would not load under Py3 anyhow as we can't parse the compatibility information right now. Simply removing their support altogether as it should not have been utilized anywhere anyhow as far as I am aware, and never was officially documented as supported to boot. --- src/octoprint/plugin/core.py | 32 +++++--------------------------- tests/plugin/test_core.py | 23 +++++++++++------------ 2 files changed, 16 insertions(+), 39 deletions(-) diff --git a/src/octoprint/plugin/core.py b/src/octoprint/plugin/core.py index 7c9f666ee..c7ce091a6 100644 --- a/src/octoprint/plugin/core.py +++ b/src/octoprint/plugin/core.py @@ -665,7 +665,7 @@ class PluginInfo(object): @property def parsed_metadata(self): - """The plugin metadata parsed from the plugin ``__init__.py``'s AST.""" + """The plugin metadata parsed from the plugin's AST.""" return self._cached_parsed_metadata @property @@ -680,27 +680,8 @@ class PluginInfo(object): def looks_like_plugin(self): """ Returns whether the plugin actually looks like a plugin (has control properties) or not. - - Note that compiled (.pyc) plugins for now will return True here as well, since we - currently cannot easily parse metadata from them. """ - return ( - self.parsed_metadata.get("has_control_properties", False) or self.is_compiled - ) - - @property - def is_compiled(self): - path = self.location - if not path: - return False - - if os.path.isdir(path): - path = os.path.join(self.location, "__init__.py") - - if not os.path.isfile(path): - return False - - return path.endswith(".pyc") + return self.parsed_metadata.get("has_control_properties", False) def _parse_metadata(self): result = {} @@ -1003,11 +984,8 @@ class PluginManager(object): try: 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 - ): + if not os.path.isfile(init_py): # neither does exist, we ignore this continue @@ -1015,8 +993,8 @@ class PluginManager(object): 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 + if ext not in (".py",) or key.startswith("__"): + # not py, or starts with __ (like __init__), we ignore this continue else: diff --git a/tests/plugin/test_core.py b/tests/plugin/test_core.py index 4b1fdd826..f58fe2f97 100644 --- a/tests/plugin/test_core.py +++ b/tests/plugin/test_core.py @@ -104,10 +104,10 @@ class PluginTestCase(unittest.TestCase): assert "__plugin_implementation__" in str(w[-1].message) def test_plugin_loading(self): - self.assertEqual(9, len(self.plugin_manager.enabled_plugins)) - self.assertEqual(10, len(self.plugin_manager.plugins)) + self.assertEqual(7, len(self.plugin_manager.enabled_plugins)) + self.assertEqual(8, len(self.plugin_manager.plugins)) self.assertEqual(2, len(self.plugin_manager.plugin_hooks)) - self.assertEqual(5, len(self.plugin_manager.plugin_implementations)) + self.assertEqual(4, len(self.plugin_manager.plugin_implementations)) self.assertEqual(3, len(self.plugin_manager.plugin_implementations_by_type)) # hook_plugin @@ -156,7 +156,7 @@ class PluginTestCase(unittest.TestCase): in self.plugin_manager.plugin_implementations_by_type ) self.assertEqual( - 2, + 1, len( self.plugin_manager.plugin_implementations_by_type[ octoprint.plugin.AssetPlugin @@ -180,7 +180,7 @@ class PluginTestCase(unittest.TestCase): ) all_implementations = self.plugin_manager.plugin_implementations - self.assertEqual(5, len(all_implementations)) + self.assertEqual(4, len(all_implementations)) for name, impl in all_implementations.items(): self.assertTrue(name in self.plugin_manager.enabled_plugins) plugin = self.plugin_manager.enabled_plugins[name] @@ -271,7 +271,7 @@ class PluginTestCase(unittest.TestCase): octoprint.plugin.AssetPlugin ) self.assertListEqual( - ["asset_plugin", "asset_plugin_2"], + ["asset_plugin"], list(map(lambda x: x._identifier, implementations)), ) @@ -320,13 +320,12 @@ class PluginTestCase(unittest.TestCase): client2.on_plugin_message.assert_called_once_with(plugin, data, permissions=None) def test_broken_plugin(self): - for key in ("not_a_plugin",): - self.assertTrue(key in self.plugin_manager.plugins) + self.assertTrue("not_a_plugin" in self.plugin_manager.plugins) - plugin = self.plugin_manager.plugins[key] - self.assertFalse(plugin.looks_like_plugin) - self.assertFalse(plugin.loaded) - self.assertFalse(plugin.enabled) + plugin = self.plugin_manager.plugins["not_a_plugin"] + self.assertFalse(plugin.looks_like_plugin) + self.assertFalse(plugin.loaded) + self.assertFalse(plugin.enabled) @ddt.data( ( From 3e9b4ccf3ddec309474da41faf35d00475c3ba11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 12 Nov 2020 10:22:20 +0100 Subject: [PATCH 08/26] =?UTF-8?q?=F0=9F=9A=B8=20PMGR:=20Log=20deletion=20o?= =?UTF-8?q?f=20pyc=20files=20as=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/pluginmanager/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index d730aa2b1..b545ed677 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -1057,6 +1057,9 @@ class PluginManagerPlugin( if full_path.endswith(".py"): pyc_file = "{full_path}c".format(**locals()) if os.path.isfile(pyc_file): + self._log_stdout( + "Deleting plugin from {file}".format(file=pyc_file) + ) os.remove(pyc_file) else: From fabf331197508de89a4c31af61465c2c0c11c3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 12 Nov 2020 11:31:21 +0100 Subject: [PATCH 09/26] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=EF=B8=8F=20Only=20c?= =?UTF-8?q?heck=20resend=20ratio=20after=20100=20transmitted=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implements #3811 --- docs/api/datamodel.rst | 4 ++++ src/octoprint/printer/standard.py | 3 ++- src/octoprint/server/api/settings.py | 3 +++ src/octoprint/settings.py | 1 + src/octoprint/static/js/app/viewmodels/printerstate.js | 6 +++++- src/octoprint/static/js/app/viewmodels/settings.js | 1 + .../templates/dialogs/settings/serialconnection.jinja2 | 9 +++++++++ src/octoprint/templates/sidebar/state.jinja2 | 2 +- src/octoprint/util/comm.py | 8 +++++--- 9 files changed, 31 insertions(+), 6 deletions(-) diff --git a/docs/api/datamodel.rst b/docs/api/datamodel.rst index 346225081..bbca4519f 100644 --- a/docs/api/datamodel.rst +++ b/docs/api/datamodel.rst @@ -162,6 +162,10 @@ Resend stats - 1 - int - Number of resend requests received since connecting. + * - ``transmitted`` + - 1 + - int + - Number of transmitted lines since connecting. * - ``ratio`` - 1 - int diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index 715c579f4..dac3d0a38 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -1149,9 +1149,10 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): def _updateResendDataCallback(self): if not self._comm: - return self._dict(count=0, ratio=0) + return self._dict(count=0, transmitted=0, ratio=0) return self._dict( count=self._comm.received_resends, + transmitted=self._comm.transmitted_lines, ratio=int(self._comm.resend_ratio * 100.0), ) diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index 753da331e..2466f655f 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -243,6 +243,7 @@ def getSettings(): ["serial", "capabilities", "emergency_parser"] ), "resendRatioThreshold": s.getInt(["serial", "resendRatioThreshold"]), + "resendRatioStart": s.getInt(["serial", "resendRatioStart"]), }, "folder": { "uploads": s.getBaseFolder("uploads"), @@ -871,6 +872,8 @@ def _saveSettings(data): s.setInt( ["serial", "resendRatioThreshold"], data["serial"]["resendRatioThreshold"] ) + if "resendRatioStart" in data["serial"]: + s.setInt(["serial", "resendRatioStart"], data["serial"]["resendRatioStart"]) oldLog = s.getBoolean(["serial", "log"]) if "log" in data["serial"]: diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index e39e011e2..b91c3d4bb 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -169,6 +169,7 @@ default_settings = { "emergency_parser": True, }, "resendRatioThreshold": 10, + "resendRatioStart": 100, # command specific flags "triggerOkForM29": True, }, diff --git a/src/octoprint/static/js/app/viewmodels/printerstate.js b/src/octoprint/static/js/app/viewmodels/printerstate.js index d5e19c1b4..911018fa9 100644 --- a/src/octoprint/static/js/app/viewmodels/printerstate.js +++ b/src/octoprint/static/js/app/viewmodels/printerstate.js @@ -12,7 +12,10 @@ $(function () { self.resendTotalTransmitted = ko.observable(0); self.resendRatio = ko.observable(0); self.resendRatioCritical = ko.pureComputed(function () { - return self.resendRatio() >= self.settings.serial_resendRatioThreshold(); + return ( + self.resendRatio() >= self.settings.serial_resendRatioThreshold() && + self.resendTotalTransmitted() >= self.settings.serial_resendRatioStart() + ); }); self.resendRatioNotification = undefined; @@ -387,6 +390,7 @@ $(function () { self._processResends = function (data) { self.resendCount(data.count); + self.resendTotalTransmitted(data.transmitted); self.resendRatio(data.ratio); }; diff --git a/src/octoprint/static/js/app/viewmodels/settings.js b/src/octoprint/static/js/app/viewmodels/settings.js index a58bee66c..8a4c341bc 100644 --- a/src/octoprint/static/js/app/viewmodels/settings.js +++ b/src/octoprint/static/js/app/viewmodels/settings.js @@ -235,6 +235,7 @@ $(function () { self.serial_disableSdPrintingDetection = ko.observable(undefined); self.serial_ackMax = ko.observable(undefined); self.serial_resendRatioThreshold = ko.observable(100); + self.serial_resendRatioStart = ko.observable(100); self.folder_uploads = ko.observable(undefined); self.folder_timelapse = ko.observable(undefined); diff --git a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 index a88f490c1..254f671a6 100644 --- a/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 +++ b/src/octoprint/templates/dialogs/settings/serialconnection.jinja2 @@ -526,6 +526,15 @@ +
+ +
+
+ + lines +
+
+
diff --git a/src/octoprint/templates/sidebar/state.jinja2 b/src/octoprint/templates/sidebar/state.jinja2 index 53038507d..3746d4162 100644 --- a/src/octoprint/templates/sidebar/state.jinja2 +++ b/src/octoprint/templates/sidebar/state.jinja2 @@ -1,5 +1,5 @@ {{ _('State') }}:
-{{ _('Resend requests') }}: (%)
+{{ _('Resend ratio') }}: / (%)

{{ _('File') }}:  (SD)
{{ _('Uploaded') }}:
diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index c20a52524..9bd20c757 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -664,6 +664,7 @@ class MachineCom(object): self._transmitted_lines = 0 self._received_resend_requests = 0 + self._resend_ratio_start = settings().getInt(["serial", "resendRatioStart"]) self._resend_ratio_threshold = ( settings().getInt(["serial", "resendRatioThreshold"]) / 100.0 ) @@ -825,13 +826,14 @@ class MachineCom(object): resend_ratio = self.resend_ratio if ( resend_ratio >= self._resend_ratio_threshold + and self._transmitted_lines > self._resend_ratio_start and not self._resend_ratio_reported ): message = ( - "Over {}% of transmitted lines have triggered resend requests " - "({:.2f}%). The communication with the printers is unreliable. " + "Over {:.0f}% of transmitted lines have triggered resend requests " + "({:.2f}%). The communication with the printer is unreliable. " "Please see https://faq.octoprint.org/communication-errors.".format( - self._resend_ratio_threshold, resend_ratio + self._resend_ratio_threshold * 100, resend_ratio * 100 ) ) self._log(message) From b94424411a72b183e3be1cc99fa00ac26f98a56c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 12 Nov 2020 14:14:26 +0100 Subject: [PATCH 10/26] =?UTF-8?q?=F0=9F=A5=85=20Better=20handling=20of=20c?= =?UTF-8?q?orrupted=20user=20storage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missing users.yaml should already trigger the wizard to pop up again, but corrupted users.yaml so far made the user manager to mark itself as customized and THEN fall on its face. We now first make sure we can actually load stuff (and if not raise an exception and a critical error in the log), and only then mark the user manager as successfully customized. Implements #3804 --- src/octoprint/access/users.py | 20 ++++++++++++++++++-- src/octoprint/cli/user.py | 11 +++++++++-- src/octoprint/server/__init__.py | 2 ++ 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/src/octoprint/access/users.py b/src/octoprint/access/users.py index 5e3115d15..a7340bfed 100644 --- a/src/octoprint/access/users.py +++ b/src/octoprint/access/users.py @@ -502,6 +502,8 @@ class FilebasedUserManager(UserManager): def __init__(self, group_manager, path=None, settings=None): UserManager.__init__(self, group_manager, settings=settings) + self._logger = logging.getLogger(__name__) + if path is None: path = self._settings.get(["accessControl", "userfile"]) if path is None: @@ -517,10 +519,19 @@ class FilebasedUserManager(UserManager): def _load(self): if os.path.exists(self._userfile) and os.path.isfile(self._userfile): - self._customized = True + # noinspection PyBroadException with io.open(self._userfile, "rt", encoding="utf-8") as f: data = yaml.safe_load(f) + if not data or not isinstance(data, dict): + self._logger.fatal( + "{} does not contain a valid map of users. Fix " + "the file, or remove it, then restart OctoPrint.".format( + self._userfile + ) + ) + raise CorruptUserStorage() + for name, attributes in data.items(): if not isinstance(attributes, dict): continue @@ -570,6 +581,7 @@ class FilebasedUserManager(UserManager): if self._dirty: self._save() + self._customized = True else: self._customized = False @@ -1008,10 +1020,14 @@ class UnknownUser(Exception): class UnknownRole(Exception): - def _init_(self, role): + def __init__(self, role): Exception.__init__(self, "Unknown role: %s" % role) +class CorruptUserStorage(Exception): + pass + + ##~~ Refactoring helpers diff --git a/src/octoprint/cli/user.py b/src/octoprint/cli/user.py index 9e9a24f67..548fd88bb 100644 --- a/src/octoprint/cli/user.py +++ b/src/octoprint/cli/user.py @@ -11,7 +11,12 @@ import click from octoprint import init_settings from octoprint.access.groups import FilebasedGroupManager -from octoprint.access.users import FilebasedUserManager, UnknownUser, UserAlreadyExists +from octoprint.access.users import ( + CorruptUserStorage, + FilebasedUserManager, + UnknownUser, + UserAlreadyExists, +) from octoprint.cli import get_ctx_obj_option from octoprint.util import get_class, sv @@ -63,6 +68,8 @@ def user(ctx): try: clazz = get_class(name) user_manager = clazz(group_manager=group_manager, settings=settings) + except CorruptUserStorage: + raise except Exception: click.echo( "Could not instantiate user manager {}, falling back to FilebasedUserManager!".format( @@ -76,7 +83,7 @@ def user(ctx): except Exception: click.echo("Could not instantiate user manager", err=True) - return + ctx.exit(-1) @user.command(name="list") diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index 6f908f24f..1cfb0a578 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -547,6 +547,8 @@ class Server(object): try: clazz = octoprint.util.get_class(user_manager_name) userManager = clazz(groupManager) + except octoprint.access.users.CorruptUserStorage: + raise except Exception: self._logger.exception( "Could not instantiate user manager {}, " From 8cd51103d992d218c4034aa3115fdb549b0a170b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 12 Nov 2020 14:36:10 +0100 Subject: [PATCH 11/26] =?UTF-8?q?=F0=9F=90=9B=20BackupPlugin:=20Don't=20us?= =?UTF-8?q?e=20unset=20self.=5Flogger=20on=20CLI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #3812 --- src/octoprint/plugins/backup/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/octoprint/plugins/backup/__init__.py b/src/octoprint/plugins/backup/__init__.py index 2b2b3bf94..066d20799 100644 --- a/src/octoprint/plugins/backup/__init__.py +++ b/src/octoprint/plugins/backup/__init__.py @@ -501,7 +501,6 @@ class BackupPlugin( backup_file, exclude=exclude, settings=settings, - logger=self._logger, plugin_manager=cli_group.plugin_manager, datafolder=datafolder, ) @@ -839,6 +838,9 @@ class BackupPlugin( on_backup_done=None, on_backup_error=None, ): + if logger is None: + logger = logging.getLogger(__name__) + exclude_by_default = ( "generated", "logs", From 9c2f50a620e89157a9332cf92ab880b7f8435f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 13 Nov 2020 10:58:27 +0100 Subject: [PATCH 12/26] =?UTF-8?q?=E2=99=BB=20Properties=20for=20min/max=20?= =?UTF-8?q?on=20CountedEvent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cc @chendo --- src/octoprint/util/__init__.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/octoprint/util/__init__.py b/src/octoprint/util/__init__.py index f28f1bff5..288335046 100644 --- a/src/octoprint/util/__init__.py +++ b/src/octoprint/util/__init__.py @@ -1654,6 +1654,24 @@ class CountedEvent(object): self._internal_set(value) + @property + def min(self): + return self._min + + @min.setter + def min(self, val): + with self._mutex: + self._min = val + + @property + def max(self): + return self._max + + @max.setter + def max(self, val): + with self._mutex: + self._max = val + @property def is_set(self): return self._event.is_set From b4e5fd0299eb19f9a87f2e2fb5d136086fec40ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 13 Nov 2020 10:58:55 +0100 Subject: [PATCH 13/26] =?UTF-8?q?=E2=99=BB=20Make=20last=20lines=20buffer?= =?UTF-8?q?=20size=20configurable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cc @chendo --- src/octoprint/settings.py | 1 + src/octoprint/util/comm.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index e39e011e2..a09916eb3 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -133,6 +133,7 @@ default_settings = { "disconnectOnErrors": True, "ignoreErrorsFromFirmware": False, "terminalLogSize": 20, + "lastLineBufferSize": 50, "logResends": True, "supportResendsWithoutOk": "detect", "logPositionOnPause": True, diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index c20a52524..a491d9c17 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -590,7 +590,8 @@ class MachineCom(object): ), } - self._lastLines = deque([], 50) + last_line_count = settings().getInt(["serial", "lastLineBufferSize"]) + self._lastLines = deque([], last_line_count) self._lastCommError = None self._lastResendNumber = None self._currentResendCount = 0 From 5f2a95d154650366078b0d387e5b01427c4340c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 13 Nov 2020 12:21:07 +0100 Subject: [PATCH 14/26] =?UTF-8?q?=F0=9F=8E=A8=20Run=20zeroconf=20through?= =?UTF-8?q?=20black?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We can't update that from upstream anymore anyhow as this is a version that's no longer maintained (py2 compatible) and upstream now uses black too. --- src/octoprint/vendor/zeroconf.py | 679 +++++++++++++++++++------------ 1 file changed, 412 insertions(+), 267 deletions(-) diff --git a/src/octoprint/vendor/zeroconf.py b/src/octoprint/vendor/zeroconf.py index aa20778cb..13e8d2dea 100644 --- a/src/octoprint/vendor/zeroconf.py +++ b/src/octoprint/vendor/zeroconf.py @@ -1,5 +1,4 @@ -from __future__ import ( - absolute_import, division, print_function, unicode_literals) +from __future__ import absolute_import, division, print_function, unicode_literals """ Multicast DNS Service Discovery for Python, v0.14-wmcbrine Copyright 2003 Paul Scott-Murphy, 2014 William McBrine @@ -39,16 +38,20 @@ import netifaces from six import binary_type, indexbytes, int2byte, iteritems, text_type from six.moves import xrange -__author__ = 'Paul Scott-Murphy, William McBrine' -__maintainer__ = 'Jakub Stasiak ' -__version__ = '0.19.1' -__license__ = 'LGPL' +__author__ = "Paul Scott-Murphy, William McBrine" +__maintainer__ = "Jakub Stasiak " +__version__ = "0.19.1" +__license__ = "LGPL" __all__ = [ "__version__", - "Zeroconf", "ServiceInfo", "ServiceBrowser", - "Error", "InterfaceChoice", "ServiceStateChange", + "Zeroconf", + "ServiceInfo", + "ServiceBrowser", + "Error", + "InterfaceChoice", + "ServiceStateChange", ] @@ -68,7 +71,7 @@ _BROWSER_TIME = 500 # Some DNS constants -_MDNS_ADDR = '224.0.0.251' +_MDNS_ADDR = "224.0.0.251" _MDNS_PORT = 5353 _DNS_PORT = 53 _DNS_TTL = 60 * 60 # one hour default TTL @@ -120,36 +123,40 @@ _TYPE_ANY = 255 # Mapping constants to names -_CLASSES = {_CLASS_IN: "in", - _CLASS_CS: "cs", - _CLASS_CH: "ch", - _CLASS_HS: "hs", - _CLASS_NONE: "none", - _CLASS_ANY: "any"} +_CLASSES = { + _CLASS_IN: "in", + _CLASS_CS: "cs", + _CLASS_CH: "ch", + _CLASS_HS: "hs", + _CLASS_NONE: "none", + _CLASS_ANY: "any", +} -_TYPES = {_TYPE_A: "a", - _TYPE_NS: "ns", - _TYPE_MD: "md", - _TYPE_MF: "mf", - _TYPE_CNAME: "cname", - _TYPE_SOA: "soa", - _TYPE_MB: "mb", - _TYPE_MG: "mg", - _TYPE_MR: "mr", - _TYPE_NULL: "null", - _TYPE_WKS: "wks", - _TYPE_PTR: "ptr", - _TYPE_HINFO: "hinfo", - _TYPE_MINFO: "minfo", - _TYPE_MX: "mx", - _TYPE_TXT: "txt", - _TYPE_AAAA: "quada", - _TYPE_SRV: "srv", - _TYPE_ANY: "any"} +_TYPES = { + _TYPE_A: "a", + _TYPE_NS: "ns", + _TYPE_MD: "md", + _TYPE_MF: "mf", + _TYPE_CNAME: "cname", + _TYPE_SOA: "soa", + _TYPE_MB: "mb", + _TYPE_MG: "mg", + _TYPE_MR: "mr", + _TYPE_NULL: "null", + _TYPE_WKS: "wks", + _TYPE_PTR: "ptr", + _TYPE_HINFO: "hinfo", + _TYPE_MINFO: "minfo", + _TYPE_MX: "mx", + _TYPE_TXT: "txt", + _TYPE_AAAA: "quada", + _TYPE_SRV: "srv", + _TYPE_ANY: "any", +} -_HAS_A_TO_Z = re.compile(r'[A-Za-z]') -_HAS_ONLY_A_TO_Z_NUM_HYPHEN = re.compile(r'^[A-Za-z0-9\-]+$') -_HAS_ASCII_CONTROL_CHARS = re.compile(r'[\x00-\x1f\x7f]') +_HAS_A_TO_Z = re.compile(r"[A-Za-z]") +_HAS_ONLY_A_TO_Z_NUM_HYPHEN = re.compile(r"^[A-Za-z0-9\-]+$") +_HAS_ASCII_CONTROL_CHARS = re.compile(r"[\x00-\x1f\x7f]") @enum.unique @@ -164,7 +171,7 @@ class ServiceStateChange(enum.Enum): Removed = 2 -HOST_ONLY_NETWORK_MASK = '255.255.255.255' +HOST_ONLY_NETWORK_MASK = "255.255.255.255" # utility functions @@ -215,69 +222,67 @@ def service_type_name(type_): :param type_: Type, SubType or service name to validate :return: fully qualified service name (eg: _http._tcp.local.) """ - if not (type_.endswith('._tcp.local.') or type_.endswith('._udp.local.')): + if not (type_.endswith("._tcp.local.") or type_.endswith("._udp.local.")): raise BadTypeInNameException( - "Type '%s' must end with '._tcp.local.' or '._udp.local.'" % - type_) + "Type '%s' must end with '._tcp.local.' or '._udp.local.'" % type_ + ) - remaining = type_[:-len('._tcp.local.')].split('.') + remaining = type_[: -len("._tcp.local.")].split(".") name = remaining.pop() if not name: raise BadTypeInNameException("No Service name found") if len(remaining) == 1 and len(remaining[0]) == 0: - raise BadTypeInNameException( - "Type '%s' must not start with '.'" % type_) + raise BadTypeInNameException("Type '%s' must not start with '.'" % type_) - if name[0] != '_': - raise BadTypeInNameException( - "Service name (%s) must start with '_'" % name) + if name[0] != "_": + raise BadTypeInNameException("Service name (%s) must start with '_'" % name) # remove leading underscore name = name[1:] if len(name) > 15: - raise BadTypeInNameException( - "Service name (%s) must be <= 15 bytes" % name) + raise BadTypeInNameException("Service name (%s) must be <= 15 bytes" % name) - if '--' in name: - raise BadTypeInNameException( - "Service name (%s) must not contain '--'" % name) + if "--" in name: + raise BadTypeInNameException("Service name (%s) must not contain '--'" % name) - if '-' in (name[0], name[-1]): + if "-" in (name[0], name[-1]): raise BadTypeInNameException( - "Service name (%s) may not start or end with '-'" % name) + "Service name (%s) may not start or end with '-'" % name + ) if not _HAS_A_TO_Z.search(name): raise BadTypeInNameException( - "Service name (%s) must contain at least one letter (eg: 'A-Z')" % - name) + "Service name (%s) must contain at least one letter (eg: 'A-Z')" % name + ) if not _HAS_ONLY_A_TO_Z_NUM_HYPHEN.search(name): raise BadTypeInNameException( "Service name (%s) must contain only these characters: " - "A-Z, a-z, 0-9, hyphen ('-')" % name) + "A-Z, a-z, 0-9, hyphen ('-')" % name + ) - if remaining and remaining[-1] == '_sub': + if remaining and remaining[-1] == "_sub": remaining.pop() if len(remaining) == 0 or len(remaining[0]) == 0: - raise BadTypeInNameException( - "_sub requires a subtype name") + raise BadTypeInNameException("_sub requires a subtype name") if len(remaining) > 1: - remaining = ['.'.join(remaining)] + remaining = [".".join(remaining)] if remaining: - length = len(remaining[0].encode('utf-8')) + length = len(remaining[0].encode("utf-8")) if length > 63: raise BadTypeInNameException("Too long: '%s'" % remaining[0]) if _HAS_ASCII_CONTROL_CHARS.search(remaining[0]): raise BadTypeInNameException( - "Ascii control character 0x00-0x1F and 0x7F illegal in '%s'" % - remaining[0]) + "Ascii control character 0x00-0x1F and 0x7F illegal in '%s'" + % remaining[0] + ) - return '_' + name + type_[-len('._tcp.local.'):] + return "_" + name + type_[-len("._tcp.local.") :] # Exceptions @@ -306,6 +311,7 @@ class AbstractMethodException(Error): class BadTypeInNameException(Error): pass + # implementation classes @@ -324,7 +330,7 @@ class QuietLogger(object): logger = log.debug if logger_data is not None: logger(*logger_data) - logger('Exception occurred:', exc_info=exc_info) + logger("Exception occurred:", exc_info=exc_info) @classmethod def log_warning_once(cls, *args): @@ -351,10 +357,12 @@ class DNSEntry(object): def __eq__(self, other): """Equality test on name, type, and class""" - return (self.name == other.name and - self.type == other.type and - self.class_ == other.class_ and - isinstance(other, DNSEntry)) + return ( + self.name == other.name + and self.type == other.type + and self.class_ == other.class_ + and isinstance(other, DNSEntry) + ) def __ne__(self, other): """Non-equality test""" @@ -372,8 +380,11 @@ class DNSEntry(object): def to_string(self, hdr, other): """String representation with additional information""" - result = "%s[%s,%s" % (hdr, self.get_type(self.type), - self.get_class_(self.class_)) + result = "%s[%s,%s" % ( + hdr, + self.get_type(self.type), + self.get_class_(self.class_), + ) if self.unique: result += "-unique," else: @@ -395,9 +406,11 @@ class DNSQuestion(DNSEntry): def answered_by(self, rec): """Returns true if the question is answered by the record""" - return (self.class_ == rec.class_ and - (self.type == rec.type or self.type == _TYPE_ANY) and - self.name == rec.name) + return ( + self.class_ == rec.class_ + and (self.type == rec.type or self.type == _TYPE_ANY) + and self.name == rec.name + ) def __repr__(self): """String representation""" @@ -462,7 +475,10 @@ class DNSRecord(DNSEntry): def to_string(self, other): """String representation with additional information""" arg = "%s/%s,%s" % ( - self.ttl, self.get_remaining_ttl(current_time_millis()), other) + self.ttl, + self.get_remaining_ttl(current_time_millis()), + other, + ) return DNSEntry.to_string(self, "record", arg) @@ -480,7 +496,11 @@ class DNSAddress(DNSRecord): def __eq__(self, other): """Tests equality on address""" - return isinstance(other, DNSAddress) and self.address == other.address and DNSEntry.__eq__(self, other) + return ( + isinstance(other, DNSAddress) + and self.address == other.address + and DNSEntry.__eq__(self, other) + ) def __repr__(self): """String representation""" @@ -497,25 +517,27 @@ class DNSHinfo(DNSRecord): def __init__(self, name, type_, class_, ttl, cpu, os): DNSRecord.__init__(self, name, type_, class_, ttl) try: - self.cpu = cpu.decode('utf-8') + self.cpu = cpu.decode("utf-8") except AttributeError: self.cpu = cpu try: - self.os = os.decode('utf-8') + self.os = os.decode("utf-8") except AttributeError: self.os = os def write(self, out): """Used in constructing an outgoing packet""" - out.write_character_string(self.cpu.encode('utf-8')) - out.write_character_string(self.os.encode('utf-8')) + out.write_character_string(self.cpu.encode("utf-8")) + out.write_character_string(self.os.encode("utf-8")) def __eq__(self, other): """Tests equality on cpu and os""" - return (isinstance(other, DNSHinfo) and - self.cpu == other.cpu and - self.os == other.os and - DNSEntry.__eq__(self, other)) + return ( + isinstance(other, DNSHinfo) + and self.cpu == other.cpu + and self.os == other.os + and DNSEntry.__eq__(self, other) + ) def __repr__(self): """String representation""" @@ -536,7 +558,11 @@ class DNSPointer(DNSRecord): def __eq__(self, other): """Tests equality on alias""" - return isinstance(other, DNSPointer) and self.alias == other.alias and DNSEntry.__eq__(self, other) + return ( + isinstance(other, DNSPointer) + and self.alias == other.alias + and DNSEntry.__eq__(self, other) + ) def __repr__(self): """String representation""" @@ -558,7 +584,11 @@ class DNSText(DNSRecord): def __eq__(self, other): """Tests equality on text""" - return isinstance(other, DNSText) and self.text == other.text and DNSEntry.__eq__(self, other) + return ( + isinstance(other, DNSText) + and self.text == other.text + and DNSEntry.__eq__(self, other) + ) def __repr__(self): """String representation""" @@ -572,8 +602,7 @@ class DNSService(DNSRecord): """A DNS service record""" - def __init__(self, name, type_, class_, ttl, - priority, weight, port, server): + def __init__(self, name, type_, class_, ttl, priority, weight, port, server): DNSRecord.__init__(self, name, type_, class_, ttl) self.priority = priority self.weight = weight @@ -589,12 +618,14 @@ class DNSService(DNSRecord): def __eq__(self, other): """Tests equality on priority, weight, port and server""" - return (isinstance(other, DNSService) and - self.priority == other.priority and - self.weight == other.weight and - self.port == other.port and - self.server == other.server and - DNSEntry.__eq__(self, other)) + return ( + isinstance(other, DNSService) + and self.priority == other.priority + and self.weight == other.weight + and self.port == other.port + and self.server == other.server + and DNSEntry.__eq__(self, other) + ) def __repr__(self): """String representation""" @@ -626,26 +657,32 @@ class DNSIncoming(QuietLogger): self.valid = True except (IndexError, struct.error, IncomingDecodeError): - self.log_exception_warning(( - 'Choked at offset %d while unpacking %r', self.offset, data)) + self.log_exception_warning( + ("Choked at offset %d while unpacking %r", self.offset, data) + ) def unpack(self, format_): length = struct.calcsize(format_) - info = struct.unpack( - format_, self.data[self.offset:self.offset + length]) + info = struct.unpack(format_, self.data[self.offset : self.offset + length]) self.offset += length return info def read_header(self): """Reads header portion of packet""" - (self.id, self.flags, self.num_questions, self.num_answers, - self.num_authorities, self.num_additionals) = self.unpack(b'!6H') + ( + self.id, + self.flags, + self.num_questions, + self.num_answers, + self.num_authorities, + self.num_additionals, + ) = self.unpack(b"!6H") def read_questions(self): """Reads questions section of packet""" for i in xrange(self.num_questions): name = self.read_name() - type_, class_ = self.unpack(b'!HH') + type_, class_ = self.unpack(b"!HH") question = DNSQuestion(name, type_, class_) self.questions.append(question) @@ -662,13 +699,13 @@ class DNSIncoming(QuietLogger): def read_string(self, length): """Reads a string of a given length from the packet""" - info = self.data[self.offset:self.offset + length] + info = self.data[self.offset : self.offset + length] self.offset += length return info def read_unsigned_short(self): """Reads an unsigned short from the packet""" - return self.unpack(b'!H')[0] + return self.unpack(b"!H")[0] def read_others(self): """Reads the answers, authorities and additionals section of the @@ -676,30 +713,37 @@ class DNSIncoming(QuietLogger): n = self.num_answers + self.num_authorities + self.num_additionals for i in xrange(n): domain = self.read_name() - type_, class_, ttl, length = self.unpack(b'!HHiH') + type_, class_, ttl, length = self.unpack(b"!HHiH") rec = None if type_ == _TYPE_A: - rec = DNSAddress( - domain, type_, class_, ttl, self.read_string(4)) + rec = DNSAddress(domain, type_, class_, ttl, self.read_string(4)) elif type_ == _TYPE_CNAME or type_ == _TYPE_PTR: - rec = DNSPointer( - domain, type_, class_, ttl, self.read_name()) + rec = DNSPointer(domain, type_, class_, ttl, self.read_name()) elif type_ == _TYPE_TXT: - rec = DNSText( - domain, type_, class_, ttl, self.read_string(length)) + rec = DNSText(domain, type_, class_, ttl, self.read_string(length)) elif type_ == _TYPE_SRV: rec = DNSService( - domain, type_, class_, ttl, - self.read_unsigned_short(), self.read_unsigned_short(), - self.read_unsigned_short(), self.read_name()) + domain, + type_, + class_, + ttl, + self.read_unsigned_short(), + self.read_unsigned_short(), + self.read_unsigned_short(), + self.read_name(), + ) elif type_ == _TYPE_HINFO: rec = DNSHinfo( - domain, type_, class_, ttl, - self.read_character_string(), self.read_character_string()) + domain, + type_, + class_, + ttl, + self.read_character_string(), + self.read_character_string(), + ) elif type_ == _TYPE_AAAA: - rec = DNSAddress( - domain, type_, class_, ttl, self.read_string(16)) + rec = DNSAddress(domain, type_, class_, ttl, self.read_string(16)) else: # Try to ignore types we don't know about # Skip the payload for the resource record so the next @@ -719,11 +763,11 @@ class DNSIncoming(QuietLogger): def read_utf(self, offset, length): """Reads a UTF-8 string of a given length from the packet""" - return text_type(self.data[offset:offset + length], 'utf-8', 'replace') + return text_type(self.data[offset : offset + length], "utf-8", "replace") def read_name(self): """Reads a domain name from the packet""" - result = '' + result = "" off = self.offset next_ = -1 first = off @@ -735,15 +779,14 @@ class DNSIncoming(QuietLogger): break t = length & 0xC0 if t == 0x00: - result = ''.join((result, self.read_utf(off, length) + '.')) + result = "".join((result, self.read_utf(off, length) + ".")) off += length elif t == 0xC0: if next_ < 0: next_ = off + 1 off = ((length & 0x3F) << 8) | indexbytes(self.data, off) if off >= first: - raise IncomingDecodeError( - "Bad domain name (circular) at %s" % (off,)) + raise IncomingDecodeError("Bad domain name (circular) at %s" % (off,)) first = off else: raise IncomingDecodeError("Bad domain name at %s" % (off,)) @@ -776,14 +819,16 @@ class DNSOutgoing(object): self.additionals = [] def __repr__(self): - return '' % ', '.join([ - 'multicast=%s' % self.multicast, - 'flags=%s' % self.flags, - 'questions=%s' % self.questions, - 'answers=%s' % self.answers, - 'authorities=%s' % self.authorities, - 'additionals=%s' % self.additionals, - ]) + return "" % ", ".join( + [ + "multicast=%s" % self.multicast, + "flags=%s" % self.flags, + "questions=%s" % self.questions, + "answers=%s" % self.answers, + "authorities=%s" % self.authorities, + "additionals=%s" % self.additionals, + ] + ) class State(enum.Enum): init = 0 @@ -809,7 +854,7 @@ class DNSOutgoing(object): self.authorities.append(record) def add_additional_answer(self, record): - """ Adds an additional answer + """Adds an additional answer From: RFC 6763, DNS-Based Service Discovery, February 2013 @@ -852,20 +897,20 @@ class DNSOutgoing(object): def write_byte(self, value): """Writes a single byte to the packet""" - self.pack(b'!c', int2byte(value)) + self.pack(b"!c", int2byte(value)) def insert_short(self, index, value): """Inserts an unsigned short in a certain position in the packet""" - self.data.insert(index, struct.pack(b'!H', value)) + self.data.insert(index, struct.pack(b"!H", value)) self.size += 2 def write_short(self, value): """Writes an unsigned short to the packet""" - self.pack(b'!H', value) + self.pack(b"!H", value) def write_int(self, value): """Writes an unsigned integer to the packet""" - self.pack(b'!I', int(value)) + self.pack(b"!I", int(value)) def write_string(self, value): """Writes a string to the packet""" @@ -875,7 +920,7 @@ class DNSOutgoing(object): def write_utf(self, s): """Writes a UTF-8 string of a given length to the packet""" - utfstr = s.encode('utf-8') + utfstr = s.encode("utf-8") length = len(utfstr) if length > 64: raise NamePartTooLongException @@ -904,12 +949,12 @@ class DNSOutgoing(object): """ # split name into each label - parts = name.split('.') + parts = name.split(".") if not parts[-1]: parts.pop() # construct each suffix - name_suffices = ['.'.join(parts[i:]) for i in range(len(parts))] + name_suffices = [".".join(parts[i:]) for i in range(len(parts))] # look for an existing name or suffix for count, sub_name in enumerate(name_suffices): @@ -1007,7 +1052,7 @@ class DNSOutgoing(object): self.insert_short(0, 0) else: self.insert_short(0, self.id) - return b''.join(self.data) + return b"".join(self.data) class DNSCache(object): @@ -1056,9 +1101,11 @@ class DNSCache(object): def current_entry_with_name_and_alias(self, name, alias): now = current_time_millis() for record in self.entries_with_name(name): - if (record.type == _TYPE_PTR and - not record.is_expired(now) and - record.alias == alias): + if ( + record.type == _TYPE_PTR + and not record.is_expired(now) + and record.alias == alias + ): return record def entries(self): @@ -1085,7 +1132,7 @@ class Engine(threading.Thread): """ def __init__(self, zc): - threading.Thread.__init__(self, name='zeroconf-Engine') + threading.Thread.__init__(self, name="zeroconf-Engine") self.daemon = True self.zc = zc self.readers = {} # maps socket to reader @@ -1148,7 +1195,7 @@ class Listener(QuietLogger): self.log_exception_warning() return - log.debug('Received from %r:%r: %r ', addr, port, data) + log.debug("Received from %r:%r: %r ", addr, port, data) self.data = data msg = DNSIncoming(data) @@ -1176,7 +1223,7 @@ class Reaper(threading.Thread): have expired.""" def __init__(self, zc): - threading.Thread.__init__(self, name='zeroconf-Reaper') + threading.Thread.__init__(self, name="zeroconf-Reaper") self.daemon = True self.zc = zc self.start() @@ -1207,7 +1254,6 @@ class Signal(object): class SignalRegistrationInterface(object): - def __init__(self, handlers): self._handlers = handlers @@ -1230,11 +1276,10 @@ class ServiceBrowser(threading.Thread): def __init__(self, zc, type_, handlers=None, listener=None): """Creates a browser for a specific type""" - assert handlers or listener, 'You need to specify at least one handler' + assert handlers or listener, "You need to specify at least one handler" if not type_.endswith(service_type_name(type_)): raise BadTypeInNameException - threading.Thread.__init__( - self, name='zeroconf-ServiceBrowser_' + type_) + threading.Thread.__init__(self, name="zeroconf-ServiceBrowser_" + type_) self.daemon = True self.zc = zc self.type = type_ @@ -1247,13 +1292,14 @@ class ServiceBrowser(threading.Thread): self.done = False - if hasattr(handlers, 'add_service'): + if hasattr(handlers, "add_service"): listener = handlers handlers = None handlers = handlers or [] if listener: + def on_change(zeroconf, service_type, name, state_change): args = (zeroconf, service_type, name) if state_change is ServiceStateChange.Added: @@ -1262,6 +1308,7 @@ class ServiceBrowser(threading.Thread): listener.remove_service(*args) else: raise NotImplementedError(state_change) + handlers.append(on_change) for h in handlers: @@ -1285,7 +1332,8 @@ class ServiceBrowser(threading.Thread): service_type=self.type, name=name, state_change=state_change, - )) + ) + ) if record.type == _TYPE_PTR and record.name == self.type: expired = record.is_expired(now) @@ -1343,8 +1391,17 @@ class ServiceInfo(object): """Service information""" - def __init__(self, type_, name, addresses=None, port=None, weight=0, - priority=0, properties=None, server=None): + def __init__( + self, + type_, + name, + addresses=None, + port=None, + weight=0, + priority=0, + properties=None, + server=None, + ): """Create a service description. type_: fully qualified service type name @@ -1367,11 +1424,12 @@ class ServiceInfo(object): else: self._addresses = [] # This results in an ugly error when registering, better check now - invalid = [a for a in self._addresses - if not isinstance(a, bytes) or len(a) != 4] + invalid = [a for a in self._addresses if not isinstance(a, bytes) or len(a) != 4] if invalid: - raise TypeError('Addresses must be bytes, got %s. Hint: convert string addresses ' - 'with socket.inet_pton' % invalid) + raise TypeError( + "Addresses must be bytes, got %s. Hint: convert string addresses " + "with socket.inet_pton" % invalid + ) self.port = port self.weight = weight self.priority = priority @@ -1404,27 +1462,27 @@ class ServiceInfo(object): if isinstance(properties, dict): self._properties = properties list_ = [] - result = b'' + result = b"" for key, value in iteritems(properties): if isinstance(key, text_type): - key = key.encode('utf-8') + key = key.encode("utf-8") if value is None: - suffix = b'' + suffix = b"" elif isinstance(value, text_type): - suffix = value.encode('utf-8') + suffix = value.encode("utf-8") elif isinstance(value, binary_type): suffix = value elif isinstance(value, int): if value: - suffix = b'true' + suffix = b"true" else: - suffix = b'false' + suffix = b"false" else: - suffix = b'' - list_.append(b'='.join((key, suffix))) + suffix = b"" + list_.append(b"=".join((key, suffix))) for item in list_: - result = b''.join((result, int2byte(len(item)), item)) + result = b"".join((result, int2byte(len(item)), item)) self.text = result else: self.text = properties @@ -1439,11 +1497,11 @@ class ServiceInfo(object): while index < end: length = indexbytes(text, index) index += 1 - strs.append(text[index:index + length]) + strs.append(text[index : index + length]) index += length for s in strs: - parts = s.split(b'=', 1) + parts = s.split(b"=", 1) try: key, value = parts except ValueError: @@ -1451,9 +1509,9 @@ class ServiceInfo(object): key = s value = False else: - if value == b'true': + if value == b"true": value = True - elif value == b'false' or not value: + elif value == b"false" or not value: value = False # Only update non-existent properties @@ -1465,7 +1523,7 @@ class ServiceInfo(object): def get_name(self): """Name accessor""" if self.type is not None and self.name.endswith("." + self.type): - return self.name[:len(self.name) - len(self.type) - 1] + return self.name[: len(self.name) - len(self.type) - 1] return self.name def update_record(self, zc, now, record): @@ -1484,8 +1542,8 @@ class ServiceInfo(object): self.priority = record.priority # self.address = None self.update_record( - zc, now, zc.cache.get_by_details( - self.server, _TYPE_A, _CLASS_IN)) + zc, now, zc.cache.get_by_details(self.server, _TYPE_A, _CLASS_IN) + ) elif record.type == _TYPE_TXT: if record.name == self.name: self._set_text(record.text) @@ -1520,24 +1578,21 @@ class ServiceInfo(object): return False if next_ <= now: out = DNSOutgoing(_FLAGS_QR_QUERY) - out.add_question( - DNSQuestion(self.name, _TYPE_SRV, _CLASS_IN)) + out.add_question(DNSQuestion(self.name, _TYPE_SRV, _CLASS_IN)) out.add_answer_at_time( - zc.cache.get_by_details( - self.name, _TYPE_SRV, _CLASS_IN), now) + zc.cache.get_by_details(self.name, _TYPE_SRV, _CLASS_IN), now + ) - out.add_question( - DNSQuestion(self.name, _TYPE_TXT, _CLASS_IN)) + out.add_question(DNSQuestion(self.name, _TYPE_TXT, _CLASS_IN)) out.add_answer_at_time( - zc.cache.get_by_details( - self.name, _TYPE_TXT, _CLASS_IN), now) + zc.cache.get_by_details(self.name, _TYPE_TXT, _CLASS_IN), now + ) if self.server is not None: - out.add_question( - DNSQuestion(self.server, _TYPE_A, _CLASS_IN)) + out.add_question(DNSQuestion(self.server, _TYPE_A, _CLASS_IN)) out.add_answer_at_time( - zc.cache.get_by_details( - self.server, _TYPE_A, _CLASS_IN), now) + zc.cache.get_by_details(self.server, _TYPE_A, _CLASS_IN), now + ) zc.send(out) next_ = now + delay delay *= 2 @@ -1559,15 +1614,21 @@ class ServiceInfo(object): def __repr__(self): """String representation""" - return '%s(%s)' % ( + return "%s(%s)" % ( type(self).__name__, - ', '.join( - '%s=%r' % (name, getattr(self, name)) + ", ".join( + "%s=%r" % (name, getattr(self, name)) for name in ( - 'type', 'name', 'addresses', 'port', 'weight', 'priority', - 'server', 'properties', + "type", + "name", + "addresses", + "port", + "weight", + "priority", + "server", + "properties", ) - ) + ), ) @@ -1575,6 +1636,7 @@ class ZeroconfServiceTypes(object): """ Return all of the advertised services on any local networks """ + def __init__(self): self.found_services = set() @@ -1597,7 +1659,8 @@ class ZeroconfServiceTypes(object): local_zc = zc or Zeroconf(interfaces=interfaces) listener = cls() browser = ServiceBrowser( - local_zc, '_services._dns-sd._udp.local.', listener=listener) + local_zc, "_services._dns-sd._udp.local.", listener=listener + ) # wait for responses time.sleep(timeout) @@ -1612,15 +1675,19 @@ class ZeroconfServiceTypes(object): def get_all_addresses(address_family): - return list({addr['addr'] - for iface in netifaces.interfaces() - for addr in netifaces.ifaddresses(iface).get(address_family, []) - if addr.get('netmask') != HOST_ONLY_NETWORK_MASK}) + return list( + { + addr["addr"] + for iface in netifaces.interfaces() + for addr in netifaces.ifaddresses(iface).get(address_family, []) + if addr.get("netmask") != HOST_ONLY_NETWORK_MASK + } + ) def normalize_interface_choice(choice, address_family): if choice is InterfaceChoice.Default: - choice = ['0.0.0.0'] + choice = ["0.0.0.0"] elif choice is InterfaceChoice.All: choice = get_all_addresses(address_family) return choice @@ -1651,12 +1718,12 @@ def new_socket(): # OpenBSD needs the ttl and loop values for the IP_MULTICAST_TTL and # IP_MULTICAST_LOOP socket options as an unsigned char. - ttl = struct.pack(b'B', 255) + ttl = struct.pack(b"B", 255) s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl) - loop = struct.pack(b'B', 1) + loop = struct.pack(b"B", 1) s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_LOOP, loop) - s.bind(('', _MDNS_PORT)) + s.bind(("", _MDNS_PORT)) return s @@ -1690,21 +1757,25 @@ class Zeroconf(QuietLogger): self._respond_sockets = [] for i in interfaces: - log.debug('Adding %r to multicast group', i) + log.debug("Adding %r to multicast group", i) try: self._listen_socket.setsockopt( - socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, - socket.inet_aton(_MDNS_ADDR) + socket.inet_aton(i)) + socket.IPPROTO_IP, + socket.IP_ADD_MEMBERSHIP, + socket.inet_aton(_MDNS_ADDR) + socket.inet_aton(i), + ) except socket.error as e: if get_errno(e) == errno.EADDRINUSE: log.info( - 'Address in use when adding %s to multicast group, ' - 'it is expected to happen on some systems', i, + "Address in use when adding %s to multicast group, " + "it is expected to happen on some systems", + i, ) elif get_errno(e) == errno.EADDRNOTAVAIL: log.info( - 'Address not available when adding %s to multicast ' - 'group, it is expected to happen on some systems', i, + "Address not available when adding %s to multicast " + "group, it is expected to happen on some systems", + i, ) continue else: @@ -1712,7 +1783,8 @@ class Zeroconf(QuietLogger): respond_socket = new_socket() respond_socket.setsockopt( - socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(i)) + socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(i) + ) self._respond_sockets.append(respond_socket) @@ -1794,18 +1866,29 @@ class Zeroconf(QuietLogger): continue out = DNSOutgoing(_FLAGS_QR_RESPONSE | _FLAGS_AA) out.add_answer_at_time( - DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, ttl, info.name), 0) + DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, ttl, info.name), 0 + ) out.add_answer_at_time( - DNSService(info.name, _TYPE_SRV, _CLASS_IN, - ttl, info.priority, info.weight, info.port, - info.server), 0) + DNSService( + info.name, + _TYPE_SRV, + _CLASS_IN, + ttl, + info.priority, + info.weight, + info.port, + info.server, + ), + 0, + ) out.add_answer_at_time( - DNSText(info.name, _TYPE_TXT, _CLASS_IN, ttl, info.text), 0) + DNSText(info.name, _TYPE_TXT, _CLASS_IN, ttl, info.text), 0 + ) for address in info.addresses: out.add_answer_at_time( - DNSAddress(info.server, _TYPE_A, _CLASS_IN, - ttl, address), 0) + DNSAddress(info.server, _TYPE_A, _CLASS_IN, ttl, address), 0 + ) self.send(out) i += 1 next_time += _REGISTER_TIME @@ -1819,7 +1902,7 @@ class Zeroconf(QuietLogger): else: del self.servicetypes[info.type] except Exception as e: # TODO stop catching all Exceptions - log.exception('Unknown error, possibly benign: %r', e) + log.exception("Unknown error, possibly benign: %r", e) now = current_time_millis() next_time = now i = 0 @@ -1830,17 +1913,29 @@ class Zeroconf(QuietLogger): continue out = DNSOutgoing(_FLAGS_QR_RESPONSE | _FLAGS_AA) out.add_answer_at_time( - DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, 0, info.name), 0) + DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, 0, info.name), 0 + ) out.add_answer_at_time( - DNSService(info.name, _TYPE_SRV, _CLASS_IN, 0, - info.priority, info.weight, info.port, info.name), 0) + DNSService( + info.name, + _TYPE_SRV, + _CLASS_IN, + 0, + info.priority, + info.weight, + info.port, + info.name, + ), + 0, + ) out.add_answer_at_time( - DNSText(info.name, _TYPE_TXT, _CLASS_IN, 0, info.text), 0) + DNSText(info.name, _TYPE_TXT, _CLASS_IN, 0, info.text), 0 + ) for address in info.addresses: out.add_answer_at_time( - DNSAddress(info.server, _TYPE_A, _CLASS_IN, 0, - address), 0) + DNSAddress(info.server, _TYPE_A, _CLASS_IN, 0, address), 0 + ) self.send(out) i += 1 next_time += _UNREGISTER_TIME @@ -1858,17 +1953,29 @@ class Zeroconf(QuietLogger): continue out = DNSOutgoing(_FLAGS_QR_RESPONSE | _FLAGS_AA) for info in self.services.values(): - out.add_answer_at_time(DNSPointer( - info.type, _TYPE_PTR, _CLASS_IN, 0, info.name), 0) - out.add_answer_at_time(DNSService( - info.name, _TYPE_SRV, _CLASS_IN, 0, - info.priority, info.weight, info.port, info.server), 0) - out.add_answer_at_time(DNSText( - info.name, _TYPE_TXT, _CLASS_IN, 0, info.text), 0) + out.add_answer_at_time( + DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, 0, info.name), 0 + ) + out.add_answer_at_time( + DNSService( + info.name, + _TYPE_SRV, + _CLASS_IN, + 0, + info.priority, + info.weight, + info.port, + info.server, + ), + 0, + ) + out.add_answer_at_time( + DNSText(info.name, _TYPE_TXT, _CLASS_IN, 0, info.text), 0 + ) for address in info.addresses: - out.add_answer_at_time(DNSAddress( - info.server, _TYPE_A, _CLASS_IN, 0, - address), 0) + out.add_answer_at_time( + DNSAddress(info.server, _TYPE_A, _CLASS_IN, 0, address), 0 + ) self.send(out) i += 1 next_time += _UNREGISTER_TIME @@ -1883,7 +1990,7 @@ class Zeroconf(QuietLogger): if not info.type.endswith(service_name): raise BadTypeInNameException - instance_name = info.name[:-len(service_name) - 1] + instance_name = info.name[: -len(service_name) - 1] next_instance_number = 2 now = current_time_millis() @@ -1891,14 +1998,12 @@ class Zeroconf(QuietLogger): i = 0 while i < 3: # check for a name conflict - while self.cache.current_entry_with_name_and_alias( - info.type, info.name): + while self.cache.current_entry_with_name_and_alias(info.type, info.name): if not allow_name_change: raise NonUniqueNameException # change the name and look for a conflict - info.name = '%s-%s.%s' % ( - instance_name, next_instance_number, info.type) + info.name = "%s-%s.%s" % (instance_name, next_instance_number, info.type) next_instance_number += 1 service_type_name(info.name) next_time = now @@ -1912,8 +2017,9 @@ class Zeroconf(QuietLogger): out = DNSOutgoing(_FLAGS_QR_QUERY | _FLAGS_AA) self.debug = out out.add_question(DNSQuestion(info.type, _TYPE_PTR, _CLASS_IN)) - out.add_authorative_answer(DNSPointer( - info.type, _TYPE_PTR, _CLASS_IN, _DNS_TTL, info.name)) + out.add_authorative_answer( + DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, _DNS_TTL, info.name) + ) self.send(out) i += 1 next_time += _CHECK_TIME @@ -1936,7 +2042,7 @@ class Zeroconf(QuietLogger): self.listeners.remove(listener) self.notify_all() except Exception as e: # TODO stop catching all Exceptions - log.exception('Unknown error, possibly benign: %r', e) + log.exception("Unknown error, possibly benign: %r", e) def update_record(self, now, rec): """Used to notify listeners of new information that has updated @@ -1981,16 +2087,26 @@ class Zeroconf(QuietLogger): for stype in self.servicetypes.keys(): if out is None: out = DNSOutgoing(_FLAGS_QR_RESPONSE | _FLAGS_AA) - out.add_answer(msg, DNSPointer( - "_services._dns-sd._udp.local.", _TYPE_PTR, - _CLASS_IN, _DNS_TTL, stype)) + out.add_answer( + msg, + DNSPointer( + "_services._dns-sd._udp.local.", + _TYPE_PTR, + _CLASS_IN, + _DNS_TTL, + stype, + ), + ) for service in self.services.values(): if question.name == service.type: if out is None: out = DNSOutgoing(_FLAGS_QR_RESPONSE | _FLAGS_AA) - out.add_answer(msg, DNSPointer( - service.type, _TYPE_PTR, - _CLASS_IN, _DNS_TTL, service.name)) + out.add_answer( + msg, + DNSPointer( + service.type, _TYPE_PTR, _CLASS_IN, _DNS_TTL, service.name + ), + ) else: try: if out is None: @@ -2001,29 +2117,57 @@ class Zeroconf(QuietLogger): for service in self.services.values(): if service.server == question.name.lower(): for address in service.addresses: - out.add_answer(msg, DNSAddress( - question.name, _TYPE_A, - _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, address)) + out.add_answer( + msg, + DNSAddress( + question.name, + _TYPE_A, + _CLASS_IN | _CLASS_UNIQUE, + _DNS_TTL, + address, + ), + ) service = self.services.get(question.name.lower(), None) if not service: continue if question.type in (_TYPE_SRV, _TYPE_ANY): - out.add_answer(msg, DNSService( - question.name, _TYPE_SRV, _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, service.priority, service.weight, - service.port, service.server)) + out.add_answer( + msg, + DNSService( + question.name, + _TYPE_SRV, + _CLASS_IN | _CLASS_UNIQUE, + _DNS_TTL, + service.priority, + service.weight, + service.port, + service.server, + ), + ) if question.type in (_TYPE_TXT, _TYPE_ANY): - out.add_answer(msg, DNSText( - question.name, _TYPE_TXT, _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, service.text)) + out.add_answer( + msg, + DNSText( + question.name, + _TYPE_TXT, + _CLASS_IN | _CLASS_UNIQUE, + _DNS_TTL, + service.text, + ), + ) if question.type == _TYPE_SRV: for address in service.addresses: - out.add_additional_answer(DNSAddress( - service.server, _TYPE_A, _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, address)) + out.add_additional_answer( + DNSAddress( + service.server, + _TYPE_A, + _CLASS_IN | _CLASS_UNIQUE, + _DNS_TTL, + address, + ) + ) except Exception: # TODO stop catching all Exceptions self.log_exception_warning() @@ -2035,23 +2179,24 @@ class Zeroconf(QuietLogger): """Sends an outgoing packet.""" packet = out.packet() if len(packet) > _MAX_MSG_ABSOLUTE: - self.log_warning_once("Dropping %r over-sized packet (%d bytes) %r", - out, len(packet), packet) + self.log_warning_once( + "Dropping %r over-sized packet (%d bytes) %r", out, len(packet), packet + ) return - log.debug('Sending %r (%d bytes) as %r...', out, len(packet), packet) + log.debug("Sending %r (%d bytes) as %r...", out, len(packet), packet) for s in self._respond_sockets: if self._GLOBAL_DONE: return try: bytes_sent = s.sendto(packet, 0, (addr, port)) - except Exception: # TODO stop catching all Exceptions + except Exception: # TODO stop catching all Exceptions # on send errors, log the exception and keep going self.log_exception_warning() else: if bytes_sent != len(packet): self.log_warning_once( - '!!! sent %d out of %d bytes to %r' % ( - bytes_sent, len(packet)), s) + "!!! sent %d out of %d bytes to %r" % (bytes_sent, len(packet)), s + ) def close(self): """Ends the background threads, and prevent this instance from From 1238edf1b9602f39d25bfa4b2a1db6bfb18c0d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 13 Nov 2020 13:24:14 +0100 Subject: [PATCH 15/26] =?UTF-8?q?=F0=9F=90=9B=20zeroconf:=20Add=20missing?= =?UTF-8?q?=20answers=20to=20PTR=20query?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backported from upstream. Closes #3813 --- .git-blame-ignore-revs | 1 + setup.py | 2 +- src/octoprint/vendor/zeroconf.py | 68 ++++++++++++++++++++++++++------ 3 files changed, 59 insertions(+), 12 deletions(-) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index bf301dedb..005b4260f 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -2,6 +2,7 @@ # Switch to black formatting 1f93b2355a2816918e11a55e61b42010d15a6720 +5f2a95d154650366078b0d387e5b01427c4340c0 # Switch to prettier formatting 6b44909f21ee39237b7504cd31ffa6cf28275c33 diff --git a/setup.py b/setup.py index a29295e89..31efb1135 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ INSTALL_REQUIRES_PYTHON2 = [ "scandir>=1.10,<2", "chainmap>=1.0.3,<2", "typing>=3.7.4.1,<4", - "enum34>=1.1.10", + "enum34>=1.1.10,<1.2", ] # Python 3 specific requirements diff --git a/src/octoprint/vendor/zeroconf.py b/src/octoprint/vendor/zeroconf.py index 13e8d2dea..647d1852a 100644 --- a/src/octoprint/vendor/zeroconf.py +++ b/src/octoprint/vendor/zeroconf.py @@ -74,7 +74,8 @@ _BROWSER_TIME = 500 _MDNS_ADDR = "224.0.0.251" _MDNS_PORT = 5353 _DNS_PORT = 53 -_DNS_TTL = 60 * 60 # one hour default TTL +_DNS_HOST_TTL = 120 # two minute for host records (A, SRV etc) as-per RFC6762 +_DNS_OTHER_TTL = 4500 # 75 minutes for non-host records (PTR, TXT etc) as-per RFC6762 _MAX_MSG_TYPICAL = 1460 # unused _MAX_MSG_ABSOLUTE = 8966 @@ -1401,6 +1402,8 @@ class ServiceInfo(object): priority=0, properties=None, server=None, + host_ttl=_DNS_HOST_TTL, + other_ttl=_DNS_OTHER_TTL, ): """Create a service description. @@ -1413,7 +1416,10 @@ class ServiceInfo(object): priority: priority of the service properties: dictionary of properties (or a string holding the bytes for the text field) - server: fully qualified name for service host (defaults to name)""" + server: fully qualified name for service host (defaults to name) + host_ttl: ttl used for A/SRV records + other_ttl: ttl used for PTR/TXT records + """ if not type_.endswith(service_type_name(name)): raise BadTypeInNameException @@ -1439,6 +1445,8 @@ class ServiceInfo(object): self.server = name self._properties = {} self._set_properties(properties) + self.host_ttl = host_ttl + self.other_ttl = other_ttl @property def addresses(self): @@ -1845,9 +1853,9 @@ class Zeroconf(QuietLogger): for listener in [k for k in self.browsers]: self.remove_service_listener(listener) - def register_service(self, info, ttl=_DNS_TTL, allow_name_change=False): + def register_service(self, info, ttl=_DNS_HOST_TTL, allow_name_change=False): """Registers service information to the network with a default TTL - of 60 seconds. Zeroconf will then respond to requests for + of 120 seconds. Zeroconf will then respond to requests for information for that service. The name of the service may be changed if needed to make it unique on the network.""" self.check_service(info, allow_name_change) @@ -2018,7 +2026,7 @@ class Zeroconf(QuietLogger): self.debug = out out.add_question(DNSQuestion(info.type, _TYPE_PTR, _CLASS_IN)) out.add_authorative_answer( - DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, _DNS_TTL, info.name) + DNSPointer(info.type, _TYPE_PTR, _CLASS_IN, info.other_ttl, info.name) ) self.send(out) i += 1 @@ -2093,7 +2101,7 @@ class Zeroconf(QuietLogger): "_services._dns-sd._udp.local.", _TYPE_PTR, _CLASS_IN, - _DNS_TTL, + _DNS_OTHER_TTL, stype, ), ) @@ -2104,9 +2112,47 @@ class Zeroconf(QuietLogger): out.add_answer( msg, DNSPointer( - service.type, _TYPE_PTR, _CLASS_IN, _DNS_TTL, service.name + service.type, + _TYPE_PTR, + _CLASS_IN, + service.other_ttl, + service.name, ), ) + + # Add recommended additional answers according to + # https://tools.ietf.org/html/rfc6763#section-12.1. + out.add_additional_answer( + DNSService( + service.name, + _TYPE_SRV, + _CLASS_IN | _CLASS_UNIQUE, + service.host_ttl, + service.priority, + service.weight, + service.port, + service.server, + ) + ) + out.add_additional_answer( + DNSText( + service.name, + _TYPE_TXT, + _CLASS_IN | _CLASS_UNIQUE, + service.other_ttl, + service.text, + ) + ) + for address in service.addresses: + out.add_additional_answer( + DNSAddress( + service.server, + _TYPE_A, + _CLASS_IN | _CLASS_UNIQUE, + service.host_ttl, + address, + ) + ) else: try: if out is None: @@ -2123,7 +2169,7 @@ class Zeroconf(QuietLogger): question.name, _TYPE_A, _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, + service.host_ttl, address, ), ) @@ -2139,7 +2185,7 @@ class Zeroconf(QuietLogger): question.name, _TYPE_SRV, _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, + service.host_ttl, service.priority, service.weight, service.port, @@ -2153,7 +2199,7 @@ class Zeroconf(QuietLogger): question.name, _TYPE_TXT, _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, + service.other_ttl, service.text, ), ) @@ -2164,7 +2210,7 @@ class Zeroconf(QuietLogger): service.server, _TYPE_A, _CLASS_IN | _CLASS_UNIQUE, - _DNS_TTL, + service.host_ttl, address, ) ) From 54f98a5ad11419bb9688585533e1e3edf64df981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 13 Nov 2020 16:38:02 +0100 Subject: [PATCH 16/26] =?UTF-8?q?=F0=9F=93=9D=20Document=20accessControl.s?= =?UTF-8?q?alt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/configuration/config_yaml.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index 98531a745..3ab20a8e6 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -74,6 +74,10 @@ Use the following settings to enable access control: # If a remote user is not found, add them. Use this only if all users from the remote system can use OctoPrint. addRemoteUsers: false + # Secret salt used for password hashing, DO NOT TOUCH. If changed you will no longer be able to log in with your + # existing accounts. + salt: someSecretSalt + .. _sec-configuration-config_yaml-api: API From 75796dafbcf44a6203513353fdc62de391f83cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 16 Nov 2020 13:57:04 +0100 Subject: [PATCH 17/26] =?UTF-8?q?=F0=9F=8E=A8=20prettier=20pre-commit=20ho?= =?UTF-8?q?ok=20has=20moved?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e751a43e4..34f420128 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,7 @@ repos: - id: flake8 additional_dependencies: - flake8-bugbear - - repo: https://github.com/prettier/prettier + - repo: https://github.com/pre-commit/mirrors-prettier rev: master hooks: - id: prettier From ab5d19bf12f831e3061c05f3fe015bf5b654c37f Mon Sep 17 00:00:00 2001 From: cp2004 <31997505+cp2004@users.noreply.github.com> Date: Sat, 14 Nov 2020 14:09:51 +0000 Subject: [PATCH 18/26] :bug: Fix uploading a language pack In Python 3, `filter()` returns an iterable rather than a list. Whilst this is better for performance, our list is not long and it means we can call `len()` on the list. Tested using reproduction steps in #3814 and verified that language packs can now be installed properly. Closes #3814 --- src/octoprint/server/api/languages.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/octoprint/server/api/languages.py b/src/octoprint/server/api/languages.py index 68b80b5f7..8ba9a05cf 100644 --- a/src/octoprint/server/api/languages.py +++ b/src/octoprint/server/api/languages.py @@ -140,8 +140,10 @@ def uploadLanguagePack(): upload_name = request.values[input_upload_name] upload_path = request.values[input_upload_path] - exts = filter( - lambda x: upload_name.lower().endswith(x), (".zip", ".tar.gz", ".tgz", ".tar") + exts = list( + filter( + lambda x: upload_name.lower().endswith(x), (".zip", ".tar.gz", ".tgz", ".tar") + ) ) if not len(exts): return make_response( From f1417063cbd4db909ef6d5ea4493fa271f09b5b0 Mon Sep 17 00:00:00 2001 From: Tobias Wellnitz Date: Sun, 15 Nov 2020 00:17:56 +0100 Subject: [PATCH 19/26] update gcode_scripts.rst with correct UI path for print & resume Small update to the docs to be coherent with the octoprint Settings UI for the `Log position on pause` option. --- docs/features/gcode_scripts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/gcode_scripts.rst b/docs/features/gcode_scripts.rst index 6351fef37..dbd84ef0d 100644 --- a/docs/features/gcode_scripts.rst +++ b/docs/features/gcode_scripts.rst @@ -184,7 +184,7 @@ More nifty pause and resume ........................... If you do not have a multi-extruder setup, aren't printing from SD and have "Log position on pause" enabled under -Settings > Serial > Advanced options, the following ``afterPrintPaused`` and +Settings > Serial Connection > Behaviour > Pausing, the following ``afterPrintPaused`` and ``beforePrintResumed`` scripts might be interesting for you. With something like them in place, OctoPrint will move your print head out of the way to a safe rest position (here ``G1 X0 Y0``, you might want to adjust that) on pause and move it back to the persisted pause position on resume, making sure to also reset the extruder and feedrate. From 5b5163c8127049cd51d250900f25a748b6d84bc1 Mon Sep 17 00:00:00 2001 From: Tobias Wellnitz Date: Sun, 15 Nov 2020 00:17:56 +0100 Subject: [PATCH 20/26] update gcode_scripts.rst with correct UI path for print & resume Small update to the docs to be coherent with the octoprint Settings UI for the `Log position on pause` option. --- docs/features/gcode_scripts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/gcode_scripts.rst b/docs/features/gcode_scripts.rst index 6351fef37..dbd84ef0d 100644 --- a/docs/features/gcode_scripts.rst +++ b/docs/features/gcode_scripts.rst @@ -184,7 +184,7 @@ More nifty pause and resume ........................... If you do not have a multi-extruder setup, aren't printing from SD and have "Log position on pause" enabled under -Settings > Serial > Advanced options, the following ``afterPrintPaused`` and +Settings > Serial Connection > Behaviour > Pausing, the following ``afterPrintPaused`` and ``beforePrintResumed`` scripts might be interesting for you. With something like them in place, OctoPrint will move your print head out of the way to a safe rest position (here ``G1 X0 Y0``, you might want to adjust that) on pause and move it back to the persisted pause position on resume, making sure to also reset the extruder and feedrate. From 89f3edcb27648805b34bcfacfb075f3478bddefc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 16 Nov 2020 17:55:49 +0100 Subject: [PATCH 21/26] =?UTF-8?q?=E2=9C=A8=20New=20util=20API=20command:?= =?UTF-8?q?=20address?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows to test a provided or the client's address whether it is a LAN address, and if so returns the subnet address in CIDR notation. --- docs/api/util.rst | 92 ++++++++++++++- src/octoprint/server/api/__init__.py | 34 ++++++ src/octoprint/static/js/app/client/util.js | 9 ++ src/octoprint/util/net.py | 130 ++++++++++++--------- 4 files changed, 206 insertions(+), 59 deletions(-) diff --git a/docs/api/util.rst b/docs/api/util.rst index 3dde7f6ca..bb1271240 100644 --- a/docs/api/util.rst +++ b/docs/api/util.rst @@ -6,8 +6,8 @@ Util .. _sec-api-util-test: -Test paths or URLs -================== +Various tests +============= .. http:post:: /api/util/test @@ -107,6 +107,15 @@ Test paths or URLs The ``resolution`` command returns :http:statuscode:`200` with a :ref:`Resolution test result ` when the test could be performed. The status code of the response does NOT reflect the test result! + address + Tests whether a provided address (or, if none is provided, the client's remote address) is + a LAN address and if so returns the subnet specifier in CIDR format. + + * ``address``: the address to test. If not set, the client's remote address will be used + + The ``address`` command return :http:statuscode:`200` with a :ref:`Address test result ` + when the test could be performed. The status code of the response does NOT reflect the test result! + Requires the ``ADMIN`` permission. **Example 1** @@ -320,6 +329,58 @@ Test paths or URLs "result": true } + **Example 8** + + Test whether the client's address is a LAN address. + + .. sourcecode:: http + + POST /api/util/test HTTP/1.1 + Host: example.com + X-Api-Key: abcdef... + Content-Type: application/json + + { + "command": "address" + } + + .. sourcecode:: http + + HTTP/1.1 200 OK + Content-Type: application/json + + { + "address": "192.168.1.3", + "is_lan_address": true, + "subnet": "192.168.0.0/16" + } + + **Example 9** + + Test whether ``8.8.8.8`` is a LAN address. + + .. sourcecode:: http + + POST /api/util/test HTTP/1.1 + Host: example.com + X-Api-Key: abcdef... + Content-Type: application/json + + { + "command": "address", + "address": "8.8.8.8" + } + + .. sourcecode:: http + + HTTP/1.1 200 OK + Content-Type: application/json + + { + "address": "8.8.8.8", + "is_lan_address": false + } + :json command: The command to execute, currently either ``path`` or ``url`` :json path: ``path`` command only: the path to test :json check_type: ``path`` command only: the type of path to test for, either ``file`` or ``dir`` @@ -337,6 +398,7 @@ Test paths or URLs :json port: ``server`` command only: the port to test :json protocol: ``server`` command only: the protocol to test :json name: ``resolution`` command only: the host name to test + :json address: ``address`` command only: the address to test :statuscode 200: No error occurred .. _sec-api-util-datamodel: @@ -466,3 +528,29 @@ Resolution test result - 1 - bool - ``true`` if the check passed. + +.. _sec-api-util-datamodel-addresstestresult: + +Address test result +------------------- + +.. list-table:: + :widths: 15 5 10 30 + :header-rows: 1 + + * - Name + - Multiplicity + - Type + - Description + * - ``address`` + - 1 + - string + - The address that was tested. + * - ``is_lan_address`` + - 1 + - bool + - ``true`` if the address is a LAN address, false otherwise. + * - ``subnet`` + - 0..1 + - string + - The detected subnet, if address is a LAN address. diff --git a/src/octoprint/server/api/__init__.py b/src/octoprint/server/api/__init__.py index 5499a0463..493af4a9d 100644 --- a/src/octoprint/server/api/__init__.py +++ b/src/octoprint/server/api/__init__.py @@ -398,6 +398,7 @@ def utilTest(): "url": ["url"], "server": ["host", "port"], "resolution": ["name"], + "address": [], } command, data, response = get_json_command_from_request(request, valid_commands) @@ -412,6 +413,8 @@ def utilTest(): return _test_server(data) elif command == "resolution": return _test_resolution(data) + elif command == "address": + return _test_address(data) def _test_path(data): @@ -743,3 +746,34 @@ def _test_resolution(data): result = {"name": name, "result": resolvable} return jsonify(**result) + + +def _test_address(data): + import netaddr + + from octoprint.util.net import get_lan_ranges, sanitize_address + + remote_addr = data.get("address") + if not remote_addr: + remote_addr = get_remote_address(request) + + remote_addr = sanitize_address(remote_addr) + ip = netaddr.IPAddress(remote_addr) + + lan_subnets = get_lan_ranges() + + detected_subnet = None + for subnet in lan_subnets: + if ip in subnet: + detected_subnet = subnet + break + + result = { + "is_lan_address": detected_subnet is not None, + "address": remote_addr, + } + + if detected_subnet is not None: + result["subnet"] = str(detected_subnet) + + return jsonify(**result) diff --git a/src/octoprint/static/js/app/client/util.js b/src/octoprint/static/js/app/client/util.js index b5dfcd555..b338b8cf4 100644 --- a/src/octoprint/static/js/app/client/util.js +++ b/src/octoprint/static/js/app/client/util.js @@ -64,6 +64,15 @@ return this.test("resolution", data, opts); }; + OctoPrintUtilClient.prototype.testAddress = function (address, additional, opts) { + additional = additional || {}; + + var data = $.extend({}, additional); + data.address = address; + + return this.test("address", data, opts); + }; + OctoPrintClient.registerComponent("util", OctoPrintUtilClient); return OctoPrintUtilClient; }); diff --git a/src/octoprint/util/net.py b/src/octoprint/util/net.py index 70f81b3d0..a89582ecb 100644 --- a/src/octoprint/util/net.py +++ b/src/octoprint/util/net.py @@ -53,71 +53,81 @@ else: HAS_V6 = False +def get_lan_ranges(additional_private=None): + logger = logging.getLogger(__name__) + + if additional_private is None or not isinstance(additional_private, (list, tuple)): + additional_private = [] + + subnets = list(netaddr.ip.IPV4_PRIVATE) + [ + netaddr.ip.IPV4_LOOPBACK, + netaddr.ip.IPV4_LINK_LOCAL, + ] + if HAS_V6: + subnets += list(netaddr.ip.IPV6_PRIVATE) + [ + netaddr.IPNetwork(netaddr.ip.IPV6_LOOPBACK), + netaddr.ip.IPV6_LINK_LOCAL, + ] + + for additional in additional_private: + try: + subnets.append(netaddr.IPNetwork(additional)) + except Exception: + if logger.isEnabledFor(logging.DEBUG): + logger.exception( + "Error while trying to add additional private network to local subnets: {}".format( + additional + ) + ) + + def to_ipnetwork(address): + prefix = address["netmask"] + if "/" in prefix: + # v6 notation in netifaces output, e.g. "ffff:ffff:ffff:ffff::/64" + _, prefix = prefix.split("/") + + addr = strip_interface_tag(address["addr"]) + return netaddr.IPNetwork("{}/{}".format(addr, prefix)) + + for interface in netifaces.interfaces(): + addrs = netifaces.ifaddresses(interface) + for v4 in addrs.get(socket.AF_INET, ()): + try: + subnets.append(to_ipnetwork(v4)) + except Exception: + if logger.isEnabledFor(logging.DEBUG): + logger.exception( + "Error while trying to add v4 network to local subnets: {!r}".format( + v4 + ) + ) + + if HAS_V6: + for v6 in addrs.get(socket.AF_INET6, ()): + try: + subnets.append(to_ipnetwork(v6)) + except Exception: + if logger.isEnabledFor(logging.DEBUG): + logger.exception( + "Error while trying to add v6 network to local subnets: {!r}".format( + v6 + ) + ) + + return subnets + + def is_lan_address(address, additional_private=None): if not address: # no address is LAN address return True try: - address = unmap_v4_as_v6(address) - address = strip_interface_tag(address) - + address = sanitize_address(address) ip = netaddr.IPAddress(address) - if ip.is_private() or ip.is_loopback(): - return True + subnets = get_lan_ranges(additional_private=additional_private) - if additional_private is None or not isinstance( - additional_private, (list, tuple) - ): - additional_private = [] - - subnets = netaddr.IPSet() - for additional in additional_private: - try: - subnets.add(netaddr.IPNetwork(additional)) - except Exception: - if logging.getLogger(__name__).isEnabledFor(logging.DEBUG): - logging.getLogger(__name__).exception( - "Error while trying to add additional private network to local subnets: {}".format( - additional - ) - ) - - def to_ipnetwork(address): - prefix = address["netmask"] - if "/" in prefix: - # v6 notation in netifaces output, e.g. "ffff:ffff:ffff:ffff::/64" - _, prefix = prefix.split("/") - - addr = strip_interface_tag(address["addr"]) - return netaddr.IPNetwork("{}/{}".format(addr, prefix)) - - for interface in netifaces.interfaces(): - addrs = netifaces.ifaddresses(interface) - for v4 in addrs.get(socket.AF_INET, ()): - try: - subnets.add(to_ipnetwork(v4)) - except Exception: - if logging.getLogger(__name__).isEnabledFor(logging.DEBUG): - logging.getLogger(__name__).exception( - "Error while trying to add v4 network to local subnets: {!r}".format( - v4 - ) - ) - - if HAS_V6: - for v6 in addrs.get(socket.AF_INET6, ()): - try: - subnets.add(to_ipnetwork(v6)) - except Exception: - if logging.getLogger(__name__).isEnabledFor(logging.DEBUG): - logging.getLogger(__name__).exception( - "Error while trying to add v6 network to local subnets: {!r}".format( - v6 - ) - ) - - if ip in subnets: + if any(map(lambda subnet: ip in subnet, subnets)): return True return False @@ -132,6 +142,12 @@ def is_lan_address(address, additional_private=None): return True +def sanitize_address(address): + address = unmap_v4_as_v6(address) + address = strip_interface_tag(address) + return address + + def strip_interface_tag(address): if "%" in address: # interface comment, e.g. "fe80::457f:bbee:d579:1063%wlan0" From e7e731800b9f5221ad08d3fd50bf488f94c2c841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 16 Nov 2020 18:07:34 +0100 Subject: [PATCH 22/26] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Prefer=20configured?= =?UTF-8?q?=20addresses=20over=20standard=20addresses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That way, if OctoPrint is running on a device with network `192.168.1.0/24` and we query with an address from that range, we'll actually get that subnet address back instead of the more general `192.168.0.0/16`. --- src/octoprint/util/net.py | 44 ++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/src/octoprint/util/net.py b/src/octoprint/util/net.py index a89582ecb..82c05bd28 100644 --- a/src/octoprint/util/net.py +++ b/src/octoprint/util/net.py @@ -59,27 +59,6 @@ def get_lan_ranges(additional_private=None): if additional_private is None or not isinstance(additional_private, (list, tuple)): additional_private = [] - subnets = list(netaddr.ip.IPV4_PRIVATE) + [ - netaddr.ip.IPV4_LOOPBACK, - netaddr.ip.IPV4_LINK_LOCAL, - ] - if HAS_V6: - subnets += list(netaddr.ip.IPV6_PRIVATE) + [ - netaddr.IPNetwork(netaddr.ip.IPV6_LOOPBACK), - netaddr.ip.IPV6_LINK_LOCAL, - ] - - for additional in additional_private: - try: - subnets.append(netaddr.IPNetwork(additional)) - except Exception: - if logger.isEnabledFor(logging.DEBUG): - logger.exception( - "Error while trying to add additional private network to local subnets: {}".format( - additional - ) - ) - def to_ipnetwork(address): prefix = address["netmask"] if "/" in prefix: @@ -89,6 +68,8 @@ def get_lan_ranges(additional_private=None): addr = strip_interface_tag(address["addr"]) return netaddr.IPNetwork("{}/{}".format(addr, prefix)) + subnets = [] + for interface in netifaces.interfaces(): addrs = netifaces.ifaddresses(interface) for v4 in addrs.get(socket.AF_INET, ()): @@ -114,6 +95,27 @@ def get_lan_ranges(additional_private=None): ) ) + for additional in additional_private: + try: + subnets.append(netaddr.IPNetwork(additional)) + except Exception: + if logger.isEnabledFor(logging.DEBUG): + logger.exception( + "Error while trying to add additional private network to local subnets: {}".format( + additional + ) + ) + + subnets += list(netaddr.ip.IPV4_PRIVATE) + [ + netaddr.ip.IPV4_LOOPBACK, + netaddr.ip.IPV4_LINK_LOCAL, + ] + if HAS_V6: + subnets += list(netaddr.ip.IPV6_PRIVATE) + [ + netaddr.IPNetwork(netaddr.ip.IPV6_LOOPBACK), + netaddr.ip.IPV6_LINK_LOCAL, + ] + return subnets From 0b17f1e8916c6c3c90615c38dbc49f6e6a6d0404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 16 Nov 2020 18:45:52 +0100 Subject: [PATCH 23/26] =?UTF-8?q?=F0=9F=9A=B8=20Search=20through=20file's?= =?UTF-8?q?=20name=20&=20display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implements #3819 --- src/octoprint/static/js/app/viewmodels/files.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/octoprint/static/js/app/viewmodels/files.js b/src/octoprint/static/js/app/viewmodels/files.js index 08704c9c1..7349e49cb 100644 --- a/src/octoprint/static/js/app/viewmodels/files.js +++ b/src/octoprint/static/js/app/viewmodels/files.js @@ -1130,7 +1130,10 @@ $(function () { return false; } - var success = entry["name"].toLocaleLowerCase().indexOf(query) > -1; + var success = + (entry["display"] && + entry["display"].toLocaleLowerCase().indexOf(query) > -1) || + entry["name"].toLocaleLowerCase().indexOf(query) > -1; if (!success && entry["type"] === "folder" && entry["children"]) { return _.any(entry["children"], recursiveSearch); } From f2ed1ebc74e6efb10fabcbbc1dda3880e33de678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 17 Nov 2020 14:11:59 +0100 Subject: [PATCH 24/26] =?UTF-8?q?=F0=9F=A5=85=20Prevent=20assignment=20of?= =?UTF-8?q?=20dangerous=20permissions=20to=20guests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we don't, chances are high someone will happily assign the admin group as a subgroup to the guest group and then publicly expose their instance on the internet, thus completely defeating the purpose of making access control mandatory. We'll also automatically sanitize such configurations now but log a warning. I don't see a better way to protect the innocent, sorry. --- src/octoprint/access/groups.py | 40 +++++++++++++++++-- src/octoprint/access/permissions.py | 4 ++ .../static/js/app/viewmodels/access.js | 33 ++++++++++++++- .../accesscontrol/permission_list.jinja2 | 8 ++-- .../accesscontrol/subgroup_list.jinja2 | 8 ++-- 5 files changed, 82 insertions(+), 11 deletions(-) diff --git a/src/octoprint/access/groups.py b/src/octoprint/access/groups.py index e121217f6..beee5faf5 100644 --- a/src/octoprint/access/groups.py +++ b/src/octoprint/access/groups.py @@ -288,7 +288,7 @@ class FilebasedGroupManager(GroupManager): ): permissions.append(permission) - subgroups = attributes.get("subgroups", []) + subgroups = self._to_groups(*attributes.get("subgroups", [])) group = Group( key, @@ -301,6 +301,16 @@ class FilebasedGroupManager(GroupManager): changeable=changeable, toggleable=toggleable, ) + + if key == GUEST_GROUP and ( + len(group.permissions) != len(permissions) + or len(group.subgroups) != len(subgroups) + ): + self._logger.warning( + "Dangerous permissions and/or subgroups stripped from guests group" + ) + self._dirty = True + self._groups[key] = group for group in self._groups.values(): @@ -532,6 +542,16 @@ class Group(object): changeable=True, toggleable=True, ): + if permissions is None: + permissions = [] + if subgroups is None: + subgroups = [] + + if key == GUEST_GROUP: + # guests may not have any dangerous permissions + permissions = list(filter(lambda p: not p.dangerous, permissions)) + subgroups = list(filter(lambda g: not g.dangerous, subgroups)) + self._key = key self._name = name self._description = description @@ -556,6 +576,7 @@ class Group(object): "removable": self._removable, "changeable": self._changeable, "toggleable": self._toggleable, + "dangerous": self.dangerous, } @property @@ -580,6 +601,12 @@ class Group(object): def is_toggleable(self): return self._toggleable + @property + def dangerous(self): + return any(map(lambda p: p.dangerous, self._permissions)) or any( + map(lambda g: g.dangerous, self._subgroups) + ) + def add_permissions_to_group(self, permissions): """Adds a list of permissions to a group""" if not self.is_changeable(): @@ -591,6 +618,10 @@ class Group(object): assert all(map(lambda p: isinstance(p, OctoPrintPermission), permissions)) + if self.key == GUEST_GROUP: + # don't allow dangerous permissions on the guests group + permissions = list(filter(lambda p: not p.dangerous, permissions)) + dirty = False for permission in permissions: if permissions not in self.permissions: @@ -629,6 +660,10 @@ class Group(object): assert all(map(lambda g: isinstance(g, Group), subgroups)) + if self.key == GUEST_GROUP: + # don't allow dangerous subgroups on the guests group + subgroups = list(filter(lambda g: not g.dangerous, subgroups)) + dirty = False for group in subgroups: if group.is_toggleable() and group not in self._subgroups: @@ -639,7 +674,6 @@ class Group(object): def remove_subgroups_from_group(self, subgroups): """Removes a list of subgroups from a group""" - """Adds a list of subgroups to a group""" if not self.is_changeable(): raise GroupCantBeChanged(self.key) @@ -677,7 +711,7 @@ class Group(object): @property def subgroups(self): - return filter(lambda g: g is not None, self._subgroups) + return list(filter(lambda g: g is not None, self._subgroups)) @property def needs(self): diff --git a/src/octoprint/access/permissions.py b/src/octoprint/access/permissions.py index b7ea6b169..601e1e365 100644 --- a/src/octoprint/access/permissions.py +++ b/src/octoprint/access/permissions.py @@ -69,6 +69,10 @@ class OctoPrintPermission(Permission): def key(self, value): self._key = value + @property + def dangerous(self): + return self._dangerous + @property def default_groups(self): return self._default_groups diff --git a/src/octoprint/static/js/app/viewmodels/access.js b/src/octoprint/static/js/app/viewmodels/access.js index f3596438a..fb3cdd51d 100644 --- a/src/octoprint/static/js/app/viewmodels/access.js +++ b/src/octoprint/static/js/app/viewmodels/access.js @@ -4,6 +4,9 @@ $(function () { access.loginState = parameters[0]; + var GROUP_ADMINS = "admins"; + var GROUP_GUESTS = "guests"; + //~~ Users ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.users = (function () { @@ -43,6 +46,9 @@ $(function () { }), apikey: ko.observable(undefined), active: ko.observable(undefined), + permissionSelectable: function (permission) { + return true; + }, permissionSelected: function (permission) { var index = self.editor.permissions().indexOf(permission); return index >= 0; @@ -86,7 +92,13 @@ $(function () { self.editor.password().trim() && !self.editor.passwordMismatch())) ); - }) + }), + dangerRestricted: function () { + return false; + }, + dangerRestrictedText: gettext( + "This user may not have dangerous permissions." + ) }; self.userEditorDialog = undefined; @@ -395,6 +407,10 @@ $(function () { permissions: ko.observableArray([]), subgroups: ko.observableArray([]), default: ko.observable(false), + permissionSelectable: function (permission) { + // guests may not get dangerous permissions + return self.editor.key() !== GROUP_GUESTS || !permission.dangerous; + }, permissionSelected: function (permission) { var index = self.editor.permissions().indexOf(permission); return index >= 0; @@ -409,6 +425,13 @@ $(function () { } self.editor.permissions(permissions); }, + subgroupSelectable: function (subgroup) { + // guests may not get dangerous subgroups + return ( + self.editor.key() !== subgroup.key && + (self.editor.key() !== GROUP_GUESTS || !subgroup.dangerous) + ); + }, subgroupSelected: function (subgroup) { var index = self.editor.subgroups().indexOf(subgroup); return index >= 0; @@ -431,7 +454,13 @@ $(function () { confirm: undefined, valid: ko.pureComputed(function () { return self.editor.name() && self.editor.name().trim(); - }) + }), + dangerRestricted: function () { + return self.editor.key() === GROUP_GUESTS; + }, + dangerRestrictedText: gettext( + "This group may not have dangerous permissions or subgroups." + ) }; self.groupEditorDialog = undefined; diff --git a/src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2 b/src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2 index 377d99d5f..d90d6ef41 100644 --- a/src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2 +++ b/src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2 @@ -1,9 +1,11 @@ +

+ - - + diff --git a/src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2 b/src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2 index 0e8244f0d..a7a540c1d 100644 --- a/src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2 +++ b/src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2 @@ -1,9 +1,11 @@ +

+
- {{ _('Plugin') }} {{ _('Warning') }}
+
+ {{ _('Plugin') }} {{ _('Dangerous') }}
- - + From 9f5781eff4d8b21e5fa6166fab8f4c1e4429710e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 17 Nov 2020 14:34:53 +0100 Subject: [PATCH 25/26] =?UTF-8?q?=F0=9F=94=96=20Preparing=20release=20of?= =?UTF-8?q?=201.5.0rc2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUPPORTERS.md | 3 +- .../plugins/errortracking/__init__.py | 4 +- .../translations/de/LC_MESSAGES/messages.mo | Bin 190773 -> 191446 bytes .../translations/de/LC_MESSAGES/messages.po | 215 ++++++++++-------- translations/de/LC_MESSAGES/messages.mo | Bin 190773 -> 191446 bytes translations/de/LC_MESSAGES/messages.po | 215 ++++++++++-------- translations/messages.pot | 208 +++++++++-------- 7 files changed, 368 insertions(+), 277 deletions(-) diff --git a/SUPPORTERS.md b/SUPPORTERS.md index cf569f1ac..a4aa01329 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -36,6 +36,7 @@ thanks to everyone who contributed! * Kaile Riser * Kale Stedman * Kazuhiro Ogura + * Kelly C McNiece * Kenneth Jiang * Kurt Wubbels * Kyle Menigoz @@ -67,4 +68,4 @@ thanks to everyone who contributed! * Sven Mueller * Ulrich Kempken -and 2084 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! +and 2107 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! diff --git a/src/octoprint/plugins/errortracking/__init__.py b/src/octoprint/plugins/errortracking/__init__.py index d43b927fa..3587afc27 100644 --- a/src/octoprint/plugins/errortracking/__init__.py +++ b/src/octoprint/plugins/errortracking/__init__.py @@ -21,10 +21,10 @@ from octoprint.util.version import ( ) SENTRY_URL_SERVER = ( - "https://52c1a8315c8643ef8de8759cb140ddb9@o118517.ingest.sentry.io/1373987" + "https://5604af9afe444b44961b62f2f4e35395@o118517.ingest.sentry.io/1373987" ) SENTRY_URL_COREUI = ( - "https://a46f468ba7eb4ca2a046e6a78b208ac4@o118517.ingest.sentry.io/1374096" + "https://d8119fba01a0429185ead6dae19ca45d@o118517.ingest.sentry.io/1374096" ) SETTINGS_DEFAULTS = { diff --git a/src/octoprint/translations/de/LC_MESSAGES/messages.mo b/src/octoprint/translations/de/LC_MESSAGES/messages.mo index 1f7f515ff609de33836014bfc55b284f2f17f0d8..af0dc976929fe929b277d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--- 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: 2020-11-10 09:51+0100\n" -"PO-Revision-Date: 2020-11-10 10:56+0100\n" +"POT-Creation-Date: 2020-11-17 14:24+0100\n" +"PO-Revision-Date: 2020-11-17 14:27+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" @@ -19,87 +19,87 @@ msgstr "" "Generated-By: Babel 2.8.0\n" "X-Generator: Poedit 2.0.4\n" -#: src/octoprint/access/permissions.py:279 +#: src/octoprint/access/permissions.py:283 msgid "Admin is allowed to do everything" msgstr "Admins dürfen alles tun" -#: src/octoprint/access/permissions.py:287 +#: src/octoprint/access/permissions.py:291 msgid "Allows to gather basic status information, e.g. job progress, printer state, temperatures, ... Mandatory for the default UI to work" msgstr "Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion des Userinterfaces" -#: src/octoprint/access/permissions.py:298 +#: src/octoprint/access/permissions.py:302 msgid "Allows to connect to and disconnect from a printer" msgstr "Erlaubt Verbindung und Verbindungstrennung zum Drucker" -#: src/octoprint/access/permissions.py:305 +#: src/octoprint/access/permissions.py:309 msgid "Allows to watch the webcam stream" msgstr "Erlaubt Einbettung des Webcamstreams" -#: src/octoprint/access/permissions.py:312 +#: src/octoprint/access/permissions.py:316 msgid "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system, and to retrieve system and usage information" msgstr "Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, System herunterfahren oder neu starten, und die Abfrage von Systeminformation" -#: src/octoprint/access/permissions.py:322 +#: src/octoprint/access/permissions.py:326 msgid "Allows to retrieve a list of all uploaded files and folders, includingtheir metadata (e.g. date, file size, analysis results, ...)" msgstr "Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, Analyseergebnisse, …)" -#: src/octoprint/access/permissions.py:331 +#: src/octoprint/access/permissions.py:335 msgid "Allows users to upload new files, create new folders and copy existing ones. If the File Delete permission is also set, File Upload also allows moving files and folders." msgstr "Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:341 +#: src/octoprint/access/permissions.py:345 msgid "Allows users to download files. The GCODE viewer is affected by this as well." msgstr "Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses Recht." -#: src/octoprint/access/permissions.py:350 +#: src/octoprint/access/permissions.py:354 msgid "Allows users to delete files and folders. If the File Upload permission is also set, File Delete also allows moving files and folders." msgstr "Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:359 +#: src/octoprint/access/permissions.py:363 msgid "Allows to select a file for printing" msgstr "Erlaubt die Auswahl einer Datei zum Drucken" -#: src/octoprint/access/permissions.py:366 +#: src/octoprint/access/permissions.py:370 msgid "Allows to start, pause and cancel a print job" msgstr "Erlaubt das starten, pausieren und abbrechen eines Druckauftrags" -#: src/octoprint/access/permissions.py:373 +#: src/octoprint/access/permissions.py:377 msgid "Allows access to the GCODE viewer if the \"File Download\"permission is also set." msgstr "Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" Berechtigung ebenfalls gesetzt ist." -#: src/octoprint/access/permissions.py:383 +#: src/octoprint/access/permissions.py:387 msgid "Allows to watch the terminal tab but not to send commands to the printer from it" msgstr "Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen zum Drucker ist nicht gestattet" -#: src/octoprint/access/permissions.py:393 +#: src/octoprint/access/permissions.py:397 msgid "Allows to control of the printer by using the temperature controls,the control tab or sending commands through the terminal." msgstr "Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder Senden individueller Befehle über das Terminal." -#: src/octoprint/access/permissions.py:403 +#: src/octoprint/access/permissions.py:407 msgid "Allows to slice files" msgstr "Erlaubt das Slicen von Dateien" -#: src/octoprint/access/permissions.py:410 +#: src/octoprint/access/permissions.py:414 msgid "Allows to list timelapse videos" msgstr "Erlaubt die Auflistung von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:416 +#: src/octoprint/access/permissions.py:420 msgid "Allows to download timelapse videos" msgstr "Erlaubt das Herunterladen von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:422 +#: src/octoprint/access/permissions.py:426 msgid "Allows to delete timelapse videos and unrendered timelapses" msgstr "Erlaubt das Löschen von Zeitrafferaufnahmen und ungerenderten Zeitraffern" -#: src/octoprint/access/permissions.py:428 +#: src/octoprint/access/permissions.py:432 msgid "Allows to change the timelapse settings and delete or render unrendered timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and \"Timelapse Download\" permissions" msgstr "Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder Rendern unprozessierter Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:441 +#: src/octoprint/access/permissions.py:445 msgid "Allows to read non sensitive settings. Mandatory for the default UI to work." msgstr "Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." -#: src/octoprint/access/permissions.py:450 +#: src/octoprint/access/permissions.py:454 msgid "Allows to manage settings and also to read sensitive settings" msgstr "Erlaubt vollen Zugriff auf alle Einstellungen" @@ -531,7 +531,7 @@ msgstr "Sicherung & Wiederherstellung" msgid "Restore Backup?" msgstr "Sicherung wiederherstellen?" -#: src/octoprint/plugins/backup/__init__.py:1318 +#: src/octoprint/plugins/backup/__init__.py:1320 msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data." msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen." @@ -684,8 +684,8 @@ msgid "Size" msgstr "Größe" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 -#: src/octoprint/static/js/app/viewmodels/access.js:319 -#: src/octoprint/static/js/app/viewmodels/access.js:636 +#: src/octoprint/static/js/app/viewmodels/access.js:331 +#: src/octoprint/static/js/app/viewmodels/access.js:665 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:103 msgid "Delete" msgstr "Löschen" @@ -1245,7 +1245,7 @@ msgstr "Filament" #: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:697 #: src/octoprint/static/js/app/viewmodels/control.js:85 #: src/octoprint/static/js/app/viewmodels/files.js:959 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:351 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:354 #: src/octoprint/static/js/app/viewmodels/temperature.js:146 #: src/octoprint/static/js/app/viewmodels/temperature.js:157 #: src/octoprint/static/js/app/viewmodels/temperature.js:377 @@ -1388,7 +1388,6 @@ msgstr "\n" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 #: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4 msgid "Warning" msgstr "Warnung" @@ -3372,8 +3371,8 @@ msgid "off" msgstr "Aus" #: src/octoprint/static/js/app/helpers.js:792 -#: src/octoprint/static/js/app/viewmodels/access.js:314 -#: src/octoprint/static/js/app/viewmodels/access.js:631 +#: src/octoprint/static/js/app/viewmodels/access.js:326 +#: src/octoprint/static/js/app/viewmodels/access.js:660 #: src/octoprint/static/js/app/viewmodels/connection.js:157 msgid "Are you sure?" msgstr "Bist Du sicher?" @@ -3456,40 +3455,48 @@ msgstr "Beende" msgid "Loading OctoPrint's UI, please wait..." msgstr "Lade OctoPrints Userinterface, bitte warten..." -#: src/octoprint/static/js/app/viewmodels/access.js:102 +#: src/octoprint/static/js/app/viewmodels/access.js:99 +msgid "This user may not have dangerous permissions." +msgstr "Dieser Nutzer darf keine gefährlichen Berechtigungen erhalten." + +#: src/octoprint/static/js/app/viewmodels/access.js:114 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:48 msgid "Add user" msgstr "Nutzer hinzufügen" -#: src/octoprint/static/js/app/viewmodels/access.js:112 +#: src/octoprint/static/js/app/viewmodels/access.js:124 #, python-format msgid "Edit user \"%(name)s\"" msgstr "Editiere Nutzer \"%(name)s\"" -#: src/octoprint/static/js/app/viewmodels/access.js:304 +#: src/octoprint/static/js/app/viewmodels/access.js:316 msgid "Not possible" msgstr "Nicht möglich" -#: src/octoprint/static/js/app/viewmodels/access.js:305 +#: src/octoprint/static/js/app/viewmodels/access.js:317 msgid "You may not delete your own account." msgstr "Du kannst deinen eigenen Account nicht löschen." -#: src/octoprint/static/js/app/viewmodels/access.js:316 +#: src/octoprint/static/js/app/viewmodels/access.js:328 #, python-format msgid "You are about to delete the user \"%(name)s\"." msgstr "Du bist im Begriff, den Nutzer \"%(name)s\" zu löschen." -#: src/octoprint/static/js/app/viewmodels/access.js:490 +#: src/octoprint/static/js/app/viewmodels/access.js:461 +msgid "This group may not have dangerous permissions or subgroups." +msgstr "Diese Gruppe darf keine gefährlichen Berechtigungen oder Untergruppern erhalten." + +#: src/octoprint/static/js/app/viewmodels/access.js:519 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:47 msgid "Add group" msgstr "Gruppe hinzufügen" -#: src/octoprint/static/js/app/viewmodels/access.js:502 +#: src/octoprint/static/js/app/viewmodels/access.js:531 #, python-format msgid "Edit group \"%(name)s\"" msgstr "Gruppe \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/access.js:633 +#: src/octoprint/static/js/app/viewmodels/access.js:662 #, python-format msgid "You are about to delete the group \"%(name)s\"." msgstr "Du bist im Begriff die Gruppe\"%(name)s\" zu löschen." @@ -3551,22 +3558,22 @@ msgid "You are about to delete the folder \"%(folder)s\" which still contains fi msgstr "Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch Dateien und/oder Unterverzeichnisse enthält." #: src/octoprint/static/js/app/viewmodels/files.js:624 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:435 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:439 msgid "This will start a new print job. Please check that the print bed is clear." msgstr "Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett frei ist." #: src/octoprint/static/js/app/viewmodels/files.js:627 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:438 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:442 msgid "Do you want to start the print job now?" msgstr "Möchtest du den Druckauftrag jetzt starten?" #: src/octoprint/static/js/app/viewmodels/files.js:628 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:439 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:443 msgid "No" msgstr "Nein" #: src/octoprint/static/js/app/viewmodels/files.js:629 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:440 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:444 msgid "Yes" msgstr "Ja" @@ -3843,98 +3850,98 @@ msgstr "Druckerprofil hinzufügen" msgid "Edit Printer Profile \"%(name)s\"" msgstr "Druckerprofile \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:91 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 msgid "Restarts the print job from the beginning" msgstr "Startet den Druckjob von vorne" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:97 msgid "Starts the print job" msgstr "Startet den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:95 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:98 msgid "Resumes the print job" msgstr "Setzt den Druckjob fort" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:96 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:99 msgid "Pauses the print job" msgstr "Pausiert den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:134 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:137 msgid "Still stabilizing..." msgstr "Noch zu ungenau..." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:154 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:157 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:159 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 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:164 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:167 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:169 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:172 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:174 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:177 msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)" msgstr "Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:179 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:182 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:215 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:218 msgid "Continue" msgstr "Fortsetzen" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:216 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:219 #: src/octoprint/templates/sidebar/state.jinja2:31 msgid "Pause" msgstr "Pause" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:226 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:229 #: src/octoprint/templates/tabs/timelapse.jinja2:16 msgid "On Z Change" msgstr "Bei Ebenenwechsel" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:229 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:232 #: src/octoprint/templates/tabs/timelapse.jinja2:15 msgid "Timed" msgstr "Nach Zeit" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:233 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:236 #: src/octoprint/templates/tabs/timelapse.jinja2:27 #: src/octoprint/templates/tabs/timelapse.jinja2:38 #: src/octoprint/templates/tabs/timelapse.jinja2:58 msgid "sec" msgstr "Sek" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:396 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:400 #, python-format msgid "

%(ratio)d%% of transmitted lines have triggered resend requests. The communication with the printer is unreliable and this will cause print artefacts and failures.

Please see this FAQ entry on tips on how to solve this.

" msgstr "

%(ratio)d%% aller übertragenen Zeilen haben einen Resend Request verursacht. Die Kommunikation mit dem Drucker ist nicht zuverlässig und das wird Druckartefakte und -fehler verursachen.

Bitte konsultiere diesen FAQ Eintrag für Tipps, was man dagegen machen kann.

" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:408 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:412 msgid "Critical resend ratio!" msgstr "Kritisches Resendverhältnis!" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:423 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:427 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:467 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:471 msgid "This will cancel your print." msgstr "Das wird deinen Druck abbrechen." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:468 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:472 msgid "No, continue the print" msgstr "Nein, mit dem Druck fortfahren" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:469 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:473 msgid "Yes, cancel the print" msgstr "Ja, den Druck abbrechen" @@ -3952,85 +3959,85 @@ msgstr "Weiß" msgid "Autodetect from browser" msgstr "Automatisch vom Browser erkennen" -#: src/octoprint/static/js/app/viewmodels/settings.js:426 +#: src/octoprint/static/js/app/viewmodels/settings.js:427 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:453 +#: src/octoprint/static/js/app/viewmodels/settings.js:454 msgid "Stream test" msgstr "Stream Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:471 +#: src/octoprint/static/js/app/viewmodels/settings.js:472 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:474 +#: src/octoprint/static/js/app/viewmodels/settings.js:475 msgid "Snapshot test failed" msgstr "Snapshot Test fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/settings.js:494 +#: src/octoprint/static/js/app/viewmodels/settings.js:495 #, python-format msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: %(content_type)s. Please double check that the URL is returning static images, not multipart data or videos." msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild aus: %(content_type)s. Bitte überprüfe, dass die URL einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." -#: src/octoprint/static/js/app/viewmodels/settings.js:523 +#: src/octoprint/static/js/app/viewmodels/settings.js:524 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:527 +#: src/octoprint/static/js/app/viewmodels/settings.js:528 msgid "Snapshot test" msgstr "Snapshot Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:569 +#: src/octoprint/static/js/app/viewmodels/settings.js:570 msgid "The path doesn't exist" msgstr "Der Pfad existiert nicht" -#: src/octoprint/static/js/app/viewmodels/settings.js:571 +#: src/octoprint/static/js/app/viewmodels/settings.js:572 msgid "The path is not a file" msgstr "Der Pfad ist keine Datei" -#: src/octoprint/static/js/app/viewmodels/settings.js:574 +#: src/octoprint/static/js/app/viewmodels/settings.js:575 msgid "The path is not an executable" msgstr "Der Pfad ist nicht ausführbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:578 -#: src/octoprint/static/js/app/viewmodels/settings.js:679 +#: src/octoprint/static/js/app/viewmodels/settings.js:579 +#: src/octoprint/static/js/app/viewmodels/settings.js:680 msgid "The path is valid" msgstr "Der Pfad ist valide" -#: src/octoprint/static/js/app/viewmodels/settings.js:603 +#: src/octoprint/static/js/app/viewmodels/settings.js:604 msgid "The server is not reachable" msgstr "Der Server ist nicht erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:606 +#: src/octoprint/static/js/app/viewmodels/settings.js:607 msgid "The server is reachable" msgstr "Der Server ist erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:627 +#: src/octoprint/static/js/app/viewmodels/settings.js:628 msgid "Name cannot be resolved" msgstr "Name kann nicht aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:631 +#: src/octoprint/static/js/app/viewmodels/settings.js:632 msgid "Name can be resolved" msgstr "Name kann aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:663 +#: src/octoprint/static/js/app/viewmodels/settings.js:664 msgid "The path is a broken symlink." msgstr "Der Pfad ist ein kaputter Symlink." -#: src/octoprint/static/js/app/viewmodels/settings.js:667 +#: src/octoprint/static/js/app/viewmodels/settings.js:668 msgid "The path does not exist and cannot be created." msgstr "Der Pfad existiert nicht und kann nicht erstellt werden." -#: src/octoprint/static/js/app/viewmodels/settings.js:671 +#: src/octoprint/static/js/app/viewmodels/settings.js:672 msgid "The path is not a folder." msgstr "Der Pfad ist kein Verzeichnis." -#: src/octoprint/static/js/app/viewmodels/settings.js:675 +#: src/octoprint/static/js/app/viewmodels/settings.js:676 msgid "The path is not writable." msgstr "Der Pfad ist nicht beschreibbar." -#: src/octoprint/static/js/app/viewmodels/settings.js:817 +#: src/octoprint/static/js/app/viewmodels/settings.js:818 #: src/octoprint/static/js/app/viewmodels/usersettings.js:120 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." @@ -5561,6 +5568,14 @@ msgstr "Resendverhältnis-Schwellwert. Anteil von Resendrequests an allen übert msgid "Critical resend ratio" msgstr "Kritisches Resendverhältnis" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529 +msgid "Start tracking resend request after these many transmitted lines." +msgstr "Resend requests erst nach dieser Anzahl übertragener Zeilen beginnen zu tracken." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530 +msgid "Tracking start" +msgstr "Trackingbeginn" + #: src/octoprint/templates/dialogs/settings/server.jinja2:4 msgid "Commands" msgstr "Befehle" @@ -5895,17 +5910,25 @@ msgid "Current printer state" msgstr "Aktueller Druckerstatus" #: src/octoprint/templates/sidebar/state.jinja2:2 -msgid "Count of resend requests and resend ratio" -msgstr "Anzahl von Resendrequests und Resendverhältnis" +msgid "Count of resend requests, transmitted lines and resend ratio" +msgstr "Anzahl von Resendrequests, übertragene Zeilen und Resendverhältnis" #: src/octoprint/templates/sidebar/state.jinja2:2 -msgid "Resend requests" -msgstr "Resendrequests" +msgid "Resend ratio" +msgstr "Resendverhältnis" #: src/octoprint/templates/sidebar/state.jinja2:2 msgid "resend requests" msgstr "Resendrequests" +#: src/octoprint/templates/sidebar/state.jinja2:2 +msgid "transmitted lines" +msgstr "übertragene Zeilen" + +#: src/octoprint/templates/sidebar/state.jinja2:2 +msgid "resend ratio" +msgstr "Resendverhältnis" + #: src/octoprint/templates/sidebar/state.jinja2:4 msgid "Name of file currently selected for printing" msgstr "Name der aktuell zum Drucken gewählten Datei" @@ -5979,7 +6002,7 @@ msgid "Fixed groups can't be added or removed to users." msgstr "Feste Gruppen können zu Benutzern nicht hinzugefügt oder entfernt werden." #: src/octoprint/templates/snippets/settings/accesscontrol/group_list.jinja2:6 -#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 msgid "Fixed" msgstr "Fest" @@ -6022,11 +6045,16 @@ msgstr "Standard" msgid "Marking a group as default will make it get pre selected when creating new users." msgstr "Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer Nutzer vorselektiert." -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8 msgid "Plugin" msgstr "Plugin" -#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8 +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 +msgid "Dangerous" +msgstr "Gefährlich" + +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 msgid "Fixed groups can't be added or removed to other groups." msgstr "Feste Gruppen können zu Gruppen nicht hinzugefügt oder entfernt werden." @@ -7934,3 +7962,6 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "Select Tool..." #~ msgstr "Tool wählen..." + +#~ msgid "Resend requests" +#~ msgstr "Resendrequests" diff --git a/translations/de/LC_MESSAGES/messages.mo b/translations/de/LC_MESSAGES/messages.mo index 1f7f515ff609de33836014bfc55b284f2f17f0d8..af0dc976929fe929b277d20a3a600ae3a249b3e4 100644 GIT binary patch delta 24171 zcma*vb#zt7-}n7}4iX?}@T7%<24XnD-Gh|i6exj&1Pe4m@Qu5>yIV_JplE^M6faha z6fIDJLh+XS{W-JOy4H0+&sxv(`{y+?+h)G=o!RFc^6QR^zE`gL+PD1D&b9d8SLrP4 z6Py#O+W-77^XHbO6SCkymu0QS>i9`#%Nl?kyU>OgzObwzZp%uJvaB+k|Gc|poyQ{4 zmgPhHOMFHBLl2JOi&)EQZ&|kWAkJH`YV@?MNDj<*e1bg7s@}`E5R3Dme=rX>{G^X% z)u3K3-m*GiLO;uDO8bxfEo&v$LT&xbN%Tsh3L3e%o%xMelMs@%gD$BeM7TO6M; z(z0e^zfqQT99^R=t0bPpDxCKMcT*1=%d@%G`i;UOoHfp}>T*Kpc*|-`{mTioQ{RjA zsJESDS+l7x#s!SD)D*%_{lqlOYQynGGZ-m8!}O?Lv&Z1Z`c=ol+J)xHFC;1;KT0CQ45i@EWx)BXnOkCkDT(HHfgte77IPy?udq?t7s)xi<7h<`>3 z<7tpHF%vF!T!(e2Z^vMKiKWmpo15ZisL=Mo!Z;6?5|Q251>2Fi4RPl@%c{-s|K?j( zSFE*w&e6Vd0rB5S!`BNfYi%0ln|YW@JI6e=GkIw zg7nK8jy^aFbK)da1eT#fy2tS#W~P1&HHDW@p}vQC@d;{*-CK=z4hlNKgUW$GEPzc> z5A5w6PeeU%FxJL-n1I)u;}P3TMRqOFVxfy!pt}tGvEyL)%ssZAr}p6u`TXF zC0CBG%m@N85A|@=2%2Ld?19;F0v5!DsPlGX5S~XR-+NT{=lmCK2SmHZ22yBX@aXdCc-yLRzt+5UDB&?37P+6a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-7i(6 zF0ozucK&}4dpguzK2!YQ+3t_o<34P6XOF+V&Arnd7q-roBmT)w_ecM@+~eHo;#~*b T--gAHd*;sSire+4JKz5S2Ugjn diff --git a/translations/de/LC_MESSAGES/messages.po b/translations/de/LC_MESSAGES/messages.po index a095079c8..ef39b2545 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: 2020-11-10 09:51+0100\n" -"PO-Revision-Date: 2020-11-10 10:56+0100\n" +"POT-Creation-Date: 2020-11-17 14:24+0100\n" +"PO-Revision-Date: 2020-11-17 14:27+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" @@ -19,87 +19,87 @@ msgstr "" "Generated-By: Babel 2.8.0\n" "X-Generator: Poedit 2.0.4\n" -#: src/octoprint/access/permissions.py:279 +#: src/octoprint/access/permissions.py:283 msgid "Admin is allowed to do everything" msgstr "Admins dürfen alles tun" -#: src/octoprint/access/permissions.py:287 +#: src/octoprint/access/permissions.py:291 msgid "Allows to gather basic status information, e.g. job progress, printer state, temperatures, ... Mandatory for the default UI to work" msgstr "Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion des Userinterfaces" -#: src/octoprint/access/permissions.py:298 +#: src/octoprint/access/permissions.py:302 msgid "Allows to connect to and disconnect from a printer" msgstr "Erlaubt Verbindung und Verbindungstrennung zum Drucker" -#: src/octoprint/access/permissions.py:305 +#: src/octoprint/access/permissions.py:309 msgid "Allows to watch the webcam stream" msgstr "Erlaubt Einbettung des Webcamstreams" -#: src/octoprint/access/permissions.py:312 +#: src/octoprint/access/permissions.py:316 msgid "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system, and to retrieve system and usage information" msgstr "Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, System herunterfahren oder neu starten, und die Abfrage von Systeminformation" -#: src/octoprint/access/permissions.py:322 +#: src/octoprint/access/permissions.py:326 msgid "Allows to retrieve a list of all uploaded files and folders, includingtheir metadata (e.g. date, file size, analysis results, ...)" msgstr "Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, Analyseergebnisse, …)" -#: src/octoprint/access/permissions.py:331 +#: src/octoprint/access/permissions.py:335 msgid "Allows users to upload new files, create new folders and copy existing ones. If the File Delete permission is also set, File Upload also allows moving files and folders." msgstr "Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:341 +#: src/octoprint/access/permissions.py:345 msgid "Allows users to download files. The GCODE viewer is affected by this as well." msgstr "Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses Recht." -#: src/octoprint/access/permissions.py:350 +#: src/octoprint/access/permissions.py:354 msgid "Allows users to delete files and folders. If the File Upload permission is also set, File Delete also allows moving files and folders." msgstr "Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:359 +#: src/octoprint/access/permissions.py:363 msgid "Allows to select a file for printing" msgstr "Erlaubt die Auswahl einer Datei zum Drucken" -#: src/octoprint/access/permissions.py:366 +#: src/octoprint/access/permissions.py:370 msgid "Allows to start, pause and cancel a print job" msgstr "Erlaubt das starten, pausieren und abbrechen eines Druckauftrags" -#: src/octoprint/access/permissions.py:373 +#: src/octoprint/access/permissions.py:377 msgid "Allows access to the GCODE viewer if the \"File Download\"permission is also set." msgstr "Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" Berechtigung ebenfalls gesetzt ist." -#: src/octoprint/access/permissions.py:383 +#: src/octoprint/access/permissions.py:387 msgid "Allows to watch the terminal tab but not to send commands to the printer from it" msgstr "Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen zum Drucker ist nicht gestattet" -#: src/octoprint/access/permissions.py:393 +#: src/octoprint/access/permissions.py:397 msgid "Allows to control of the printer by using the temperature controls,the control tab or sending commands through the terminal." msgstr "Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder Senden individueller Befehle über das Terminal." -#: src/octoprint/access/permissions.py:403 +#: src/octoprint/access/permissions.py:407 msgid "Allows to slice files" msgstr "Erlaubt das Slicen von Dateien" -#: src/octoprint/access/permissions.py:410 +#: src/octoprint/access/permissions.py:414 msgid "Allows to list timelapse videos" msgstr "Erlaubt die Auflistung von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:416 +#: src/octoprint/access/permissions.py:420 msgid "Allows to download timelapse videos" msgstr "Erlaubt das Herunterladen von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:422 +#: src/octoprint/access/permissions.py:426 msgid "Allows to delete timelapse videos and unrendered timelapses" msgstr "Erlaubt das Löschen von Zeitrafferaufnahmen und ungerenderten Zeitraffern" -#: src/octoprint/access/permissions.py:428 +#: src/octoprint/access/permissions.py:432 msgid "Allows to change the timelapse settings and delete or render unrendered timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and \"Timelapse Download\" permissions" msgstr "Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder Rendern unprozessierter Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:441 +#: src/octoprint/access/permissions.py:445 msgid "Allows to read non sensitive settings. Mandatory for the default UI to work." msgstr "Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." -#: src/octoprint/access/permissions.py:450 +#: src/octoprint/access/permissions.py:454 msgid "Allows to manage settings and also to read sensitive settings" msgstr "Erlaubt vollen Zugriff auf alle Einstellungen" @@ -531,7 +531,7 @@ msgstr "Sicherung & Wiederherstellung" msgid "Restore Backup?" msgstr "Sicherung wiederherstellen?" -#: src/octoprint/plugins/backup/__init__.py:1318 +#: src/octoprint/plugins/backup/__init__.py:1320 msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data." msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen." @@ -684,8 +684,8 @@ msgid "Size" msgstr "Größe" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 -#: src/octoprint/static/js/app/viewmodels/access.js:319 -#: src/octoprint/static/js/app/viewmodels/access.js:636 +#: src/octoprint/static/js/app/viewmodels/access.js:331 +#: src/octoprint/static/js/app/viewmodels/access.js:665 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:103 msgid "Delete" msgstr "Löschen" @@ -1245,7 +1245,7 @@ msgstr "Filament" #: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:697 #: src/octoprint/static/js/app/viewmodels/control.js:85 #: src/octoprint/static/js/app/viewmodels/files.js:959 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:351 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:354 #: src/octoprint/static/js/app/viewmodels/temperature.js:146 #: src/octoprint/static/js/app/viewmodels/temperature.js:157 #: src/octoprint/static/js/app/viewmodels/temperature.js:377 @@ -1388,7 +1388,6 @@ msgstr "\n" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 #: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4 msgid "Warning" msgstr "Warnung" @@ -3372,8 +3371,8 @@ msgid "off" msgstr "Aus" #: src/octoprint/static/js/app/helpers.js:792 -#: src/octoprint/static/js/app/viewmodels/access.js:314 -#: src/octoprint/static/js/app/viewmodels/access.js:631 +#: src/octoprint/static/js/app/viewmodels/access.js:326 +#: src/octoprint/static/js/app/viewmodels/access.js:660 #: src/octoprint/static/js/app/viewmodels/connection.js:157 msgid "Are you sure?" msgstr "Bist Du sicher?" @@ -3456,40 +3455,48 @@ msgstr "Beende" msgid "Loading OctoPrint's UI, please wait..." msgstr "Lade OctoPrints Userinterface, bitte warten..." -#: src/octoprint/static/js/app/viewmodels/access.js:102 +#: src/octoprint/static/js/app/viewmodels/access.js:99 +msgid "This user may not have dangerous permissions." +msgstr "Dieser Nutzer darf keine gefährlichen Berechtigungen erhalten." + +#: src/octoprint/static/js/app/viewmodels/access.js:114 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:48 msgid "Add user" msgstr "Nutzer hinzufügen" -#: src/octoprint/static/js/app/viewmodels/access.js:112 +#: src/octoprint/static/js/app/viewmodels/access.js:124 #, python-format msgid "Edit user \"%(name)s\"" msgstr "Editiere Nutzer \"%(name)s\"" -#: src/octoprint/static/js/app/viewmodels/access.js:304 +#: src/octoprint/static/js/app/viewmodels/access.js:316 msgid "Not possible" msgstr "Nicht möglich" -#: src/octoprint/static/js/app/viewmodels/access.js:305 +#: src/octoprint/static/js/app/viewmodels/access.js:317 msgid "You may not delete your own account." msgstr "Du kannst deinen eigenen Account nicht löschen." -#: src/octoprint/static/js/app/viewmodels/access.js:316 +#: src/octoprint/static/js/app/viewmodels/access.js:328 #, python-format msgid "You are about to delete the user \"%(name)s\"." msgstr "Du bist im Begriff, den Nutzer \"%(name)s\" zu löschen." -#: src/octoprint/static/js/app/viewmodels/access.js:490 +#: src/octoprint/static/js/app/viewmodels/access.js:461 +msgid "This group may not have dangerous permissions or subgroups." +msgstr "Diese Gruppe darf keine gefährlichen Berechtigungen oder Untergruppern erhalten." + +#: src/octoprint/static/js/app/viewmodels/access.js:519 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:47 msgid "Add group" msgstr "Gruppe hinzufügen" -#: src/octoprint/static/js/app/viewmodels/access.js:502 +#: src/octoprint/static/js/app/viewmodels/access.js:531 #, python-format msgid "Edit group \"%(name)s\"" msgstr "Gruppe \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/access.js:633 +#: src/octoprint/static/js/app/viewmodels/access.js:662 #, python-format msgid "You are about to delete the group \"%(name)s\"." msgstr "Du bist im Begriff die Gruppe\"%(name)s\" zu löschen." @@ -3551,22 +3558,22 @@ msgid "You are about to delete the folder \"%(folder)s\" which still contains fi msgstr "Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch Dateien und/oder Unterverzeichnisse enthält." #: src/octoprint/static/js/app/viewmodels/files.js:624 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:435 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:439 msgid "This will start a new print job. Please check that the print bed is clear." msgstr "Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett frei ist." #: src/octoprint/static/js/app/viewmodels/files.js:627 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:438 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:442 msgid "Do you want to start the print job now?" msgstr "Möchtest du den Druckauftrag jetzt starten?" #: src/octoprint/static/js/app/viewmodels/files.js:628 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:439 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:443 msgid "No" msgstr "Nein" #: src/octoprint/static/js/app/viewmodels/files.js:629 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:440 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:444 msgid "Yes" msgstr "Ja" @@ -3843,98 +3850,98 @@ msgstr "Druckerprofil hinzufügen" msgid "Edit Printer Profile \"%(name)s\"" msgstr "Druckerprofile \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:91 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 msgid "Restarts the print job from the beginning" msgstr "Startet den Druckjob von vorne" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:97 msgid "Starts the print job" msgstr "Startet den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:95 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:98 msgid "Resumes the print job" msgstr "Setzt den Druckjob fort" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:96 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:99 msgid "Pauses the print job" msgstr "Pausiert den Druckjob" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:134 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:137 msgid "Still stabilizing..." msgstr "Noch zu ungenau..." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:154 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:157 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:159 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 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:164 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:167 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:169 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:172 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:174 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:177 msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)" msgstr "Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:179 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:182 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:215 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:218 msgid "Continue" msgstr "Fortsetzen" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:216 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:219 #: src/octoprint/templates/sidebar/state.jinja2:31 msgid "Pause" msgstr "Pause" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:226 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:229 #: src/octoprint/templates/tabs/timelapse.jinja2:16 msgid "On Z Change" msgstr "Bei Ebenenwechsel" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:229 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:232 #: src/octoprint/templates/tabs/timelapse.jinja2:15 msgid "Timed" msgstr "Nach Zeit" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:233 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:236 #: src/octoprint/templates/tabs/timelapse.jinja2:27 #: src/octoprint/templates/tabs/timelapse.jinja2:38 #: src/octoprint/templates/tabs/timelapse.jinja2:58 msgid "sec" msgstr "Sek" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:396 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:400 #, python-format msgid "

%(ratio)d%% of transmitted lines have triggered resend requests. The communication with the printer is unreliable and this will cause print artefacts and failures.

Please see this FAQ entry on tips on how to solve this.

" msgstr "

%(ratio)d%% aller übertragenen Zeilen haben einen Resend Request verursacht. Die Kommunikation mit dem Drucker ist nicht zuverlässig und das wird Druckartefakte und -fehler verursachen.

Bitte konsultiere diesen FAQ Eintrag für Tipps, was man dagegen machen kann.

" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:408 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:412 msgid "Critical resend ratio!" msgstr "Kritisches Resendverhältnis!" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:423 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:427 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:467 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:471 msgid "This will cancel your print." msgstr "Das wird deinen Druck abbrechen." -#: src/octoprint/static/js/app/viewmodels/printerstate.js:468 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:472 msgid "No, continue the print" msgstr "Nein, mit dem Druck fortfahren" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:469 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:473 msgid "Yes, cancel the print" msgstr "Ja, den Druck abbrechen" @@ -3952,85 +3959,85 @@ msgstr "Weiß" msgid "Autodetect from browser" msgstr "Automatisch vom Browser erkennen" -#: src/octoprint/static/js/app/viewmodels/settings.js:426 +#: src/octoprint/static/js/app/viewmodels/settings.js:427 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:453 +#: src/octoprint/static/js/app/viewmodels/settings.js:454 msgid "Stream test" msgstr "Stream Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:471 +#: src/octoprint/static/js/app/viewmodels/settings.js:472 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:474 +#: src/octoprint/static/js/app/viewmodels/settings.js:475 msgid "Snapshot test failed" msgstr "Snapshot Test fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/settings.js:494 +#: src/octoprint/static/js/app/viewmodels/settings.js:495 #, python-format msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: %(content_type)s. Please double check that the URL is returning static images, not multipart data or videos." msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild aus: %(content_type)s. Bitte überprüfe, dass die URL einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." -#: src/octoprint/static/js/app/viewmodels/settings.js:523 +#: src/octoprint/static/js/app/viewmodels/settings.js:524 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:527 +#: src/octoprint/static/js/app/viewmodels/settings.js:528 msgid "Snapshot test" msgstr "Snapshot Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:569 +#: src/octoprint/static/js/app/viewmodels/settings.js:570 msgid "The path doesn't exist" msgstr "Der Pfad existiert nicht" -#: src/octoprint/static/js/app/viewmodels/settings.js:571 +#: src/octoprint/static/js/app/viewmodels/settings.js:572 msgid "The path is not a file" msgstr "Der Pfad ist keine Datei" -#: src/octoprint/static/js/app/viewmodels/settings.js:574 +#: src/octoprint/static/js/app/viewmodels/settings.js:575 msgid "The path is not an executable" msgstr "Der Pfad ist nicht ausführbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:578 -#: src/octoprint/static/js/app/viewmodels/settings.js:679 +#: src/octoprint/static/js/app/viewmodels/settings.js:579 +#: src/octoprint/static/js/app/viewmodels/settings.js:680 msgid "The path is valid" msgstr "Der Pfad ist valide" -#: src/octoprint/static/js/app/viewmodels/settings.js:603 +#: src/octoprint/static/js/app/viewmodels/settings.js:604 msgid "The server is not reachable" msgstr "Der Server ist nicht erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:606 +#: src/octoprint/static/js/app/viewmodels/settings.js:607 msgid "The server is reachable" msgstr "Der Server ist erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:627 +#: src/octoprint/static/js/app/viewmodels/settings.js:628 msgid "Name cannot be resolved" msgstr "Name kann nicht aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:631 +#: src/octoprint/static/js/app/viewmodels/settings.js:632 msgid "Name can be resolved" msgstr "Name kann aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:663 +#: src/octoprint/static/js/app/viewmodels/settings.js:664 msgid "The path is a broken symlink." msgstr "Der Pfad ist ein kaputter Symlink." -#: src/octoprint/static/js/app/viewmodels/settings.js:667 +#: src/octoprint/static/js/app/viewmodels/settings.js:668 msgid "The path does not exist and cannot be created." msgstr "Der Pfad existiert nicht und kann nicht erstellt werden." -#: src/octoprint/static/js/app/viewmodels/settings.js:671 +#: src/octoprint/static/js/app/viewmodels/settings.js:672 msgid "The path is not a folder." msgstr "Der Pfad ist kein Verzeichnis." -#: src/octoprint/static/js/app/viewmodels/settings.js:675 +#: src/octoprint/static/js/app/viewmodels/settings.js:676 msgid "The path is not writable." msgstr "Der Pfad ist nicht beschreibbar." -#: src/octoprint/static/js/app/viewmodels/settings.js:817 +#: src/octoprint/static/js/app/viewmodels/settings.js:818 #: src/octoprint/static/js/app/viewmodels/usersettings.js:120 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." @@ -5561,6 +5568,14 @@ msgstr "Resendverhältnis-Schwellwert. Anteil von Resendrequests an allen übert msgid "Critical resend ratio" msgstr "Kritisches Resendverhältnis" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529 +msgid "Start tracking resend request after these many transmitted lines." +msgstr "Resend requests erst nach dieser Anzahl übertragener Zeilen beginnen zu tracken." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530 +msgid "Tracking start" +msgstr "Trackingbeginn" + #: src/octoprint/templates/dialogs/settings/server.jinja2:4 msgid "Commands" msgstr "Befehle" @@ -5895,17 +5910,25 @@ msgid "Current printer state" msgstr "Aktueller Druckerstatus" #: src/octoprint/templates/sidebar/state.jinja2:2 -msgid "Count of resend requests and resend ratio" -msgstr "Anzahl von Resendrequests und Resendverhältnis" +msgid "Count of resend requests, transmitted lines and resend ratio" +msgstr "Anzahl von Resendrequests, übertragene Zeilen und Resendverhältnis" #: src/octoprint/templates/sidebar/state.jinja2:2 -msgid "Resend requests" -msgstr "Resendrequests" +msgid "Resend ratio" +msgstr "Resendverhältnis" #: src/octoprint/templates/sidebar/state.jinja2:2 msgid "resend requests" msgstr "Resendrequests" +#: src/octoprint/templates/sidebar/state.jinja2:2 +msgid "transmitted lines" +msgstr "übertragene Zeilen" + +#: src/octoprint/templates/sidebar/state.jinja2:2 +msgid "resend ratio" +msgstr "Resendverhältnis" + #: src/octoprint/templates/sidebar/state.jinja2:4 msgid "Name of file currently selected for printing" msgstr "Name der aktuell zum Drucken gewählten Datei" @@ -5979,7 +6002,7 @@ msgid "Fixed groups can't be added or removed to users." msgstr "Feste Gruppen können zu Benutzern nicht hinzugefügt oder entfernt werden." #: src/octoprint/templates/snippets/settings/accesscontrol/group_list.jinja2:6 -#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 msgid "Fixed" msgstr "Fest" @@ -6022,11 +6045,16 @@ msgstr "Standard" msgid "Marking a group as default will make it get pre selected when creating new users." msgstr "Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer Nutzer vorselektiert." -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8 msgid "Plugin" msgstr "Plugin" -#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8 +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 +msgid "Dangerous" +msgstr "Gefährlich" + +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 msgid "Fixed groups can't be added or removed to other groups." msgstr "Feste Gruppen können zu Gruppen nicht hinzugefügt oder entfernt werden." @@ -7934,3 +7962,6 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "Select Tool..." #~ msgstr "Tool wählen..." + +#~ msgid "Resend requests" +#~ msgstr "Resendrequests" diff --git a/translations/messages.pot b/translations/messages.pot index 9e65140a3..c522555fb 100644 --- a/translations/messages.pot +++ b/translations/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: OctoPrint 1.5.0.dev350+g84b41e70a\n" +"Project-Id-Version: OctoPrint 1.5.0rc2.dev19+gf2ed1ebc7\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2020-11-10 09:51+0100\n" +"POT-Creation-Date: 2020-11-17 14:24+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,111 +17,111 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" -#: src/octoprint/access/permissions.py:279 +#: src/octoprint/access/permissions.py:283 msgid "Admin is allowed to do everything" msgstr "" -#: src/octoprint/access/permissions.py:287 +#: src/octoprint/access/permissions.py:291 msgid "" "Allows to gather basic status information, e.g. job progress, printer " "state, temperatures, ... Mandatory for the default UI to work" msgstr "" -#: src/octoprint/access/permissions.py:298 +#: src/octoprint/access/permissions.py:302 msgid "Allows to connect to and disconnect from a printer" msgstr "" -#: src/octoprint/access/permissions.py:305 +#: src/octoprint/access/permissions.py:309 msgid "Allows to watch the webcam stream" msgstr "" -#: src/octoprint/access/permissions.py:312 +#: src/octoprint/access/permissions.py:316 msgid "" "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot" " the system, and to retrieve system and usage information" msgstr "" -#: src/octoprint/access/permissions.py:322 +#: src/octoprint/access/permissions.py:326 msgid "" "Allows to retrieve a list of all uploaded files and folders, " "includingtheir metadata (e.g. date, file size, analysis results, ...)" msgstr "" -#: src/octoprint/access/permissions.py:331 +#: src/octoprint/access/permissions.py:335 msgid "" "Allows users to upload new files, create new folders and copy existing " "ones. If the File Delete permission is also set, File Upload also allows " "moving files and folders." msgstr "" -#: src/octoprint/access/permissions.py:341 +#: src/octoprint/access/permissions.py:345 msgid "" "Allows users to download files. The GCODE viewer is affected by this as " "well." msgstr "" -#: src/octoprint/access/permissions.py:350 +#: src/octoprint/access/permissions.py:354 msgid "" "Allows users to delete files and folders. If the File Upload permission " "is also set, File Delete also allows moving files and folders." msgstr "" -#: src/octoprint/access/permissions.py:359 +#: src/octoprint/access/permissions.py:363 msgid "Allows to select a file for printing" msgstr "" -#: src/octoprint/access/permissions.py:366 +#: src/octoprint/access/permissions.py:370 msgid "Allows to start, pause and cancel a print job" msgstr "" -#: src/octoprint/access/permissions.py:373 +#: src/octoprint/access/permissions.py:377 msgid "" "Allows access to the GCODE viewer if the \"File Download\"permission is " "also set." msgstr "" -#: src/octoprint/access/permissions.py:383 +#: src/octoprint/access/permissions.py:387 msgid "" "Allows to watch the terminal tab but not to send commands to the printer " "from it" msgstr "" -#: src/octoprint/access/permissions.py:393 +#: src/octoprint/access/permissions.py:397 msgid "" "Allows to control of the printer by using the temperature controls,the " "control tab or sending commands through the terminal." msgstr "" -#: src/octoprint/access/permissions.py:403 +#: src/octoprint/access/permissions.py:407 msgid "Allows to slice files" msgstr "" -#: src/octoprint/access/permissions.py:410 +#: src/octoprint/access/permissions.py:414 msgid "Allows to list timelapse videos" msgstr "" -#: src/octoprint/access/permissions.py:416 +#: src/octoprint/access/permissions.py:420 msgid "Allows to download timelapse videos" msgstr "" -#: src/octoprint/access/permissions.py:422 +#: src/octoprint/access/permissions.py:426 msgid "Allows to delete timelapse videos and unrendered timelapses" msgstr "" -#: src/octoprint/access/permissions.py:428 +#: src/octoprint/access/permissions.py:432 msgid "" "Allows to change the timelapse settings and delete or render unrendered " "timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and " "\"Timelapse Download\" permissions" msgstr "" -#: src/octoprint/access/permissions.py:441 +#: src/octoprint/access/permissions.py:445 msgid "" "Allows to read non sensitive settings. Mandatory for the default UI to " "work." msgstr "" -#: src/octoprint/access/permissions.py:450 +#: src/octoprint/access/permissions.py:454 msgid "Allows to manage settings and also to read sensitive settings" msgstr "" @@ -579,7 +579,7 @@ msgstr "" msgid "Restore Backup?" msgstr "" -#: src/octoprint/plugins/backup/__init__.py:1318 +#: src/octoprint/plugins/backup/__init__.py:1320 msgid "" "Without this plugin you will no longer be able to backup & restore your " "OctoPrint settings and data." @@ -750,8 +750,8 @@ msgid "Size" msgstr "" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 -#: src/octoprint/static/js/app/viewmodels/access.js:319 -#: src/octoprint/static/js/app/viewmodels/access.js:636 +#: src/octoprint/static/js/app/viewmodels/access.js:331 +#: src/octoprint/static/js/app/viewmodels/access.js:665 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:103 msgid "Delete" msgstr "" @@ -1349,7 +1349,7 @@ msgstr "" #: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:697 #: src/octoprint/static/js/app/viewmodels/control.js:85 #: src/octoprint/static/js/app/viewmodels/files.js:959 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:351 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:354 #: src/octoprint/static/js/app/viewmodels/temperature.js:146 #: src/octoprint/static/js/app/viewmodels/temperature.js:157 #: src/octoprint/static/js/app/viewmodels/temperature.js:377 @@ -1494,7 +1494,6 @@ msgstr "" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:499 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 #: src/octoprint/templates/snippets/settings/server/serverPluginTimings.jinja2:4 msgid "Warning" msgstr "" @@ -3654,8 +3653,8 @@ msgid "off" msgstr "" #: src/octoprint/static/js/app/helpers.js:792 -#: src/octoprint/static/js/app/viewmodels/access.js:314 -#: src/octoprint/static/js/app/viewmodels/access.js:631 +#: src/octoprint/static/js/app/viewmodels/access.js:326 +#: src/octoprint/static/js/app/viewmodels/access.js:660 #: src/octoprint/static/js/app/viewmodels/connection.js:157 msgid "Are you sure?" msgstr "" @@ -3738,40 +3737,48 @@ msgstr "" msgid "Loading OctoPrint's UI, please wait..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:102 +#: src/octoprint/static/js/app/viewmodels/access.js:99 +msgid "This user may not have dangerous permissions." +msgstr "" + +#: src/octoprint/static/js/app/viewmodels/access.js:114 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:48 msgid "Add user" msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:112 +#: src/octoprint/static/js/app/viewmodels/access.js:124 #, python-format msgid "Edit user \"%(name)s\"" msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:304 +#: src/octoprint/static/js/app/viewmodels/access.js:316 msgid "Not possible" msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:305 +#: src/octoprint/static/js/app/viewmodels/access.js:317 msgid "You may not delete your own account." msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:316 +#: src/octoprint/static/js/app/viewmodels/access.js:328 #, python-format msgid "You are about to delete the user \"%(name)s\"." msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:490 +#: src/octoprint/static/js/app/viewmodels/access.js:461 +msgid "This group may not have dangerous permissions or subgroups." +msgstr "" + +#: src/octoprint/static/js/app/viewmodels/access.js:519 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:47 msgid "Add group" msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:502 +#: src/octoprint/static/js/app/viewmodels/access.js:531 #, python-format msgid "Edit group \"%(name)s\"" msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:633 +#: src/octoprint/static/js/app/viewmodels/access.js:662 #, python-format msgid "You are about to delete the group \"%(name)s\"." msgstr "" @@ -3840,22 +3847,22 @@ msgid "" msgstr "" #: src/octoprint/static/js/app/viewmodels/files.js:624 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:435 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:439 msgid "This will start a new print job. Please check that the print bed is clear." msgstr "" #: src/octoprint/static/js/app/viewmodels/files.js:627 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:438 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:442 msgid "Do you want to start the print job now?" msgstr "" #: src/octoprint/static/js/app/viewmodels/files.js:628 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:439 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:443 msgid "No" msgstr "" #: src/octoprint/static/js/app/viewmodels/files.js:629 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:440 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:444 msgid "Yes" msgstr "" @@ -4158,83 +4165,83 @@ msgstr "" msgid "Edit Printer Profile \"%(name)s\"" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:91 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 msgid "Restarts the print job from the beginning" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:94 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:97 msgid "Starts the print job" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:95 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:98 msgid "Resumes the print job" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:96 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:99 msgid "Pauses the print job" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:134 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:137 msgid "Still stabilizing..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:154 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:157 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:159 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:162 msgid "Based on the estimate from analysis of file (medium accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:164 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:167 msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:169 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:172 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:174 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:177 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:179 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:182 msgid "Based on the calculated estimate (best accuracy)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:215 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:218 msgid "Continue" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:216 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:219 #: src/octoprint/templates/sidebar/state.jinja2:31 msgid "Pause" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:226 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:229 #: src/octoprint/templates/tabs/timelapse.jinja2:16 msgid "On Z Change" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:229 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:232 #: src/octoprint/templates/tabs/timelapse.jinja2:15 msgid "Timed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:233 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:236 #: src/octoprint/templates/tabs/timelapse.jinja2:27 #: src/octoprint/templates/tabs/timelapse.jinja2:38 #: src/octoprint/templates/tabs/timelapse.jinja2:58 msgid "sec" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:396 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:400 #, python-format msgid "" "

%(ratio)d%% of transmitted lines have triggered resend requests. The " @@ -4243,23 +4250,23 @@ msgid "" "target='_blank'>this FAQ entry on tips on how to solve this.

" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:408 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:412 msgid "Critical resend ratio!" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:423 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:427 msgid "This will restart the print job from the beginning." msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:467 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:471 msgid "This will cancel your print." msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:468 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:472 msgid "No, continue the print" msgstr "" -#: src/octoprint/static/js/app/viewmodels/printerstate.js:469 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:473 msgid "Yes, cancel the print" msgstr "" @@ -4277,23 +4284,23 @@ msgstr "" msgid "Autodetect from browser" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:426 +#: src/octoprint/static/js/app/viewmodels/settings.js:427 msgid "If you see your webcam stream below, the entered stream URL is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:453 +#: src/octoprint/static/js/app/viewmodels/settings.js:454 msgid "Stream test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:471 +#: src/octoprint/static/js/app/viewmodels/settings.js:472 msgid "Could not retrieve snapshot URL, please double check the URL" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:474 +#: src/octoprint/static/js/app/viewmodels/settings.js:475 msgid "Snapshot test failed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:494 +#: src/octoprint/static/js/app/viewmodels/settings.js:495 #, python-format msgid "" "Could retrieve the snapshot URL, but it didn't look like an image. Got " @@ -4302,66 +4309,66 @@ msgid "" "or videos." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:523 +#: src/octoprint/static/js/app/viewmodels/settings.js:524 msgid "" "If you see your webcam snapshot picture below, the entered snapshot URL " "is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:527 +#: src/octoprint/static/js/app/viewmodels/settings.js:528 msgid "Snapshot test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:569 +#: src/octoprint/static/js/app/viewmodels/settings.js:570 msgid "The path doesn't exist" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:571 +#: src/octoprint/static/js/app/viewmodels/settings.js:572 msgid "The path is not a file" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:574 +#: src/octoprint/static/js/app/viewmodels/settings.js:575 msgid "The path is not an executable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:578 -#: src/octoprint/static/js/app/viewmodels/settings.js:679 +#: src/octoprint/static/js/app/viewmodels/settings.js:579 +#: src/octoprint/static/js/app/viewmodels/settings.js:680 msgid "The path is valid" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:603 +#: src/octoprint/static/js/app/viewmodels/settings.js:604 msgid "The server is not reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:606 +#: src/octoprint/static/js/app/viewmodels/settings.js:607 msgid "The server is reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:627 +#: src/octoprint/static/js/app/viewmodels/settings.js:628 msgid "Name cannot be resolved" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:631 +#: src/octoprint/static/js/app/viewmodels/settings.js:632 msgid "Name can be resolved" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:663 +#: src/octoprint/static/js/app/viewmodels/settings.js:664 msgid "The path is a broken symlink." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:667 +#: src/octoprint/static/js/app/viewmodels/settings.js:668 msgid "The path does not exist and cannot be created." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:671 +#: src/octoprint/static/js/app/viewmodels/settings.js:672 msgid "The path is not a folder." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:675 +#: src/octoprint/static/js/app/viewmodels/settings.js:676 msgid "The path is not writable." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:817 +#: src/octoprint/static/js/app/viewmodels/settings.js:818 #: src/octoprint/static/js/app/viewmodels/usersettings.js:120 msgid "" "This will generate a new API Key. The old API Key will cease to function " @@ -6094,6 +6101,14 @@ msgstr "" msgid "Critical resend ratio" msgstr "" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:529 +msgid "Start tracking resend request after these many transmitted lines." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:530 +msgid "Tracking start" +msgstr "" + #: src/octoprint/templates/dialogs/settings/server.jinja2:4 msgid "Commands" msgstr "" @@ -6446,17 +6461,25 @@ msgid "Current printer state" msgstr "" #: src/octoprint/templates/sidebar/state.jinja2:2 -msgid "Count of resend requests and resend ratio" +msgid "Count of resend requests, transmitted lines and resend ratio" msgstr "" #: src/octoprint/templates/sidebar/state.jinja2:2 -msgid "Resend requests" +msgid "Resend ratio" msgstr "" #: src/octoprint/templates/sidebar/state.jinja2:2 msgid "resend requests" msgstr "" +#: src/octoprint/templates/sidebar/state.jinja2:2 +msgid "transmitted lines" +msgstr "" + +#: src/octoprint/templates/sidebar/state.jinja2:2 +msgid "resend ratio" +msgstr "" + #: src/octoprint/templates/sidebar/state.jinja2:4 msgid "Name of file currently selected for printing" msgstr "" @@ -6532,7 +6555,7 @@ msgid "Fixed groups can't be added or removed to users." msgstr "" #: src/octoprint/templates/snippets/settings/accesscontrol/group_list.jinja2:6 -#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 msgid "Fixed" msgstr "" @@ -6577,11 +6600,16 @@ msgid "" "new users." msgstr "" -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8 msgid "Plugin" msgstr "" -#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:8 +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 +msgid "Dangerous" +msgstr "" + +#: src/octoprint/templates/snippets/settings/accesscontrol/subgroup_list.jinja2:8 msgid "Fixed groups can't be added or removed to other groups." msgstr "" From c30673fac0fcbe99608711814c3eb4e0c0bbc823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 17 Nov 2020 16:00:51 +0100 Subject: [PATCH 26/26] =?UTF-8?q?=F0=9F=94=96=20staging/maintenance=20is?= =?UTF-8?q?=20now=201.5.0rc3.dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versioneer-lookup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index 27076be81..6dc27a19d 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -27,10 +27,10 @@ improve/.* 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev # staging/hotfix is the branch for preparation of the 1.4.2 hotfix release staging/hotfix 1.4.2 3ab84ed7e4c3aaaf71fe0f184b465f25d689f929 pep440-dev -# staging/maintenance is currently the branch for preparation of 1.5.0rc2 +# staging/maintenance is currently the branch for preparation of 1.5.0rc3 # so is regressionfix/... -staging/maintenance 1.5.0rc2 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev -regressionfix/.* 1.5.0rc2 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev +staging/maintenance 1.5.0rc3 9f5781eff4d8b21e5fa6166fab8f4c1e4429710e pep440-dev +regressionfix/.* 1.5.0rc3 9f5781eff4d8b21e5fa6166fab8f4c1e4429710e pep440-dev # staging/devel is currently inactive (but has the 1.4.1rc4 namespace) staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev
- {{ _('Fixed') }}
+
+ {{ _('Fixed') }} {{ _('Dangerous') }}