aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-24TESTBED: Fix CloudTestsAlexander Tkachev
Now work with all available Storages.
2016-08-24CLOUD: Add URL opening for OS XPeter Bozsó
2016-08-24TESTBED: Add CloudTests::testSavesSync()Alexander Tkachev
2016-08-24TESTBED: Add CloudTests::testFolderDownloading()Alexander Tkachev
2016-08-24TESTBED: Add CloudTests::testDownloading()Alexander Tkachev
2016-08-24TESTBED: Add CloudTests::testUploading()Alexander Tkachev
2016-08-24TESTBED: Fix CloudTests to ask users whether to waitAlexander Tkachev
Callbacks might be slow (like in SyncSaves), but they also could hang forever, so users now are being asked whether they want to wait or to skip the test.
2016-08-24TESTBED: Add first Cloud testsAlexander Tkachev
Adding tests for: * Storage::info(); * Storage::listDirectory(); * Storage::createDirectory().
2016-08-24GUI: Add Ctrl+V handling in EditableWidgetAlexander Tkachev
In SDL2 there is SDL_GetClipboardText(), so EditableWidget could support pasting into it. No copying yet, as there is no selecting.
2016-08-24CLOUD: Add "Index of" label in server's "/files"Alexander Tkachev
2016-08-24CLOUD: Add openurl-android.cppAlexander Tkachev
2016-08-24GUI: Fix Cloud-related dialogs a littleAlexander Tkachev
Minor mistakes which lead to build failure in some cases.
2016-08-24CLOUD: Add icons in "/files" listAlexander Tkachev
2016-08-24CLOUD: Fix module.mk for openurl-default.oAlexander Tkachev
It's now added to all the backends manually.
2016-08-24GUI: Update DownloadDialogAlexander Tkachev
It now has download size and speed labels. Commit also fixes minor mistake in ConnMan.
2016-08-24CLOUD: Calculate FolderDownload download speedAlexander Tkachev
2016-08-24CLOUD: Update FolderDownloadRequest::getProgress()Alexander Tkachev
It now is based on downloaded size, not number of files.
2016-08-24CLOUD: Fix IdDownloadRequestAlexander Tkachev
Wrong value was returned in getProgress() on nullptr there.
2016-08-24CLOUD: Update FolderDownloadRequestAlexander Tkachev
It now keeps track of downloaded bytes.
2016-08-24CLOUD: Fix FolderDownloadRequestAlexander Tkachev
It now sends kDownloadEndedCmd on success without waiting to be destructed.
2016-08-24CLOUD: Fix FolderDownloadRequest::getProgress()Alexander Tkachev
Now it doesn't stop on 100 % on last file and it ignores the directories, so it doesn't "jump" suddenly as there are no directories to skip.
2016-08-24GUI: Change 'OK' to 'Hide' on close button of DownloadDialogPeter Bozsó
2016-08-24CLOUD: Rename _files to _pendingFiles in FolderDownloadRequestPeter Bozsó
2016-08-24CLOUD: Add openUrl() for POSIXAlexander Tkachev
2016-08-24GUI: Fix StorageWizardDialogAlexander Tkachev
It now shows a MessageDialog (its message label is hidden in some cases).
2016-08-24GUI: Add "Open URL" button in StorageWizardDialogAlexander Tkachev
It uses Networking::Browser::openUrl().
2016-08-24CLOUD: Add Networking::Browser::openUrl() sketchAlexander Tkachev
Only Windows' shellExecute() now.
2016-08-24CLOUD: Upgrade FolderDownloadRequest::getProgress()Alexander Tkachev
Now NetworkReadStream, which is used in DownloadRequest, which is used in FolderDownloadRequest, returns progress information provided by libcurl.
2016-08-24CLOUD: Update CurlJsonRequestAlexander Tkachev
Uses dynamically allocated buffer now.
2016-08-24CLOUD: Update DownloadRequestAlexander Tkachev
It now uses a dynamically allocated 1 MB buffer.
2016-08-24CLOUD: Cleanup in StoragesAlexander Tkachev
2016-08-24CLOUD: Update GoogleDriveStorageAlexander Tkachev
It now derives from IdStorage, so lots of GoogleDrive*Request classes are removed and replaced with generic IdStorage*Request ones.
2016-08-24CLOUD: Add Storage::uploadStreamSupported()Alexander Tkachev
Box uses POST multipart/form requests for uploading. Such requests could be sent with libcurl if we either have a file available or a buffer with this file's contents. SavesSyncRequest was using Storage::upload(ReadStream *), which couldn't be implemented in BoxStorage. Thus I've added a method to test whether such upload is supported and, if it's not, SavesSyncRequest uses the other.
2016-08-24CLOUD: Add BoxUploadRequestAlexander Tkachev
2016-08-24CLOUD: Update NetworkReadStream and CurlRequestAlexander Tkachev
Now those support POST multipart/form upload.
2016-08-24CLOUD: Remove BoxStorage::streamFileById debug() callAlexander Tkachev
2016-08-24CLOUD: Add IdDownloadRequest and IdStreamFileRequestAlexander Tkachev
Used for downloading files in Box.
2016-08-24CLOUD: Fix Storage::streamFile()Alexander Tkachev
2016-08-24CLOUD: Add IdCreateDirectoryRequestAlexander Tkachev
Box gets createDirectoryWithParentId(), so now creating directories works there.
2016-08-24CLOUD: Add IdStorageAlexander Tkachev
This is a special base class for Storages which are using ids instead of paths in their APIs, like Box or Google Drive. This commit makes Box derived from IdStorage.
2016-08-24CLOUD: Add BoxListDirectoryRequestAlexander Tkachev
And used in it BoxResolveIdRequest. TODO: make some generic ResolveIdRequest and ListDirectoryRequest for id-based storages. It's really similar, I just had to change a few details in GoogleDrive ListDirectory and ResolveId requests.
2016-08-24CLOUD: Add BoxListDirectoryByIdRequestAlexander Tkachev
Similarly to Google Drive, Box uses only ids of files. That means id resolving would be slow.
2016-08-24CLOUD: Add BoxTokenRefresher and BoxStorage::info()Alexander Tkachev
BoxTokenRefresher does refresh if HTTP 401 is returned by the server. To test refresher, BoxStorage::info() was added.
2016-08-24CLOUD: Redirect to "/files" from "/"Alexander Tkachev
"/" is used to receive "?code", but when there is no such parameter passed, it's safe to redirect user to the "/files".
2016-08-24CLOUD: Add BoxStorage sketchAlexander Tkachev
2016-08-24GUI: Fix Options Cloud tab widgets visibilityAlexander Tkachev
As it's controlled by ScrollContainer also, we have to explicitly setVisible(true) for "always" visible widgets.
2016-08-24GUI: Fix DownloadDialog detectionAlexander Tkachev
Now it calls Launcher directly, so it updates games list on success.
2016-08-24CLOUD: Add LocalWebserver::resolveAddress()Alexander Tkachev
Works on Linux too. And, well, I'm bad in adding backends, so it's just #ifdefed there.
2016-08-24CLOUD: Add "directory" form for webserver "/upload"Alexander Tkachev
The attribute is Chrome-only.
2016-08-24CLOUD: Update "/files" hardcoded response templateAlexander Tkachev