Diego Prado Gesto
|
8c2ba64f32
|
CURA-5330 Add typing to NetworkedPrinterOutputDevice
|
2018-06-08 16:47:52 +02:00 |
|
Diego Prado Gesto
|
e5e96bc600
|
Merge branch 'master' into mypy_fixes
Contributes to CURA-5330
|
2018-06-08 15:29:22 +02:00 |
|
Ghostkeeper
|
3b510af8f5
|
Add default 'None' for onFinished
I don't always need to know whether it was successful.
Contributes to issue CURA-5034.
|
2018-06-08 14:31:19 +02:00 |
|
Lipu Fei
|
3b46816632
|
Also check btemporary value
CURA-5449
|
2018-06-07 11:29:21 +02:00 |
|
Diego Prado Gesto
|
1019f2dd65
|
CURA-5449 Do not check if the name is the correct group name if the
output device is manual create device and it is marked as temporary.
Wait until all the information is retrieved when the request finishes.
|
2018-06-06 14:54:26 +02:00 |
|
Ghostkeeper
|
b3f73594bf
|
Fix types of on_finished callback
It only has a QNetworkReply argument.
Contributes to issue CURA-5330.
|
2018-06-01 14:53:13 +02:00 |
|
Ghostkeeper
|
8ed3bd29cb
|
Don't return any boolean in _update
Nothing listens to that return value, and its parent classes say that this must return None.
Contributes to issue CURA-5330.
|
2018-06-01 14:53:13 +02:00 |
|
Ghostkeeper
|
a55cf0678e
|
Add missing function types
The class is typed now. There's some bugs though.
Contributes to issue CURA-5330.
|
2018-06-01 14:53:12 +02:00 |
|
Ian Paschal
|
54c32c52f6
|
CURA-5221 Added S5 ID code
|
2018-04-23 11:22:11 +02:00 |
|
Ghostkeeper
|
c1f9b455bb
|
Remove unnecessary import
This import is not used.
Contributes to issue CURA-5097.
|
2018-03-19 11:22:55 +01:00 |
|
Diego Prado Gesto
|
dcb68bb33e
|
CURA-4870 Move the checkCorrectGroupName to the machine manager, where
it must belong to.
|
2018-03-15 15:13:35 +01:00 |
|
Diego Prado Gesto
|
cbe929242e
|
CURA-4870 Update the names of the groups in the container stacks when
there is temporary name after upgrading from 3.2
|
2018-03-15 14:44:01 +01:00 |
|
Ian Paschal
|
4a16d04dd7
|
CURA-5053 Changed printer type checking
"Still hard coded but at least doesn't use `elif` because `elif`/`else if` should not exist in any programming language." - Grumpy Pedants & Ian >:[
|
2018-03-14 10:50:54 +01:00 |
|
Aleksei S
|
e2cbfa8cec
|
Fix: Retrieve printer type during creating outputDevice
CURA-5053
|
2018-03-13 16:37:09 +01:00 |
|
Aleksei S
|
a35d4ae400
|
Fix: After clicking "cancel" button while sending a print job
the connection is disconnected
CURA-4960
|
2018-03-05 16:43:58 +01:00 |
|
Simon Edwards
|
172b4e57a4
|
Fix problem with very slow gcode sending
CURA-4850
|
2018-01-22 15:08:54 +01:00 |
|
Simon Edwards
|
b20e35714f
|
Factor out the code for adding a function for run after a HTTP request
CL-541
|
2018-01-04 13:36:29 +01:00 |
|
Simon Edwards
|
695c7d8267
|
Rename the _live_multiparts to the even better _kept_alive_multiparts name
CL-541
|
2018-01-04 13:27:24 +01:00 |
|
Simon Edwards
|
2588e11364
|
Improve and simplify how we hold on to form part objects
CL-541
|
2018-01-04 10:43:50 +01:00 |
|
Simon Edwards
|
3173eb6740
|
Avoid mega-tons of object copying when building compressed gcode
CL-541
|
2018-01-03 16:15:12 +01:00 |
|
Jaime van Kessel
|
e12a2fbd6a
|
Fixed typing
CL-541
|
2018-01-03 14:07:34 +01:00 |
|
Jaime van Kessel
|
c1bf87bd8f
|
Removed commented out code
CL-541
|
2018-01-03 13:54:15 +01:00 |
|
Simon Edwards
|
5e3666f073
|
Fill out the type hints in NetworkedPrinterOutputDevice.py
CL-541
|
2018-01-02 17:21:51 +01:00 |
|
Jaime van Kessel
|
52d25042eb
|
Machines now re-appear after timeout
CL-541
|
2017-12-22 11:29:13 +01:00 |
|
Jaime van Kessel
|
041b1830fe
|
Re-added manual printer adding
CL-541
|
2017-12-20 16:30:40 +01:00 |
|
Jaime van Kessel
|
9084dfd6bd
|
It's now possible to send print jobs to cluster again
CL-541
|
2017-11-28 12:59:54 +01:00 |
|
Jaime van Kessel
|
cfc6a3ad48
|
Added some convenience functions to NetworkedPrinterOutputdevice
This also moves the getUser from legacy to networked printer
CL-541
|
2017-11-28 12:43:49 +01:00 |
|
Jaime van Kessel
|
c1c59925de
|
Removed duplicated code
CL-541
|
2017-11-27 17:14:30 +01:00 |
|
Jaime van Kessel
|
83b13546fb
|
Moved compressing of GCode to one class higher
CL-541
|
2017-11-27 17:12:36 +01:00 |
|
Jaime van Kessel
|
57de028608
|
re-implemented abort & pause for legacy um3
CL-541
|
2017-11-24 11:26:30 +01:00 |
|
Jaime van Kessel
|
1c2c4d4163
|
Added property to indicate if output device accepts commands
Instead of how this was previously done, it's now tied to the auth state.
CL-541
|
2017-11-23 17:07:24 +01:00 |
|
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
|
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
|
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
|
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 |
|