Unciv/android
Leonard Günther 09b4e82589
Rate limit handling for Dropbox (#6416)
* Added rate limit handling to dropbox

+ some refactor to make the whole file one object

* Added error messages on rate limit reached

+ refactored some popup code to reduce repetition

* Fixed merge error

* Made variables private

* Fixed file upload not working

because of missing override flag for dropbox

* Stop multiplayer refresher if rate limit reached

* Fixed typo

* Various code changes/fixes

- ErrorResponse var name has to be `error` because that's how DropBox's json property is named
- Change FileStorageRateLimitReached exception to store the seconds remaining as its own property instead of in the message
- Use toIntOrNull to avoid setting defaults in two places

* Fixed missed exception message

Co-authored-by: Azzurite <azzurite@gmail.com>
2022-05-13 09:16:52 +03:00
..
assets Rate limit handling for Dropbox (#6416) 2022-05-13 09:16:52 +03:00
Images
Images.Construction
Images.Flags/FlagIcons
Images.NationIcons/NationIcons
Images.PolicyIcons/PolicyIcons
Images.ReligionIcons/ReligionIcons
Images.Skin
Images.Tech/TechIcons
Images.UnitPromotionIcons/UnitPromotionIcons
ImagesToNotAddToGame
res
src/com/unciv/app Rate limit handling for Dropbox (#6416) 2022-05-13 09:16:52 +03:00
AndroidManifest.xml
build.gradle.kts
ic_launcher-web.png
proguard-rules.pro
project.properties
uncivicon-playstore.png