Gina Häußge
13e5cf45ec
Fix reset handling while printing
...
Could get stuck in cancelling due to resend issues.
Should fix #2509
2018-06-08 17:14:40 +02:00
Gina Häußge
4cb103e042
Fix cancel_preparation call in case of failure
...
It should be _failed if the timer runs out, not _done. Only difference
is a log entry though, so not that big of a deal.
2018-06-08 11:03:44 +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
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
4f1b781219
docs: forgot to push two images
2018-05-29 16:13:50 +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
b266f1ca55
Update psutil dependency
...
Might fix #2658 (although I'm still at a complete loss as to how that
lib could influence serial connection stability O_O).
2018-05-28 10:46:40 +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
Gina Häußge
f9548a7ece
Sort serial ports naturally
2018-05-25 16:42:46 +02:00
Gina Häußge
ce5275c91e
docs: Add example for float factors
...
Closes #2663
2018-05-25 14:57:35 +02:00
Gina Häußge
a92372ec7e
Fix permission on temperature set button
...
Closes #2662
2018-05-24 10:36:20 +02:00
Gina Häußge
8a1db8e4c5
Disable fade in for cancel confirmation
...
Requests to add an option for it in 3, 2, 1...
Closes #2597
2018-05-18 18:22:19 +02:00
Gina Häußge
7b773f6fd2
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/templates/dialogs/settings/accesscontrol.jinja2
# src/octoprint/templates/sidebar/files_header.jinja2
2018-05-18 13:45:42 +02:00
Gina Häußge
0d120b2977
Merge pull request #2650 from ntoff/fix/grey-plugin-delete-clickable
...
Fix greyed plugin manager delete icons still being clickable
2018-05-18 12:42:00 +02:00
ntoff
bf71a20ac1
Fix greyed plugin manager delete icons still being clickable
...
Fixes https://github.com/foosel/OctoPrint/issues/2549
2018-05-18 19:21:50 +10:00
Gina Häußge
846d3a63bc
Merge pull request #2648 from malnvenshorn/class-methods-as-callbacks
...
Allow class methods as callbacks in view model
2018-05-18 10:00:48 +02:00
malnvenshorn
15d6bf3a70
Allow class methods as callbacks in view model
2018-05-17 19:11:52 +02:00
Gina Häußge
cec1bc6c0f
Allow plugins to override analysis & print time estimation
...
Using two new hooks, plugins may now provide alternative implementations
for the GCODE analysis and the live print time estimation.
Should allow people to get creative with regards to #1203 , #1905 , #2281 ,
#2445 , #2514
Implements #1797 , #1905
2018-05-17 18:58:15 +02:00
Gina Häußge
69681a27d6
Fix the unrendered timelapse list being visible when empty
2018-05-17 17:27:00 +02:00
Gina Häußge
0adcfc693d
Merge branch 'pr/2410' into devel
2018-05-17 16:29:09 +02:00
Gina Häußge
b73507fd2b
Increase default bitrate for timelapses
2018-05-17 16:27:18 +02:00
Gina Häußge
bea6bd013c
Some small fixes
...
* fixed whitespace
* less repetition for output/capture format
* value range check for ffmpegVideoCodec as suggested
2018-05-17 16:23:50 +02:00
Gina Häußge
5456f5a70a
Fix potential for invalid sorting of uploads
...
"date" and "size" might be undefined on both parameters (e.g. for
folders, SD files). We have no guarantee that "a" will always have
either defined, so make sure to test or a wrong sorting order might be
the consequence.
Fixes #2355
2018-05-17 10:57:01 +02:00
Gina Häußge
9a881012e2
Add new 3rd party lib to list
2018-05-16 18:36:07 +02:00
Gina Häußge
d62df7643b
Use resize sensor to fix progress bar text widths
...
Closes #2635
2018-05-16 18:29:39 +02:00
Gina Häußge
e980444f86
Merge pull request #2642 from malnvenshorn/itemlisthelper-add-update
...
ItemListHelper - Methods for adding and updating items
2018-05-15 17:14:37 +02:00
Gina Häußge
7d40320a5b
SWU: Fix another leftover wrong permission name
2018-05-15 17:05:54 +02:00
Gina Häußge
09456b923f
SWU: Fix update button not working
...
Closes #2641
2018-05-15 17:01:12 +02:00
Gina Häußge
39e6c11c39
Fix overflown tabdrop tabs not being selectable
...
Closes #2643
2018-05-15 16:45:38 +02:00
Koen Kooi
5aef014773
unit tests: timelapse: add videocodec test
...
This test checks if both videocodec and container format have been set
correctly.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net >
2018-05-15 10:42:11 +02:00
Koen Kooi
9738884ff8
messages.pot: add videocodec settings entries
...
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net >
2018-05-15 10:42:11 +02:00
Koen Kooi
27b625a614
timelapse: pick container and suffix based on setting
...
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net >
2018-05-15 10:42:07 +02:00
malnvenshorn
9d1f4fb126
Add methods for adding and updating items
2018-05-14 13:52:03 +02:00
Koen Kooi
096e9fc326
timelapse: change videocodecs to predefined list
2018-05-11 12:19:39 +02:00
Koen Kooi
f577d6b45d
timelapse: add setting for videocodec
...
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net >
2018-05-11 12:19:34 +02:00
Gina Häußge
bd7a28af5b
Fix unit test
2018-05-10 18:35:25 +02:00
Gina Häußge
104b0a504c
Merge branch 'pr/2586' into devel
...
# Conflicts:
# AUTHORS.md
# src/octoprint/server/util/sockjs.py
# src/octoprint/static/js/app/viewmodels/timelapse.js
2018-05-10 18:18:05 +02:00
Gina Häußge
40bfbe0d7b
knockoutify progress bar
...
Also hide it when we are not rendering anything.
2018-05-10 18:15:49 +02:00
Gina Häußge
4bf5984ace
ffmpeg needs help for continuous progress reporting
...
See https://stackoverflow.com/a/35422274
2018-05-10 18:15:25 +02:00
sylvled
3de5bca48b
Update config_yaml.rst
...
gcodeAnalysis and gcodeViewer were without section name. Added them.
2018-05-07 10:28:14 +02:00
Gina Häußge
81471df419
Option to send M0/M1 to the printer
...
Also added a message to the serial output if M0/M1 is blocked.
Closes #1513
2018-05-05 15:49:59 +02:00