276 Commits

Author SHA1 Message Date
Jaime van Kessel
0b91112d72 Fixed postForm
Setting the type of the request to json messed up the multi-part stuff.

CL-541
2017-11-23 16:43:52 +01:00
Jaime van Kessel
8b8d67b3a8 LegacyUM3 now handles warnings & errors again
CL-541
2017-11-23 13:37:59 +01:00
Jaime van Kessel
96d5c7152b Added sending material profiles to LegacyUM3
CL-541
2017-11-23 10:31:39 +01:00
Jaime van Kessel
7465a6551a Setup the authentication stuff for LegacyUM3
CL-541
2017-11-22 11:59:07 +01:00
Jaime van Kessel
f987e6d977 Functionality properties (canPause, canPreHeatBed, etc) are now in the Controller.
It's actually up to the controller to say something about this, so this location makes more sense

CL-541
2017-11-21 16:59:17 +01:00
Jaime van Kessel
0fe91db636 Moved HeatedBedBox to own qml file
CL-541
2017-11-21 16:52:37 +01:00
Jaime van Kessel
34e808d585 PrinterOutputModel now has different extruders if it has more than one.
It used to just fill the list with references to the first one created.
CL-541
2017-11-21 16:36:51 +01:00
Jaime van Kessel
e3d07f1806 Moved ExtruderBox and OutputDeviceHeader to their own files.
This makes it a whole lot easier to get an overview.

CL-541
2017-11-21 16:06:30 +01:00
Jaime van Kessel
9cfe9769d3 Printers now automatically try to connect again
CL-541
2017-11-21 14:47:55 +01:00
Jaime van Kessel
a8e71cf50c NetworkManager is now created on demand and re-created after a certain timeout.
CL-541
2017-11-21 14:35:17 +01:00
Jaime van Kessel
b1649f2d38 Added PrintJob handling to ClusterUM3
CL-541
2017-11-21 11:01:19 +01:00
Jaime van Kessel
152f3462ce Also added any to callable mypy decorator
For some reason it also wants to know that it also calls self. Weird.
CL-541
2017-11-21 11:00:37 +01:00
Jaime van Kessel
10a2dbb134 Extended the typing for the calllbacks
CL-541
2017-11-21 10:35:53 +01:00
Jaime van Kessel
fd548975cc Closing a connection now actually stops the updates
CL-541
2017-11-21 10:19:17 +01:00
Jaime van Kessel
a9f52c2ad6 Added data handling for Connect devices
CL-541
2017-11-20 17:00:02 +01:00
Jaime van Kessel
1167fa0a89 Added data handling for legacy printer
CL-541
2017-11-20 16:03:54 +01:00
Jaime van Kessel
61753540e4 Callbacks are now handled by url and operation type.
It would have been nicer to use the request, but it's unhashable.

Cl-541
2017-11-20 15:12:29 +01:00
Jaime van Kessel
4197f18fc1 First steps to ensure that the Discover UM3 action works with new architecture
CL-541
2017-11-20 13:35:08 +01:00
Jaime van Kessel
1b8caa7a21 NetworkedPrinterOutputDevice now requires address in constructor
CL-541
2017-11-20 13:23:09 +01:00
Jaime van Kessel
22f2279a76 Moved bunch of code from the old location to the new bits in archtiecture
CL-541
2017-11-20 10:59:57 +01:00
Jaime van Kessel
b63880e57f Printer Output model now must have at least one extruder
CL-541
2017-11-17 17:00:32 +01:00
Jaime van Kessel
00a5127b19 Added home head & bed
CL-541
2017-11-17 17:00:09 +01:00
Jaime van Kessel
f0a8db3d4e Add way to set head position
CL-541
2017-11-17 16:48:36 +01:00
Jaime van Kessel
3a8eef9768 Added a printerOutputController to send commands to remote.
The idea is that this class can be subclassed. CL-541
2017-11-17 16:25:44 +01:00
Jaime van Kessel
700f7179f1 Rename models to prevent conflict 2017-11-17 16:05:28 +01:00
Jaime van Kessel
e35fba6f05 Added first stubs for printer output models
CL-541
2017-11-17 15:05:08 +01:00