aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2016-08-24CLOUD: Fix `redirect_uri` selection codeAlexander Tkachev
Now it's not hardcoded based on USE_SDL_NET, but one or another value is used depending on currently selected LocalWebserver's port.
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24CLOUD: Do some refactoring/cleanup in NetworkingAlexander Tkachev
2016-08-24CLOUD: Do some refactoring/cleanupAlexander Tkachev
Nothing really major.
2016-08-24CLOUD: Fix Cppcheck warningsAlexander Tkachev
2016-08-24CLOUD: Update StorageWizardDialogAlexander Tkachev
It now hides code fields not just when built with SDL_Net, but also when LocalWebserver's using default port. So that's why NETWORKING_LOCALWEBSERVER_ENABLE_PORT_OVERRIDE is defined in localwebserver.h now.
2016-08-24CLOUD: Add port override for LocalWebserverAlexander Tkachev
It's enabled only when NETWORKING_LOCALWEBSERVER_ENABLE_PORT_OVERRIDE is defined. It's not defined, because override means we have to reconfigure our redirect links somehow to use the override port.
2016-08-24CLOUD: Check whether Storage is working when replacing itAlexander Tkachev
We do that in CloudManager::replaceStorage(), but I've tried to eliminate such possibility by adding a check in the StorageWizardDialog.
2016-08-24CLOUD: Fix CloudManager::connectStorage() memory leakAlexander Tkachev
2016-08-24CLOUD: Fix backends/module.mkAlexander Tkachev
MinGW failed to compile with the latest fix. Checked this fix with create_project for MSVC, MinGW's make, make under kubuntu and while building Android apk.
2016-08-24CLOUD: Add OSD warning when can't start LocalWebserverAlexander Tkachev
2016-08-24CLOUD: Fix Dropbox and Google Drive UploadRequestsAlexander Tkachev
Possible segfault there too.
2016-08-24CLOUD: Fix OneDriveUploadRequestAlexander Tkachev
Segfault when given stream is nullptr.
2016-08-24CLOUD: Add default SavesSync callbacksAlexander Tkachev
With OSD messages indicating whether saves sync is complete, cancelled or failed.
2016-08-24CLOUD: Fix makefilePeter Bozsó
2016-08-24CLOUD: Add Networking::Connection::isLimited()Alexander Tkachev
`false` everywhere by default, but works on Android (`true` if not Wi-Fi).
2016-08-24CLOUD: Fix OneDriveUploadRequestAlexander Tkachev
OneDrive doesn't accept empty files, so UploadRequest just skips such.
2016-08-24CLOUD: Fix DropboxCreateDirectoryRequestAlexander Tkachev
It now calls success callback with `false` on Dropbox's "path/conflict/folder", indicating that the directory already exists.
2016-08-24CLOUD: Move Dropbox to API v2Alexander Tkachev
We had a few places where their deprecated API v1 was used.
2016-08-24CLOUD: Make "/create" support AJAXAlexander Tkachev
Now creating directories doesn't refresh the "/filesAJAX" page.
2016-08-24CLOUD: Add "ajax" parameter for "/create" and "/upload"Alexander Tkachev
If it's set, these redirect to "/filesAJAX" instead of "/files".
2016-08-24CLOUD: Add messages in "/filesAJAX"Alexander Tkachev
2016-08-24CLOUD: Minor "/filesAJAX" fixAlexander Tkachev
2016-08-24CLOUD: Add "breadcrumbs" in "/filesAJAX"Alexander Tkachev
2016-08-24CLOUD: Add "/filesAJAX" sketchAlexander Tkachev
It works already, but still requires some polishing.
2016-08-24CLOUD: Add ListAjaxHandlerAlexander Tkachev
"/list" now returns JSON with directory information. Would be used in AJAX-based Files Manager.
2016-08-24CLOUD: Fix indentation in openurl-osx.cppPeter Bozsó
2016-08-24CLOUD: Add URL opening for OS XPeter Bozsó
2016-08-24CLOUD: Add "Index of" label in server's "/files"Alexander Tkachev
2016-08-24CLOUD: Add openurl-android.cppAlexander Tkachev
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-24CLOUD: Rename _files to _pendingFiles in FolderDownloadRequestPeter Bozsó
2016-08-24CLOUD: Add openUrl() for POSIXAlexander Tkachev
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.