Gina Häußge
86b886ede7
Remove resend repetition code
...
It's apparently completely broken and the fact that no one noticed
and reported that means it never really gets used either from the looks
of it.
So instead of allowing it to introduce broken resend handling, we'll
rather remove it for now.
2018-06-15 13:15:27 +02:00
Gina Häußge
392149b504
Add view model list to coreui object
2018-06-14 19:25:46 +02:00
Gina Häußge
85ef3f1df2
Fix modals not hiding fully anymore
2018-06-09 13:07:34 +02:00
Gina Häußge
6e44149284
Treat scripts triggered by job as part of the job
...
Including blocking their sending via job_on_hold.
Closes #2583
2018-06-09 11:58:53 +02:00
Gina Häußge
534f3aa2d4
Fix for potential division by zero on SD upload
...
Closes #2675
2018-06-09 10:15:56 +02:00
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
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
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
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
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
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
malnvenshorn
9d1f4fb126
Add methods for adding and updating items
2018-05-14 13:52:03 +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
Gina Häußge
e44a2fdd97
Update pkginfo dependency
2018-05-04 12:55:32 +02:00
Gina Häußge
95ac669d5c
Plugin subsystem: Use entry_point.dist to fetch metadata
...
Support egg "PKG-INFO" and wheel "METADATA" files in metadata folder. Less
guess work throughout the include path this way.
Better solution for #2625 than c3eebdb
2018-05-04 12:55:16 +02:00
Gina Häußge
5e899204f0
Merge branch 'hotfix/pip10' into maintenance
2018-05-03 18:02:14 +02:00
Gina Häußge
c3eebdb158
Fix plugin metadata parsing for pip 10+
2018-05-03 18:00:28 +02:00
Gina Häußge
13b85fbbd0
Fix fps source when rendering unrendered timelapse
...
Should be taken from config unless provided as parameter, not hard coded
to 25.
Closes #2621
2018-05-03 15:40:36 +02:00