Commit graph

32 commits

Author SHA1 Message Date
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
72a66f1358 Do not use the JsonDecorator scope for binary downloads
CURA-7150
2020-03-20 17:31:21 +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
6dd8ebb06a Process review comments in Cura project
CURA-7150
2020-03-12 17:06:33 +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
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
86fb0383de Refactor refresh backups call to use HttpRequestManager 2020-02-28 14:03:41 +01:00
Lipu Fei
97def2f6b1 Handle requests ConnectionErrors in Backup plugin
CURA-6471
2019-04-23 09:07:19 +02:00
ChrisTerBeke
53cc9cd188 Add extra validation to backup list response 2019-02-26 11:09:57 +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
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
c10b8b5c3f Fix crash when attempting to restore backup
CURA-6005
2019-01-04 11:37:52 +01:00
Jaime van Kessel
3b498d3a34 Change name of the signals so they are consistent with rest of the code
CURA-6005
2019-01-04 10:51:07 +01:00
Jaime van Kessel
87eb863451 Remove the final traces of the translation indirection
CURA-6005
2019-01-04 10:43:40 +01:00
Jaime van Kessel
31156d6230 Add missing signalemitter decorater
CURA-6005
2019-01-04 10:28:54 +01:00
Jaime van Kessel
551f075527 Removed unneeded destinction between get/put/delete URL
They are all the same, so no real need to keep this seperate.

CURA-6005
2019-01-04 10:27:41 +01:00
Jaime van Kessel
ed9a51791b Handle bunch of review comments
CURA-6005
2019-01-03 17:05:58 +01:00
Jaime van Kessel
4d1e9d24f9 Cleanup documentation
Either fix the style to doxygen or remove it if it just repeated the functionnname.

CURA-6005
2019-01-03 16:58:51 +01:00
Jaime van Kessel
65183ade0a No longer chache singleton objects
CURA-6005
2019-01-03 16:44:08 +01:00
Diego Prado Gesto
773190bee1 Fix code style
Add space between binary operator.

Contributes to CURA-6005.
2018-12-19 12:53:41 +01:00
Diego Prado Gesto
8e78582b61 Add correct copyright and license header to all the files in the plugin
Contributes to CURA-6005.
2018-12-18 16:17:37 +01:00
Lipu Fei
a6663ea0e8 Fix typing issues
CURA-6005
2018-12-12 10:51:13 +01:00
Lipu Fei
8c07a6e89b Fix typing issues
CURA-6005
2018-12-12 10:35:39 +01:00
Aleksei S
c62cb84c75 Added CuraDirve plugin to Cura build
CURA-6005
2018-12-10 14:18:10 +01:00