17 Commits

Author SHA1 Message Date
saumya.jain
3bfc0afc93 For makerbot files upload in cloud
CURA-11138
2023-10-30 13:32:25 +01:00
Remco Burema
3fa555bd58 Users where not shown some errors from cloud.
CURA-10442 and CURA-10443
2023-03-24 14:31:49 +01:00
Ghostkeeper
96192adce2
Catch wrong cloud responses when it responds with a new file name
It could happen if there are bugs in the cloud, e.g. if they strip special characters somewhere.
We'd want to know it if they do. But we also don't want Cura to crash if the remote connection is not reliable, or if there's changes/bugs in the future.

Fixes Sentry issue CURA-42F.
2022-06-27 11:30:38 +02:00
c.lamboo
854607a725 Provide source_file_id with print file
Had to implement this a bit differently as stated in the ticket. This field is returned when uploading the project file.

Logic needed a bit of a change as the new behavior dictates a sequence (we can only upload the print file after the project file is uploaded, and we know the correct `file_id`/`source_file_id`) where before these two api calls were done in parallel.

CURA-8555
2022-06-15 13:36:34 +02:00
c.lamboo
0d4c3fa34d Use modern python typing notation
CURA-8555
2022-06-14 16:20:38 +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
Jaime van Kessel
668624e13d Set lifetimes correctly 2021-08-19 10:01:01 +02:00
Konstantinos Karmas
9f31e1421b Make lifetime optional in the getBackwardsCompatibleMessage
This should fix the failing tests
2021-08-18 17:18:21 +02:00
Ghostkeeper
a40c7e7410
Default lifetime for successful upload messages
There is no real reason to keep this visible indefinitely.
2021-08-18 15:36:41 +02:00
Remco Burema
5d7804deae
Digital Library plugin needs to be backwards compatible.
Message-types are a new parameter to Messages, so they can't be used in SDK/API versions smaller than 7.7.0.

CURA-8473
2021-08-11 12:14:02 +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
Jaime van Kessel
900db57f0f
Update messages to use the message_types
CURA-8418
2021-07-27 11:54:43 +02:00
Jaime van Kessel
7979483e48
Seperate the init of jobs and starting
This makes it a lot easier to test them

CURA-7959
2021-04-26 13:47:40 +02:00
Jaime van Kessel
cf8113608f
Add simple test for extracting error title
CURA-7959
2021-04-26 11:38:59 +02:00
Kostas Karmas
bc408a5a67 Fix mypy issues with the DigitalLibrary plugin 2021-04-22 15:00:42 +02:00
Kostas Karmas
d972c505d0 Initial commit for the DL 2021-04-20 11:30:49 +02:00