Merge branch 'maintenance' into devel

# Conflicts:
#	.github/workflows/build.yml
#	docs/conf.py
#	docs/development/environment.rst
#	docs/sphinxext/codeblockext.py
#	docs/sphinxext/onlineinclude.py
#	setup.py
#	src/octoprint/access/groups.py
#	src/octoprint/access/permissions.py
#	src/octoprint/access/users.py
#	src/octoprint/cli/__init__.py
#	src/octoprint/cli/analysis.py
#	src/octoprint/cli/client.py
#	src/octoprint/cli/config.py
#	src/octoprint/cli/plugins.py
#	src/octoprint/cli/server.py
#	src/octoprint/cli/user.py
#	src/octoprint/environment.py
#	src/octoprint/events.py
#	src/octoprint/filemanager/__init__.py
#	src/octoprint/filemanager/analysis.py
#	src/octoprint/filemanager/destinations.py
#	src/octoprint/filemanager/storage.py
#	src/octoprint/filemanager/util.py
#	src/octoprint/logging/__init__.py
#	src/octoprint/logging/handlers.py
#	src/octoprint/plugin/__init__.py
#	src/octoprint/plugin/core.py
#	src/octoprint/plugins/action_command_notification/__init__.py
#	src/octoprint/plugins/action_command_prompt/__init__.py
#	src/octoprint/plugins/appkeys/__init__.py
#	src/octoprint/plugins/backup/__init__.py
#	src/octoprint/plugins/corewizard/__init__.py
#	src/octoprint/plugins/corewizard/subwizards.py
#	src/octoprint/plugins/discovery/__init__.py
#	src/octoprint/plugins/errortracking/__init__.py
#	src/octoprint/plugins/gcodeviewer/__init__.py
#	src/octoprint/plugins/logging/__init__.py
#	src/octoprint/plugins/pi_support/__init__.py
#	src/octoprint/plugins/softwareupdate/cli.py
#	src/octoprint/plugins/softwareupdate/updaters/single_file_plugin.py
#	src/octoprint/plugins/softwareupdate/updaters/sleep_a_bit.py
#	src/octoprint/plugins/softwareupdate/version_checks/always_current.py
#	src/octoprint/plugins/softwareupdate/version_checks/bitbucket_commit.py
#	src/octoprint/plugins/softwareupdate/version_checks/github_release.py
#	src/octoprint/plugins/softwareupdate/version_checks/httpheader.py
#	src/octoprint/plugins/softwareupdate/version_checks/jsondata.py
#	src/octoprint/plugins/softwareupdate/version_checks/never_current.py
#	src/octoprint/plugins/softwareupdate/version_checks/pypi_release.py
#	src/octoprint/plugins/tracking/__init__.py
#	src/octoprint/plugins/virtual_printer/virtual.py
#	src/octoprint/printer/__init__.py
#	src/octoprint/printer/estimation.py
#	src/octoprint/printer/profile.py
#	src/octoprint/printer/standard.py
#	src/octoprint/server/__init__.py
#	src/octoprint/server/api/__init__.py
#	src/octoprint/server/api/system.py
#	src/octoprint/server/api/users.py
#	src/octoprint/server/util/flask.py
#	src/octoprint/server/util/tornado.py
#	src/octoprint/server/util/webassets.py
#	src/octoprint/settings.py
#	src/octoprint/slicing/__init__.py
#	src/octoprint/timelapse.py
#	src/octoprint/util/__init__.py
#	src/octoprint/util/comm.py
#	src/octoprint/util/commandline.py
#	src/octoprint/util/connectivity.py
#	src/octoprint/util/fixes.py
#	src/octoprint/util/gcodeInterpreter.py
#	src/octoprint/util/jinja.py
#	src/octoprint/util/json/__init__.py
#	src/octoprint/util/net.py
#	src/octoprint_client/__init__.py
#	src/octoprint_setuptools/__init__.py
#	tests/filemanager/test_filemanager.py
#	tests/filemanager/test_localstorage.py
#	tests/plugin/test_core.py
#	tests/plugin/test_settings.py
#	tests/plugin/test_types_blueprint.py
#	tests/plugin/test_types_settings.py
#	tests/server/api/test_system.py
#	tests/server/util/test_flask.py
#	tests/server/util/test_tornado.py
#	tests/slicing/test_slicingmanager.py
#	tests/test_daemon.py
#	tests/timelapse/test_timelapse_helpers.py
#	tests/util/test_comm.py
#	tests/util/test_file_helpers.py
#	tests/util/test_pip.py
#	tests/util/test_repeated_timer.py
#	tests/util/test_resettable_timer.py
#	versioneer.py
This commit is contained in:
Gina Häußge committed 2020-10-07 21:08:44 +02:00
commit 18e6bfc7f8
377 files changed
+77456 -60363

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -4,12 +4,12 @@
} else {
factory(global.OctoPrintClient);
}
})(this, function(OctoPrintClient) {
var OctoPrintPluginManagerClient = function(base) {
})(this, function (OctoPrintClient) {
var OctoPrintPluginManagerClient = function (base) {
this.base = base;
};
OctoPrintPluginManagerClient.prototype.get = function(refresh, opts) {
OctoPrintPluginManagerClient.prototype.get = function (refresh, opts) {
var refresh_repo, refresh_notices, refresh_orphans;
if (_.isPlainObject(refresh)) {
refresh_repo = refresh.repo || false;
@@ -26,18 +26,26 @@
if (refresh_notices) query.push("refresh_notices=true");
if (refresh_orphans) query.push("refresh_orphans=true");
return this.base.get(this.base.getSimpleApiUrl("pluginmanager") + ((query.length) ? "?" + query.join("&") : ""), opts);
return this.base.get(
this.base.getSimpleApiUrl("pluginmanager") +
(query.length ? "?" + query.join("&") : ""),
opts
);
};
OctoPrintPluginManagerClient.prototype.getWithRefresh = function(opts) {
OctoPrintPluginManagerClient.prototype.getWithRefresh = function (opts) {
return this.get(true, opts);
};
OctoPrintPluginManagerClient.prototype.getWithoutRefresh = function(opts) {
OctoPrintPluginManagerClient.prototype.getWithoutRefresh = function (opts) {
return this.get(false, opts);
};
OctoPrintPluginManagerClient.prototype.install = function(pluginUrl, dependencyLinks, opts) {
OctoPrintPluginManagerClient.prototype.install = function (
pluginUrl,
dependencyLinks,
opts
) {
var data = {
url: pluginUrl,
dependency_links: !!dependencyLinks
@@ -45,7 +53,12 @@
return this.base.simpleApiCommand("pluginmanager", "install", data, opts);
};
OctoPrintPluginManagerClient.prototype.reinstall = function(plugin, pluginUrl, dependencyLinks, opts) {
OctoPrintPluginManagerClient.prototype.reinstall = function (
plugin,
pluginUrl,
dependencyLinks,
opts
) {
var data = {
url: pluginUrl,
dependency_links: !!dependencyLinks,
@@ -55,7 +68,7 @@
return this.base.simpleApiCommand("pluginmanager", "install", data, opts);
};
OctoPrintPluginManagerClient.prototype.uninstall = function(plugin, cleanup, opts) {
OctoPrintPluginManagerClient.prototype.uninstall = function (plugin, cleanup, opts) {
// backwards compatibility to former argument list (plugin, opts)
if (arguments.length === 2 && typeof cleanup === "object") {
opts = cleanup;
@@ -69,36 +82,42 @@
return this.base.simpleApiCommand("pluginmanager", "uninstall", data, opts);
};
OctoPrintPluginManagerClient.prototype.cleanup = function(plugin, opts) {
OctoPrintPluginManagerClient.prototype.cleanup = function (plugin, opts) {
var data = {
plugin: plugin
};
return this.base.simpleApiCommand("pluginmanager", "cleanup", data, opts);
};
OctoPrintPluginManagerClient.prototype.cleanupAll = function(plugin, opts) {
OctoPrintPluginManagerClient.prototype.cleanupAll = function (plugin, opts) {
var data = {};
return this.base.simpleApiCommand("pluginmanager", "cleanup_all", data, opts);
};
OctoPrintPluginManagerClient.prototype.enable = function(plugin, opts) {
OctoPrintPluginManagerClient.prototype.enable = function (plugin, opts) {
var data = {
plugin: plugin
};
return this.base.simpleApiCommand("pluginmanager", "enable", data, opts);
};
OctoPrintPluginManagerClient.prototype.disable = function(plugin, opts) {
OctoPrintPluginManagerClient.prototype.disable = function (plugin, opts) {
var data = {
plugin: plugin
};
return this.base.simpleApiCommand("pluginmanager", "disable", data, opts);
};
OctoPrintPluginManagerClient.prototype.upload = function(file) {
return this.base.upload(this.base.getBlueprintUrl("pluginmanager") + "upload_archive", file);
OctoPrintPluginManagerClient.prototype.upload = function (file) {
return this.base.upload(
this.base.getBlueprintUrl("pluginmanager") + "upload_archive",
file
);
};
OctoPrintClient.registerPluginComponent("pluginmanager", OctoPrintPluginManagerClient);
OctoPrintClient.registerPluginComponent(
"pluginmanager",
OctoPrintPluginManagerClient
);
return OctoPrintPluginManagerClient;
});
File diff suppressed because it is too large. Load diff
@@ -11,8 +11,8 @@
margin-bottom: 1em;
table {
th, td {
th,
td {
&.settings_plugin_plugin_manager_plugins_name {
text-overflow: ellipsis;
text-align: left;
@@ -50,8 +50,8 @@
margin-bottom: 1em;
table {
th, td {
th,
td {
&.settings_plugin_plugin_manager_orphans_id {
text-overflow: ellipsis;
text-align: left;
@@ -430,4 +430,3 @@
<button class="btn btn-primary" data-bind="click: savePluginSettings" aria-hidden="true">{{ _('Save') }}</button>
</div>
</div>