* Use webcam container for intersection instead of controls
* Removed check for tab visibility, fully rely on control.js logic
* Allow intersection observers to be recreated
* Use onStartupComplete as callback to defer intersection initialization
* Use webcam container for intersection instead of controls
* Removed check for tab visibility, fully rely on control.js logic
* Allow intersection observers to be recreated
* Use onStartupComplete as callback to defer intersection initialization
Apparently we have an issue when updating from an older OctoPrint install
that included that to a newer one that depends on OctoPrint-Setuptools, because
the `octoprint_setuptools` package simply won't be installed in that case.
A reinstall after updating OctoPrint makes it available, but that's not something
we can do in the field.
Long term this needs a better solution, short term we are simply going to provide
OctoPrint-Setuptools to pyproject.toml users, and a vendored copy here. It's the
only solution I see for now.
Really closes#4749
The latest version of Babel no longer supports this
but raises an error, which in turn leads to a
500 Server Error response here.
To fix this, we set a default for best_match.
Closes#4744
If for some reason an exception gets thrown
inside get_current_versions that doesn't get
caught therein, `_get_versions_data_ready` will
never be set and thus any calls waiting for it
will block forever.
This patch fixes that by always setting the event
in the `finally` block.
Announcement and Softwareupdate plugin now
request the online status more often, to better
anticipate intermittent network failures.
Possible solution for #4634
Logins via credentials, remember me cookie, headers or
autologin will now generate an entry in auth.log, as will
logouts via the API.
This should allow auditing OctoPrint access, and also
make it possible to use something like fail2ban if
desired.