Gina Häußge
8eba3fef0a
Add disconnect handling
...
Had to refactor quite some bits to be able to implement this.
2018-07-05 17:36:43 +02:00
Gina Häußge
e93d2104fd
Add last temperature to script context & event on M112
2018-07-05 12:22:53 +02:00
Gina Häußge
a7aa58e524
Add printer profile, use where needed
2018-07-05 12:17:10 +02:00
Gina Häußge
c442906379
Resolve a dwelling TODO
2018-07-05 11:25:38 +02:00
Gina Häußge
bb0b01aa01
Add resend_ok_timer to work around broken resends
2018-07-04 17:52:25 +02:00
Gina Häußge
3173783620
Join connection dialog with new comm layer
2018-06-29 20:55:54 +02:00
Gina Häußge
5d0cb14f71
Fix Print Time/Printed tracking for successfully completed jobs
...
We want this data to stick around after the print job ended, just like
it does now
2018-06-28 15:31:04 +02:00
Gina Häußge
60d84b7d06
Make SD prints work again
...
#mswa
2018-06-27 17:37:56 +02:00
Gina Häußge
93d77e6b25
Fix missing event field
2018-06-26 16:30:48 +02:00
Gina Häußge
fd13b18ef7
Remove parsing limitation on sd file streaming
2018-06-26 13:28:05 +02:00
Gina Häußge
acd05cdcc5
Limit parsing to comm when streaming to SD
2018-06-14 19:16:25 +02:00
Gina Häußge
1a67b5b3fc
Upload to SD is now working
2018-06-14 18:54:40 +02:00
Gina Häußge
473d4a752a
Fix message parsing again
2018-06-14 12:58:10 +02:00
Gina Häußge
33a5e389fd
Fix line pushing
2018-06-13 17:35:16 +02:00
Gina Häußge
287a13b944
Reset handling
2018-06-12 16:28:22 +02:00
Gina Häußge
5282db6871
Implement job_on_hold functionality
2018-06-12 15:57:46 +02:00
Gina Häußge
b79618d752
Disable heatup detection when auto reporting
2018-06-12 13:54:35 +02:00
Gina Häußge
391930e2cb
Fix reported state id
2018-06-12 13:48:12 +02:00
Gina Häußge
4630cc8ee0
Fix restart button
2018-06-12 13:47:52 +02:00
Gina Häußge
4e83466af3
Fix temperature polling
2018-06-12 13:29:29 +02:00
Gina Häußge
b7e08c7ddc
Fix pausing
2018-06-12 13:29:19 +02:00
Gina Häußge
701208484a
WIP first throw at scripts
...
Currently broken:
* temperature and position logging in context
* pausing and cancelling
2018-06-07 17:49:35 +02:00
Gina Häußge
02252d1254
finishing state
2018-06-07 14:29:42 +02:00
Gina Häußge
8347f182ef
queue markers, pausing, cancelling
2018-06-07 14:16:47 +02:00
Gina Häußge
7e4faa20b7
Fix temperature access
2018-06-06 15:12:27 +02:00
Gina Häußge
717eef25da
Fix wrong (1%) progress on print finish
2018-06-06 13:06:39 +02:00
Gina Häußge
31fbebdbb9
Basic action commands are working
2018-06-05 17:39:04 +02:00
Gina Häußge
afe224ae08
Fix resend request handling
...
Resends didn't use up oks due to a missing to_command during enqueuing.
2018-06-05 16:54:52 +02:00
Gina Häußge
d09f75a815
Add commdebug logger
...
To help with debugging ping pong communication
2018-06-05 16:54:01 +02:00
Gina Häußge
812ce40e35
Merge branch 'devel' into dev/commRefactoringNG
...
# Conflicts:
# src/octoprint/logging/handlers.py
# src/octoprint/printer/standard.py
2018-06-05 13:22:15 +02:00
Gina Häußge
f8e6e4e3db
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/plugins/printer_safety_check/__init__.py
2018-06-05 11:12:42 +02:00
Gina Häußge
db81bf1e72
Add new states "resuming" and "finishing"
...
The later allows us to distinguish between a file having been streamed
completely and the print job done script having streamed completely as
well.
Should fix #2547
2018-06-05 11:07:31 +02:00
Gina Häußge
9c89c4c999
Simplified a log handler
2018-06-04 18:44:10 +02:00
Gina Häußge
d133bd47e5
Fix uninstall detection of disabled plugins
...
Fixes #2549 part 2
2018-06-04 18:01:34 +02:00
Gina Häußge
90391d2897
Forbid <=0 for various timeouts & intervals
...
Closes #2551
2018-06-04 15:13:45 +02:00
Gina Häußge
66cad78c41
WIP: busy proto, dwelling, ok timeout
2018-05-31 17:42:52 +02:00
Gina Häußge
4e91f47e8b
Add protocol state to handler calls
2018-05-31 15:15:32 +02:00
Gina Häußge
4b753d03dc
internal_state => internal_flags
2018-05-31 10:59:17 +02:00
Gina Häußge
6f18749df1
time.time => monotonic_time
2018-05-31 10:44:30 +02:00
Gina Häußge
eab0ce8aee
Add firmware & capability reporting, temp autoreports
...
Also refactored flavors to make adding additional ones (e.g. from
plugins) even easier.
2018-05-31 10:19:15 +02:00
Gina Häußge
ba00b4d675
Fix bug in GcodeCommand constructor
2018-05-30 19:12:30 +02:00
Gina Häußge
9bc8638d80
Fix resend handling
2018-05-30 14:32:46 +02:00
Gina Häußge
d124efdb71
Fix race condition in resend handling
...
Could be triggered if two resend requests without an ok were directly
following each other, causing a resend ok timer to be triggered for each
and a consequent attempt to process the same resend status again.
Should fix #2632
2018-05-29 17:30:59 +02:00
Gina Häußge
6673536e10
Added some additional printer safety checks
...
* Repetier firmware versions prior to 0.92 don't have thermal runaway/
decouple detection, so we always warn about those
* If the firmware supports the THERMAL_PROTECTION capability report
but it's reported as disabled, we also warn about that (see also
MarlinFirmware/Marlin#10465 )
2018-05-29 15:19:35 +02:00
Gina Häußge
118afd4720
Refactor version parsing helpers
...
Extract get_comparable_version for use in other places as well.
2018-05-29 15:16:14 +02:00
Gina Häußge
a0cbc10ba7
Add two new hooks for firmware information
...
octoprint.comm.firmware.info - response to M115
octoprint.comm.firmware.capabilities - capability report lines
2018-05-29 15:13:25 +02:00
Gina Häußge
38b7640769
Add support for prompt_* action commands
2018-05-28 18:16:06 +02:00
Gina Häußge
0ef0eff917
Add paused and resumed action commands
...
Slightly different behaviour than the already existing pause and resume,
see the docs.
2018-05-25 18:21:11 +02:00
Gina Häußge
fd29efe88e
Update jQuery to 3.3.1
2018-05-25 17:25:58 +02:00
Gina Häußge
cd3acfb384
Merge branch 'pr/2606' into maintenance
2018-05-25 16:49:33 +02:00