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