Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: 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-24 | GUI: Change 'OK' to 'Hide' on close button of DownloadDialog | Peter Bozsó | |
2016-08-24 | CLOUD: Rename _files to _pendingFiles in FolderDownloadRequest | Peter Bozsó | |
2016-08-24 | CLOUD: Add openUrl() for POSIX | Alexander Tkachev | |
2016-08-24 | GUI: Fix StorageWizardDialog | Alexander Tkachev | |
It now shows a MessageDialog (its message label is hidden in some cases). | |||
2016-08-24 | GUI: Add "Open URL" button in StorageWizardDialog | Alexander Tkachev | |
It uses Networking::Browser::openUrl(). | |||
2016-08-24 | CLOUD: Add Networking::Browser::openUrl() sketch | Alexander Tkachev | |
Only Windows' shellExecute() now. | |||
2016-08-24 | CLOUD: 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-24 | CLOUD: Update CurlJsonRequest | Alexander Tkachev | |
Uses dynamically allocated buffer now. | |||
2016-08-24 | CLOUD: Update DownloadRequest | Alexander Tkachev | |
It now uses a dynamically allocated 1 MB buffer. | |||
2016-08-24 | CLOUD: Cleanup in Storages | Alexander Tkachev | |
2016-08-24 | CLOUD: Update GoogleDriveStorage | Alexander Tkachev | |
It now derives from IdStorage, so lots of GoogleDrive*Request classes are removed and replaced with generic IdStorage*Request ones. | |||
2016-08-24 | CLOUD: 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-24 | CLOUD: Add BoxUploadRequest | Alexander Tkachev | |
2016-08-24 | CLOUD: Update NetworkReadStream and CurlRequest | Alexander Tkachev | |
Now those support POST multipart/form upload. | |||
2016-08-24 | CLOUD: Remove BoxStorage::streamFileById debug() call | Alexander Tkachev | |
2016-08-24 | CLOUD: Add IdDownloadRequest and IdStreamFileRequest | Alexander Tkachev | |
Used for downloading files in Box. | |||
2016-08-24 | CLOUD: Fix Storage::streamFile() | Alexander Tkachev | |
2016-08-24 | CLOUD: Add IdCreateDirectoryRequest | Alexander Tkachev | |
Box gets createDirectoryWithParentId(), so now creating directories works there. | |||
2016-08-24 | CLOUD: Add IdStorage | Alexander 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-24 | CLOUD: Add BoxListDirectoryRequest | Alexander 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-24 | CLOUD: Add BoxListDirectoryByIdRequest | Alexander Tkachev | |
Similarly to Google Drive, Box uses only ids of files. That means id resolving would be slow. | |||
2016-08-24 | CLOUD: 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-24 | CLOUD: 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-24 | CLOUD: Add BoxStorage sketch | Alexander Tkachev | |
2016-08-24 | GUI: Fix Options Cloud tab widgets visibility | Alexander Tkachev | |
As it's controlled by ScrollContainer also, we have to explicitly setVisible(true) for "always" visible widgets. | |||
2016-08-24 | GUI: Fix DownloadDialog detection | Alexander Tkachev | |
Now it calls Launcher directly, so it updates games list on success. | |||
2016-08-24 | CLOUD: 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-24 | CLOUD: Add "directory" form for webserver "/upload" | Alexander Tkachev | |
The attribute is Chrome-only. | |||
2016-08-24 | CLOUD: Update "/files" hardcoded response template | Alexander Tkachev | |
2016-08-24 | GUI: Minor Container fixes | Alexander Tkachev | |
I should've done these in PR, I guess. | |||
2016-08-24 | GUI: Remove unnecessary DownloadDialog's flag | Alexander Tkachev | |
2016-08-24 | GUI: Fix Container's visibility issue | Alexander Tkachev | |
Now it respects outer code's decision to hide or move some widgets around. Outer code must be CommandReceiver which is set as ScrollContainer's target. | |||
2016-08-24 | GUI: Use Container in the Cloud tab | Alexander Tkachev | |
It has a visibility issue, but we're already working on it. | |||
2016-08-24 | CLOUD: Add auto-detect for downloaded game | Alexander Tkachev | |
If that's the game, that is. Method is copy-pasted from Launcher, but fixed not to ask the directory and thus doesn't contain the loop. | |||
2016-08-24 | CLOUD: Switch to "multiple" files uploading | Alexander Tkachev | |
Still doesn't support directories uploading. | |||
2016-08-24 | CLOUD: Fix gradient on LocalWebserver's pages | Alexander Tkachev | |
It was starting over every 100vh (each screen). | |||
2016-08-24 | CLOUD: Fix '\' encoding back | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix Client's buffer | Alexander Tkachev | |
2016-08-24 | CLOUD: Cleanup in Handlers | Alexander Tkachev | |
Simplified some stuff here and there by using HandlerUtils static methods. | |||
2016-08-24 | CLOUD: Cleanup in LocalWebserver | Alexander Tkachev | |
2016-08-24 | CLOUD: More cleanup in Client | Alexander Tkachev | |
2016-08-24 | CLOUD: Cleanup in Reader and Client | Alexander Tkachev | |
2016-08-24 | CLOUD: Cleanup in UploadFileClientHandler | Alexander Tkachev | |
Adds Client::noMoreContent() and Reader::noMoreContent(), which return true when whole client's request was read. | |||
2016-08-24 | CLOUD: Cleanup in UploadFileHandler | Alexander Tkachev | |
2016-08-24 | CLOUD: Add UploadFileClientHandler | Alexander Tkachev | |
Now Client reads the first headers block, then LocalWebserver decides which Handler to use. In case of "/upload", UploadFileHandler is used. But now it only knows the "path" parameter. If that's valid, actual UploadFileClientHandler is created, which reads the contents of the request and, when finds there an "upload_file" field, starts saving it in the directory specified by "path". With that we don't need temp files approach from Reader class. | |||
2016-08-24 | CLOUD: Fix quotes encoding | Alexander Tkachev | |
2016-08-24 | CLOUD: Put "/upload" "path" parameter in the URL | Alexander Tkachev | |
2016-08-24 | CLOUD: Add UploadFileHandler | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix minor Reader-related bugs | Alexander Tkachev | |