Eyal Soha
792fe328ef
Use infinity instead of None for faster MinMax3d
2018-07-13 00:44:04 +03:00
Eyal Soha
111a37e97e
Unroll record for improved speed
2018-07-13 00:42:33 +03:00
Eyal Soha
c2bb234c20
Remove extra import math
2018-07-13 00:29:43 +03:00
Gina Häußge
13ab34a5c8
Better API key check
2018-06-25 18:53:42 +02:00
Gina Häußge
2a67772f46
Different base icon & setting
...
(cherry picked from commit dc61b61)
2018-06-25 12:47:31 +02:00
tedder
f69718b060
make favicon color match custom theme color
...
With multiple octopis, the theme/header color is really nice for quickly distinguishing them. But it doesn't help with an ocean of open tabs. This does- simply carry the theme color onto the favicon.
I could do this as a plugin and/or make it a configurable setting, but it's very small change that doesn't need that much overhead, and generally I have opinions about having a plethora of setting flags for nonfunctional things. Thanks to @jneilliii for [helping me through the viewmodels](https://discourse.octoprint.org/t/where-can-i-get-the-theme-color/2354/5 ).
(cherry picked from commit e1089de )
2018-06-25 12:47:31 +02:00
Gina Häußge
08c384ac68
Merge pull request #2697 from eyal0/patch-2
...
estimatedPrintTime is in seconds, not minutes
2018-06-25 11:07:41 +02:00
Gina Häußge
00354f4a1e
Merge pull request #2696 from eyal0/patch-1
...
Fix comment in types.py to match the code
2018-06-25 11:06:34 +02:00
Eyal
1a9b6c01a6
estimatedPrintTime is in seconds, not minutes
...
The documentation says that the estimated print time should be given in minute. But in practice, when I give it in minutes, the GUI shows an error factor of 60. By supplying it in seconds, the correct value is shown.
So it should probably actually be "in seconds"
2018-06-24 15:45:29 +03:00
Eyal
c4dc7d0f55
Fix comment in types.py to match the code
...
The comment says that the key should be `_analysis` but in the code it is `analysis`: https://github.com/foosel/OctoPrint/blob/master/src/octoprint/slicing/__init__.py#L312
This fixes the comment but leaves the code unchanged.
2018-06-24 15:04:38 +03:00
Gina Häußge
5a60af9d13
Improve SD print detection
2018-06-22 11:22:22 +02:00
Gina Häußge
cb8ce62ec4
maintenance is now 1.3.10.dev
2018-06-20 15:52:46 +02:00
Gina Häußge
e49a4d8cfa
staging/maintenance is now 1.3.9rc2.dev
2018-06-20 15:52:00 +02:00
Gina Häußge
fdf0f75ffa
Preparing release of 1.3.9rc1 (part 2)
1.3.9rc1
2018-06-20 15:18:42 +02:00
Gina Häußge
5fb8674937
Merge branch 'master' into maintenance
2018-06-20 13:08:25 +02:00
Gina Häußge
d3871e3487
Pin sarge to 0.1.4
...
0.1.5 renamed the async keyword.
Library authors, please, stick to semantic versioning :(
2018-06-20 12:48:10 +02:00
Gina Häußge
9dd9badb33
Pin tornado to 4.5.3
...
We don't want to accidentally pull in 5.0b1
2018-06-19 18:49:41 +02:00
Gina Häußge
3de9635180
Preparing release of 1.3.9rc1
2018-06-19 18:48:28 +02:00
Gina Häußge
e2f626d421
Virtual printer: select_sd command
2018-06-19 11:24:05 +02:00
Gina Häußge
b7a8c29fb4
Add an API endpoint to fetch template order
...
That should make it easier for third party plugins that want to offer
reordering capabilities of tab, sidebar, etc
2018-06-18 19:35:47 +02:00
Gina Häußge
15f10d4a84
sidebar > tabs
2018-06-18 18:23:03 +02:00
Gina Häußge
0faf2792e9
Clarify something about component ordering
2018-06-18 18:21:59 +02:00
Andy Castille
caa1a3d76f
Display absolute file upload times on hover
2018-06-18 18:03:01 +02:00
Gina Häußge
fae01d2c75
Merge branch 'pr/2633' into maintenance
2018-06-18 17:53:47 +02:00
Gina Häußge
248235c5e0
Fix indentation
2018-06-18 17:53:32 +02:00
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
e5afde2c2c
Up a couple of versions
2018-06-18 14:33:28 +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
8ef13ba529
Fix flask version
2018-06-18 14:22:56 +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