Commit Graph

16 Commits

Author SHA1 Message Date
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 b69d40f9fb Update CHANGELOG.md and rename ServerConnectionListener.kt function. 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 baf1e45f5e Fix for null path and query. 2021-11-22 15:01:26 +00:00
dkadrikj 7421141d26 Fix tests. 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
Neil Marietta ae9280d50b KeyStoreCrypto fallback if Android KeyStore is not properly working. 2021-09-21 16:25:03 +02: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 a5bcf95dae Network: Added TooManyRequest error handling per Session. 2021-08-13 15:19:12 +02:00
Neil Marietta c4280ecf1b Changed ProtonErrorException visibility to public. 2020-11-18 13:47:32 +01:00
Neil Marietta 16952477b0 Added levels to Logger API. 2020-11-11 18:26:30 +01:00
Mateusz Markowicz 0d3d2241f9 network: Log API calls with core Logger 2020-08-24 16:22:42 +00:00
Mateusz Markowicz f8818f84cd Add testing for certificate pinning 2020-07-16 11:06:39 +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