Merge branch 'staging/maintenance' into maintenance

This commit is contained in:
Gina Häußge committed 2021-08-11 14:58:37 +02:00
commit 2bcfb3dce8
7 files changed
+31 -27

No files matched your search

+5 -1
View File
@@ -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
View File
@@ -29,10 +29,10 @@ improve/.* 1.8.0 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 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.7.0rc2
# staging/maintenance is currently the branch for preparation of 1.7.0rc3
# so is regressionfix/...
staging/maintenance 1.7.0rc2 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 pep440-dev
regressionfix/.* 1.7.0rc2 3fe45661cd79c5137d9d4f5f4adb4d9519bc2084 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
+1 -1
View File
@@ -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 2347 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
@@ -21,10 +21,10 @@ from octoprint.util.version import (
)
SENTRY_URL_SERVER = (
"https://72786e02c7bf4e8487cc987b24f855fd@o118517.ingest.sentry.io/1373987"
"https://8ae45309783648a6bc6da9ebe4a00753@o118517.ingest.sentry.io/1373987"
)
SENTRY_URL_COREUI = (
"https://94a57f3316ec4d2a80d454695fcb72dd@o118517.ingest.sentry.io/1374096"
"https://3eb72bcc7b344513b477217d0d4b96c5@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">&times;</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">&times;</a>
<h3>{{ _('Command Editor') }}</h3>
</div>
<div class="modal-body">
<div class="control-group">
<label class="control-label">{{ _('Event') }}</label>
<div class="controls">
+3 -2
View File
@@ -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)
+11 -12
View File
@@ -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)