Commit graph

97 commits

Author SHA1 Message Date
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +02:00
Remco Burema
04002056ae
Update SDK/API from 7.5.0 to 7.6.0 for 4.10
CURA-8320
2021-06-15 16:08:07 +02:00
Jaime van Kessel
70e4e9640e
Revert "Merge pull request #9716 from Ultimaker/CURA-8010_new_icons"
This reverts commit 6120d8a054, reversing
changes made to 95652556fe.
2021-05-27 16:06:20 +02:00
Jaime van Kessel
38ce22ba7c
Revert "Fix typo in icon name"
This reverts commit 12a98388d9.
2021-05-27 16:03:13 +02:00
Jaime van Kessel
12a98388d9
Fix typo in icon name
CURA-8010
2021-05-05 14:28:04 +02:00
jelle Spijker
2bd6f28f3a
Update Icons
Subdivided the new icons in 3 size categories. As requested by UX
Used the company naming scheme for uniformity and easy recognition.

Known issues:
- Top/Bottom category wasn't taken into account by UX at the time. Since
 this is a recent addition. Both the Walls and Top/Bottom will be updated.
- Cloud/Network connection icons 12px don't render correctly. Due to the
 theme-ing.
- Extruder Icons do not render correctly.

CURA-8010_new_icons
2021-04-26 19:42:17 +02:00
Ghostkeeper
0d29610899
Catch environment errors when restoring back-ups
There could be an environment error when saving that file because of access rights or insufficient disk space. Catch that error and display an error message to the user. The log then contains more information on exactly why it failed, but the user just knows it fails.

Fixes Sentry issue CURA-21W.
2021-04-16 14:14:21 +02:00
Ghostkeeper
08be77adad
Increment SDK version to 7.5.0
The Cura 4.9 release will have expanded functionality. If you have a plug-in that uses this functionality, marking it as using SDK 7.5.0 will notify older Cura releases that they can't use that plug-in.
2021-04-06 13:28:08 +02:00
Ghostkeeper
577e45595e
Don't crash when cloud response is invalid JSON
Perhaps if the connection is interrupted this could happen.

Fixes Sentry issue CURA-1QX.
2021-02-04 17:05:55 +01:00
Jaime van Kessel
49effbcd80
Disable survey button 2020-12-17 10:22:29 +01:00
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Nino van Hooff
1024879f9d Process Review feedback for CURA-7438
Renames UltimakerCloudAuthentication to UltimakerCloudConstants

Cura-7438
2020-06-09 13:41:30 +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
Remco Burema
e664eccb8d
Merge pull request #7299 from Ultimaker/CURA-7173_validate_uploads
CURA-7173_validate_uploads
2020-03-26 12:05:19 +01:00
Nino van Hooff
1a4cb49eba Hide upload message progress when upload is done
CURA-7150
2020-03-23 11:17:32 +01:00
Nino van Hooff
96d1e6385d Merge remote-tracking branch 'origin/CURA-7150_proper_http_request_headers' into CURA-7150_proper_http_request_headers 2020-03-20 17:34:12 +01:00
Nino van Hooff
6db8a9ec3e Set progress of backup message to 100% when done
CURA-7150
2020-03-20 17:31:54 +01:00
Nino van Hooff
72a66f1358 Do not use the JsonDecorator scope for binary downloads
CURA-7150
2020-03-20 17:31:21 +01:00
Nino van Hooff
6f4276c5cc Fix mypy issue in CreateBackupJob
CURA-7173
2020-03-19 12:30:14 +01:00
Nino van Hooff
7f6afb9638 Show error backup exceeds maximum backup size and log event to sentry
CURA-7173
2020-03-18 17:17:36 +01:00
Jaime van Kessel
4e8da5d7fd
Add missing typing
CURA-7150
2020-03-16 17:20:59 +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
Nino van Hooff
2e7b47f1ea Add None-check for download url
CURA-7150
2020-03-12 17:21:03 +01:00
Nino van Hooff
6dd8ebb06a Process review comments in Cura project
CURA-7150
2020-03-12 17:06:33 +01:00
Nino van Hooff
d11b3b0921 Extra comment for RestoreBackupJob 2020-03-10 14:23:40 +01:00
Nino van Hooff
ebfad16508 Refactor the restore backup implementation to RestoreBackupJob 2020-03-10 14:21:52 +01:00
Nino van Hooff
ed5c2b3f43 Refactor the create backup implementation to CreateBackupJob 2020-03-10 13:35:37 +01:00
Nino van Hooff
244d018a2e Refactor createBackup to use HttpRequestManager 2020-03-02 15:14:04 +01:00
Nino van Hooff
7243dc63a4 Revert: Refactor UploadBackupJob to use HttpRequestManager
It doesn't make sense to have a Job using HttpRequestManager
because both are async and

Note that the job itself should not emit finished, the JobQueue does that.
2020-03-02 15:12:42 +01:00
Nino van Hooff
6c9b9909ba Fix UploadBackupJob 2020-03-02 14:46:33 +01:00
Nino van Hooff
932b12e66c Convert doxygen to rst for DriveApiService 2020-03-02 11:58:12 +01:00
Nino van Hooff
762f699f64 Refactor UploadBackupJob to use HttpRequestManager 2020-02-28 17:37:21 +01:00
Nino van Hooff
19c3f765f5 Refactor delete backups call to use HttpRequestManager 2020-02-28 17:08:31 +01:00
Nino van Hooff
4f2827e1bf Refactor restore backups call to use HttpRequestManager 2020-02-28 16:25:43 +01:00
Nino van Hooff
234acf0904 Fix bug: typo in variable name 2020-02-28 16:25:28 +01:00
Nino van Hooff
86fb0383de Refactor refresh backups call to use HttpRequestManager 2020-02-28 14:03: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
Jaime van Kessel
2195dbaad0
Make backup window modal
It could get hidden on osx quite easily, which is confusing as hell
2019-11-12 10:31:45 +01:00
Nino van Hooff
a88887dbdb Change Backup (Drive) plugin version to 7.0
CURA-6858
2019-10-23 10:50:04 +02:00
Lipu Fei
97def2f6b1 Handle requests ConnectionErrors in Backup plugin
CURA-6471
2019-04-23 09:07:19 +02:00
Jaime van Kessel
3de9cab1e2
Merge pull request #5363 from Ultimaker/backup-list-response-error-handling
Add extra validation to backup list response
2019-02-26 11:16:40 +01:00
ChrisTerBeke
53cc9cd188 Add extra validation to backup list response 2019-02-26 11:09:57 +01:00
Lipu Fei
64150cc7cf Merge remote-tracking branch 'origin/4.0' 2019-02-18 13:52:27 +01:00
Jaime van Kessel
222f8e6cdb Prevent crash for backup plugin if there is no internet connection 2019-02-18 10:38:39 +01:00
Ghostkeeper
232498980c
Merge branch '4.0'
Conflicts:
	cura/GlobalStacksModel.py -> CuraContainerRegistry being used in stead of ContainerRegistry, but imports were reordered.
	plugins/CuraDrive/src/DrivePluginExtension.py -> Typing being solved in two ways.
2019-01-28 16:45:45 +01:00
Jaime van Kessel
f723cdc8a3 Fix typing issues 2019-01-28 14:47:03 +01:00
Ghostkeeper
41c840adbc
Cast plug-in path of self to str
Because it can't be None.
2019-01-24 17:34:22 +01:00
Ghostkeeper
d535008e08
Don't repeat the plug-in name
If it changes, this will crash Cura.
2019-01-24 17:31:08 +01:00
Remco Burema
98ce0caaef
Merge pull request #5158 from Ultimaker/marketplace_use_busy_indicator
Remove loading gif
2019-01-17 16:17:00 +01:00