Remco Burema
|
273f85c182
Defensive programming: Catch case where 'error_description' is missing in response.
|
5 months ago |
Remco Burema
|
fc0d1a54f3
Merge remote-tracking branch 'origin/main' into CURA-11406_fix_auth_refresh_after_sleep
|
10 months ago |
Erwan MATHIEU
|
330dfd8be0
Add retry to OAuth token refresh failure
|
11 months ago |
Erwan MATHIEU
|
3c86bf140c
Add support for OAuth2 client secret
|
1 year ago |
Remco Burema
|
abe7c1bf7f
Search/replace Qt5->Qt6.
|
3 years ago |
Jelle Spijker
|
0a43366ffc
Fixed some styling and typing issues
|
3 years ago |
Ghostkeeper
|
1ee9f73075
Only call success_callback if it's not None
|
3 years ago |
Ghostkeeper
|
595a6580f5
Use error callback and with correct number of parameters
|
3 years ago |
Ghostkeeper
|
8ea8cc752f
Also call processing functions for error callbacks
|
3 years ago |
Ghostkeeper
|
c36863da56
Only call failed_callback if provided
|
3 years ago |
Ghostkeeper
|
ffb891fb69
Fix call to failed_callback
|
3 years ago |
Ghostkeeper
|
7091c5f3aa
Make getAuthenticationTokenUsingXYZ asynchronous
|
3 years ago |
Ghostkeeper
|
9b55ae6dda
Remove unused imports of requests
|
3 years ago |
Ghostkeeper
|
aff0764c1d
Add failed callback for when the request fails
|
3 years ago |
Ghostkeeper
|
a9990eaa75
Make parseJWT asynchronous
|
3 years ago |
Ghostkeeper
|
f1c763ad9f
Use HttpRequestManager to acquire new tokens
|
3 years ago |
Jaime van Kessel
|
8b5cfc9c28
Use token_hex from secrets instead of choice
|
3 years ago |
Jaime van Kessel
|
e24a844d17
Use secrets instead of random
|
3 years ago |
Konstantinos Karmas
|
e5856bf6bc
Log the connection error message produced by the request
|
3 years ago |
Ghostkeeper
|
e60e44b919
Interpret timeouts as general connection errors
|
3 years ago |
Jaime van Kessel
|
f85cad37cf
Expand the logging for the auth data a bit more
|
3 years ago |
Ghostkeeper
|
640e038ce7
Catch OSError when authorizing connection
|
3 years ago |
Kostas Karmas
|
881e4406a4
Ensure the organization_id is None
|
4 years ago |
Kostas Karmas
|
1521430d42
Include all subscription information in the slice data
|
4 years ago |
Kostas Karmas
|
ceda3e70bd
Include organization id and type of enterprise plan in slice data
|
4 years ago |
Nino van Hooff
|
89f0970a88
Remove trailing whitespace from Python files
|
4 years ago |
jelle Spijker
|
b032101e55
Updated comments in cura/OAuth2
|
4 years ago |
Jaime van Kessel
|
ca25ec3dbc
Increase size of the verificationCode
|
4 years ago |
Jaime van Kessel
|
e2414ed5c9
Also log the exception when the connection failed to connect
|
5 years ago |
Jaime van Kessel
|
48f37d03a4
Add debug log for when we are refreshing the access token
|
5 years ago |
Jaime van Kessel
|
38a9206898
Merge branch '4.0' of github.com:Ultimaker/Cura
|
5 years ago |
Jaime van Kessel
|
62f913802f
Prevent crash if the connection was lost for auth token
|
5 years ago |
Ghostkeeper
|
650204dae7
Merge branch '4.0'
|
5 years ago |
Ian Paschal
|
a11878b199
Log warning instead of exception if no connection
|
5 years ago |
Jaime van Kessel
|
a8f66a558c
Merge branch '4.0' of github.com:Ultimaker/Cura
|
5 years ago |
ChrisTerBeke
|
62c7ba5659
remove unused argument
|
5 years ago |
ChrisTerBeke
|
48c756b01d
Fixes for storing timestamp
|
5 years ago |
ChrisTerBeke
|
05c4b6012e
Calculate expiry date to determine if token refresh is needed
|
5 years ago |
Ghostkeeper
|
473633de2c
Merge branch '4.0'
|
5 years ago |
Ghostkeeper
|
1b29ff2b8a
Make authorisation error messages translatable
|
5 years ago |
Ghostkeeper
|
12b2154a96
Fix code style and documentation formatting
|
5 years ago |
Jaime van Kessel
|
91f0d76c8a
Fix crash when user was logged in but there was no internet connection on boot
|
5 years ago |
Jaime van Kessel
|
2a0954f246
Gracefully handle the conectionError when logging in
|
6 years ago |
Lipu Fei
|
1bee201cfd
Remove unused code
|
6 years ago |
Lipu Fei
|
5761d28f7f
Use old data dict code style, more readable
|
6 years ago |
Lipu Fei
|
3bc91f15c3
Fix mypy complains
|
6 years ago |
Jaime van Kessel
|
3b70e5eb6b
Fix typing
|
6 years ago |
Jaime van Kessel
|
0ccbabd857
Switch SHA512 implementation to use the one from hashlib
|
6 years ago |
Jaime van Kessel
|
1c8804ff2c
Changed documentation style to doxygen
|
6 years ago |
Jaime van Kessel
|
d0fc4878c2
Fix number of mypy mistakes
|
6 years ago |