Gina Häußge
b83dd76c89
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/static/js/app/viewmodels/printerstate.js
2018-07-20 12:27:36 +02:00
Gina Häußge
b51cb31b46
Merge branch 'staging/maintenance' into maintenance
2018-07-20 12:26:16 +02:00
Gina Häußge
b06f804e9e
Tracking: Change printer connection event
2018-07-19 18:17:29 +02:00
Gina Häußge
d64ca79f05
Tracking: Only send requests if online
2018-07-19 18:17:29 +02:00
Gina Häußge
490ade5e17
Tracking: Granular control over tracked events
2018-07-19 18:17:28 +02:00
Gina Häußge
573503e84d
Tracking: Track firmware name
2018-07-19 18:17:28 +02:00
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
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
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
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
Eyal Soha
2dda3a0e32
Always run the GCodeAnalyser, even if the slicer provided analysis
...
The analysis from the Slicer or other sources is sent to the GCodeAnalyser, which can use it or ignore it.
This fixes https://github.com/foosel/OctoPrint/issues/2445#issuecomment-403599347
This fixes https://github.com/eyal0/OctoPrint-PrintTimeGenius/issues/13
2018-07-10 09:06:15 +03:00