131 Commits

Author SHA1 Message Date
ChrisTerBeke
36f5150d94 Fix merge conflict 2018-12-13 11:48:35 +01:00
ChrisTerBeke
f72b58386b Also use CuraConstants for account API root 2018-12-13 11:46:11 +01:00
Daniel Schiavini
9046b39b43 STAR-322: Creating a Cloud API client to handle the interaction 2018-12-04 16:14:08 +01:00
Daniel Schiavini
fc26ccd6fa STAR-332: Some improvements to get the job in connect 2018-12-03 14:41:36 +01:00
ChrisTerBeke
4e8979334e
Switch Ultimaker Account OAuth2 client
The new client has access to more permissions and is labeled as "Ultimaker Cura" instead of "Cura Backups Plugin".
Also removes `self._cloud_api_root` as that's not used anymore now that `self._oauth_root` is used for the redirect URLs.
2018-11-20 19:18:48 +01:00
Lipu Fei
75f2f40534 Make API version configuration for Application
CURA-5840
2018-11-08 12:04:43 +01:00
ChrisTerBeke
38b615c734
Update OAuth2 scopes
Part of STAR-273.
2018-10-17 17:43:04 +02:00
Jaime van Kessel
18361b9434 Ensure that CuraAPI can be called in the same way as before
This should prevent another API break.

CURA-5744
2018-10-02 10:42:15 +02:00
Lipu Fei
dd150bbab9 Resolve circular imports for CuraAPI 2018-09-28 12:07:00 +02:00
Jaime van Kessel
8d9a1fb85d Merge branch 'CURA-5744-move-oauth-login' of github.com:Ultimaker/Cura into CURA-5744-move-oauth-login 2018-09-27 13:47:32 +02:00
Jaime van Kessel
f8369703ed Connect signals before loading auth data
CURA-5744
2018-09-27 13:45:46 +02:00
ChrisTerBeke
6d402806ac Ensure logged in state is not always set to False after loading from preferences 2018-09-27 13:35:18 +02:00
Jaime van Kessel
202cf698c3 Change callback for succes / failure to the new location
CURA-5744
2018-09-27 11:56:19 +02:00
Jaime van Kessel
506ec5109d Moved loading of the authentication to the account
CURA-5744
2018-09-27 11:37:22 +02:00
ChrisTerBeke
246d12a596 Remove client.package.download scope until that is deployed on production 2018-09-27 10:48:22 +02:00
ChrisTerBeke
52ffe39c07 Small fixes in settings 2018-09-27 10:33:50 +02:00
Jaime van Kessel
16ff1c3712 Add property for the accessToken
CURA-5744
2018-09-26 17:12:00 +02:00
Jaime van Kessel
067e59a254 Add logged_in as argument to loginStateChanged callback
CURA-5744
2018-09-26 17:06:09 +02:00
Jaime van Kessel
b48adf5b3e Typing fixes
CURA-5744
2018-09-24 17:37:06 +02:00
Jaime van Kessel
f16a9c62b5 Fix typo
CL-5744
2018-09-24 17:28:19 +02:00
Jaime van Kessel
fe85c020b1 Fixed incorrect OAuth2 settings
CURA-5744
2018-09-24 17:12:45 +02:00
Jaime van Kessel
081b2a28fe Expose Account API to QML
This is done by adding the API as an SingletonType to Cura.

CURA-5744
2018-09-21 17:23:30 +02:00
Jaime van Kessel
b54383e685 Added account object to API
CURA-5744
2018-09-21 16:43:32 +02:00
Ian Paschal
16db297613 Some final tweaks
Contributes to CURA-5595
2018-08-10 16:28:02 +02:00
Ian Paschal
6d237b09e8 Proposed improvement on API naming 2018-08-10 16:08:54 +02:00
Ian Paschal
88c4240e3b Remove back-ups traces
Contributes to CURA-5595
2018-08-09 15:21:38 +02:00
Ian Paschal
3217085ebe Fix plural
Contributes to CURA-5595
2018-08-09 15:20:53 +02:00
Ian Paschal
4912073aed Add API abstraction layer
Contributes to CURA-5595
2018-08-09 15:14:55 +02:00
Diego Prado Gesto
f2768fd761 CURA-5330 Fix typing in the Backups 2018-06-13 16:35:48 +02:00
Ghostkeeper
2eedc96f36
Convert to Doxygen documentation
Like the rest of Cura and Uranium.
2018-06-11 15:06:48 +02:00
ChrisTerBeke
5b5a8f77b7 Rename Api to API 2018-05-18 17:29:01 +02:00