85 Commits

Author SHA1 Message Date
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
Diego Prado Gesto
c28aefac4e Add the maximum backups message to the backups plugin
It didn't work after previous changes, so now it will show again when the user already has 5 backups.

Contributes to CURA-6005
2019-01-16 17:33:14 +01:00
Diego Prado Gesto
c11e0cecc8 Remove loading gif
Instead of an external gif, use the BusyIndicator that exists in the ActionButton.
2019-01-13 16:58:38 +01:00
Diego Prado Gesto
801a43c874 Add a small margin in the right so the close button is never behind the scrollbar
Contributes to CURA-6005.
2019-01-11 17:04:51 +01:00
Lipu Fei
520b34ab89 Use getPluginPath()
CURA-6005
2019-01-09 08:41:15 +01:00
Lipu Fei
aee4034e3e No caching preferences
CURA-6005
2019-01-08 15:49:36 +01:00
Lipu Fei
a8fe5ced89 Remove unused import
CURA-6005
2019-01-08 13:33:49 +01:00
Lipu Fei
53cb2ce189 Add comments for http status >=300 check
CURA-6005
2019-01-08 13:29:48 +01:00
Jaime van Kessel
b4b7e1fc21 Codestyle & typing 2019-01-04 11:50:02 +01:00
Jaime van Kessel
b363be4afb Fix typing 2019-01-04 11:48:06 +01:00
Jaime van Kessel
3df9b369f7 Removed the divider as a seperate component
Since it's only used in one place, there is no real point in making it a seperate file

CURA-6005
2019-01-04 11:40:09 +01:00
Jaime van Kessel
c10b8b5c3f Fix crash when attempting to restore backup
CURA-6005
2019-01-04 11:37:52 +01:00
Jaime van Kessel
b4911478e3 Made the plugin depend more on the theme
CURA-6005
2019-01-04 11:35:34 +01:00