1486 Commits

Author SHA1 Message Date
Kostas Karmas
3d26b6886f Fix the welcome dialog not closing when cloud printers detected
The welcome dialog was not closing because when pressing the "Sign up"
button in the cloud page, a signal is emitted that is forcing the
welcome wizard to move to the next page. Therefore the currentPageIdx
was detected as cloud_page_idx+1.

This commit fixes the check by checking whether the welcome dialog is
in the page after the Cloud page.

CURA-7019
2020-04-22 18:22:42 +02:00
Kostas Karmas
1030945c5d Merge branch 'master' into CURA-7019_Move_sign_in_screen_in_front_of_add_printer_in_first_run_wizard 2020-04-22 16:51:40 +02:00
Nino van Hooff
6bbfd14d00
Merge pull request #7443 from Ultimaker/CURA-7055_auto_add_cloud_printers
CURA-7055_auto_add_cloud_printers
2020-04-22 16:05:40 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
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
Kostas Karmas
ea2eb2ce41 Merge branch '4.6' 2020-04-14 18:14:39 +02:00
konskarm
6241ca736e
Merge pull request #7498 from Ultimaker/CURA-7343_network_troubleshooting_link
CURA-7343_network_troubleshooting_link
2020-04-14 18:12:22 +02:00
Nino van Hooff
214e41f983 Use a more specific link for the network troubleshooting guide
CURA-7434
2020-04-14 16:55:36 +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
Ghostkeeper
3dbbd17e32
Round coordinates
This would have worked out of the box if this plug-in actually used the theme rather than hard-coding its sizes here. However that is too big of a change for me to make in 5 minutes, so it'll have to wait. Also fixed some missing screen scale factors.

Done as a 5 minute fix to try to amend #7125.
2020-02-25 15:00:41 +01:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +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
Ghostkeeper
867283ffc3
Code style 2019-10-24 13:23:44 +02:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +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