Commit graph

47 commits

Author SHA1 Message Date
Marijn Deé
eb3777ed9f Cleaner login and update cluster flow, start update cluster timer
at startup when the user is already logged in
2018-12-06 10:40:06 +01:00
Daniel Schiavini
117cf10a2c STAR-322: Removing devices when logging off 2018-12-05 16:26:20 +01:00
Daniel Schiavini
7e76913736 STAR-322: Fixing printer matching by network key 2018-12-05 16:02:38 +01:00
ChrisTerBeke
cd67100097 Comment out some currently broken code 2018-12-05 15:40:45 +01:00
Daniel Schiavini
9f4b047ee1 Merge branch 'STAR-322_cloud-connection' of github.com:Ultimaker/Cura into STAR-322_cloud-connection 2018-12-05 14:08:46 +01:00
Daniel Schiavini
b693b9d98f STAR-322: Extracting models to be able for converting themselves 2018-12-05 14:08:40 +01:00
ChrisTerBeke
7d7dd6bdde First idea for pairing local and remote clusters 2018-12-05 14:02:53 +01:00
ChrisTerBeke
b57f6c5c6a
Do no stop when no clusters are found, we still might need to remove some 2018-12-04 22:58:50 +01:00
ChrisTerBeke
d0513e40e1
Remove crappy implementation 2018-12-04 22:21:36 +01:00
Daniel Schiavini
8ea4edf67e STAR-322: Fixing job uploads 2018-12-04 17:37:58 +01:00
Marijn Deé
3a733bb0a3 Check before removing a printer 2018-12-04 16:35:48 +01:00
Marijn Deé
b32d6812db We don't need a Signal with QTimer 2018-12-04 16:20:27 +01:00
Daniel Schiavini
54744b46a7 Merge branch 'STAR-322_cloud-connection' of github.com:Ultimaker/Cura into STAR-322_cloud-connection 2018-12-04 16:15:19 +01:00
Daniel Schiavini
9046b39b43 STAR-322: Creating a Cloud API client to handle the interaction 2018-12-04 16:14:08 +01:00
Marijn Deé
a9273ec2b5 Use QTimer instead of threading.Timer 2018-12-04 15:20:24 +01:00
ChrisTerBeke
a79cfcbe47 Merge branch 'STAR-322_cloud-connection' of https://github.com/Ultimaker/Cura into STAR-322_cloud-connection 2018-12-04 14:22:17 +01:00
ChrisTerBeke
e98f3bff38 Implement test version of showing cloud connected printers in list 2018-12-04 14:09:20 +01:00
Marijn Deé
5d77209cfb Be more efficient in updating the print jobs 2018-12-04 13:57:41 +01:00
Marijn Deé
02963eb9bf Use a timer for the periodic update of the remote clusters and printjobs 2018-12-04 13:19:12 +01:00
Marijn Deé
99bdb9c93f Merge branch 'STAR-322_cloud-connection' of github.com:Ultimaker/Cura into STAR-322_cloud-connection 2018-12-04 13:06:33 +01:00
Marijn Deé
894c69685a Periodically update the remote clusters and printjobs 2018-12-04 13:06:27 +01:00
ChrisTerBeke
97607419cf Start with some fakes for monitor page 2018-12-04 12:14:21 +01:00
ChrisTerBeke
1bcabc6f42
Fix is_online logic 2018-12-03 23:44:52 +01:00
ChrisTerBeke
b50e942768
Describe TODO for association by hostname, only connect when online 2018-12-03 23:42:41 +01:00
ChrisTerBeke
0852d2ebef add one more TODO 2018-12-03 17:42:39 +01:00
Daniel Schiavini
fc26ccd6fa STAR-332: Some improvements to get the job in connect 2018-12-03 14:41:36 +01:00
Daniel Schiavini
8066074a2f STAR-332: Fixing warnings 2018-12-03 11:02:49 +01:00
Marijn Deé
763291821f Added models to process the data from the api results
Added code to update the UI models
2018-11-29 17:03:11 +01:00
Marijn Deé
8a72ba3cfa Merge branch 'cloud-output-device' of github.com:Ultimaker/Cura into cloud-output-device 2018-11-29 10:00:57 +01:00
ChrisTerBeke
26f107d176 Use cluster_id as dict key, remove unneeded white space 2018-11-27 17:03:19 +01:00
Marijn Deé
fd4d1113b9 use right plural in variable name 2018-11-27 15:42:26 +01:00
Marijn Deé
172e003e1b Removed the inital call to clusters 2018-11-27 14:53:23 +01:00
Marijn Deé
fb019ba987 In CloudOutputDeviceManager start a thread to periodically check for changes in the connected clusters 2018-11-27 14:48:47 +01:00
ChrisTerBeke
42ccabc7b6 Fix relative imports for plugin 2018-11-26 15:09:56 +01:00
ChrisTerBeke
39f92ced90 Comment out test 2018-11-26 15:02:52 +01:00
ChrisTerBeke
269d596f5d Fix typing for cluster list 2018-11-26 14:54:24 +01:00
ChrisTerBeke
6a43d10982 Use BaseModel for CloudCluster, some fixes 2018-11-26 14:51:24 +01:00
ChrisTerBeke
21c81603b4 Use application singleton instead of locally cached application 2018-11-26 13:33:14 +01:00
Marijn Deé
908628e2aa Added a model to represent a cluster 2018-11-26 10:47:53 +01:00
ChrisTerBeke
cf27a211df Remove unused TYPE_CHECKING import 2018-11-23 14:15:40 +01:00
ChrisTerBeke
ef5ca6f5a9 Remove unused typing import 2018-11-23 14:15:21 +01:00
ChrisTerBeke
3e100775df Fix instantiating CloudOutputDeviceManager 2018-11-23 14:14:35 +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
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