Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-10 | CLOUD: Fix Remaining Shadowing Compiler Warnings. | D G Turner | |
2016-09-03 | JANITORIAL: Make GPL headers uniform | Eugene Sandulenko | |
2016-08-24 | CLOUD: Remove unused includes | Peter Bozsó | |
2016-08-24 | CLOUD: Fix Requests | Alexander Tkachev | |
Remove unnecessary JSON warnings, fix a few places. | |||
2016-08-24 | CLOUD: Update GoogleDriveStorage | Alexander Tkachev | |
More JSON checks in callbacks. | |||
2016-08-24 | CLOUD: Update BoxUploadRequest | Alexander Tkachev | |
More JSON checks there. | |||
2016-08-24 | CLOUD: Update TokenRefreshers | Alexander Tkachev | |
Box's, Google Drive's and OneDrive's token refreshing requests have more JSON checks now. | |||
2016-08-24 | CLOUD: Add JSON-related checks in BoxStorage | Alexander Tkachev | |
2016-08-24 | CLOUD: Minor TODO fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Add KEY/SECRET override code | Alexander Tkachev | |
The following constants must be defined if ENABLE_RELEASE is: * RELEASE_DROPBOX_KEY, * RELEASE_DROPBOX_SECRET, * RELEASE_ONEDRIVE_KEY, * RELEASE_ONEDRIVE_SECRET, * RELEASE_GOOGLE_DRIVE_KEY, * RELEASE_GOOGLE_DRIVE_SECRET, * RELEASE_BOX_KEY, * RELEASE_BOX_SECRET. | |||
2016-08-24 | ALL: Fix debug, warning and error usage | Alexander Tkachev | |
Added prefixes, used debug(9). | |||
2016-08-24 | CLOUD: #define all OAuth2/API-related URLs | Alexander Tkachev | |
2016-08-24 | CLOUD: Upload ListDirectory Requests | Alexander Tkachev | |
Lots of checks to avoid JSON-related segfaults added. | |||
2016-08-24 | CLOUD: JANITORIAL: More whitespace fixes | Eugene Sandulenko | |
2016-08-24 | CLOUD: JANITORIAL: Fix code formatting | Eugene Sandulenko | |
2016-08-24 | CLOUD: Update BoxListDirectoryByIdRequest | Alexander Tkachev | |
It now uses special CurlJsonRequest static methods to check whether JSON is an object, has a string or integer parameter. | |||
2016-08-24 | CLOUD: Updated BoxListDirectoryByIdRequest | Alexander Tkachev | |
It now checks for all keys in JSON to avoid segfaults and prints warnings if passed keys are missing or have wrong types. | |||
2016-08-24 | CLOUD: Remove remove() from BoxStorage | Peter Bozsó | |
2016-08-24 | CLOUD: Fix code formatting | Peter Bozsó | |
2016-08-24 | CLOUD: Fix `redirect_uri` selection code | Alexander 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-24 | JANITORIAL: Remove spaces at the end of the line | Alexander Tkachev | |
I knew there were some, but I wanted to fix them once, instead of doing it all the time. | |||
2016-08-24 | CLOUD: Do some refactoring/cleanup | Alexander Tkachev | |
Nothing really major. | |||
2016-08-24 | CLOUD: Fix CloudManager::connectStorage() memory leak | Alexander Tkachev | |
2016-08-24 | CLOUD: Cleanup in Storages | Alexander Tkachev | |
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: 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: 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: Add BoxStorage sketch | Alexander Tkachev | |