Gina Häußge
2febfcd8b3
Announcements: Don't reload on mark read
...
Only reload if we mark read from the management dialog.
2018-06-18 16:05:10 +02:00
Gina Häußge
704331525f
Split settings init to allow better error logging
2018-06-18 15:37:51 +02:00
Gina Häußge
6c279f155a
Improve fatal startup error handling
2018-06-18 15:07:18 +02:00
Gina Häußge
f5b99a6e34
Fix symlink test util
...
That was resolving the path completely before checking
whether the symlink is broken or not.
2018-06-18 14:24:04 +02:00
Gina Häußge
654055da61
Add symlink check to test API endpoint
2018-06-18 11:37:36 +02:00
Gina Häußge
68f67219ed
Refactor test API endpoint
2018-06-18 11:37:02 +02:00
Gina Häußge
436ffb6db8
Detect broken symlinks during folder validation
...
Closes #2644
2018-06-18 11:20:21 +02:00
Gina Häußge
b569cc456b
Fix typePath missing for sdcard files on files API
...
Closes #2589
2018-06-18 10:48:27 +02:00
dadosch
023b9eda90
Two spaces were missing
2018-06-18 09:54:33 +02:00
Gina Häußge
fe2dbf699d
SWU: Lock down UI while updating
...
Implements #1217
2018-06-15 18:15:13 +02:00
Gina Häußge
17c6c83503
Fix SD printing
2018-06-15 17:02:53 +02:00
Gina Häußge
688e4d36d1
Fix script order
...
beforePrint* should always precede any commands from the print job.
Also make sure we only jump from "finishing" to "operational" after the
afterPrintDone script has been sent. Also wait for all moves to finish.
2018-06-15 15:44:34 +02:00
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
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
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
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
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