jspijker
696c0f8547
Update company name to UltiMaker
...
Contributes to CURA-9808
2022-11-28 09:05:21 +01:00
Remco Burema
b7611da95e
Connect buttons for selected printers: Print and refresh.
...
part of CURA-9278
2022-09-09 15:14:29 +02:00
Jaime van Kessel
3040a7c830
Always check if an abstract machine needs to be added
...
CURA-9289
2022-08-31 18:11:24 +02:00
Jaime van Kessel
5ff07b00d0
Fix case where both a "normal" and an "abstract" ouput device could be active
...
CURA-8463
2022-08-31 10:27:52 +02:00
Jaime van Kessel
dd5981d85e
Only remove abstract output device if it's actually added
...
CURA-8463
2022-08-31 10:09:47 +02:00
Jaime van Kessel
e2ba110cf7
Ensure that all material configs are added to the list
...
CURA-8463
2022-08-30 16:33:29 +02:00
Jaime van Kessel
6fed6b824c
Added stub for AbstractCloudOutputDevice
...
It doesn't actually allow you to send a print, but it does ask some info from the API
CURA-8463
2022-08-30 15:53:47 +02:00
Jaime van Kessel
38e4ca1e0f
Updated documentation link
...
CURA-8463
2022-08-30 13:30:42 +02:00
Jaime van Kessel
143f796ba6
Use get instead of direct []
...
The next line (checking if the result is None) doesn't make sense otherwise
CURA-8463
2022-08-30 13:13:32 +02:00
Jaime van Kessel
b689a84bcb
Add explicit typing
2022-08-30 13:09:53 +02:00
Jaime van Kessel
718d3790e2
Clean up iterating over cluster list
...
CURA-8463
2022-08-30 13:07:19 +02:00
Jaime van Kessel
7eabbd7b5c
Convert _updateOnlinePrinters to static
...
CURA-8463
2022-08-30 11:52:13 +02:00
Jaime van Kessel
f4c4b52d9b
Update typing to reflect new message that is being used
...
CURA-8463
2022-08-30 11:49:09 +02:00
Jaime van Kessel
ce3ab62c91
Move RemovedprintersMessage to it's own class
...
The OutputDeviceManager is just too bloated to properly make sense of.
So I'm trying to move as much code out of it so I can start to make sense of it
CURA-8463
2022-08-30 11:45:30 +02:00
Jaime van Kessel
45e7d15c80
Add documentation for _onDiscoveredDeviceRemoved
2022-08-30 11:36:47 +02:00
Jaime van Kessel
7f9984cd16
Also move remainder of NewPrinterDetected logic to it's own class
...
This should make the CloudOutputDeviceManager a bit more readable
CURA-8463
2022-08-30 11:33:20 +02:00
Jaime van Kessel
a429a93e94
Move new printers detected message to it's own class
...
CURA-8463
2022-08-30 11:26:09 +02:00
Jaime van Kessel
8e9056df71
Rename function to better reflect what it does
...
CURA-8463
2022-08-30 11:11:00 +02:00
Jaime van Kessel
d35441603b
Rename variables so it's easier to understand what is what
...
CURA-8463
2022-08-30 11:06:09 +02:00
Jaime van Kessel
30bc0d04bf
Add more typing & documentation
...
Even more boyscouting. This code seems to be far too complex for what it should be...
CURA-8463
2022-08-30 11:04:15 +02:00
Jaime van Kessel
21b8f083f2
Ensure that UI actually updates when adding remote printers
...
More boyscouting. The documentation that it had before was actually false...
CURA-8463
2022-08-30 11:03:04 +02:00
Jaime van Kessel
24f85bae06
Use new style string formating
...
Moar boyscouting
CURA-8463
2022-08-30 10:52:21 +02:00
Jaime van Kessel
ed33596357
Rename device to global_stack
...
Device was used in the rest of this class for the output device, not
for a machine. This was a bit confusing
CURA-8463
2022-08-30 10:46:10 +02:00
Jaime van Kessel
f8ebf98df3
Update typing hints to new style
...
More boyscouting as I try to understand this code
CURA-8463
2022-08-30 10:43:53 +02:00
jspijker
54e9dbf827
Show device name of failed machine creation in log
...
CURA-9277 Detect and Load Specific printers and Cloud Printer Types
2022-08-22 14:57:37 +02:00
Casper Lamboo
12f3581337
Assign result of createAbstractMachine
to a variable
...
With prepended underscore to highlight the result of the function is not being used.
CURA-9277
2022-08-22 14:44:45 +02:00
c.lamboo
d7f119415f
Use pretty-printed string for the AbstractMachine
name
...
Cura-9277
Co-authored-by: joeydelarago <joeydelarago@gmail.com>
2022-08-19 16:35:00 +02:00
c.lamboo
761bf3b8fa
Fix creating abstract machines on account sync
...
Cura-9277
Co-authored-by: joeydelarago <joeydelarago@gmail.com>
2022-08-19 14:44:19 +02:00
joeydelarago
b82f1f4a8c
Add new Abstract machine stack type. This represents a type of printers (ultimaker_s3 etc).
...
These are created whenever a cloud printer of a new printer type is added.
CURA-9277
Co-authored-by: casperlamboo <c.lamboo@ultimaker.com>
2022-08-19 13:53:43 +02:00
Jelle Spijker
334fca6691
Merge remote-tracking branch 'origin/gracefully_fail_cloud_printer' into 5.0
2022-05-09 10:54:07 +02:00
Jaime van Kessel
0c98ce2384
Use correct role for standardbutton
...
Otherwise the no won't register...
CURA-9229
2022-05-04 11:09:49 +02:00
Jaime van Kessel
e4e993a44e
Fail gracefully when adding unknown cloud printer
2022-04-19 15:43:31 +02:00
Jaime van Kessel
c9e625767b
Use right enum for message dialog
2022-04-13 16:40:14 +02:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
...
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Ghostkeeper
0477ba44b2
Encode capabilities as comma-separated list
...
Previously it was encoded as a stringified Python list of strings, which is much harder to parse.
This would go wrong if any of these capabilities have a comma in them, but I think that would be bad practice for keywords like this anyway.
Contributes to issue CURA-8671.
2021-12-03 13:25:41 +01:00
Remco Burema
1253b41537
Only perform materials-sync-job for capable printers.
...
part of CURA-8671
2021-12-02 12:22:55 +01:00
Ghostkeeper
8234276204
Add log entry when syncing with cloud printers
...
Not only do I now have an interface where the user doesn't get any feedback when syncing happens, but even in the log there was nothing shown when it happens.
Contributes to issue CURA-8609.
2021-10-08 14:13:54 +02:00
Ghostkeeper
93953630ec
Update online status when updating account printer status
...
This updates the metadata entries. Naturally this updates every 60 seconds in Cura, but it could also manually be triggered by the refresh button.
Contributes to issue CURA-8609.
2021-10-08 14:08:02 +02:00
Konstantinos Karmas
bbada73550
Remove outdated image from "new printers added" message
...
CURA-8497
2021-08-25 15:32:42 +02:00
Jaime van Kessel
57e66a5796
Add campaign links
...
CURA-8441
2021-08-05 15:42:23 +02:00
Jelle Spijker
2263969d5f
Updated message with message types
...
Contributes to CURA-8418
2021-07-28 08:45:42 +02:00
Ghostkeeper
788efcc83e
Prevent crash when cloud printer gets added while trying to connect to active printers
...
The cloud printers get added asynchronously, which could lead to a crash because the dict gets modified while we're iterating over it.
Fixes Sentry issue CURA-2EN.
2021-06-17 13:35:15 +02:00
Kostas Karmas
17177eccfa
Remove unused keyword argument
...
I18ncp already puts the number of printers in the text, so the keyword argument is not longer
necessary.
CURA-7665
2020-09-07 16:33:16 +02:00
Jaime van Kessel
bde6e1bb97
Fix crash when removing cloud printers
...
CURA-7665
2020-09-07 11:27:36 +02:00
Ghostkeeper
9ea418c0a1
Revert "Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7""
...
This reverts commit 28f4d8513d
.
The original revert was to revert an accidental merge from master to 4.7. This now reverts the revert on Master, so that we still have those changes on Master.
2020-08-20 16:35:52 +02:00
Ghostkeeper
28f4d8513d
Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7"
...
This reverts commit 7f47f12bf0
, reversing
changes made to dd42c87da7
.
2020-08-20 16:01:46 +02:00
Jaime van Kessel
1374c2faa9
Properly fix the translation crash
2020-08-13 15:13:11 +02:00
Jaime van Kessel
5c8132a944
Fix translation crash
2020-08-13 14:54:34 +02:00
Ghostkeeper
4ecab892e5
Further improve translated strings
...
Remove this formatting from the translated part.
2020-08-12 10:53:37 +02:00
Ghostkeeper
5ec57d42d0
Improve translatability of cloud printer syncing texts
...
Here are a number of improvements to the translated texts that make it easier for the translators to translate them:
* Never include layout elements such as <ul> or <li> in the translated text. The translators don't know what to do with them. Instead, leave the tags out of the translated parts and then wrap them around it in Python.
* If there are replacement keys in the source text, explain all of them in the context.
* Use a name within the brackets, to make it clear from context what the brackets mean and to disambiguate multiple keys if there are multiple.
* No invisible whitespace (such as space at the end of a line).
* Use plural forms with i18ncp if applicable (or i18np if no context is necessary).
I also changed the catalogue variable to lowercase with underscores, as per our code style.
2020-08-12 09:45:51 +02:00