60 Commits

Author SHA1 Message Date
Jaime van Kessel
ca79e398c8 All known materials are now send upon connection
Due to garbage collection issues, the (multi) part requests are now cached.
CURA-334
2016-06-30 14:25:54 +02:00
Jaime van Kessel
a4117bd3be Display data is reset upon job completion 2016-06-30 09:52:48 +02:00
Jaime van Kessel
b9f73a8eef Hiding messages is now only done when there are messages
CURA-49
2016-06-30 09:35:57 +02:00
Jaime van Kessel
12dcc43bac Added messages upon succesfull & not sucessfull pairing
CURA-49
2016-06-29 13:45:29 +02:00
Jaime van Kessel
57ea4f0dc8 Updated auth timeout to 5 min 2016-06-29 13:33:31 +02:00
Jaime van Kessel
58c3f5dc89 Closing the networkprinteroutput device now hides all it's messages
CURA-49
2016-06-29 13:31:42 +02:00
Jaime van Kessel
5597f6dcf2 Authentication is now saved with machine-instance
CURA-49
2016-06-29 13:19:05 +02:00
Jaime van Kessel
368d4e9ea2 Updated documentation
CURA-49
2016-06-29 12:12:12 +02:00
Jaime van Kessel
dd92ac7c5f Username & cura version are now sent in the auth request
CURA-49
2016-06-29 12:06:36 +02:00
Jaime van Kessel
4b6993bf7b Message is now shown when trying to print without authentication
CURA-49
2016-06-29 12:00:28 +02:00
Jaime van Kessel
054f7aaa83 If authentication is recieved, it's now also correctly validated
CURA-49
2016-06-29 11:53:56 +02:00
Jaime van Kessel
3a767c72f0 Authentication can now timeout and be denied from printer side
CURA-49
2016-06-29 10:55:45 +02:00
Jaime van Kessel
c8ba60fad4 Authentication message is now shown when authenticating
CURA-49
2016-06-29 10:18:02 +02:00
Jaime van Kessel
c13a6966d0 Handle authentication denied messages
CURA-49
2016-06-28 17:01:33 +02:00
Jaime van Kessel
6244d74c1d Code cleanup 2016-06-28 16:45:02 +02:00
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