* Previously only colour determined Target vs Actual temperatures, this wasn't
great at a glance for colourblind people; making the target dashes makes this
clearer.
* 📄 Add license info for flot plugins
---------
Co-authored-by: Rob Emery <git@mintsoft.net>
Co-authored-by: Gina Häußge <gina@octoprint.org>
Was actually wrong to have that here, but thankfully it was
implemented wrong as well, and here two wrongs made
one right.
To match existing firmware out there, we should be sending
SD status auto reports with progress information whenever
a print from a selected SD file has been started. If a such a print
is cancelled via OctoPrint, all we can do is send an M25 to pause
it and just never resume it. That means that the SD status will
continue to report the current file position.
See #4924
Will provide instance stats and some fun achievements, but also
include some calls to action for funding.
One of the steps towards improving OctoPrint's financial support
again.
- error information for errors leading to disconnect or cancelling
will now be persisted in the printer object until reconnect or print
start
- a new REST API endpoint allows fetching that information
- the frontend has be adjusted to fetch that on server connect and
relevant events and show an error icon next to the printer state
which on click opens the modal
- additionally, the modal will be triggered if an error event is raised
Improves #4714
Provides more details incl. log excerpt
and FAQ link, to hopefully help users
diagnose printer issues themselves
instead of assuming OctoPrint caused
them.
Implements #4714
Not setting the _finished flag to True caused the UploadStorage-
FallbackHandler to generate an additional empty text/html response
for every POST/PUT/etc request. If that arrived inside a keep-alive
connection followed by additional requests, it caused the browser
to consider the text/html response to be the response to the follow-up
request, causing all kinds of mayhem.
Otherwise we might run into a race condition in case of long running
commands.
For an example see #4907:
A `G4 S54` triggered a `wait` response, since right after sending the
`ok` the host didn't send a new incoming line fast enough to prevent
that from happening. As a result, combined with several simulated
transmition errors right after, things get so much out of balance that
at some point the incoming queue runs full and an exception gets
triggered, killing the connection with a simulated SerialTimeout.
This fix should close the core cause of #4907