Marijn Deé
76542a82d5
Removed the asserts on internals
2018-11-23 10:33:57 +01:00
Ian Paschal
9f1ce72b9e
Add Cura 4.0 printer cards
...
Contributes to CL-1150
2018-11-23 10:03:08 +01:00
Marijn Deé
294527f7fe
Review changes
2018-11-23 09:21:09 +01:00
Marijn Deé
bb5c0326de
Used duoble quotes iso single quotes
2018-11-23 09:20:19 +01:00
Diego Prado Gesto
81c776213a
Merge branch 'master' into ui_rework_4_0
2018-11-22 16:11:06 +01:00
Ian Paschal
963b8aa974
Fix QML warnings
...
Contributes to CL-1148
2018-11-22 13:56:01 +01:00
Ian Paschal
55554c62a9
Use array for extruder configurations
...
Contributes to CL-1148
2018-11-22 13:55:43 +01:00
Ian Paschal
da834d6a1f
Silence binding loop
...
Contributes to CL-1148
2018-11-22 13:55:22 +01:00
Ian Paschal
1de21c1d94
Remove unnecessary "else"
...
Contributes to CL-1148
2018-11-22 13:13:06 +01:00
Ian Paschal
3c3343a407
Use bool for expanded or collapsed state
...
Contributes to CL-1148
2018-11-22 13:11:59 +01:00
Ian Paschal
ba7863c9d9
Fix type error for hovering manage queue link
...
Contributes to CL-1148
2018-11-22 11:09:35 +01:00
Marijn Deé
352427e460
Moved exception handling closer to the cause of error
2018-11-22 10:01:15 +01:00
Marijn Deé
7e3f86f091
Moved some of the mocks to class level because they are used in every test method
2018-11-22 09:37:47 +01:00
Marijn Deé
7b0f8882a2
Reverted models to namedtuples from collections because
...
NamedTuple is a Python3.6 feature
2018-11-21 11:01:26 +01:00
Marijn Deé
9e8be286af
Used NamedTuple from typing iso namedtuple from collections so we can at least give type hints
2018-11-21 10:12:53 +01:00
ChrisTerBeke
c7bb6931f4
Refactor networked output device
...
All networking related stuff is moved to a separate class called NetworkClient for reusability.
As example it is now also used in the WIP CloudOutputDeviceManager to clean up network calling there.
2018-11-20 23:44:28 +01:00
ChrisTerBeke
ff2d8b9076
Merge branch 'tests-for-um3networkplugin' into cloud-output-device
...
* tests-for-um3networkplugin:
Fixed the failing tests
Made the tests work with the named tuples Tests only use the _onGetRemoteMaterial
Fixed some bugs and added the color_code field to the named tuple
2018-11-20 18:57:42 +01:00
Marijn Deé
f3338aa187
Fixed the failing tests
2018-11-20 16:53:01 +01:00
Marijn Deé
ca60744292
Made the tests work with the named tuples
...
Tests only use the _onGetRemoteMaterial
2018-11-20 16:34:11 +01:00
Marijn Deé
481ca8cd2f
Fixed some bugs and added the color_code field to the named tuple
2018-11-20 16:33:52 +01:00
Ian Paschal
2f84339f5c
Finalize queue
...
Contributes to CL-1148
2018-11-20 15:58:09 +01:00
Ian Paschal
fb3cb67da0
Add printer configuration components
...
Contributes to CL-1148
2018-11-20 13:46:41 +01:00
Diego Prado Gesto
fab0d5a4b7
Rename the color of the sidebar to main_background, since it was deleted
...
but not updated in the usages.
Contributes to CURA-5785.
2018-11-20 13:25:15 +01:00
ChrisTerBeke
04cc6193d6
More implementation for getting remote clusters, add some TODOs
2018-11-19 23:25:54 +01:00
ChrisTerBeke
ca1c5fb48c
Add some documentation
2018-11-19 22:30:17 +01:00
ChrisTerBeke
10576d1242
Some scaffolding and implementation for cloud output device manager
2018-11-19 22:24:35 +01:00
ChrisTerBeke
228325eb89
Add CloudOutputDeviceManager, test implementation
2018-11-19 21:59:57 +01:00
ChrisTerBeke
115936c46b
Target correct cloud API version
2018-11-19 20:27:38 +01:00
ChrisTerBeke
69ca7c0f89
CloudOutputDevice scaffolding
2018-11-19 20:08:05 +01:00
Ian Paschal
421a64c7b0
Replace queued print job cards with new design
...
Contributes to CL-1148
2018-11-19 16:42:36 +01:00
ChrisTerBeke
2497325d60
Test with named tuples, not working yet
2018-11-19 16:35:19 +01:00
ChrisTerBeke
c04ce7fce8
Use call_count on specific method to be more precise
2018-11-19 15:44:07 +01:00
ChrisTerBeke
60dd130393
Use logException where possible
2018-11-19 15:39:12 +01:00
ChrisTerBeke
66fbadf2de
Convert all single quotes to double quotes
2018-11-19 15:37:56 +01:00
ChrisTerBeke
d65114bd56
use call_count to assert device was not called
2018-11-19 15:08:58 +01:00
ChrisTerBeke
0b1ac87354
Fix some formatting, cleanup import
2018-11-19 15:03:43 +01:00
ChrisTerBeke
dc17bd8499
Fix the first tests
2018-11-19 13:54:45 +01:00
ChrisTerBeke
ee9210d8d1
Rewrite tests
2018-11-19 10:57:47 +01:00
ChrisTerBeke
23e957e1c5
Some more refactoring, splitting up methods
2018-11-19 10:44:24 +01:00
Marijn Deé
22aac7b566
Renamed TestContainerRegistry to ContainerRegistryMock
2018-11-16 16:35:08 +01:00
Marijn Deé
565f009e9b
Added comments
2018-11-16 16:34:44 +01:00
Marijn Deé
1000625d69
Added spaces around all =
2018-11-16 16:07:17 +01:00
Marijn Deé
0062250238
Moved the test to the plugin directory
2018-11-16 16:06:36 +01:00
Marijn Deé
695d45ffbe
Initialize the models with None
2018-11-16 15:54:07 +01:00
Marijn Deé
e9e8c49b2d
Added tests for SendMaterialJob and refactored SendMaterialJob for
...
better testability. This is part of a larger project to create tests
for the UM3NetworkPrinting plugin in preparation for printing from the
cloud
2018-11-16 14:16:45 +01:00
Diego Prado Gesto
7a12cc53cc
Merge branch 'master' into ui_rework_4_0
2018-11-09 08:53:31 +01:00
Lipu Fei
369747d106
Merge remote-tracking branch 'origin/3.6'
2018-11-08 15:28:42 +01:00
Simon Edwards
69c9ffaf61
Merge pull request #4755 from Ultimaker/CL-1040_show_print_time_in_monitor
...
CL-1140 Show print time in monitor tab
2018-11-08 11:53:47 +01:00
Ian Paschal
aa6ec9e44b
Make text black
...
Contributes to CL-1040
2018-11-08 11:48:22 +01:00
Lipu Fei
de6ab02422
Merge pull request #4678 from fieldOfView/fix_networkprinter_post
...
Fix type error in NetworkedPrinterOutputDevice.post
2018-11-08 11:05:47 +01:00