diff --git a/.versioneer-lookup b/.versioneer-lookup index 6f70957cd..f3df5e4aa 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -18,19 +18,19 @@ prerelease HEAD \(detached.* -# maintenance is currently the branch for preparation of maintenance release 1.5.0 +# maintenance is currently the branch for preparation of maintenance release 1.6.0 # so are any fix/... and improve/... branches -maintenance 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev -fix/.* 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev -improve/.* 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev +maintenance 1.6.0 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev +fix/.* 1.6.0 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev +improve/.* 1.6.0 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 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/hotfix is the branch for preparation of the 1.4.3 hotfix release +staging/hotfix 1.4.3 3ab84ed7e4c3aaaf71fe0f184b465f25d689f929 pep440-dev -# staging/maintenance is currently the branch for preparation of 1.4.1rc5 +# staging/maintenance is currently the branch for preparation of 1.5.0rc2 # so is regressionfix/... -staging/maintenance 1.4.1rc5 458ab91f915307857941f839a1b743430b8786a4 pep440-dev -regressionfix/.* 1.4.1rc5 458ab91f915307857941f839a1b743430b8786a4 pep440-dev +staging/maintenance 1.5.0rc2 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev +regressionfix/.* 1.5.0rc2 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev # staging/devel is currently inactive (but has the 1.4.1rc4 namespace) staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev diff --git a/SUPPORTERS.md b/SUPPORTERS.md index d236c5d17..cf569f1ac 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -21,15 +21,16 @@ thanks to everyone who contributed! * Eric Betts * Ernesto Martinez * Franziska Kunsmann - * GadgetAngel * George Robles * Greg Holloway * Hog Duske + * Hopewell Medical Acupuncture Center * Hugh Blemings * jean-claude migneault + * Jefferson Hunt * Jeremy Cole * Joe Pasqua - * John Robinson + * John Gregory Robinson * Joshua Wills * Justin Kaufman * Kaile Riser @@ -40,26 +41,30 @@ thanks to everyone who contributed! * Kyle Menigoz * LA 3D Printer Repair * Lee Dohm + * Loyal Moses * Makespace Madrid * Mark Walker * Michael Aumock + * Michael Begala * Miles Flavel * Mosaic Manufacturing * Neil R. Goldberg + * Patrick Glyré * Patrick McGinnis * Prof Yuh Wen Chen * Raise3D * Randy C. Will * Ranjib Dey + * Richard McGuire * Richard Michaud + * Rigid3D * Robert Gusek * Ronald Griehsler * Sacha Telgenhof * Sebastien Andrivet * Stefan Krister * Steve Thompson - * Stewart Danos * Sven Mueller * Ulrich Kempken -and 1943 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! +and 2084 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/setup.py b/setup.py index f637f76b4..0517a4e1b 100644 --- a/setup.py +++ b/setup.py @@ -22,8 +22,8 @@ SETUP_REQUIRES = [ # Requirements for our application INSTALL_REQUIRES = [ # additional OctoPrint plugins that are maintained on a different release cycle - "OctoPrint-FirmwareCheck>=2020.06.22", - "OctoPrint-FileCheck>=2020.07.06", + "OctoPrint-FirmwareCheck>=2020.09.23", + "OctoPrint-FileCheck>=2020.08.07", # the following dependencies are non trivial to update since later versions # introduce backwards incompatible changes that might affect plugins, or due to # other observed problems diff --git a/src/octoprint/plugins/errortracking/__init__.py b/src/octoprint/plugins/errortracking/__init__.py index d7b8de3f2..6d743165e 100644 --- a/src/octoprint/plugins/errortracking/__init__.py +++ b/src/octoprint/plugins/errortracking/__init__.py @@ -18,10 +18,10 @@ from octoprint.util.version import ( ) SENTRY_URL_SERVER = ( - "https://d479a74f172d4ac2b959a9a7d0536a82@o118517.ingest.sentry.io/1373987" + "https://52c1a8315c8643ef8de8759cb140ddb9@o118517.ingest.sentry.io/1373987" ) SENTRY_URL_COREUI = ( - "https://040577fb88b241ff985e408c11775720@o118517.ingest.sentry.io/1374096" + "https://a46f468ba7eb4ca2a046e6a78b208ac4@o118517.ingest.sentry.io/1374096" ) SETTINGS_DEFAULTS = { diff --git a/src/octoprint/plugins/softwareupdate/static/css/softwareupdate.css b/src/octoprint/plugins/softwareupdate/static/css/softwareupdate.css index 9b09fde83..9c137ad8a 100644 --- a/src/octoprint/plugins/softwareupdate/static/css/softwareupdate.css +++ b/src/octoprint/plugins/softwareupdate/static/css/softwareupdate.css @@ -1 +1 @@ -#settings_plugin_softwareupdate_updatelist{display:block;width:auto;max-height:500px;overflow-x:hidden;overflow-y:scroll;padding-right:2px;margin-bottom:1em}td.settings_plugin_softwareupdate_column_update{width:16px}td.settings_plugin_softwareupdate_column_update a{text-decoration:none;color:#000}td.settings_plugin_softwareupdate_column_information .line{display:block}td.settings_plugin_softwareupdate_column_information .settings_plugin_softwareupdate_release_channel{line-height:20px;height:20px;font-size:9px;margin-bottom:0;vertical-align:baseline}#settings_plugin_softwareupdate_workingdialog_output{font-size:.8em}#settings_plugin_softwareupdate_workingdialog_output .message{font-weight:700}#settings_plugin_softwareupdate_workingdialog_output .separator{font-weight:700;color:#666}#settings_plugin_softwareupdate_workingdialog_output .stdout{color:#333}#settings_plugin_softwareupdate_workingdialog_output .stderr{color:#900}#settings_plugin_softwareupdate_workingdialog_output .call{color:#009}#settings_plugin_softwareupdate_workingdialog_output .message_error{font-weight:700;color:#900}.softwareupdate_notification ul{margin:10px 0 10px 25px}.softwareupdate_notification ul .name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block} \ No newline at end of file +#settings_plugin_softwareupdate_updatelist{display:block;width:auto;max-height:400px;overflow-x:hidden;overflow-y:scroll;padding-right:2px;margin-bottom:1em}td.settings_plugin_softwareupdate_column_update{width:16px}td.settings_plugin_softwareupdate_column_update a{text-decoration:none;color:#000}td.settings_plugin_softwareupdate_column_information .line{display:block}td.settings_plugin_softwareupdate_column_information .settings_plugin_softwareupdate_release_channel{line-height:20px;height:20px;font-size:9px;margin-bottom:0;vertical-align:baseline}#settings_plugin_softwareupdate_workingdialog_output{font-size:.8em}#settings_plugin_softwareupdate_workingdialog_output .message{font-weight:700}#settings_plugin_softwareupdate_workingdialog_output .separator{font-weight:700;color:#666}#settings_plugin_softwareupdate_workingdialog_output .stdout{color:#333}#settings_plugin_softwareupdate_workingdialog_output .stderr{color:#900}#settings_plugin_softwareupdate_workingdialog_output .call{color:#009}#settings_plugin_softwareupdate_workingdialog_output .message_error{font-weight:700;color:#900}.softwareupdate_notification ul{margin:10px 0 10px 25px}.softwareupdate_notification ul .name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block} \ No newline at end of file diff --git a/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less b/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less index 2c4a5cd99..7514d1fad 100644 --- a/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less +++ b/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less @@ -1,7 +1,7 @@ #settings_plugin_softwareupdate_updatelist { display: block; width: auto; - max-height: 500px; + max-height: 400px; overflow-x: hidden; overflow-y: scroll; padding-right: 2px; diff --git a/src/octoprint/plugins/softwareupdate/version_checks/__init__.py b/src/octoprint/plugins/softwareupdate/version_checks/__init__.py index 993e42c33..6b6f2d535 100644 --- a/src/octoprint/plugins/softwareupdate/version_checks/__init__.py +++ b/src/octoprint/plugins/softwareupdate/version_checks/__init__.py @@ -32,12 +32,12 @@ class GithubRateLimitCheckError(RateLimitCheckError): def log_github_ratelimit(logger, r): try: ratelimit = int(r.headers.get("X-RateLimit-Limit", None)) - except ValueError: + except Exception: ratelimit = None try: remaining = int(r.headers.get("X-RateLimit-Remaining", None)) - except ValueError: + except Exception: remaining = None reset = r.headers["X-RateLimit-Reset"] if "X-RateLimit-Reset" in r.headers else None diff --git a/src/octoprint/static/js/app/viewmodels/wizard.js b/src/octoprint/static/js/app/viewmodels/wizard.js index 78d79fc43..52cdf33f1 100644 --- a/src/octoprint/static/js/app/viewmodels/wizard.js +++ b/src/octoprint/static/js/app/viewmodels/wizard.js @@ -84,6 +84,7 @@ $(function () { nextSelector: ".button-next", previousSelector: ".button-previous", finishSelector: ".button-finish", + withVisible: false, onTabClick: function () { // we don't allow clicking on the tabs return false; diff --git a/src/octoprint/static/js/lib/jquery/jquery.bootstrap.wizard.js b/src/octoprint/static/js/lib/jquery/jquery.bootstrap.wizard.js index 07c6ea12c..fc9396fc5 100644 --- a/src/octoprint/static/js/lib/jquery/jquery.bootstrap.wizard.js +++ b/src/octoprint/static/js/lib/jquery/jquery.bootstrap.wizard.js @@ -9,6 +9,12 @@ * http://www.gnu.org/licenses/gpl.html * Authors: Vadim Vincent Gabriel (http://vadimg.com), Jason Gill (www.gilluminate.com) */ +/* + * Changed for OctoPrint: + * + * * Call of onTabShown has $element (tab object) added back as last parameter + * * $settings.withVisible defaults to false + */ ;(function($) { var bootstrapWizardCreate = function(element, options) { var element = $(element); @@ -252,7 +258,7 @@ var bootstrapWizardCreate = function(element, options) { return false; } - if($settings.onTabChange && typeof $settings.onTabChange === 'function' && $settings.onTabChange($activeTab, $navigation, obj.currentIndex(), nextTab)===false){ + if($settings.onTabChange && typeof $settings.onTabChange === 'function' && $settings.onTabChange($activeTab, $navigation, obj.currentIndex(), nextTab, $element)===false){ return false; } @@ -323,7 +329,7 @@ $.fn.bootstrapWizard = function(options) { // expose options $.fn.bootstrapWizard.defaults = { - withVisible: true, + withVisible: false, tabClass: 'nav nav-pills', nextSelector: '.wizard li.next', previousSelector: '.wizard li.previous', diff --git a/src/octoprint/templates/tabs/control.jinja2 b/src/octoprint/templates/tabs/control.jinja2 index 389458846..5e3cdfb1e 100644 --- a/src/octoprint/templates/tabs/control.jinja2 +++ b/src/octoprint/templates/tabs/control.jinja2 @@ -1,4 +1,5 @@ {% if enableWebcam %} +
@@ -40,6 +41,7 @@
{{ _("Hint: If you move your mouse over the picture, you enter keyboard control mode.") }}
+ {% endif %}