It was not storing its current value properly, thanks to an incomplete
refactoring ages ago during which etag and lastmodified types were
joined into httpheader.
Closes#4806
This works around a bug when installing PyYaml
>=5.4.1,<6.0.1 ever since Cython 3.0 has been released.
PyYaml 6.0.1 pins Cython to a version less than 3.0 which
resolves this issue (for now).
See also yaml/pyyaml#724
Safety hints in the first run end dialog have been
reworked to be more visually alerting and a
checkbox has been added for each that has
to be checked in order to proceed with the
wizard.
See discussion in #4739
`loggerDict[logger]` might be a placeholder. `getLogger` takes care of
replacing said placeholder with a full logger upon first access, before
returning it.
Closes#4753
* 🐛 Reduce intersection observer threshold
When this value is 1, scrolling down the page (sometimes?) triggers the value to change - probably something changes invisibly. Setting it to anything less than 1 seems to cure the issue, and there are no longer unwanted triggers of changes. 1% also seems to make more sense here than 100% - we want the webcam to load whenever even a tiny amount of it is visible.
* ♻️ Change visibility observer threshold to 1%
* ♻️ Use log.debug instead of console.debug
---------
Co-authored-by: Gina Häußge <gina@octoprint.org>
We need to reset emptyLayers (and should - for the sake of consistency -
also reset percentageByLayer) after running an analysis because
otherwise old values will stay in there until page reload, causing layers
to not render that actually are not empty but were in any previously
loaded model.
* log extruder and file position on pause
* satisfy linter
* move values into event, include also cancel action
* please the linter
* updated event documentation
* ♻️ Remove data redundancy
We really don't want to include origin and filename
in the event again when all we actually want
is the fileposition.
---------
Co-authored-by: Gina Häußge <gina@octoprint.org>
`None` values were converted to an empty string by sv, leading to
comparison issues with (correct) integers. Using the default order
value for sv fixes that.
Closes#4818