Jaime van Kessel
084e80bcda
Only connect a cloud printer if it's the active one
...
By splitting up the correctly setting of metadata and actually
connecting, the distinction can be made.
CURA-7055
2020-04-29 13:48:06 +02:00
Kostas Karmas
eda868f938
Make the discovered cloud printers model generic
...
Removed the dependency of the DiscoveredCloudPrintersModel on CloudOutputDevice,
which is Ultimaker specific. This can allow even external plugins to add to this
model in the future.
CURA-7022
2020-04-29 13:31:45 +02:00
Kostas Karmas
ea404af973
Transfer cloudPrintersDetectedChanged in DiscoveredUltimakerCloudPrintersModel
...
CURA-7022
2020-04-28 14:19:28 +02:00
Kostas Karmas
6583f5f5ac
Reset the model when pressing the Add cloud printer button
...
CURA-7022
2020-04-28 12:08:48 +02:00
Kostas Karmas
49cb1d325e
Update the DiscoveredCloudUltimakerPrinters model
...
Whenever new cloud devices are detected on the ultimaker account, add
them to the model
CURA-7022
2020-04-24 19:17:34 +02:00
Nino van Hooff
3ba284b36c
Merge pull request #7539 from Ultimaker/CURA-7019_Move_sign_in_screen_in_front_of_add_printer_in_first_run_wizard
...
Cura 7019 move sign in screen in front of add printer in first run wizard
2020-04-23 14:56:31 +02:00
Jaime van Kessel
45dc8bcc68
Fix warnings about output device not being detected
...
CURA-7055
2020-04-23 11:38:34 +02:00
Jaime van Kessel
6746106608
Also connect with cloudOutput device if it was added
...
CURA-7055
2020-04-23 11:07:21 +02:00
Jaime van Kessel
7c7c1ad96c
Fix remote_clusters not being added in second boot
...
CURA-7055
2020-04-23 10:58:16 +02:00
Kostas Karmas
1602b71841
Inform the Cloud page about new cloud printers
...
Properly close the welcome screen if the user has signed in and has
cloud printers linked to his/her account. If he doesn't have any, move
to the next page of the welcome wizard.
CURA-7019
2020-04-23 09:59:32 +02:00
Kostas Karmas
1262d1f641
Activate the first available Cloud printer if the activeMachine is empty
...
CURA-7019
2020-04-22 18:31:04 +02:00
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
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
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
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
Jaime van Kessel
141bd0f127
Remove spammy New Cloud Printer detected message
...
ST-3153
2019-11-04 11:10:30 +01: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
Ghostkeeper
b8ab04df4a
Correct type of logged item
2019-09-12 15:58:09 +02:00
Ghostkeeper
2d2bf9e279
Use logger for errors instead of printing them to stdout
...
This way they will show up in users' logs.
2019-09-12 15:25:01 +02:00
ChrisTerBeke
07672fd569
Show message when new cloud printers were added to your account but not in Cura yet
2019-09-12 11:04:05 +02:00
ChrisTerBeke
210843a7bb
Improve adding/connecting to output devices
2019-09-05 10:47:15 +02:00
ChrisTerBeke
33876e9ca9
Set group_name correct with cloud devices, possibly fixes CS-225
2019-08-13 13:01:47 +02:00
ChrisTerBeke
2ed3af5989
Fix removing output device when signing out
2019-08-12 22:59:43 +02:00
ChrisTerBeke
27905a02a9
Fix re-connecting after network comes back
2019-08-12 21:47:15 +02:00
ChrisTerBeke
0ba8bf13e1
Fix copyright year to 2019
2019-08-02 15:09:37 +02:00
ChrisTerBeke
7147c788ef
Fix a bug that would pair a local and cloud printer when they were not the same
2019-07-31 12:27:33 +02:00
ChrisTerBeke
d280252437
Cleanup
2019-07-30 22:21:36 +02:00
ChrisTerBeke
72ac8b5f4c
Simplify output device cleanup code
2019-07-30 19:29:35 +02:00
ChrisTerBeke
c1b5cce064
Fix string formatting
2019-07-30 18:04:16 +02:00
ChrisTerBeke
b7dfa11e69
Enable network key pairing again
2019-07-30 17:41:03 +02:00
ChrisTerBeke
1ec2ac4118
some cleanup
2019-07-30 15:20:59 +02:00
ChrisTerBeke
bfca117bff
Fixes
2019-07-30 13:09:29 +02:00
ChrisTerBeke
11bd520c98
Rename some stuff to make it clear
2019-07-29 21:49:52 +02:00
ChrisTerBeke
4b71b45aa3
Fix for initial connection
2019-07-29 21:27:28 +02:00
ChrisTerBeke
8360b5b448
Simply manual device checking
2019-07-29 19:48:57 +02:00
ChrisTerBeke
6d9b6668e2
Add TODO
2019-07-29 17:38:07 +02:00
ChrisTerBeke
14808c5de1
Don't cache application instance
2019-07-29 17:34:31 +02:00
ChrisTerBeke
1aa70748af
Consistent naming, some bug fixes
2019-07-29 17:24:10 +02:00
ChrisTerBeke
4b212d6c05
Merge more stuff, re-use models for local networking as well
2019-07-29 14:53:50 +02:00