aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/basestorage.cpp
AgeCommit message (Collapse)Author
2019-07-30CLOUD: Ask user to manually enable StorageAlexander Tkachev
For more security, newly connected Storage only gets username/used space information and is disabled until user manually presses the button.
2019-07-30CLOUD: Change interaction with /refresh endpointAlexander Tkachev
Refresh token is now passed as custom HTTP header, not in GET parameter, to prevent them being written into server logs.
2019-07-30GUI: Rewrite Cloud tabAlexander Tkachev
- StorageWizardDialog is removed, along with bmps it was using; - EditTextWidget now accepts custom font in constructor; - ScrollContainer scrollbar now jumps to top when content height changes so it's "overscrolled"; - IndexPageHandler now does not awaits for `code` GET-parameter, as local webserver is no longer used to connect Storages; - CloudManager and all corresponding Storages are updated to support disconnecting and to notify about successful connection.
2019-07-30CLOUD: Refactor BaseStorage largest methodsAlexander Tkachev
Not sure if that's really better, but it was really annoying to copy-paste `delete a; delete b; return;` in every error-handling section.
2019-07-30CLOUD: Update BaseStorage to expect no refresh_tokenAlexander Tkachev
While refreshing access_token, some cloud providers also pass a new refresh_token. Google Drive does not, and accepts the same refresh_token next time. These changes allow this to happen.
2019-07-30CLOUD: Update storages to refresh token via cloud.scummvm.orgAlexander Tkachev
2019-07-30CLOUD: Update OneDriveStorage to work via cloud.scummvm.orgAlexander Tkachev
2019-07-30CLOUD: Add BaseStorage, which does auth via cloud.scummvm.orgAlexander Tkachev