dkadrikj
|
519765b9bd
|
Rename ServerConnectionListener.kt to ApiConnectionListener.kt,
ServerConnectionHandler.kt to ApiConnectionHandler.kt and
ServerConnectionException.kt to ApiConnectionException.kt
|
2021-11-22 15:01:26 +00:00 |
dkadrikj
|
5857b20674
|
Fix HV not showing when GH is active.
Address code review comments.
|
2021-11-22 15:01:26 +00:00 |
dkadrikj
|
cb493af7a7
|
Add gues hole support into the network module.
|
2021-11-22 15:01:26 +00:00 |
Tomasz Giszczak
|
9b00781603
|
Add default cause value to ApiResult.Error and default potentialBlock value to ApiResult.Error.Connection to facilitate unit testing.
|
2021-08-19 09:15:15 +00:00 |
Neil Marietta
|
a122d9e893
|
Added optional OkHttp Cache.
Removed isConnectedToNetwork check before trying a call.
|
2021-08-19 09:15:15 +00:00 |
Neil Marietta
|
4abe5d8f75
|
Fixed Network error retryable conditions.
|
2021-08-18 14:20:41 +02:00 |
Neil Marietta
|
a5bcf95dae
|
Network: Added TooManyRequest error handling per Session.
|
2021-08-13 15:19:12 +02:00 |
Neil Marietta
|
646183da63
|
Refactored HumanVerification.
Never delete HumanVerification tokens except on Invalid Verification Code (error 12087).
HumanVerification Network Handlers:
- HumanVerificationNeededHandler: call onHumanVerificationNeeded on error 9001 (last of error handler list).
- HumanVerificationInvalidHandler: call onHumanVerificationInvalid (which delete token) on error 12087.
|
2021-06-03 17:18:11 +02:00 |
dkadrikj
|
d41e19e28c
|
Change network module to support refactored Human Verification module.
|
2021-05-12 17:57:14 +00:00 |
Neil Marietta
|
dbfa709923
|
Added ApiResult Extensions.
|
2021-03-22 18:17:02 +01:00 |
Neil Marietta
|
44d678acbb
|
Moved Crypto/Key/User/Address classes from Auth to new modules.
|
2021-02-11 10:34:22 +01:00 |
Neil Marietta
|
53f8b0107f
|
Integrated SessionListener/SessionProvider/SessionId into network modules.
Added ApiProvider (create ApiManager instance given a sessionId).
Adapted HumanVerification modules to use ApiProvider.
|
2020-10-20 11:22:27 +02:00 |
dkadrikj
|
3a52601942
|
Human verification support in the network module
Includes also changes needed in the Human Verification module
|
2020-08-04 15:18:43 +02:00 |
Mateusz Markowicz
|
067cd068cf
|
Improve debug error messages with ApiResult.Error.Http
|
2020-07-23 17:26:27 +02:00 |
Mateusz Markowicz
|
ce61c97a70
|
Logging improvements of API errors
|
2020-07-15 12:55:08 +02:00 |
Mateusz Markowicz
|
b0b16eef9a
|
Log and include original exception in ApiResult.Error
|
2020-07-07 17:26:34 +02:00 |
Mateusz Markowicz
|
d14e896863
|
Refactor handling of proton error data in json response
- use deserializer from kotlin-utils
- merge Proton and Http ApiResult errors
|
2020-07-02 14:09:36 +00:00 |
Algirdas Pundzius
|
265a5a0205
|
Initial commit
Co-authored-by: Davide Giuseppe Farella <4face91@protonmail.com>
Co-authored-by: Dino Kadrikj <kadrikj@protonmail.ch>
Co-authored-by: Mateusz Markowicz <poniekad@protonmail.com>
|
2020-07-01 13:58:49 +03:00 |