45 Commits

Author SHA1 Message Date
Jaime van Kessel
15e11e1cad Added basic authentication for UM3
Note that the authentication is not saved at the moment, so this step needs to be repeated on every boot

CURA-49
2016-06-28 16:37:37 +02:00
Jaime van Kessel
e53ff78704 Revert "Fix error"
This reverts commit 53c1c738d539b85256e670d80443cfcb1a82c74f.
The code was intentional. The fix actually caused issues, as it sent data it got from the server back again
2016-06-28 13:56:11 +02:00
Jaime van Kessel
ab934d356b Expanded logging 2016-06-28 13:46:20 +02:00
fieldOfView
53c1c738d5 Fix error
CURA-49
2016-06-27 16:51:29 +02:00
Jaime van Kessel
d6aacf24b9 Added JobName to network output device
CURA-1036
2016-06-23 17:07:20 +02:00
Jaime van Kessel
bb9d3a47ef Printer can now actually be linked
CURA-336
2016-06-23 16:15:56 +02:00
Jaime van Kessel
3b51c31772 Meta data of the printer is now also visible
CURA-336
2016-06-23 15:46:12 +02:00
Jaime van Kessel
16fcf2208b Refactoring & exposing of properties
CURA-336
2016-06-23 14:19:56 +02:00
Jaime van Kessel
be779cb92a Improved logging when put operation failed
CURA-1036
2016-06-17 13:00:05 +02:00
Jaime van Kessel
0b9af6055c Decreased sample time for print information
CURA-1036
2016-06-17 11:34:54 +02:00
Jaime van Kessel
44c2a09118 Added stubs for checking if a print is at all possible
CURA-1036
2016-06-17 11:34:28 +02:00
Jaime van Kessel
a36157c538 Jobstate is reset when there is no print job
CURA-1036
2016-06-17 11:18:10 +02:00
Jaime van Kessel
9dbdd7fe7a Added changing printjob state
This also adds the bits required to actually do a put request

CURA-1036
2016-06-16 15:35:40 +02:00
Jaime van Kessel
c6b88118dc Jobstate is now also tracked 2016-06-16 11:43:53 +02:00
Jaime van Kessel
bb1fead4c6 Moved camera to own timer, so grabbing can be in a different frequency
CURA-336 and CURA-1036
2016-06-16 09:40:48 +02:00
Jaime van Kessel
354d2bc109 Camera image now works with a image provider
CURA-1036 and CURA-338
2016-06-16 09:36:19 +02:00
Jaime van Kessel
df94373664 TimeTotal and timeSpent are now set
CURA-1068
2016-06-15 16:46:41 +02:00
Jaime van Kessel
99a30573ce Store current temp in bed_temperature instead of dict with target & current
CURA-1036
2016-06-15 16:28:05 +02:00
Jaime van Kessel
61565561ff Temperatures for both extruders are now correctly retrieved
CURA-1036
2016-06-15 15:05:28 +02:00
Jaime van Kessel
7d258485c8 Small fixes so switching printers correctly connects / disconnects output devices
CURA-1036
2016-06-15 14:17:59 +02:00
Jaime van Kessel
ac4dbe2304 Decreased the progress added when 0 was returned
Turned out that by adding 0.1, it started at 10%
2016-06-14 16:01:06 +02:00
Jaime van Kessel
cadf5d85b7 Camera image is now also retrieved
CURA-338
2016-06-14 13:46:04 +02:00
Jaime van Kessel
1220d32ca5 No longer possible to send print_jobs when print just started
CURA-49
2016-06-14 13:23:05 +02:00
Jaime van Kessel
1acf155e19 We don't depend on requests lib anymore
Intead we use qt network stuff for everything.
CURA-49
2016-06-14 11:49:28 +02:00
Jaime van Kessel
bd413b9a2b Added signalemitter
CURA-49
2016-06-14 09:42:53 +02:00
Jaime van Kessel
fd1d72380b Increased timeout of get request
CURA-49
2016-04-28 09:56:44 +02:00
Jaime van Kessel
f9a1b75c7c Added timeout to get request (so we detect disconnect a lot faster)
CURA-49
2016-04-25 15:00:00 +02:00
Jaime van Kessel
b3490ee9b9 Codestyle & documentation
CURA-49
2016-04-25 12:01:53 +02:00
Jaime van Kessel
4090e461df Setting progress won't cause devision by zero anymore
CURA-49
2016-04-25 11:45:16 +02:00
Jaime van Kessel
bb1a616c1f Removed hardcoded url
CURA-49
2016-04-25 11:44:20 +02:00
Jaime van Kessel
982258ece7 Cleaned up more code
CURA-49
2016-04-25 11:42:13 +02:00
Jaime van Kessel
27b3fa1d45 Removed send-gcode job (no longer need job because we use qt sending)
CURA-49
2016-04-25 10:20:46 +02:00
Jaime van Kessel
c700a684d3 We now use QT stuff for uploading, as this doesn't mess up the GIL
CURA-49
2016-04-21 15:57:26 +02:00
Jaime van Kessel
f9bf54348d Head position is now saved
CURA-49
2016-04-19 15:35:56 +02:00
Jaime van Kessel
387dae140f UpdateThread now only joins when it's actually running
An output device can be created and never have it's connect called.
Because the delete of the output device calls close, we need to handle this

CURA-49
2016-04-19 12:15:45 +02:00
Jaime van Kessel
1a44c394e1 Warning message is shown if the printer is still active.
CURA-49
2016-04-19 12:10:53 +02:00
Jaime van Kessel
2034aeb5c1 Progress of a print job is now tracked
CURA-49
2016-04-19 12:05:03 +02:00
Jaime van Kessel
688ab85dc6 Added status messages when printing with network
CURA-49
2016-04-19 11:59:02 +02:00
Jaime van Kessel
94ed8c8177 UpdateThread now correctly uses join upon close
CURA-49
2016-04-19 11:44:51 +02:00
Jaime van Kessel
cf061b2fbe Added filter machines to requestWrite
CURA-49
2016-04-19 11:42:39 +02:00
Jaime van Kessel
298c740abe Bed & extruder temps are now logged
CURA-49
2016-04-19 11:06:59 +02:00
Jaime van Kessel
48625ed129 Improved error logging & handling in update thread
CURA-49
2016-04-19 11:02:55 +02:00
Jaime van Kessel
404ea89ff7 Connection now correctly uses connection state
CURA-49
2016-04-19 10:51:24 +02:00
Jaime van Kessel
960ac9af99 Close now uses new API stuff 2016-04-18 16:31:14 +02:00
Jaime van Kessel
3bd25e5f7f NetworkPrinterOutputDevice now uses reworked printerOutputDevice API
CURA-49
2016-04-18 16:16:59 +02:00