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
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
Gina Häußge
f9548a7ece
Sort serial ports naturally
2018-05-25 16:42:46 +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
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
d62df7643b
Use resize sensor to fix progress bar text widths
...
Closes #2635
2018-05-16 18:29:39 +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
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
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
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
Gina Häußge
99ef84788a
SWU: Support updating single items via UI
...
Closes #2615
2018-05-05 15:13:25 +02:00
Gina Häußge
bfbf9fb66e
Confirmation dialog helper now supports an html body
2018-05-05 15:12:03 +02:00
Gina Häußge
6074a3d964
Never send referrers with links
2018-05-05 14:01:29 +02:00
Gina Häußge
74e82afa24
About: Use github logo for source link
2018-05-05 13:50:27 +02:00
Gina Häußge
2b5c14b3c3
Change "Cancel" to "Close" on Settings
...
The Settings dialog also allows some "instant actions" (e.g. adding
users, changing specific plugin settings and so on). Having to click on
"Cancel" after actually doing something just feels wrong in such cases
so the Settings dialog now has a "Close" instead of a "Cancel" button.
Other sub dialogs will stay as is since that better reflects their
behaviour.
2018-05-05 13:48:19 +02:00
Gina Häußge
e5b167bcb4
Merge branch 'pr/2595' into maintenance
2018-05-05 13:29:33 +02:00
Gina Häußge
a70928aac6
Revert "Fix trivial copy and paste errors"
...
This reverts commit e02679a
It actually wasn't a copy and paste error - it *is* a plugin after all,
so "PluginSettings" makes sense.
2018-05-05 13:29:11 +02:00
Gina Häußge
7548e7a623
Revert "Replace "Cancel" label with "Abort" on buttons for consistency"
...
This reverts commit eb37607
2018-05-05 13:28:04 +02:00
Gina Häußge
8d9034b5a4
Gcode viewer: show approx. print head position
...
Also change retract/resume from dot to triangle/inverted triangle.
Closes #2318
2018-05-05 12:56:12 +02:00
Gina Häußge
b5194ffc00
Plugin core: Fetch package name from entry point
...
See also #2625
2018-05-05 12:56:12 +02:00
Gina Häußge
fa6cda3356
Merge pull request #2620 from malnvenshorn/itemlisthelper-save-pagesize
...
ItemListHelper - Save page size to local storage
2018-05-05 10:14:25 +02:00
Ben Lye
4d9ec9a7e3
Add M118 to commands to not uppercase
...
Adds M118 to the default list of commands which should not automatically be converted to uppercase.
2018-05-05 10:10:02 +02:00