Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Add URL opening for OS X | Peter Bozsó | |
2016-08-24 | CLOUD: Add "Index of" label in server's "/files" | Alexander Tkachev | |
2016-08-24 | CLOUD: Add openurl-android.cpp | Alexander Tkachev | |
2016-08-24 | CLOUD: Add icons in "/files" list | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix module.mk for openurl-default.o | Alexander Tkachev | |
It's now added to all the backends manually. | |||
2016-08-24 | GUI: Update DownloadDialog | Alexander Tkachev | |
It now has download size and speed labels. Commit also fixes minor mistake in ConnMan. | |||
2016-08-24 | CLOUD: Calculate FolderDownload download speed | Alexander Tkachev | |
2016-08-24 | CLOUD: Update FolderDownloadRequest::getProgress() | Alexander Tkachev | |
It now is based on downloaded size, not number of files. | |||
2016-08-24 | CLOUD: Fix IdDownloadRequest | Alexander Tkachev | |
Wrong value was returned in getProgress() on nullptr there. | |||
2016-08-24 | CLOUD: Update FolderDownloadRequest | Alexander Tkachev | |
It now keeps track of downloaded bytes. | |||
2016-08-24 | CLOUD: Fix FolderDownloadRequest | Alexander Tkachev | |
It now sends kDownloadEndedCmd on success without waiting to be destructed. | |||
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 | CLOUD: Rename _files to _pendingFiles in FolderDownloadRequest | Peter Bozsó | |
2016-08-24 | CLOUD: Add openUrl() for POSIX | Alexander Tkachev | |
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 | 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 | 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 | |