Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f31194f753 | ||
|
|
16a7ce0c88 | ||
|
|
de2b95537c | ||
|
|
53d73182de | ||
|
|
18c3e6660f | ||
|
|
0bba8be6dc | ||
|
|
4bdf904eeb | ||
|
|
5fc22593f9 | ||
|
|
c21961113d | ||
|
|
d71de9003d | ||
|
|
8740c5a826 | ||
|
|
cdcbb13102 | ||
|
|
2f266f9974 | ||
|
|
a7d4c5f2df | ||
|
|
3a7f539fd5 | ||
|
|
b8417d838c |
No files matched your search
@@ -183,10 +183,14 @@ jobs:
|
||||
needs: publish-on-pypi
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 👀 Determine version
|
||||
run: |
|
||||
OCTOPRINT_VERSION=$(echo $GITHUB_REF | cut -d/ -f3)
|
||||
echo "OCTOPRINT_VERSION=$OCTOPRINT_VERSION" >> $GITHUB_ENV
|
||||
- name: 🚀 Repository Dispatch
|
||||
uses: peter-evans/repository-dispatch@v1
|
||||
with:
|
||||
token: ${{ secrets.REPODISPATCH_TOKEN }}
|
||||
repository: OctoPrint/OctoPi-UpToDate
|
||||
event-type: octoprint_release
|
||||
client-payload: '{"version": "${{ github.ref }}"}'
|
||||
client-payload: '{"version": "${{ env.OCTOPRINT_VERSION }}"}'
|
||||
+3
-3
@@ -29,10 +29,10 @@ improve/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev
|
||||
staging/bugfix 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev
|
||||
bug/.* 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev
|
||||
|
||||
# staging/maintenance is currently the branch for preparation of 1.6.0rc4
|
||||
# staging/maintenance is currently the branch for preparation of 1.7.0rc3
|
||||
# so is regressionfix/...
|
||||
staging/maintenance 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev
|
||||
regressionfix/.* 1.6.0rc4 7054a726bb3dc363a98ec6944b24e07879bb389b pep440-dev
|
||||
staging/maintenance 1.7.0rc3 d71de9003dfa23b68b4b434c04a07472f0679535 pep440-dev
|
||||
regressionfix/.* 1.7.0rc3 d71de9003dfa23b68b4b434c04a07472f0679535 pep440-dev
|
||||
|
||||
# staging/devel is currently inactive (but has the 1.4.1rc4 namespace)
|
||||
staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev
|
||||
|
||||
+2
-2
@@ -22,7 +22,6 @@ thanks to everyone who contributed!
|
||||
* Christian Würthner
|
||||
* Christoph Sigrist
|
||||
* Creality3D
|
||||
* Dana Voigt
|
||||
* David Bounds
|
||||
* DeltaMaker 3D Printers
|
||||
* Dennis Breining
|
||||
@@ -35,6 +34,7 @@ thanks to everyone who contributed!
|
||||
* Greg Holloway
|
||||
* Hog Duske
|
||||
* Itay Shem-tov
|
||||
* Jeff Moe
|
||||
* Jeremy Cole
|
||||
* Joshua Wills
|
||||
* Julian Melo
|
||||
@@ -78,4 +78,4 @@ thanks to everyone who contributed!
|
||||
* Ulderico Cirello
|
||||
* Ulrich Kempken
|
||||
|
||||
and 2334 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
|
||||
and 2352 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
|
||||
@@ -62,7 +62,6 @@ INSTALL_REQUIRES = [
|
||||
"filetype>=1.0.7,<2",
|
||||
"zipstream-new>=1.1.8,<1.2",
|
||||
# vendor bundled dependencies
|
||||
"unidecode", # dependency of awesome-slugify, leave w/o range to not cause dependency hell w/ Octolapse deps
|
||||
"blinker>=1.4,<2", # dependency of flask_principal
|
||||
]
|
||||
|
||||
@@ -78,6 +77,8 @@ INSTALL_REQUIRES_PYTHON2 = [
|
||||
"enum34>=1.1.10,<1.2",
|
||||
"frozendict==1.2", # newer versions from different maintainer require Python 3
|
||||
"colorlog<5", # newer versions require Python 3
|
||||
# vendor bundled dependencies
|
||||
"unidecode<1.3", # dependency of awesome-slugify, newer versions require Python 3
|
||||
]
|
||||
|
||||
# Python 3 specific requirements
|
||||
@@ -88,6 +89,8 @@ INSTALL_REQUIRES_PYTHON3 = [
|
||||
"immutabledict>=2.1,<3",
|
||||
"pathvalidate>=2.4.1,<3",
|
||||
"colorlog>=5.0.1,<6",
|
||||
# vendor bundled dependencies
|
||||
"unidecode", # dependency of awesome-slugify, leave w/o range to not cause dependency hell w/ Octolapse deps
|
||||
]
|
||||
|
||||
# OSX specific requirements
|
||||
|
||||
@@ -209,7 +209,6 @@ $(function () {
|
||||
}
|
||||
})
|
||||
.css({
|
||||
"width": "auto",
|
||||
"margin-left": function () {
|
||||
return -($(this).width() / 2);
|
||||
}
|
||||
|
||||
@@ -21,10 +21,10 @@ from octoprint.util.version import (
|
||||
)
|
||||
|
||||
SENTRY_URL_SERVER = (
|
||||
"https://72786e02c7bf4e8487cc987b24f855fd@o118517.ingest.sentry.io/1373987"
|
||||
"https://d697280f99f544d5a0705e7ae9880dd5@o118517.ingest.sentry.io/1373987"
|
||||
)
|
||||
SENTRY_URL_COREUI = (
|
||||
"https://94a57f3316ec4d2a80d454695fcb72dd@o118517.ingest.sentry.io/1374096"
|
||||
"https://c82d12e144df4a848e57cd18912239f4@o118517.ingest.sentry.io/1374096"
|
||||
)
|
||||
|
||||
SETTINGS_DEFAULTS = {
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="EventManagerEditor" data-bind="with: selectedCommand" class="modal hide fade">
|
||||
<div class="modal-header">
|
||||
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">×</a>
|
||||
<h3>{{ _('Command Editor') }}</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="EventManagerEditor" data-bind="with: selectedCommand" class="modal hide fade-in">
|
||||
<div class="modal-header">
|
||||
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">×</a>
|
||||
<h3>{{ _('Command Editor') }}</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{ _('Event') }}</label>
|
||||
<div class="controls">
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
<div class="pull-right">
|
||||
<button class="btn btn-small" data-bind="click: $root.showRepository"><i class="fas fa-plus"></i> {{ _('Get More') }}</button>
|
||||
<a class="btn btn-small" href="/plugin/pluginmanager/export"><i class="fas fa-download"></i> {{ _('Export') }}</a>
|
||||
<a class="btn btn-small" href="{{ url_for('index') }}plugin/pluginmanager/export"><i class="fas fa-download"></i> {{ _('Export') }}</a>
|
||||
<button class="btn btn-small" data-bind="click: function() { $root.showPluginSettings(); }" title="{{ _('Plugin Configuration')|edq }}"><i class="fas fa-wrench"></i></button>
|
||||
<a class="btn btn-small" data-toggle="collapse" href="#pluginmanager_info" title="{{ _('Info') }}"><i class="fas fa-lg fa-info-circle text-info" data-bind="css: {'text-error': noticeCount() > 0, 'text-info': noticeCount() <=0 }"></i></a>
|
||||
</div>
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane active" id="settings_plugin_softwareupdate_updatelog">
|
||||
<div class="tab-pane" id="settings_plugin_softwareupdate_updatelog">
|
||||
<h3>{{ _('Update log') }}</h3>
|
||||
|
||||
<div id="settings_plugin_softwareupdate_updatelog_list">
|
||||
|
||||
@@ -1184,14 +1184,15 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
|
||||
)
|
||||
|
||||
try:
|
||||
ptl, printTimeLeftOrigin = estimator.estimate(
|
||||
printTimeLeft, printTimeLeftOrigin = estimator.estimate(
|
||||
progress,
|
||||
printTime,
|
||||
cleanedPrintTime,
|
||||
statisticalTotalPrintTime,
|
||||
statisticalTotalPrintTimeType,
|
||||
)
|
||||
printTimeLeft = int(ptl)
|
||||
if printTimeLeft is not None:
|
||||
printTimeLeft = int(printTimeLeft)
|
||||
except Exception:
|
||||
self._logger.exception(
|
||||
"Error while estimating print time via {}".format(estimator)
|
||||
|
||||
@@ -1060,18 +1060,14 @@ function showProgressModal(options, promise) {
|
||||
|
||||
var progress = $('<div class="progress progress-text-centered"></div>');
|
||||
var progressBar = $('<div class="bar"></div>').addClass(barClassSuccess);
|
||||
var progressTextBack = $('<span class="progress-text-back"></span>');
|
||||
var progressTextFront = $('<span class="progress-text-front"></span>').width(
|
||||
progress.width()
|
||||
);
|
||||
var progressText = $('<span class="progress-text-back"></span>');
|
||||
|
||||
if (max === undefined) {
|
||||
progress.addClass("progress-striped active");
|
||||
progressBar.width("100%");
|
||||
}
|
||||
|
||||
progressBar.append(progressTextFront);
|
||||
progress.append(progressTextBack).append(progressBar);
|
||||
progress.append(progressBar).append(progressText);
|
||||
|
||||
var button = $('<button class="btn">' + buttonText + "</button>")
|
||||
.prop("disabled", true)
|
||||
@@ -1127,9 +1123,16 @@ function showProgressModal(options, promise) {
|
||||
|
||||
// update progress bar
|
||||
progressBar.width(String(value) + "%");
|
||||
progressTextFront.text(short);
|
||||
progressTextBack.text(short);
|
||||
progressTextFront.width(progress.width());
|
||||
progressText.text(short);
|
||||
if (value < 50 && progressText.hasClass("progress-text-front")) {
|
||||
progressText
|
||||
.removeClass("progress-text-front")
|
||||
.addClass("progress-text-back");
|
||||
} else if (value >= 50 && progressText.hasClass("progress-text-back")) {
|
||||
progressText
|
||||
.removeClass("progress-text-back")
|
||||
.addClass("progress-text-front");
|
||||
}
|
||||
|
||||
// if not successful, apply failure class
|
||||
if (!success && !progressBar.hasClass(barClassFailure)) {
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
{{ _('An account with the following permissions is required:') }} {{ permission_names|join(", ") }}
|
||||
</p>{% endif %}
|
||||
|
||||
<input type="text" id="login-user" data-test-id="login-username" class="input-block-level" placeholder="{{ _('Username')|edq }}" autofocus>
|
||||
<input type="text" id="login-user" data-test-id="login-username" class="input-block-level" placeholder="{{ _('Username')|edq }}" autofocus autocapitalize="none">
|
||||
<input type="password" id="login-password" data-test-id="login-password" class="input-block-level" placeholder="{{ _('Password')|edq }}">
|
||||
<span class="pull-right"><small><a href="https://faq.octoprint.org/forgotten-password" id="login-forgotpassword" target="_blank" tabindex="-1">{{ _('Forgot password?') }}</a></small></span>
|
||||
<label class="checkbox">
|
||||
|
||||
+11
-12
@@ -3752,19 +3752,18 @@ class MachineCom(object):
|
||||
# noinspection PyProtectedMember
|
||||
set_close_exec(serial_obj._port_handle)
|
||||
|
||||
if hasattr(serial_obj, "set_low_latency_mode"):
|
||||
try:
|
||||
serial_obj.set_low_latency_mode(
|
||||
settings().getBoolean(["serial", "lowLatency"])
|
||||
if settings().getBoolean(["serial", "lowLatency"]):
|
||||
if hasattr(serial_obj, "set_low_latency_mode"):
|
||||
try:
|
||||
serial_obj.set_low_latency_mode(True)
|
||||
except Exception:
|
||||
self._logger.exception(
|
||||
"Could not set low latency mode on serial port, continuing without"
|
||||
)
|
||||
else:
|
||||
self._logger.info(
|
||||
"Platform doesn't support low latency mode on serial port"
|
||||
)
|
||||
except Exception:
|
||||
self._logger.exception(
|
||||
"Could not set low latency mode on serial port, continuing without"
|
||||
)
|
||||
else:
|
||||
self._logger.info(
|
||||
"Platform doesn't support low latency mode on serial port"
|
||||
)
|
||||
|
||||
return BufferedReadlineWrapper(serial_obj)
|
||||
|
||||
|
||||
Reference in new issue
Block a user