From d80a27a64af8a9cfa14c9858f7c22cc0bf57447e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 25 Nov 2020 15:44:19 +0100 Subject: [PATCH 01/10] =?UTF-8?q?=F0=9F=93=9D=20settings=20API:=20only=20d?= =?UTF-8?q?ocument=20differences=20to=20config.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/settings.rst | 114 +----------------------------------------- 1 file changed, 2 insertions(+), 112 deletions(-) diff --git a/docs/api/settings.rst b/docs/api/settings.rst index ab2b89602..68bfa5dab 100644 --- a/docs/api/settings.rst +++ b/docs/api/settings.rst @@ -354,84 +354,22 @@ Data model ========== The data model on the settings API mostly reflects the contents of -:ref:`config.yaml `. The settings tree -returned by the API contains the following fields, which are directly -mapped from the same fields in ``config.yaml`` unless otherwise noted: +:ref:`config.yaml `, which are directly +mapped, with the following exceptions: .. list-table:: :header-rows: 1 * - Field - Notes - * - ``api.enabled`` - - - * - ``api.key`` - - Only maps to ``api.key`` in ``config.yaml`` if request is sent with admin rights, set to ``n/a`` otherwise. - Starting with OctoPrint 1.3.3 setting this field via :ref:`the API ` is not possible, - only :ref:`regenerating it ` is supported. Setting a custom value is only - possible through `config.yaml`. - * - ``api.allowCrossOrigin`` - - - * - ``appearance.name`` - - - * - ``appearance.color`` - - - * - ``appearance.colorTransparent`` - - - * - ``appearance.defaultLanguage`` - - - * - ``appearance.showFahrenheitAlso`` - - * - ``feature.gcodeViewer`` - Maps to ``gcodeViewer.enabled`` in ``config.yaml`` * - ``feature.sizeThreshold`` - Maps to ``gcodeViewer.sizeThreshold`` in ``config.yaml`` * - ``feature.mobileSizeThreshold`` - Maps to ``gcodeViewer.mobileSizeThreshold`` in ``config.yaml`` - * - ``feature.temperatureGraph`` - - - * - ``feature.waitForStart`` - - - * - ``feature.alwaysSendChecksum`` - - - * - ``feature.neverSendChecksum`` - - - * - ``feature.sdSupport`` - - - * - ``feature.sdRelativePath`` - - - * - ``feature.sdAlwaysAvailable`` - - - * - ``feature.swallowOkAfterResend`` - - - * - ``feature.repetierTargetTemp`` - - - * - ``feature.externalHeatupDetection`` - - - * - ``feature.keyboardControl`` - - - * - ``feature.pollWatched`` - - - * - ``feature.ignoreIdenticalResends`` - - - * - ``feature.modelSizeDetection`` - - - * - ``feature.firmwareDetection`` - - - * - ``feature.printCancelConfirmation`` - - - * - ``feature.blockWhileDwelling`` - - - * - ``folder.uploads`` - - - * - ``folder.timelapse`` - - * - ``folder.timelapseTmp`` - Maps to ``folder.timelapse_tmp`` in ``config.yaml`` - * - ``folder.logs`` - - - * - ``folder.watched`` - - * - ``plugins`` - Plugin settings as available from ``config.yaml`` and :class:`~octoprint.plugin.SettingsPlugin` implementations * - ``printer.defaultExtrusionLength`` @@ -446,8 +384,6 @@ mapped from the same fields in ``config.yaml`` unless otherwise noted: - Available serial ports * - ``serial.baudrateOptions`` - Available serial baudrates - * - ``serial.autoconnect`` - - * - ``serial.timeoutConnection`` - Maps to ``serial.timeout.connection`` in ``config.yaml`` * - ``serial.timeoutDetection`` @@ -460,50 +396,18 @@ mapped from the same fields in ``config.yaml`` unless otherwise noted: - Maps to ``serial.timeout.temperatureTargetSet`` in ``config.yaml`` * - ``serial.timeoutSdStatus`` - Maps to ``serial.timeout.sdStatus`` in ``config.yaml`` - * - ``serial.log`` - - - * - ``serial.additionalPorts`` - - - * - ``serial.additionalBaudrates`` - - - * - ``serial.longRunningCommands`` - - - * - ``serial.checksumRequiringCommands`` - - - * - ``serial.helloCommand`` - - - * - ``serial.ignoreErrorsFromFirmware`` - - - * - ``serial.disconnectOnErrors`` - - - * - ``serial.triggerOkForM29`` - - - * - ``serial.supportResendsWIthoutOk`` - - * - ``serial.maxTimeoutsIdle`` - Maps to ``serial.maxCommunicationTimeouts.idle`` in ``config.yaml`` * - ``serial.maxTimeoutsPrinting`` - Maps to ``serial.maxCommunicationTimeouts.printing`` in ``config.yaml`` * - ``serial.maxTimeoutsLong`` - Maps to ``serial.maxCommunicationTimeouts.long`` in ``config.yaml`` - * - ``server.commands.systemShutdownCommand`` - - - * - ``server.commands.systemRestartCommand`` - - - * - ``server.commands.serverRestartCommand`` - - - * - ``server.diskspace.warning`` - - - * - ``server.diskspace.critical`` - - * - ``system.actions`` - Whole subtree taken from ``config.yaml`` * - ``system.events`` - Whole subtree taken from ``config.yaml`` * - ``temperature.profiles`` - Whole subtree taken from ``config.yaml`` - * - ``temperature.cutoff`` - - * - ``terminalFilters`` - Whole subtree taken from ``config.yaml`` * - ``webcam.streamUrl`` @@ -512,17 +416,3 @@ mapped from the same fields in ``config.yaml`` unless otherwise noted: - Maps to ``webcam.snapshot`` in ``config.yaml`` * - ``webcam.ffmpegPath`` - Maps to ``webcam.ffmpeg`` in ``config.yaml`` - * - ``webcam.bitrate`` - - - * - ``webcam.ffmpegThreads`` - - - * - ``webcam.ffmpegVideoCodec`` - - - * - ``webcam.watermark`` - - - * - ``webcam.flipH`` - - - * - ``webcam.flipV`` - - - * - ``webcam.rotate90`` - - From 1f97ee333d54d0e9b46808362be4b043bae543d4 Mon Sep 17 00:00:00 2001 From: cp2004 <31997505+cp2004@users.noreply.github.com> Date: Wed, 25 Nov 2020 17:48:09 +0000 Subject: [PATCH 02/10] :recycle: Extract generating plugin list to pgmr helper Connected to #3711 --- src/octoprint/plugins/backup/__init__.py | 23 ++++++------------- .../plugins/pluginmanager/__init__.py | 20 ++++++++++++++++ 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/octoprint/plugins/backup/__init__.py b/src/octoprint/plugins/backup/__init__.py index 00599241c..658415b8d 100644 --- a/src/octoprint/plugins/backup/__init__.py +++ b/src/octoprint/plugins/backup/__init__.py @@ -8,7 +8,6 @@ import octoprint.plugin from octoprint.access import ADMIN_GROUP from octoprint.access.permissions import Permissions from octoprint.events import Events -from octoprint.plugin.core import FolderOrigin from octoprint.server import NO_CONTENT from octoprint.server.util.flask import no_firstrun_access from octoprint.settings import default_settings @@ -980,22 +979,14 @@ class BackupPlugin( ) # add list of installed plugins - plugins = [] - plugin_folder = settings.global_get_basefolder("plugins") - for plugin in plugin_manager.plugins.values(): - if plugin.bundled or ( - isinstance(plugin.origin, FolderOrigin) - and plugin.origin.folder == plugin_folder - ): - # ignore anything bundled or from the plugins folder we already include in the backup - continue + helpers = plugin_manager.get_helpers( + "pluginmanager", "generate_plugins_json" + ) + if helpers and "generate_plugins_json" in helpers: + plugins = helpers["generate_plugins_json"]() - plugins.append( - {"key": plugin.key, "name": plugin.name, "url": plugin.url} - ) - - if len(plugins): - zip.writestr("plugin_list.json", json.dumps(plugins)) + if len(plugins): + zip.writestr("plugin_list.json", json.dumps(plugins)) shutil.move(temporary_path, final_path) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index 7cb97145d..8a2b3e0ea 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -1755,6 +1755,21 @@ class PluginManagerPlugin( return result + def generate_plugins_json(self, ignore_bundled=True, ignore_plugins_folder=True): + plugins = [] + plugin_folder = self._settings.getBaseFolder("plugins") + for plugin in self._plugin_manager.plugins.values(): + if (ignore_bundled and plugin.bundled) or ( + ignore_plugins_folder + and isinstance(plugin.origin, octoprint.plugin.core.FolderOrigin) + and plugin.origin.folder == plugin_folder + ): + # ignore bundled or from the plugins folder already included in the backup + continue + + plugins.append({"key": plugin.key, "name": plugin.name, "url": plugin.url}) + return plugins + def _to_external_plugin(self, plugin): return { "key": plugin.key, @@ -1898,3 +1913,8 @@ def __plugin_load__(): "octoprint.events.register_custom_events": _register_custom_events, "octoprint.access.permissions": __plugin_implementation__.get_additional_permissions, } + + global __plugin_helpers__ + __plugin_helpers__ = { + "generate_plugins_json": __plugin_implementation__.generate_plugins_json, + } From 48d6fb50c5f1bd2fb7d1a103d77e9952f311bc32 Mon Sep 17 00:00:00 2001 From: cp2004 <31997505+cp2004@users.noreply.github.com> Date: Wed, 25 Nov 2020 19:10:07 +0000 Subject: [PATCH 03/10] :bug: Fix CLI backup It's OK CLI, I didn't forget you... --- src/octoprint/plugins/backup/__init__.py | 4 +++- src/octoprint/plugins/pluginmanager/__init__.py | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/octoprint/plugins/backup/__init__.py b/src/octoprint/plugins/backup/__init__.py index 658415b8d..c9d85d444 100644 --- a/src/octoprint/plugins/backup/__init__.py +++ b/src/octoprint/plugins/backup/__init__.py @@ -983,7 +983,9 @@ class BackupPlugin( "pluginmanager", "generate_plugins_json" ) if helpers and "generate_plugins_json" in helpers: - plugins = helpers["generate_plugins_json"]() + plugins = helpers["generate_plugins_json"]( + settings=settings, plugin_manager=plugin_manager + ) if len(plugins): zip.writestr("plugin_list.json", json.dumps(plugins)) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index 8a2b3e0ea..60ab09a7a 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -1755,10 +1755,13 @@ class PluginManagerPlugin( return result - def generate_plugins_json(self, ignore_bundled=True, ignore_plugins_folder=True): + @staticmethod + def generate_plugins_json( + settings, plugin_manager, ignore_bundled=True, ignore_plugins_folder=True + ): plugins = [] - plugin_folder = self._settings.getBaseFolder("plugins") - for plugin in self._plugin_manager.plugins.values(): + plugin_folder = settings.getBaseFolder("plugins") + for plugin in plugin_manager.plugins.values(): if (ignore_bundled and plugin.bundled) or ( ignore_plugins_folder and isinstance(plugin.origin, octoprint.plugin.core.FolderOrigin) From d4af37ae8a7c17de5758c31f8f518532c8802270 Mon Sep 17 00:00:00 2001 From: cp2004 <31997505+cp2004@users.noreply.github.com> Date: Wed, 25 Nov 2020 20:57:32 +0000 Subject: [PATCH 04/10] :sparkles: Add plugin list export button Closes #3711 Exports the same plugin list that the backup plugin uses, to the route `/plugin/pluginmanager/export` --- src/octoprint/plugins/pluginmanager/__init__.py | 16 ++++++++++++++++ .../templates/pluginmanager_settings.jinja2 | 1 + 2 files changed, 17 insertions(+) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index 60ab09a7a..0a4981265 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -401,6 +401,22 @@ class PluginManagerPlugin( ) ) + @octoprint.plugin.BlueprintPlugin.route("/export", methods=["GET"]) + @no_firstrun_access + @Permissions.PLUGIN_PLUGINMANAGER_MANAGE.require(403) + def export_plugin_list(self): + import json + + import flask + + plugins = self.generate_plugins_json(self._settings, self._plugin_manager) + + return flask.Response( + json.dumps(plugins), + mimetype="text/plain", + headers={"Content-Disposition": 'attachment; filename="plugins.json"'}, + ) + def is_blueprint_protected(self): return False diff --git a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 index d566a6b3c..f5f9ee3ca 100644 --- a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 +++ b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 @@ -59,6 +59,7 @@ {{ pluginmanager_requesterror() }} From 572ea6f2a74aa9ed4151ff72c5e24c023d8ca8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 25 Nov 2020 18:15:19 +0100 Subject: [PATCH 05/10] =?UTF-8?q?=E2=9C=A8=20New=20--overlay=20CLI=20flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows to specify additional config overlay paths to use between the default settings and config.yaml. Can be either individual yaml files, or a whole directory containing an arbitrary number of yaml files. Allows to change the default configuration without interfering with config.yaml. OctoPrint side solution for #3821, OctoPi needs to be modified to make use of this for its platform specific configuration. --- src/octoprint/__init__.py | 9 ++++--- src/octoprint/cli/__init__.py | 14 +++++++++-- src/octoprint/cli/config.py | 1 + src/octoprint/cli/plugins.py | 1 + src/octoprint/cli/server.py | 10 ++++++++ src/octoprint/cli/user.py | 1 + src/octoprint/settings.py | 47 ++++++++++++++++++++++++++++++++--- 7 files changed, 75 insertions(+), 8 deletions(-) diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index fb2721185..a85d74ce5 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -86,6 +86,7 @@ class FatalStartupError(Exception): def init_platform( basedir, configfile, + overlays=None, use_logging_file=True, logging_file=None, logging_config=None, @@ -117,7 +118,7 @@ def init_platform( after_preinit_logging(**kwargs) try: - settings = init_settings(basedir, configfile) + settings = init_settings(basedir, configfile, overlays=overlays) except Exception as ex: raise FatalStartupError("Could not initialize settings manager", cause=ex) kwargs["settings"] = settings @@ -220,13 +221,15 @@ def init_platform( ) -def init_settings(basedir, configfile): +def init_settings(basedir, configfile, overlays=None): """Inits the settings instance based on basedir and configfile to use.""" from octoprint.settings import InvalidSettings, settings try: - return settings(init=True, basedir=basedir, configfile=configfile) + return settings( + init=True, basedir=basedir, configfile=configfile, overlays=overlays + ) except InvalidSettings as e: raise FatalStartupError(str(e)) diff --git a/src/octoprint/cli/__init__.py b/src/octoprint/cli/__init__.py index e12b12199..2dc21ae62 100644 --- a/src/octoprint/cli/__init__.py +++ b/src/octoprint/cli/__init__.py @@ -62,6 +62,7 @@ def init_platform_for_cli(ctx): components = init_platform( get_ctx_obj_option(ctx, "basedir", None), get_ctx_obj_option(ctx, "configfile", None), + overlays=get_ctx_obj_option(ctx, "overlays", None), safe_mode=True, ) @@ -180,8 +181,7 @@ def standard_options(hidden=False): """ Decorator to add the standard options shared among all "octoprint" commands. - Adds the options ``--basedir``, ``--config`` and ``--verbose``. If ``hidden`` - is set to ``True``, the options will be available on the command but not + If ``hidden`` is set to ``True``, the options will be available on the command but not listed in its help page. """ @@ -209,6 +209,16 @@ def standard_options(hidden=False): expose_value=False, help="Specify the config file to use.", ), + factory( + "--overlay", + "overlays", + type=click.Path(), + callback=set_ctx_obj_option, + is_eager=True, + multiple=True, + expose_value=False, + help="Specify additional config overlays to use.", + ), factory( "--verbose", "-v", diff --git a/src/octoprint/cli/config.py b/src/octoprint/cli/config.py index fb7c960e5..9468992ee 100644 --- a/src/octoprint/cli/config.py +++ b/src/octoprint/cli/config.py @@ -65,6 +65,7 @@ def config(ctx): ctx.obj.settings = init_settings( get_ctx_obj_option(ctx, "basedir", None), get_ctx_obj_option(ctx, "configfile", None), + overlays=get_ctx_obj_option(ctx, "overlays", None), ) except FatalStartupError as e: click.echo(str(e), err=True) diff --git a/src/octoprint/cli/plugins.py b/src/octoprint/cli/plugins.py index e5e283110..09b86c06e 100644 --- a/src/octoprint/cli/plugins.py +++ b/src/octoprint/cli/plugins.py @@ -84,6 +84,7 @@ class OctoPrintPluginCommands(click.MultiCommand): self.settings = init_settings( get_ctx_obj_option(ctx, "basedir", None), get_ctx_obj_option(ctx, "configfile", None), + overlays=get_ctx_obj_option(ctx, "overlays", None), ) self.plugin_manager = init_pluginsystem( self.settings, safe_mode=get_ctx_obj_option(ctx, "safe_mode", False) diff --git a/src/octoprint/cli/server.py b/src/octoprint/cli/server.py index 39f7fab3b..eff6f5c19 100644 --- a/src/octoprint/cli/server.py +++ b/src/octoprint/cli/server.py @@ -33,6 +33,7 @@ def run_server( safe_mode, ignore_blacklist, octoprint_daemon=None, + overlays=None, ): """Initializes the environment and starts up the server.""" @@ -113,6 +114,7 @@ def run_server( components = init_platform( basedir, configfile, + overlays=overlays, logging_file=logging_config, debug=debug, verbosity=verbosity, @@ -260,6 +262,7 @@ def enable_safemode(ctx, **kwargs): settings = init_settings( get_ctx_obj_option(ctx, "basedir", None), get_ctx_obj_option(ctx, "configfile", None), + overlays=get_ctx_obj_option(ctx, "overlays", None), ) except FatalStartupError as e: click.echo(str(e), err=True) @@ -297,6 +300,7 @@ def serve_command(ctx, **kwargs): verbosity = get_value("verbosity") safe_mode = "flag" if get_value("safe_mode") else None ignore_blacklist = get_value("ignore_blacklist") + overlays = get_value("overlays") if v4 and not host: host = "0.0.0.0" @@ -313,6 +317,7 @@ def serve_command(ctx, **kwargs): verbosity, safe_mode, ignore_blacklist, + overlays=overlays, ) @@ -350,6 +355,7 @@ if sys.platform != "win32" and sys.platform != "darwin": basedir = get_value("basedir") configfile = get_value("configfile") + overlays = get_value("overlays") verbosity = get_value("verbosity") safe_mode = "flag" if get_value("safe_mode") else None ignore_blacklist = get_value("ignore_blacklist") @@ -369,6 +375,7 @@ if sys.platform != "win32" and sys.platform != "darwin": pidfile, basedir, configfile, + overlays, host, port, v6_only, @@ -383,6 +390,7 @@ if sys.platform != "win32" and sys.platform != "darwin": self._basedir = basedir self._configfile = configfile + self._overlays = overlays self._host = host self._port = port self._v6_only = v6_only @@ -407,12 +415,14 @@ if sys.platform != "win32" and sys.platform != "darwin": self._safe_mode, self._ignore_blacklist, octoprint_daemon=self, + overlays=self._overlays, ) octoprint_daemon = OctoPrintDaemon( pid, basedir, configfile, + overlays, host, port, v6, diff --git a/src/octoprint/cli/user.py b/src/octoprint/cli/user.py index 548fd88bb..724d9cf60 100644 --- a/src/octoprint/cli/user.py +++ b/src/octoprint/cli/user.py @@ -48,6 +48,7 @@ def user(ctx): settings = init_settings( get_ctx_obj_option(ctx, "basedir", None), get_ctx_obj_option(ctx, "configfile", None), + overlays=get_ctx_obj_option(ctx, "overlays", None), ) group_manager_name = settings.get(["accessControl", "groupManager"]) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index fb097d4a9..a97c75d0c 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -24,6 +24,7 @@ __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agp __copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License" import copy +import fnmatch import io import logging import os @@ -47,6 +48,11 @@ try: except ImportError: from collections import KeysView +try: + from os import scandir +except ImportError: + from scandir import scandir + from octoprint.util import ( CaseInsensitiveSet, atomic_write, @@ -60,7 +66,7 @@ _APPNAME = "OctoPrint" _instance = None -def settings(init=False, basedir=None, configfile=None): +def settings(init=False, basedir=None, configfile=None, overlays=None): """ Factory method for initially constructing and consecutively retrieving the :class:`~octoprint.settings.Settings` singleton. @@ -75,6 +81,7 @@ def settings(init=False, basedir=None, configfile=None): ``~/Library/Application Support/OctoPrint`` on MacOS. configfile (str): Path of the configuration file (``config.yaml``) to work on. If not set the default will be used: ``/config.yaml`` for ``basedir`` as defined above. + overlays (list): List of paths to config overlays to put between default settings and config.yaml Returns: Settings: The fully initialized :class:`Settings` instance. @@ -89,7 +96,9 @@ def settings(init=False, basedir=None, configfile=None): else: if init: - _instance = Settings(configfile=configfile, basedir=basedir) + _instance = Settings( + configfile=configfile, basedir=basedir, overlays=overlays + ) else: raise ValueError("Settings not initialized yet") @@ -659,14 +668,18 @@ class Settings(object): OVERLAY_KEY = "__overlay__" - def __init__(self, configfile=None, basedir=None): + def __init__(self, configfile=None, basedir=None, overlays=None): self._logger = logging.getLogger(__name__) self._basedir = None + if overlays is None: + overlays = [] + assert isinstance(default_settings, dict) self._map = HierarchicalChainMap({}, default_settings) + self.load_overlays(overlays) self._config = None self._dirty = False @@ -1013,6 +1026,34 @@ class Settings(object): self._forget_hashes() + def load_overlays(self, overlays, migrate=True): + for overlay in overlays: + if not os.path.exists(overlay): + continue + + def process(path): + try: + overlay_config = self.load_overlay(path, migrate=migrate) + self.add_overlay(overlay_config) + self._logger.info("Added config overlay from {}".format(path)) + except Exception: + self._logger.exception( + "Could not add config overlay from {}".format(path) + ) + + if os.path.isfile(overlay): + process(overlay) + + elif os.path.isdir(overlay): + for entry in scandir(overlay): + name = entry.name + path = entry.path + + if is_hidden_path(path) or not fnmatch.fnmatch(name, "*.yaml"): + continue + + process(path) + def load_overlay(self, overlay, migrate=True): config = None From 62ff12b1c2920b9ce985fd572078e75067483ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 26 Nov 2020 14:31:24 +0100 Subject: [PATCH 06/10] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20PMGR:=20Plugin=20exp?= =?UTF-8?q?ort=20name=20should=20be=20plugin=5Flist.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That way it's more consistent with the endpoint name and the file used in the backups. --- src/octoprint/plugins/pluginmanager/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index 0a4981265..0da508497 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -414,7 +414,7 @@ class PluginManagerPlugin( return flask.Response( json.dumps(plugins), mimetype="text/plain", - headers={"Content-Disposition": 'attachment; filename="plugins.json"'}, + headers={"Content-Disposition": 'attachment; filename="plugin_list.json"'}, ) def is_blueprint_protected(self): From 4e729c50a80896a22a7230567635a4b5ba25d668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 26 Nov 2020 14:37:28 +0100 Subject: [PATCH 07/10] =?UTF-8?q?=F0=9F=91=B7=20Only=20trigger=20doc=20bui?= =?UTF-8?q?ld=20on=20push=20from=20main=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/trigger_docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/trigger_docs.yml b/.github/workflows/trigger_docs.yml index 6a4fc565c..492d5ef5b 100644 --- a/.github/workflows/trigger_docs.yml +++ b/.github/workflows/trigger_docs.yml @@ -9,6 +9,7 @@ on: jobs: trigger: runs-on: ubuntu-latest + if: github.repository == 'OctoPrint/OctoPrint' steps: - name: 🚀 Repository Dispatch uses: peter-evans/repository-dispatch@v1 From 5cb256433524dc082d629be23f04de942552fbd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 26 Nov 2020 14:41:42 +0100 Subject: [PATCH 08/10] =?UTF-8?q?=F0=9F=91=B7=20Only=20trigger=20docker=20?= =?UTF-8?q?build=20on=20main=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/trigger_docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/trigger_docker.yml b/.github/workflows/trigger_docker.yml index 92f93b44a..edf7a4c1d 100644 --- a/.github/workflows/trigger_docker.yml +++ b/.github/workflows/trigger_docker.yml @@ -8,6 +8,7 @@ on: jobs: trigger: runs-on: ubuntu-latest + if: github.repository == 'OctoPrint/OctoPrint' steps: - name: 🚀 Repository Dispatch uses: peter-evans/repository-dispatch@v1 From ba27cdfd9aff8884daca52a61ced30b56ca9a644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 30 Nov 2020 14:09:15 +0100 Subject: [PATCH 09/10] =?UTF-8?q?=F0=9F=8E=A8=20Protect=20agains=20null=20?= =?UTF-8?q?scripts=20sent=20by=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See #3827 --- src/octoprint/server/api/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index 2466f655f..bb5f2747e 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -9,6 +9,7 @@ import logging from flask import abort, jsonify, make_response, request from flask_login import current_user +from past.builtins import basestring from werkzeug.exceptions import BadRequest import octoprint.plugin @@ -932,6 +933,8 @@ def _saveSettings(data): for name, script in data["scripts"]["gcode"].items(): if name == "snippets": continue + if not isinstance(script, basestring): + continue s.saveScript( "gcode", name, script.replace("\r\n", "\n").replace("\r", "\n") ) From f67c15a9a47794a68be9aed4f2d5a12a87e70179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 30 Nov 2020 14:30:46 +0100 Subject: [PATCH 10/10] =?UTF-8?q?=F0=9F=94=96=20Preparing=20release=20of?= =?UTF-8?q?=201.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUPPORTERS.md | 2 +- .../plugins/errortracking/__init__.py | 4 +- .../translations/de/LC_MESSAGES/messages.mo | Bin 191446 -> 191523 bytes .../translations/de/LC_MESSAGES/messages.po | 93 ++++++++++++++++-- translations/de/LC_MESSAGES/messages.mo | Bin 191446 -> 191523 bytes translations/de/LC_MESSAGES/messages.po | 93 ++++++++++++++++-- translations/messages.pot | 4 +- 7 files changed, 179 insertions(+), 17 deletions(-) diff --git a/SUPPORTERS.md b/SUPPORTERS.md index a4aa01329..c7d1ab3fd 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -68,4 +68,4 @@ thanks to everyone who contributed! * Sven Mueller * Ulrich Kempken -and 2107 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! +and 2116 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 00d9b82cc..d5c0d9619 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://e08a2195f1844c17a99a03dd04cc127f@o118517.ingest.sentry.io/1373987" + "https://53f015cb6c3046088019baed6ff5b653@o118517.ingest.sentry.io/1373987" ) SENTRY_URL_COREUI = ( - "https://def48ce0f05340f0b30d5f4e981f8686@o118517.ingest.sentry.io/1374096" + "https://993cc8f6848b4ccca8c66be5769ccb50@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 af0dc976929fe929b277d20a3a600ae3a249b3e4..3765acec62498cb819dd3d3910a387789433eb5d 100644 GIT binary patch delta 11853 zcmZYFd4NyV|HtujFJ?p-V=ddqK4XTlW{r`3jT*vWNEv0xl4UGivKz}}Y$0ououVO? zZOR%#G9Ez{9nUN#TM*>m0KP*J2bWG+OVN8`S%6 za18e}aT^_zPW{0q$26h7YqMjrsQB_OeI{O<~im#Cw#xtF>CR|U5>elZ9ZqjSZlXqqB*fI-lm@Vg=5~q@n1S-BtF4O z93T0WV_u;C&mPBIq26e(jX;_Gj$zPdC~jb&1=Ah#3-!I<*obZQ4ml<-7e2i0BMa+ZUF(1B(<#05H;d0E6Td@G{N1b=puV2SP)F1inVMiQ8e~cIK3uQ4k z4Hd97R>wvdhdFQ_s)LL1DO~Nl33E|T^WBfig>Nweiyd`L6>N$na2Q78dsv?5o3AL$ zB_!AI6&(33$$}@2Ggq8g@}y%1U?RrSeg+RxFLa7I&SuO-^r$DFbxZ?}=l;PlW3c5p z$8^T@496T`sKqWgCYAFpU3APE9QKoA3X*^3nM;g_6RTWi>&Stk08abK`YX_AfwXd!}!#>yDvcW-^B2bkx+nhh=a%DuVklhkAaDg68-XYR)d9 zF8l?R1AkyaEc~-Q9)%&)>tiIofMsz2YKl@&Q}#ZV#^u-*_u)n?cEfh?5PF*PV-%Eh z=TJ#<55qC%ONY%hn3R4vqqn_&}dkFhuxYvF0^i%;FQQ#KffQ(x)V zi`-%TYbR@Y$L@eD@Ht)Ro9nJ)lBhSv*0>vWeh7=W8umoxKngC#OV|lV|7x@TB*s&J zf|W7;H`}r4NcNjO9)(#HGI1deyXTnsnESpB(MqgAJsqR)PgG8ndtgV}1U14*sQus; z?!mB!HYrcy6Y7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b/src/octoprint/translations/de/LC_MESSAGES/messages.po index ef39b2545..339c82272 100644 --- a/src/octoprint/translations/de/LC_MESSAGES/messages.po +++ b/src/octoprint/translations/de/LC_MESSAGES/messages.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: OctoPrint\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2020-11-17 14:24+0100\n" -"PO-Revision-Date: 2020-11-17 14:27+0100\n" +"POT-Creation-Date: 2020-11-30 14:27+0100\n" +"PO-Revision-Date: 2020-11-30 14:29+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" @@ -4699,10 +4699,12 @@ msgid "\n" " It's also recommended to create a user account without admin access and use that for third\n" " party clients where possible.\n" " " -msgstr "Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n" -"Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n" -"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu müssen.\n" -"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden." +msgstr "\n" +" Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n" +" Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n" +" des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen ohne für alle anderen den Key ändern zu müssen.\n" +" Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden.\n" +" " #: src/octoprint/templates/dialogs/settings/api.jinja2:23 msgid "Access Application Keys" @@ -7965,3 +7967,82 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "Resend requests" #~ msgstr "Resendrequests" + +#~ msgid "" +#~ "\n" +#~ " The global API key " +#~ "should best not be used anymore. " +#~ "It's one single key that gives " +#~ "full admin access to\n" +#~ " your whole OctoPrint instance." +#~ " Instead of using it you should " +#~ "create individual Application Keys for\n" +#~ " your third party clients. " +#~ "That way they get permissions matching" +#~ " the user account used for key\n" +#~ "" +#~ " creation and you can " +#~ "also revoke access to one app " +#~ "without having to change the keys " +#~ "for all other apps.\n" +#~ " It's also recommended to " +#~ "create a user account without admin " +#~ "access and use that for third\n" +#~ " party clients where possible.\n" +#~ " " +#~ msgstr "" +#~ "Der globale API Key sollte am " +#~ "Besten nicht mehr verwendet werden. Es" +#~ " ist ein einzelner Key, der vollen" +#~ " Adminzugriff auf die gesamte OctoPrint " +#~ "Instanz gibt.\n" +#~ "Stattdessen solltest du individuelle " +#~ "Application Keys für Third-Party-Clients" +#~ " erstellen. Dadurch bekommen diese die " +#~ "Zugriffsrechte des jeweiligen für die " +#~ "Erstellung \n" +#~ "des Keys genutzten Nutzeraccounts und du" +#~ " kannst einem Client auch einfach " +#~ "wieder den Zugriff entziehen, oder für" +#~ " alle anderen den Key ändern zu " +#~ "müssen.\n" +#~ "Es ist außerdem empfohlen, einen " +#~ "Useraccount ohne Adminzugriff zu erstellen " +#~ "und so möglich für Third-Party-" +#~ "Clients zu verwenden." + +#~ msgid "Export" +#~ msgstr "Port" + +#~ msgid "Offline after error" +#~ msgstr "" + +#~ msgid "Starting to send file to SD" +#~ msgstr "" + +#~ msgid "" +#~ "\n" +#~ " It is recommended to no" +#~ " longer use the global API key " +#~ "as it's one single key that gives" +#~ " full admin access\n" +#~ " to your whole OctoPrint " +#~ "instance. It will be removed in" +#~ " OctoPrint 2.0.\n" +#~ " Instead of using the " +#~ "global key you should create individual" +#~ " Application Keys for\n" +#~ " your third party clients. " +#~ "That way they get permissions matching" +#~ " the user account used for key\n" +#~ "" +#~ " creation and you can " +#~ "also revoke access to one app " +#~ "without having to change the keys " +#~ "for all other apps.\n" +#~ " It's also recommended to " +#~ "create a user account without admin " +#~ "access and use that for third\n" +#~ " party clients where possible.\n" +#~ " " +#~ msgstr "" diff --git a/translations/de/LC_MESSAGES/messages.mo b/translations/de/LC_MESSAGES/messages.mo index af0dc976929fe929b277d20a3a600ae3a249b3e4..3765acec62498cb819dd3d3910a387789433eb5d 100644 GIT binary patch delta 11853 zcmZYFd4NyV|HtujFJ?p-V=ddqK4XTlW{r`3jT*vWNEv0xl4UGivKz}}Y$0ououVO? zZOR%#G9Ez{9nUN#TM*>m0KP*J2bWG+OVN8`S%6 za18e}aT^_zPW{0q$26h7YqMjrsQB_OeI{O<~im#Cw#xtF>CR|U5>elZ9ZqjSZlXqqB*fI-lm@Vg=5~q@n1S-BtF4O z93T0WV_u;C&mPBIq26e(jX;_Gj$zPdC~jb&1=Ah#3-!I<*obZQ4ml<-7e2i0BMa+ZUF(1B(<#05H;d0E6Td@G{N1b=puV2SP)F1inVMiQ8e~cIK3uQ4k z4Hd97R>wvdhdFQ_s)LL1DO~Nl33E|T^WBfig>Nweiyd`L6>N$na2Q78dsv?5o3AL$ zB_!AI6&(33$$}@2Ggq8g@}y%1U?RrSeg+RxFLa7I&SuO-^r$DFbxZ?}=l;PlW3c5p z$8^T@496T`sKqWgCYAFpU3APE9QKoA3X*^3nM;g_6RTWi>&Stk08abK`YX_AfwXd!}!#>yDvcW-^B2bkx+nhh=a%DuVklhkAaDg68-XYR)d9 zF8l?R1AkyaEc~-Q9)%&)>tiIofMsz2YKl@&Q}#ZV#^u-*_u)n?cEfh?5PF*PV-%Eh z=TJ#<55qC%ONY%hn3R4vqqn_&}dkFhuxYvF0^i%;FQQ#KffQ(x)V zi`-%TYbR@Y$L@eD@Ht)Ro9nJ)lBhSv*0>vWeh7=W8umoxKngC#OV|lV|7x@TB*s&J zf|W7;H`}r4NcNjO9)(#HGI1dey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3}-{o47YId{{d)Q2?YQE diff --git a/translations/de/LC_MESSAGES/messages.po b/translations/de/LC_MESSAGES/messages.po index ef39b2545..339c82272 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-17 14:24+0100\n" -"PO-Revision-Date: 2020-11-17 14:27+0100\n" +"POT-Creation-Date: 2020-11-30 14:27+0100\n" +"PO-Revision-Date: 2020-11-30 14:29+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" @@ -4699,10 +4699,12 @@ msgid "\n" " It's also recommended to create a user account without admin access and use that for third\n" " party clients where possible.\n" " " -msgstr "Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n" -"Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n" -"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu müssen.\n" -"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden." +msgstr "\n" +" Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n" +" Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n" +" des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen ohne für alle anderen den Key ändern zu müssen.\n" +" Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden.\n" +" " #: src/octoprint/templates/dialogs/settings/api.jinja2:23 msgid "Access Application Keys" @@ -7965,3 +7967,82 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "Resend requests" #~ msgstr "Resendrequests" + +#~ msgid "" +#~ "\n" +#~ " The global API key " +#~ "should best not be used anymore. " +#~ "It's one single key that gives " +#~ "full admin access to\n" +#~ " your whole OctoPrint instance." +#~ " Instead of using it you should " +#~ "create individual Application Keys for\n" +#~ " your third party clients. " +#~ "That way they get permissions matching" +#~ " the user account used for key\n" +#~ "" +#~ " creation and you can " +#~ "also revoke access to one app " +#~ "without having to change the keys " +#~ "for all other apps.\n" +#~ " It's also recommended to " +#~ "create a user account without admin " +#~ "access and use that for third\n" +#~ " party clients where possible.\n" +#~ " " +#~ msgstr "" +#~ "Der globale API Key sollte am " +#~ "Besten nicht mehr verwendet werden. Es" +#~ " ist ein einzelner Key, der vollen" +#~ " Adminzugriff auf die gesamte OctoPrint " +#~ "Instanz gibt.\n" +#~ "Stattdessen solltest du individuelle " +#~ "Application Keys für Third-Party-Clients" +#~ " erstellen. Dadurch bekommen diese die " +#~ "Zugriffsrechte des jeweiligen für die " +#~ "Erstellung \n" +#~ "des Keys genutzten Nutzeraccounts und du" +#~ " kannst einem Client auch einfach " +#~ "wieder den Zugriff entziehen, oder für" +#~ " alle anderen den Key ändern zu " +#~ "müssen.\n" +#~ "Es ist außerdem empfohlen, einen " +#~ "Useraccount ohne Adminzugriff zu erstellen " +#~ "und so möglich für Third-Party-" +#~ "Clients zu verwenden." + +#~ msgid "Export" +#~ msgstr "Port" + +#~ msgid "Offline after error" +#~ msgstr "" + +#~ msgid "Starting to send file to SD" +#~ msgstr "" + +#~ msgid "" +#~ "\n" +#~ " It is recommended to no" +#~ " longer use the global API key " +#~ "as it's one single key that gives" +#~ " full admin access\n" +#~ " to your whole OctoPrint " +#~ "instance. It will be removed in" +#~ " OctoPrint 2.0.\n" +#~ " Instead of using the " +#~ "global key you should create individual" +#~ " Application Keys for\n" +#~ " your third party clients. " +#~ "That way they get permissions matching" +#~ " the user account used for key\n" +#~ "" +#~ " creation and you can " +#~ "also revoke access to one app " +#~ "without having to change the keys " +#~ "for all other apps.\n" +#~ " It's also recommended to " +#~ "create a user account without admin " +#~ "access and use that for third\n" +#~ " party clients where possible.\n" +#~ " " +#~ msgstr "" diff --git a/translations/messages.pot b/translations/messages.pot index c522555fb..9216a1edf 100644 --- a/translations/messages.pot +++ b/translations/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: OctoPrint 1.5.0rc2.dev19+gf2ed1ebc7\n" +"Project-Id-Version: OctoPrint 1.5.0rc4.dev4+g308ac450e.dirty\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2020-11-17 14:24+0100\n" +"POT-Creation-Date: 2020-11-30 14:27+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"