diff --git a/.versioneer-lookup b/.versioneer-lookup index 6b120081e..992641e5a 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -22,10 +22,10 @@ maintenance 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev fix/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev improve/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev -# staging/maintenance is currently the branch for preparation of 1.3.6rc3 +# staging/maintenance is currently the branch for preparation of 1.3.6rc4 # so is regressionfix/... -staging/maintenance 1.3.6rc3 3f4a70cf92a7d9081932850be1ea9fb298f0e3f7 pep440-dev -regressionfix/.* 1.3.6rc3 3f4a70cf92a7d9081932850be1ea9fb298f0e3f7 pep440-dev +staging/maintenance 1.3.6rc4 a8747f7e36a03ff2449b62cdf68b8a26a6fa61b3 pep440-dev +regressionfix/.* 1.3.6rc4 a8747f7e36a03ff2449b62cdf68b8a26a6fa61b3 pep440-dev # every other branch is a development branch and thus gets resolved to 1.4.0-dev for now .* 1.4.0 7f5d03d0549bcbd26f40e7e4a3297ea5204fb1cc pep440-dev diff --git a/CHANGELOG.md b/CHANGELOG.md index d5019bfd3..ff1707b71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # OctoPrint Changelog -## 1.3.6rc2 (2017-12-05) +## 1.3.6 (2017-12-12) ### Note for upgraders and plugin authors: Change in the bundling of JS assets can lead to issues in plugins @@ -8,26 +8,7 @@ A change to solve issues with plugins bundling JS assets that cause interference If you happen to run into any such issues, you can switch back to the old way of bundling JS assets via the newly introduced "Settings > Feature > Enable legacy plugin asset bundling" toggle (check it, save the settings, restart the server). This is provided to allow for a minimally invasive adjustment period until affected plugins have been updated. -You can find out more about the change, how to know if a plugin is even affected and what do about it [on the OctoBlog](http://octoprint.org/blog/2017/12/01/heads-up-plugin-authors/). - -### Bug fixes - - * [#2262](https://github.com/foosel/OctoPrint/issues/2262) - Fixed a bug causing `Error:checksum mismatch, Last Line: ...` errors from the firmware to be handled incorrectly. - * [#2267](https://github.com/foosel/OctoPrint/issues/2267) - Fixed a bug causing the GCODE viewer to not get properly initialized due to a JS error on load if "Also show next layer" was selected. - * [#2268](https://github.com/foosel/OctoPrint/issues/2268) - Fixed a bug causing a display error with the temperature offsets. If one offset was changed, all others seemed to revert back to 0. - * Fixed ordering of plugin assets, should be alphabetical based on the plugin identifier. - -([Commits](https://github.com/foosel/OctoPrint/compare/1.3.6rc1...1.3.6rc2)) - -## 1.3.6rc1 (2017-12-01) - -### Note for upgraders and plugin authors: Change in the bundling of JS assets can lead to issues in plugins - -A change to solve issues with plugins bundling JS assets that cause interference with other plugins (e.g. through the declaration of `"use strict"`) and in general to add better isolation and error handling might cause errors for some plugins that go beyond your run-off-the-mill view model and also implicitly declare new globals. - -If you happen to run into any such issues, you can switch back to the old way of bundling JS assets via the newly introduced "Settings > Feature > Enable legacy plugin asset bundling" toggle (check it, save the settings, restart the server). This is provided to allow for a minimally invasive adjustment period until affected plugins have been updated. - -You can find out more about the change, how to know if a plugin is even affected and what do about it [on the OctoBlog](http://octoprint.org/blog/2017/12/01/heads-up-plugin-authors/). +You can find out more about the change, how to know if a plugin is even affected and what do about it [on the OctoBlog](https://octoprint.org/blog/2017/12/01/heads-up-plugin-authors/). ### Improvements @@ -86,6 +67,7 @@ You can find out more about the change, how to know if a plugin is even affected * Docs: Added information on how to run the test suite. * Various refactorings * Various documentation updates + * Fetch plugin blacklist (and also announcements, plugin notices and plugin repository) via https instead of http. ### Bug fixes @@ -108,6 +90,9 @@ You can find out more about the change, how to know if a plugin is even affected * [#2226](https://github.com/foosel/OctoPrint/issues/2226) - Handle `No Line Number with checksum, Last Line: ...` errors from the firmware. * [#2233](https://github.com/foosel/OctoPrint/pull/2233) - Respond with `411 Length Required` when content length is missing on file uploads. * [#2242](https://github.com/foosel/OctoPrint/issues/2242) - Fixed an issue where print time left could show "1 days" instead of "1 day". + * [#2262](https://github.com/foosel/OctoPrint/issues/2262) (regression) - Fixed a bug causing `Error:checksum mismatch, Last Line: ...` errors from the firmware to be handled incorrectly. + * [#2267](https://github.com/foosel/OctoPrint/issues/2267) (regression) - Fixed a bug causing the GCODE viewer to not get properly initialized due to a JS error on load if "Also show next layer" was selected. + * [#2268](https://github.com/foosel/OctoPrint/issues/2268) (regression) - Fixed a bug causing a display error with the temperature offsets. If one offset was changed, all others seemed to revert back to 0. * Fixed cleanup of unrendered timelapses with certain names. * Fixed a caching issue with the file list API and the slicing API. * Fixed initial sizing of the temperature graph. @@ -125,8 +110,18 @@ You can find out more about the change, how to know if a plugin is even affected * Virtual printer: Fix resend simuation. * Docs: Fixed CSS of line numbered listings. * Docs: Updated mermaid to fix a deprecation warning. + * Fixed ordering of plugin assets, should be alphabetical based on the plugin identifier. (regression) + * Fixed an issue causing redundant software update configuration settings to be written to `config.yaml`, in turn causing issues when downgrading to <1.3.5. (regression) + * Fixed an issue detecting whether the installed version is a release version or a development version. (regression) -([Commits](https://github.com/foosel/OctoPrint/compare/1.3.5...1.3.6rc1)) +### More Information + + * [Commits](https://github.com/foosel/OctoPrint/compare/1.3.5...1.3.6) + * Release Candidates: + * [1.3.5rc1](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc1) + * [1.3.5rc2](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc2) + * [1.3.5rc3](https://github.com/foosel/OctoPrint/releases/tag/1.3.6rc3) + * A special **Thank you!** to everyone who reported back on these release candidates this time: [andrivet](https://github.com/andrivet), [b-morgan](https://github.com/b-morgan), [bjarchi](https://github.com/bjarchi), [chippypilot](https://github.com/chippypilot), [ChrisHeerschap](https://github.com/ChrisHeerschap), [cosmith71](https://github.com/cosmith71), [Crowlord](https://github.com/Crowlord), [ctgreybeard](https://github.com/ctgreybeard), [fiveangle](https://github.com/fiveangle), [goeland86](https://github.com/goeland86), [jbjones27](https://github.com/jbjones27), [jneilliii](https://github.com/jneilliii), [JohnOCFII](https://github.com/JohnOCFII), [Kunsi](https://github.com/Kunsi), [Lordxv](https://github.com/Lordxv), [malnvenshorn](https://github.com/malnvenshorn), [mcp5500](https://github.com/mcp5500), [ntoff](https://github.com/ntoff), [ripp2003](https://github.com/ripp2003) and [schorsch3000](https://github.com/schorsch3000) ## 1.3.5 (2017-10-16) diff --git a/README.md b/README.md index 817884a57..1571a3308 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,14 @@ OctoPrint provides a snappy web interface for controlling consumer 3D printers. It is Free Software and released under the [GNU Affero General Public License V3](http://www.gnu.org/licenses/agpl.html). -Its website can be found at [octoprint.org](http://octoprint.org). +Its website can be found at [octoprint.org](https://octoprint.org/?utm_source=github&utm_medium=readme). The documentation is located at [docs.octoprint.org](http://docs.octoprint.org). -The official plugin repository can be reached at [plugins.octoprint.org](http://plugins.octoprint.org). +The official plugin repository can be reached at [plugins.octoprint.org](https://plugins.octoprint.org/?utm_source=github&utm_medium=readme). -OctoPrint's development wouldn't be possible without the [financial support by its community](http://octoprint.org/support-octoprint/). -If you enjoy OctoPrint, please consider becoming a regular supporter! +**OctoPrint's development wouldn't be possible without the [financial support by its community](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme). +If you enjoy OctoPrint, please consider becoming a regular supporter!** ![Screenshot](http://i.imgur.com/dF3noFp.png) @@ -29,7 +29,7 @@ Contributions of all kinds are welcome, not only in the form of code but also wi [official documentation](http://docs.octoprint.org/) or [the public wiki](https://github.com/foosel/OctoPrint/wiki), support of other users in the [bug tracker](https://github.com/foosel/OctoPrint/issues), [the Mailinglist](https://groups.google.com/group/octoprint) or -[the G+ Community](https://plus.google.com/communities/102771308349328485741) and also [financially](http://octoprint.org/support-octoprint/). +[the G+ Community](https://plus.google.com/communities/102771308349328485741) and also [financially](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme). If you think something is bad about OctoPrint or its documentation the way it is, please help in any way to make it better instead of just complaining about it -- this is an Open Source Project diff --git a/SUPPORTERS.md b/SUPPORTERS.md index e5c16ae4a..29c55a3e3 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -36,7 +36,6 @@ thanks to everyone who contributed! * Kazuhiro Ogura * Makespace Madrid * Marcus Ackermann - * Mark Qvist * Mark Walker * Michael Aumock * Miles Flavel @@ -46,7 +45,7 @@ thanks to everyone who contributed! * Patrick McGinnis * Peter Schmehl * PRINT3Dforum.com - * Robert Gusek + * Randy C. Will * Roger Strolz * Roy Cortes * Samer Najia @@ -59,4 +58,4 @@ thanks to everyone who contributed! * Timeshell.ca * Trent Shumay -and 1144 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)! \ No newline at end of file +and 1062 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)! \ No newline at end of file diff --git a/src/octoprint/plugins/announcements/__init__.py b/src/octoprint/plugins/announcements/__init__.py index 092bc0259..bccea5198 100644 --- a/src/octoprint/plugins/announcements/__init__.py +++ b/src/octoprint/plugins/announcements/__init__.py @@ -60,27 +60,27 @@ class AnnouncementPlugin(octoprint.plugin.AssetPlugin, description="Important announcements about OctoPrint.", priority=1, type="rss", - url="http://octoprint.org/feeds/important.xml"), + url="https://octoprint.org/feeds/important.xml"), _releases=dict(name="Release Announcements", description="Announcements of new releases and release candidates of OctoPrint.", priority=2, type="rss", - url="http://octoprint.org/feeds/releases.xml"), + url="https://octoprint.org/feeds/releases.xml"), _blog=dict(name="On the OctoBlog", description="Development news, community spotlights, OctoPrint On Air episodes and more from the official OctoBlog.", priority=2, type="rss", - url="http://octoprint.org/feeds/octoblog.xml"), + url="https://octoprint.org/feeds/octoblog.xml"), _plugins=dict(name="New Plugins in the Repository", description="Announcements of new plugins released on the official Plugin Repository.", priority=2, type="rss", - url="http://plugins.octoprint.org/feed.xml"), + url="https://plugins.octoprint.org/feed.xml"), _octopi=dict(name="OctoPi News", description="News around OctoPi, the Raspberry Pi image including OctoPrint.", priority=2, type="rss", - url="http://octoprint.org/feeds/octopi.xml")), + url="https://octoprint.org/feeds/octopi.xml")), enabled_channels=[], forced_channels=["_important"], channel_order=["_important", "_releases", "_blog", "_plugins", "_octopi"], diff --git a/src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2 b/src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2 index 5c6eebbea..744bcbc0d 100644 --- a/src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2 +++ b/src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2 @@ -6,7 +6,7 @@ normal operation, allowing you to uninstall or update them to a newer version. {% endtrans %}

-

{% trans url="http://plugins.octoprint.org/blacklist/" %} +

{% trans url="https://plugins.octoprint.org/blacklist/" %} By default, OctoPrint will use the blacklist hosted at plugins.octoprint.org/blacklist.json which you can also take a look at in a more human readable format here. {% endtrans %}

diff --git a/src/octoprint/plugins/octopi_support/templates/octopi_support_about.jinja2 b/src/octoprint/plugins/octopi_support/templates/octopi_support_about.jinja2 index 5e0212b31..6dcb2d674 100644 --- a/src/octoprint/plugins/octopi_support/templates/octopi_support_about.jinja2 +++ b/src/octoprint/plugins/octopi_support/templates/octopi_support_about.jinja2 @@ -5,7 +5,7 @@

Version {{ plugin_octopi_support_version }}

diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index 1aeec5744..6342fc04b 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -117,9 +117,9 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin, def get_settings_defaults(self): return dict( - repository="http://plugins.octoprint.org/plugins.json", + repository="https://plugins.octoprint.org/plugins.json", repository_ttl=24*60, - notices="http://plugins.octoprint.org/notices.json", + notices="https://plugins.octoprint.org/notices.json", notices_ttl=6*60, pip_args=None, pip_force_user=False, diff --git a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js index 17e7a0b16..d658aa1d0 100644 --- a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js +++ b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js @@ -196,8 +196,8 @@ $(function() { return; } - var restartSpec = _.filter(lastResponse.core, function(spec) { return spec.action === "restart" }); - self.restartCommandSpec = restartSpec !== undefined && restartSpec.length > 0 ? restartSpec[0] : undefined; + var restartSpec = _.filter(lastResponse.core, function(spec) { return spec.action == "restart" }); + self.restartCommandSpec = restartSpec != undefined && restartSpec.length > 0 ? restartSpec[0] : undefined; }); self.notifications = []; @@ -207,9 +207,9 @@ $(function() { self.noticeCountText = ko.pureComputed(function() { var count = self.noticeCount(); - if (count === 0) { + if (count == 0) { return gettext("There are no plugin notices. Great!"); - } else if (count === 1) { + } else if (count == 1) { return gettext("There is a plugin notice for one of your installed plugins."); } else { return _.sprintf(gettext("There are %(count)d plugin notices for one or more of your installed plugins."), {count: count}); @@ -224,15 +224,15 @@ $(function() { var command = self._getToggleCommand(data); var not_safemode_victim = !data.safe_mode_victim || data.safe_mode_enabled; var not_blacklisted = !data.blacklisted; - return self.enableManagement() && (command === "disable" || (not_safemode_victim && not_blacklisted)) && data.key !== 'pluginmanager'; + return self.enableManagement() && (command == "disable" || (not_safemode_victim && not_blacklisted)) && data.key != 'pluginmanager'; }; self.enableUninstall = function(data) { return self.enableManagement() - && (data.origin !== "entry_point" || self.pipAvailable()) + && (data.origin != "entry_point" || self.pipAvailable()) && data.managable && !data.bundled - && data.key !== 'pluginmanager' + && data.key != 'pluginmanager' && !data.pending_uninstall; }; @@ -299,7 +299,7 @@ $(function() { maxNumberOfFiles: 1, autoUpload: false, add: function(e, data) { - if (data.files.length === 0) { + if (data.files.length == 0) { return false; } @@ -341,7 +341,7 @@ $(function() { self.performRepositorySearch = function() { var query = self.repositorySearchQuery(); - if (query !== undefined && query.trim() !== "") { + if (query !== undefined && query.trim() != "") { query = query.toLocaleLowerCase(); self.repositoryplugins.changeSearchFunction(function(entry) { return entry && (entry["title"].toLocaleLowerCase().indexOf(query) > -1 || entry["description"].toLocaleLowerCase().indexOf(query) > -1); @@ -447,7 +447,7 @@ $(function() { return; } - if (data.key === "pluginmanager") return; + if (data.key == "pluginmanager") return; var onSuccess = function() { self.requestData(); @@ -461,7 +461,7 @@ $(function() { }) }; - if (self._getToggleCommand(data) === "enable") { + if (self._getToggleCommand(data) == "enable") { if (data.safe_mode_victim && !data.safe_mode_enabled) return; OctoPrint.plugins.pluginmanager.enable(data.key) .done(onSuccess) @@ -582,7 +582,7 @@ $(function() { } if (data.bundled) return; - if (data.key === "pluginmanager") return; + if (data.key == "pluginmanager") return; self._markWorking(gettext("Uninstalling plugin..."), _.sprintf(gettext("Uninstalling plugin \"%(name)s\""), {name: data.name})); @@ -633,7 +633,7 @@ $(function() { self.savePluginSettings = function() { var repository = self.config_repositoryUrl(); - if (repository !== undefined && repository.trim() === "") { + if (repository != undefined && repository.trim() == "") { repository = null; } @@ -645,7 +645,7 @@ $(function() { } var notices = self.config_noticesUrl(); - if (notices !== undefined && notices.trim() === "") { + if (notices != undefined && notices.trim() == "") { notices = null; } @@ -657,7 +657,7 @@ $(function() { } var pipArgs = self.config_pipAdditionalArgs(); - if (pipArgs !== undefined && pipArgs.trim() === "") { + if (pipArgs != undefined && pipArgs.trim() == "") { pipArgs = null; } @@ -709,7 +709,7 @@ $(function() { }; if (response.result) { - if (action === "install" && response.plugin && response.plugin.blacklisted) { + if (action == "install" && response.plugin && response.plugin.blacklisted) { notification = new PNotify({ title: titleSuccess, text: textSuccess, @@ -862,7 +862,7 @@ $(function() { }; self.toggleButtonCss = function(data) { - var icon = self._getToggleCommand(data) === "enable" ? "fa fa-toggle-off" : "fa fa-toggle-on"; + var icon = self._getToggleCommand(data) == "enable" ? "fa fa-toggle-off" : "fa fa-toggle-on"; var disabled = (self.enableToggle(data)) ? "" : " disabled"; return icon + disabled; @@ -870,7 +870,7 @@ $(function() { self.toggleButtonTitle = function(data) { var command = self._getToggleCommand(data); - if (command === "enable") { + if (command == "enable") { if (data.blacklisted) { return gettext("Blacklisted"); } else if (data.safe_mode_victim && !data.safe_mode_enabled) { @@ -884,7 +884,7 @@ $(function() { }; self.showPluginNotifications = function(plugin) { - if (!plugin.notifications || plugin.notifications.length === 0) return; + if (!plugin.notifications || plugin.notifications.length == 0) return; self._removeAllNoticeNotificationsForPlugin(plugin.key); _.each(plugin.notifications, function(notification) { @@ -893,7 +893,7 @@ $(function() { }; self.showPluginNotificationsLinkText = function(plugins) { - if (!plugins.notifications || plugins.notifications.length === 0) return; + if (!plugins.notifications || plugins.notifications.length == 0) return; var count = plugins.notifications.length; var importantCount = _.filter(plugins.notifications, function(notification) { return notification.important }).length; @@ -929,7 +929,7 @@ $(function() { var text = ""; if (notification.versions && notification.versions.length > 0) { - var versions = _.map(notification.versions, function(v) { return (v === version) ? "" + v + "" : v; }).join(", "); + var versions = _.map(notification.versions, function(v) { return (v == version) ? "" + v + "" : v; }).join(", "); text += "" + _.sprintf(gettext("Affected versions: %(versions)s"), {versions: versions}) + ""; } else { text += "" + gettext("Affected versions: all") + ""; @@ -1005,7 +1005,7 @@ $(function() { self._isNoticeNotificationHidden = function(key, date) { if (!self.hiddenNoticeNotifications[key]) return false; - return _.any(_.map(self.hiddenNoticeNotifications[key], function(d) { return date === d; })); + return _.any(_.map(self.hiddenNoticeNotifications[key], function(d) { return date == d; })); }; var noticeLocalStorageKey = "plugin.pluginmanager.seen_notices"; @@ -1039,7 +1039,7 @@ $(function() { if (!Modernizr.localstorage) return false; - if (localStorage[noticeLocalStorageKey] === undefined) + if (localStorage[noticeLocalStorageKey] == undefined) return false; var knownData = JSON.parse(localStorage[noticeLocalStorageKey]); @@ -1094,7 +1094,7 @@ $(function() { }; self.onDataUpdaterPluginMessage = function(plugin, data) { - if (plugin !== "pluginmanager") { + if (plugin != "pluginmanager") { return; } @@ -1108,21 +1108,21 @@ $(function() { var messageType = data.type; - if (messageType === "loglines" && self.working()) { + if (messageType == "loglines" && self.working()) { _.each(data.loglines, function(line) { self.loglines.push(self._preprocessLine(line)); }); self._scrollWorkingOutputToEnd(); - } else if (messageType === "result") { + } else if (messageType == "result") { var titleSuccess, textSuccess, textRestart, textReload, textReconnect, titleError, textError; var action = data.action; var name = "Unknown"; - if (action === "install") { + if (action == "install") { var unknown = false; if (data.hasOwnProperty("plugin")) { - if (data.plugin === "unknown") { + if (data.plugin == "unknown") { unknown = true; } else { name = data.plugin.name; @@ -1172,13 +1172,13 @@ $(function() { if (data.hasOwnProperty("reason")) { if (data.was_reinstalled) { - if (sourceType === "path") { + if (sourceType == "path") { textError = _.sprintf(gettext("Reinstalling the plugin from file failed: %(reason)s"), {reason: data.reason}); } else { textError = _.sprintf(gettext("Reinstalling the plugin from \"%(source)s\" failed: %(reason)s"), {reason: data.reason, source: source}); } } else { - if (sourceType === "path") { + if (sourceType == "path") { textError = _.sprintf(gettext("Installing the plugin from file failed: %(reason)s"), {reason: data.reason}); } else { textError = _.sprintf(gettext("Installing the plugin from \"%(source)s\" failed: %(reason)s"), {reason: data.reason, source: source}); @@ -1186,13 +1186,13 @@ $(function() { } } else { if (data.was_reinstalled) { - if (sourceType === "path") { + if (sourceType == "path") { textError = gettext("Reinstalling the plugin from file failed, please see the log for details."); } else { textError = _.sprintf(gettext("Reinstalling the plugin from \"%(source)s\" failed, please see the log for details."), {source: source}); } } else { - if (sourceType === "path") { + if (sourceType == "path") { textError = gettext("Installing the plugin from file failed, please see the log for details."); } else { textError = _.sprintf(gettext("Installing the plugin from \"%(source)s\" failed, please see the log for details."), {source: source}); @@ -1200,7 +1200,7 @@ $(function() { } } - } else if (action === "uninstall") { + } else if (action == "uninstall") { if (data.hasOwnProperty("plugin")) { name = data.plugin.name; } @@ -1218,7 +1218,7 @@ $(function() { textError = gettext("Uninstalling the plugin failed, please see the log for details."); } - } else if (action === "enable") { + } else if (action == "enable") { if (data.hasOwnProperty("plugin")) { name = data.plugin.name; } @@ -1236,7 +1236,7 @@ $(function() { textError = gettext("Toggling the plugin failed, please see the log for details."); } - } else if (action === "disable") { + } else if (action == "disable") { if (data.hasOwnProperty("plugin")) { name = data.plugin.name; } diff --git a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 index 4dc8b2ae7..6541c2b58 100644 --- a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 +++ b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 @@ -133,7 +133,7 @@ {{ pluginmanager_safemode() }} {{ pluginmanager_offline() }}

- {{ _('... from the Plugin Repository', url='http://plugins.octoprint.org') }} + {{ _('... from the Plugin Repository', url='https://plugins.octoprint.org') }}