9260 Commits
Author SHA1 Message Date
GitHub Nightly Merge Action 7fe43d38c8 Merge branch 'maintenance' into devel 2024-01-12 00:12:23 +00:00
Gina Häußge cd3b24e3e4 🐛 Keep graph updating even if disconnected
Otherwise the timeline will "lie" ("now" vs "20min ago")

See comment in #4921
2024-01-11 11:28:02 +01:00
GitHub Nightly Merge Action 73d944ba68 Merge branch 'maintenance' into devel 2024-01-11 00:12:36 +00:00
Gina Häußge a0c8c9f84f ✨ Add temperature chart markings for connect/disconnect
Implements #4921
2024-01-10 12:37:55 +01:00
ee4a4b1c92 ♿️ Add dashed lines for target temperatures (#4918)
* 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>
2024-01-10 10:59:45 +01:00
GitHub Nightly Merge Action b324da152b Merge branch 'maintenance' into devel 2024-01-09 00:12:56 +00:00
Gina Häußge 0a3e19a342 ✨ virtual: Implement basic M524 support 2024-01-08 17:01:07 +01:00
Gina Häußge 3e94574a9b 🐛 virtual: remove wrong assertion
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
2024-01-08 15:03:07 +01:00
Gina Häußge aa02750458 🐛 Make sure to sort folder list
Closes #4922
2024-01-08 11:05:09 +01:00
GitHub Nightly Merge Action 4040c4fd8a Merge branch 'maintenance' into devel 2023-12-14 00:12:10 +00:00
Gina Häußge a2e5558165 🔥 Achievements: Get rid of some debug code 2023-12-13 09:31:17 +01:00
GitHub Nightly Merge Action 57b18a3427 Merge branch 'maintenance' into devel 2023-12-13 00:12:16 +00:00
Gina Häußge 745984e022 🐛 Don't try to use empty string as timezone 2023-12-12 17:56:00 +01:00
Gina Häußge b42bef66d0 🚧 Support configurable timezone & add some more achievements 2023-12-12 17:14:18 +01:00
Gina Häußge 410695213b 🚧 more achievements, link to achievements in popup 2023-12-12 12:33:11 +01:00
Gina Häußge 591f6ba845 🚧 Styling, logos, even more achievements, ... 2023-12-12 12:33:11 +01:00
Gina Häußge 2df81358d0 💄 Work on Achievements dialog styling 2023-12-12 12:33:11 +01:00
Gina Häußge b09bd43550 ✨ Add Achievements to footer 2023-12-12 12:33:11 +01:00
Gina Häußge 6c8f5279d1 🐛 files_removed -> files_deleted 2023-12-12 12:33:11 +01:00
Gina Häußge 55c9649668 🐛 Fix plugin installation 2023-12-12 12:33:11 +01:00
Gina Häußge 1f82e7b785 🚧 Add several more achievements, styling etc 2023-12-12 12:33:11 +01:00
Gina Häußge a0d7eb0fe7 ✨ Track plugin install from repo vs from plain URL 2023-12-12 12:33:10 +01:00
Gina Häußge 726593eb4b 🐛 Use typing.Dict instead of dict 2023-12-12 12:33:10 +01:00
Gina Häußge 6d44400fd0 🚧 First steps towards an achievement plugin
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.
2023-12-12 12:33:10 +01:00
Gina Häußge 63b173491d 🍱 Update funding icon 2023-12-12 12:32:44 +01:00
GitHub Nightly Merge Action 80e637de8c Merge branch 'maintenance' into devel 2023-12-12 00:12:41 +00:00
Gina Häußge 098606b433 💚 Fix unit tests 2023-12-11 20:26:47 +01:00
Gina Häußge 9c999cd54e ✨ Improve new firmware error modal
- 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
2023-12-11 20:17:33 +01:00
Gina Häußge ee9ac90fa2 📝 Clarify how to reconfigure log formatters
OctoPrint now uses either simple or colored formatter for the
console log output, so document this properly.

See #4916
2023-12-11 10:13:52 +01:00
GitHub Nightly Merge Action fc5d2cb5d9 Merge branch 'maintenance' into devel 2023-12-07 00:12:22 +00:00
Gina Häußge 3e62a2a5b3 🐛 Normalize paths in file manager
Storage paths should always get their leading /
removed. Makes sure to stay consistent in called hooks
and triggered events.

Closes #4719
2023-12-06 17:38:14 +01:00
Gina Häußge 5229564196 🐛 Normalize paths returned by split_path/join_path
See #4719
2023-12-06 17:36:55 +01:00
Gina Häußge 7557482948 ✅ Let's personalize a unit test a bit ;) 2023-12-06 16:19:06 +01:00
GitHub Nightly Merge Action 01e9bc959a Merge branch 'maintenance' into devel 2023-12-06 00:12:29 +00:00
Gina Häußge 8426ffb415 ✨ New modal for known firmware errors
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
2023-12-05 18:05:51 +01:00
GitHub Nightly Merge Action 02939367da Merge branch 'maintenance' into devel 2023-12-05 00:12:36 +00:00
Gina Häußge 6e57ab6b23 ✅ Fix JS Unit tests & add one 2023-12-04 16:21:33 +01:00
Gina Häußge c837cb6d94 ⬆️ Update playwright dependencies 2023-12-04 15:39:32 +01:00
Gina Häußge 89240d3af5 ♻️ Modernize custom tornado stuff slightly
Basically synced with current mainstream implementations.
2023-12-04 15:35:29 +01:00
Gina Häußge 474c792233 🐛 Fix double response on POST/PUT/etc
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.
2023-12-04 15:20:52 +01:00
GitHub Nightly Merge Action 8082c11571 Merge branch 'maintenance' into devel 2023-12-01 00:13:39 +00:00
Gina Häußge 172b962673 🐛 Fix snapshotTimeout & SSL validation settings
Wasn't properly ported over to Classic Webcam plugin, that has
now been rectified.

Closes #4885
2023-11-30 17:06:55 +01:00
Gina Häußge 9da4b35ee6 🚸 Set fixed labels on temperature graph
Implements #4747
2023-11-30 16:24:44 +01:00
Gina Häußge 72bd8bf4cc 🐛 Fix wrong initial field in printer state
Closes #4808
2023-11-30 14:48:56 +01:00
GitHub Nightly Merge Action 38ae0c9ac5 Merge branch 'maintenance' into devel 2023-11-29 00:12:24 +00:00
Gina Häußge 6349ce88c4 ⬆️ Upgrade zeroconf 2023-11-28 18:09:42 +01:00
Gina Häußge 6a75fb6c34 🚸 Keep tool change control enabled while printing
Implements #4892
2023-11-28 18:09:23 +01:00
Gina Häußge 734ce07913 🐛 discovery: fix ssdp on vlans
Really listen on ALL configured addresses, not just the first one per
device.

Closes #4814

Thanks @nastevens!
2023-11-28 17:41:42 +01:00
Gina Häußge fb27d5ba64 🥅 virtual: recalculate wait timeout after gcode eval
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
2023-11-28 11:27:08 +01:00
GitHub Nightly Merge Action 1763f31bda Merge branch 'maintenance' into devel 2023-11-28 00:12:32 +00:00