Gina Häußge
9e0e4bf7b6
Pi Support: Allow configuration of vcgencmd
2018-07-19 18:17:28 +02:00
Gina Häußge
452645d950
Merge pull request #2742 from eyal0/faster_analysis3
...
Faster gcode analysis: Remove kwargs Vector.__init__ and simplify getCodeFloat
2018-07-19 09:41:06 +02:00
Eyal Soha
d2bb731bd7
Remove kwargs from Vector constructor and also simplify getCodeFloat
2018-07-19 09:43:48 +03:00
Gina Häußge
2062acd372
Fix print button being enabled w/o selected file
...
Closes #2737
2018-07-18 17:21:20 +02:00
Gina Häußge
40b5c272c4
Merge pull request #2723 from eyal0/always_gcode_analyze
...
Always run the GCodeAnalyser, even if the slicer provided analysis
2018-07-18 16:48:14 +02:00
Gina Häußge
31e4df44f9
Merge pull request #2739 from eyal0/faster_analysis2
...
Use infinity instead of None in MinMax3D to improve performance
2018-07-18 16:28:25 +02:00
Eyal Soha
cd3c8ebbe6
Use infinity instead of None in MinMax3D to improve performance
...
Speed is improved by about 5%
2018-07-18 16:57:42 +03:00
Gina Häußge
fe13348fd3
Don't perform write tests on every getBaseFolder call
...
Especially not when rendering the main UI - we don't want to trigger
a 500 then, even if some folders are misconfigured.
2018-07-18 15:41:26 +02:00
Gina Häußge
903dd36d68
Strip --no-cache-dir for pip < 1.6
...
Closes #2738
2018-07-18 11:08:47 +02:00
Gina Häußge
59a435a787
Pi support: spelling fixes
2018-07-17 18:37:24 +02:00
Gina Häußge
71cc312ccc
Pi support: move itertools import into debugging cluster
2018-07-17 18:25:13 +02:00
Gina Häußge
8d1ae438e5
Pi support: re-enable production config m)
2018-07-17 17:52:37 +02:00
Gina Häußge
7ebcb47955
Pi support: remove obsolete URL from about dialog
2018-07-17 17:49:16 +02:00
Gina Häußge
71e60183c5
Pi Support: add setting for throttle check
...
Just in case something acts up with that...
2018-07-17 17:49:03 +02:00
Gina Häußge
9c055137eb
Pi Support: fix ordering of about dialog
2018-07-17 17:46:50 +02:00
Gina Häußge
eaa8933782
Pi Support: fix state update push
2018-07-17 17:46:36 +02:00
Gina Häußge
0d330e3c5a
Pi Support: slight change in timer startup
2018-07-17 16:59:03 +02:00
Gina Häußge
18ed113122
Pi Support: fix logic error
2018-07-17 16:57:04 +02:00
Gina Häußge
48e454856c
Pi Support: change check implementation
2018-07-17 15:54:18 +02:00
Gina Häußge
917b86655f
Tracking: always use percentage encoding
...
Otherwise we'll run into https://discuss.elastic.co/t/cant-parse-field/26557/4
on our tracking server
2018-07-17 15:53:41 +02:00
Gina Häußge
7a2225b332
Pi Support: strip 0 bytes from strings
2018-07-17 15:30:28 +02:00
Gina Häußge
20237a73ac
Pi Support: Add debug logging to throttle check
2018-07-17 15:17:36 +02:00
Gina Häußge
4a3f894064
Tracking: fix a missed renamed field
2018-07-17 15:15:35 +02:00
Gina Häußge
0c9098f7bf
Tracking: Fix a typo
2018-07-17 15:10:04 +02:00
Gina Häußge
53a2e04501
Tracking: adapt to new pi support plugin
2018-07-17 14:59:10 +02:00
Gina Häußge
c6f5f1a0f7
Less scary message if a plugin doesn't pass check
2018-07-17 14:38:28 +02:00
Gina Häußge
1cff2581db
OctoPi support => Pi support
...
* changed model detection implementation to use device-tree
* now active if running on a Pi, regardless whether that runs OctoPi
or not
* detect undervoltage/overheat issues via vcgencmd and report back on
UI
2018-07-17 14:38:12 +02:00
Gina Häußge
7ab4b90d07
Fix a flask import
2018-07-16 15:32:19 +02:00
Gina Häußge
fd4ff2bf37
Merge branch 'maintenance' into devel
...
# Conflicts:
# AUTHORS.md
# src/octoprint/plugin/__init__.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/__init__.py
# tests/timelapse/test_timelapse_helpers.py
2018-07-16 15:29:02 +02:00
Gina Häußge
5cf02ac9ee
Merge branch 'staging/maintenance' into maintenance
2018-07-16 15:21:49 +02:00
Gina Häußge
460481c9c2
staging/maintenance is now 1.3.9rc4.dev
2018-07-16 15:21:25 +02:00
Gina Häußge
2806676707
Preparing release of 1.3.9rc3
1.3.9rc3
2018-07-16 13:15:00 +02:00
sti2d
76f93d8875
Fix import changes on python 3
...
Try python3 import & revert back to python2 if ImportError is raised
this include BaseHttpServer -> http.server, StringIO -> io, HTMLParser -> html.parser
2018-07-14 10:09:28 +02:00
sti2d
30359f52ab
In python 3, map/filter return specific object types that :
...
* are not directly iterable
* doesn't work with len() function
* doesn't allow list concatenation
This commit wraps all relevant map/filter outputs into a list object type
2018-07-14 09:22:27 +02:00
sti2d
0020f029d1
Python yaml now use numeric value for indent attribute, this commit take care of that
2018-07-14 07:06:18 +02:00
Gina Häußge
9559f09ec7
Merge pull request #2730 from eyal0/faster_analysis
...
Improve octoprint gcode analysis speed
2018-07-13 19:25:54 +02:00
Eyal Soha
542edbc3e6
Revert "Use infinity instead of None for faster MinMax3d"
...
This reverts commit 792fe328ef .
Most of the speed-up comes from removing the unneeded import and the unrolling so no big deal.
2018-07-13 20:07:35 +03:00
Gina Häußge
f82d50b0f6
Some compatibility fixes
2018-07-13 18:41:50 +02:00
Gina Häußge
e224b0ac71
Fix & extend unit tests
2018-07-13 18:02:42 +02:00
Gina Häußge
68f4ecefb0
Add hook to extend supported timelapse extensions
...
Implements #2729
2018-07-13 17:42:34 +02:00
Gina Häußge
d73d930e5f
Move to sarge 0.1.5
...
Replace async with async_ where necessary
2018-07-13 15:20:12 +02:00
Eyal
8c1262dd3f
Replace infinity tests with inequality
2018-07-13 11:57:52 +03:00
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
0a634a76a0
Different fix for #2632
...
Our original one causes dead locks as reported in #2677
2018-07-12 16:46:28 +02:00
Gina Häußge
41c0dac19d
Fix state comparisons in timeout handling
...
We weren't yet looking at the new intermediary states here.
2018-07-12 14:40:57 +02:00
Gina Häußge
f728423f29
Fix resend handling during job_on_hold
...
Missing response to a resent line was not properly detected and handled.
2018-07-12 14:39:45 +02:00
Gina Häußge
61e5184377
Fix "now" timestamp
...
Should be taken *after* reading from the serial line, not before.
2018-07-12 14:38:12 +02:00
Gina Häußge
a2527998c2
Resolve dead lock issue in job_on_hold implementation
...
(Hopefully) closes #2677
2018-07-11 18:10:51 +02:00