Remco Burema
c20b2c6ee0
Merge pull request #7211 from Ultimaker/CURA-7150_proper_http_request_headers
...
CURA-7150_proper_http_request_headers
2020-03-24 11:25:07 +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
7e2177a8cd
Rename _loginStateChanged for consistency
...
CURA-7251
2020-02-25 16:25:03 +01:00
Nino van Hooff
cf689ee3b0
Hide the Cloud Sync message when the user logs out
...
CURA-7251
2020-02-25 16:21:06 +01:00
Nino van Hooff
27902fe38f
Use JsonDecorator scope in the Toolbox and CloudSync
...
Improves security by disallowing other content than json for requests
CURA-7150
2020-02-25 14:41:02 +01:00
Ghostkeeper
f918f39fc2
Don't use a newline at the beginning of the sync message
...
Again, this breaks stuff. See the previous commit.
Contributes to issue CURA-7201.
2020-02-24 14:33:10 +01:00
Ghostkeeper
633bdac21a
Don't start message with a newline
...
That breaks a couple of things:
* It messes up the layout of the message.
* The translations need to have this newline in as well, or they won't be accepted by gettext.
* The x-test translation puts 'xxxx' before the translation, so this one won't compile any more.
Contributes to issue CURA-7201.
2020-02-24 14:21:39 +01:00
Dimitriovski
9282423db1
Added lifetime=0 to the sync_message to make it stay there
2020-02-24 10:59:41 +01:00
Nino van Hooff
5beba6050f
Fix api version checking
...
CURA-7207
2020-02-11 09:52:39 +01:00
Nino van Hooff
eec7d2f0cd
Use default timeout for sync dialog
2020-01-30 14:56:19 +01:00
Dimitriovski
aa2c612925
PR review changes
2020-01-27 13:25:29 +01:00
Dimitriovski
537891d80b
Further improvements and refactors to the CloudPackageChecker
2020-01-24 16:05:35 +01:00
Dimitriovski
ae494110ba
Removed unnecessary line (because we still want to show the Compatability Dialog even if there are only Incompatible packages)
...
CURA-7090
2020-01-24 11:28:36 +01:00
Dimitriovski
5c498de1e4
Use meaningful variable name && some TODOs for later.
...
CURA-7090
2020-01-21 15:07:11 +01:00
Dimitriovski
e7ed93c132
fixed typing
...
CURA-7090
2020-01-21 14:51:53 +01:00
Dimitriovski
8abaa60052
Passed the sdk_version to the reevalute() function
...
CURA-7090
2020-01-21 11:24:31 +01:00
Dimitriovski
365c30fadb
Added check to reevaluate dismissed incompatible packages (in case the package gets updated and has the correct SDK version)
...
CURA-7090-addition
2020-01-21 09:52:33 +01:00
Nino van Hooff
46133fe2f3
Do not start Sync flow when there are no compatible packages to sync
...
(and remove unused import)
CURA-6983
2020-01-16 14:44:37 +01:00
Nino van Hooff
6763bed95f
Fix Toolbox import error (continued)
...
(and remove unused import)
CURA-6983
2020-01-16 14:39:10 +01:00
Jaime van Kessel
0f7f39745d
Add missing typing
...
CURA-6983
2020-01-15 16:57:10 +01:00
Nino van Hooff
248a4cbb94
Fix merge issues
...
CURA-6983
2020-01-15 16:14:17 +01:00
Nino van Hooff
88d210d12d
Fix The toolbox license dialog
...
CURA-6983
2020-01-10 11:47:36 +01:00
Nino van Hooff
883243b533
Move UltimaterCloudScope to Cura project
...
CURA-6983
2020-01-10 11:42:48 +01:00
Nino van Hooff
1a816ad010
Introduce the SyncOrchestrator
...
CURA-6983
2020-01-10 11:42:48 +01:00