847 Commits

Author SHA1 Message Date
Kostas Karmas
7b464e5550 Close welcome wizard when user has cloud printers
If the user signs in during the welcome process, if he/she has cloud
printers connected to his/her account, then the welcome wizard will
close so that the user will not be asked to add local printers.

CURA-7019
2020-04-20 15:06:31 +02:00
Jaime van Kessel
2da965e46e
Merge branch 'CURA-7147_preview_img_for_cloud' of github.com:Ultimaker/Cura into 4.6 2020-04-16 15:11:20 +02:00
Remco Burema
ac5213d232
Fix typing.
part of CURA-7147
2020-04-16 12:59:36 +02:00
Remco Burema
006822334c
Fetch preview image from cloud for monitor page.
part of CURA-7147
2020-04-16 12:18:49 +02:00
Nino van Hooff
783b8e08ff Only schedule a new cloud sync after the previous one finished
Prevents concurrent syncs, which would create duplicate printers.

Also doxygen comments to docstring

CURA-7055
2020-04-14 11:40:04 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables 2020-04-10 13:46:19 +02:00
Ghostkeeper
9c55ae5ac5
Allow print job actions from 5.2.12
This feature was backported to 5.2 so that UM3 can actually do this as well.
2020-04-10 10:39:18 +02:00
Jaime van Kessel
d1337c9e22
Prevent printer from being added twice if it's in cloud and local
CURA-7055
2020-04-09 16:39:47 +02:00
Jaime van Kessel
33b3bb77c3
Fix typing
List wasn't added, so mypy borked. CURA-7055
2020-04-07 16:58:08 +02:00
Nino van Hooff
ff017e6a52 Remove unnecessary call to remove printer from qt model
Since cloud printers are not added to that model anymore

CURA-7055
2020-04-07 14:44:24 +02:00
Nino van Hooff
99b4b86052 Display max 3 printer names in the printer discover message
CURA-7055
2020-04-07 14:43:26 +02:00
Nino van Hooff
22a06fca3b Shorten new cloud printers message
So the plural form also fits on one line

CURA-7055
2020-04-07 13:50:24 +02:00
Nino van Hooff
0ec3e0972b Add an image to the cloud printer sync message
CURA-7055
2020-04-06 18:01:57 +02:00
Nino van Hooff
b141bb139e Update documentation of _connectToActiveMachine
CURA-7055
2020-04-06 15:04:39 +02:00
Nino van Hooff
52ef794c4d Add a Message informing users of progress on cloud syncing printers.
CURA-7055
2020-04-06 14:49:45 +02:00
Nino van Hooff
a80a5f36ff Add a Message informing users of progress on cloud syncing printers.
CURA-7055
2020-04-06 13:44:48 +02:00
Nino van Hooff
4adf4dceb8 Automatically make discovered printers available to use.
instead of the list of available printers to be connected

CURA-7055
2020-04-03 12:02:27 +02:00
Remco Burema
c20b2c6ee0
Merge pull request #7211 from Ultimaker/CURA-7150_proper_http_request_headers
CURA-7150_proper_http_request_headers
2020-03-24 11:25:07 +01:00
Jaime van Kessel
56c387502a
Strip extension from file_name when printing via the cloud
ST-2880
2020-03-16 15:54:41 +01:00
Nino van Hooff
96ed85f9c0 Move UltimakerCloudAuthentication and UltimakerCloudScope
...to their own module
Fixes an import error where UltimakerCloudScope was used my both the
Toolbox and CuraDrive plugins

CURA-7150
2020-03-12 17:48:54 +01:00
fieldOfView
6abf916ced Fix typing in __init__ methods to appease MYPY 2020-01-14 21:56:06 +01:00
Lipu Fei
3ddc2466f8 Fix typing 2019-12-17 10:27:05 +01:00
Ghostkeeper
5ea60823f5
Don't crash if address is still none after getting info
This can happen (starting somewhere between zeroconf version 21.0 and 24.0).

Contributes to issue CURA-7032.
2019-12-13 10:54:27 +01:00
Ghostkeeper
e54ce8643b
Don't wrap str unnecessarily
Just an inefficiency that I found.
2019-12-13 10:44:48 +01:00
Jaime van Kessel
00078fd659
Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
Jaime van Kessel
141bd0f127
Remove spammy New Cloud Printer detected message
ST-3153
2019-11-04 11:10:30 +01:00
Jaime van Kessel
c2e6116983
Add names to all the threads 2019-11-01 16:20:42 +01:00
Jaime van Kessel
c5623a1364
Also catch ValueError when handling modelParsing from network
CURA-6855
2019-10-28 10:30:25 +01:00
ChrisTerBeke
8f46c02e5d Fix MyPy issues 2019-10-25 12:35:03 +02:00
ChrisTerBeke
9a3ff527ac Bring back the printer selection dialog for networked printers 2019-10-25 12:25:41 +02:00
Lipu Fei
5548c30616 Catch WinErrors for zeroconf
CURA-6855
2019-10-21 10:21:50 +02:00
Lipu Fei
750632ec41 Merge remote-tracking branch 'origin/master' into feature_intent 2019-10-02 12:52:37 +02:00
ChrisTerBeke
445743ab75
Use empty string as fallback value 2019-10-01 19:53:40 +02:00
ChrisTerBeke
76536fe715
Ensure string matching is done with strings 2019-10-01 19:52:40 +02:00
ChrisTerBeke
5f31551184
Fix checking for cases where machine creation failed 2019-10-01 19:41:02 +02:00
ChrisTerBeke
c3d846440d
Set some meta data before switching active stacks, fix manual added device pairing 2019-10-01 19:31:35 +02:00
Lipu Fei
96a9bcccbb Merge remote-tracking branch 'origin/master' into feature_intent 2019-10-01 09:41:05 +02:00
ChrisTerBeke
99832c3a68
Use printer type name instead of id 2019-09-27 21:09:53 +02:00
ChrisTerBeke
9e54cc33ce
Move code 2019-09-27 20:50:46 +02:00
ChrisTerBeke
b18f9469bf
Select correct machine type connecting to output device 2019-09-27 20:39:57 +02:00
ChrisTerBeke
01e665a0d7
Partial revert of #6432, actually fix refreshing configurations 2019-09-27 19:25:23 +02:00
ChrisTerBeke
93c1c88793 Only show cloud flow message when signed in and not cloud connected yet, fix machine configuration when using legacy network selection flow 2019-09-27 13:38:13 +02:00
Lipu Fei
94e89ad4ac Fix merge conflicts with master 2019-09-24 14:26:43 +02:00
Ghostkeeper
05de920c21
Once more with feeling
Sorry, I didn't see the other review comment until after I pushed the previous commit.

Contributes to issue CURA-6600.
2019-09-18 14:28:22 +02:00
Ghostkeeper
a3e9316f48
Rename all_root_materials to all_base_files
This naming is more consistent with the naming of the metadata entry and most of the other code.

Contributes to issue CURA-6600.
2019-09-18 14:27:04 +02:00
ChrisTerBeke
5dfb8216df Fix loading popup image on windows 2019-09-13 11:06:34 +02:00
ChrisTerBeke
e8b48a299b Store in preferences if the user wants to hide the message 2019-09-13 10:45:42 +02:00
Diego Prado Gesto
bca68c6db0 Merge branch 'feature_intent' into feature_intent_container_tree 2019-09-13 09:02:51 +02:00
Ghostkeeper
b8ab04df4a
Correct type of logged item 2019-09-12 15:58:09 +02:00