Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Update GoogleDriveStorage | Alexander Tkachev | |
More JSON checks in callbacks. | |||
2016-08-24 | CLOUD: Update DropboxUploadRequest | Alexander Tkachev | |
JSON checks. | |||
2016-08-24 | CLOUD: Update DropboxStorage | Alexander Tkachev | |
JSON checks added. | |||
2016-08-24 | CLOUD: Update Dropbox Requests | Alexander Tkachev | |
Adding more JSON checks there. | |||
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: Fix UploadFileClientHandler | Alexander Tkachev | |
A few possible memory leaks about `_contentStream` there. | |||
2016-08-24 | CLOUD: Update NetworkReadStream | Alexander Tkachev | |
It now uses both CURLOPT_PROGRESSFUNCTION and CURLOPT_XFERINFOFUNCTION. The latter is available in new libcurl (>= 7.32.0) only, thus the former is added for older versions support. | |||
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: Move Clipboard support to OSystem | Alexander Tkachev | |
Commit adds kFeatureClipboardSupport. hasTextInClipboard() and getTextFromClipboard(). OSystem_SDL has this feature if SDL2 is used. EditableWidget and StorageWizardDialog use g_system to access clipboard now. | |||
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: Fix warning | 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: Fix IndexPageHandler warning | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix format warning | Eugene Sandulenko | |
2016-08-24 | CLOUD: Fix FolderDownloadRequest TODO | Alexander Tkachev | |
2016-08-24 | CLOUD: Update DownloadRequest's TODO | Alexander Tkachev | |
We need a way to reopen DumpFile if we want DownloadRequest to support restarting. | |||
2016-08-24 | CLOUD: Fix HTTP response code TODOs | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix some TODOs in CloudManager | Alexander Tkachev | |
"No Storage connected!" error message is passed to the error callback now when there is no Storage connected to the CloudManager. | |||
2016-08-24 | CLOUD: Remove remove() from BoxStorage | Peter Bozsó | |
2016-08-24 | CLOUD: Remove DropboxStorage::remove() | Alexander Tkachev | |
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 in Networking | Alexander Tkachev | |
2016-08-24 | CLOUD: Do some refactoring/cleanup | Alexander Tkachev | |
Nothing really major. | |||
2016-08-24 | CLOUD: Fix Cppcheck warnings | Alexander Tkachev | |
2016-08-24 | CLOUD: Update StorageWizardDialog | Alexander 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-24 | CLOUD: Add port override for LocalWebserver | Alexander 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-24 | CLOUD: Check whether Storage is working when replacing it | Alexander Tkachev | |
We do that in CloudManager::replaceStorage(), but I've tried to eliminate such possibility by adding a check in the StorageWizardDialog. | |||
2016-08-24 | CLOUD: Fix CloudManager::connectStorage() memory leak | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix backends/module.mk | Alexander 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-24 | CLOUD: Add OSD warning when can't start LocalWebserver | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix Dropbox and Google Drive UploadRequests | Alexander Tkachev | |
Possible segfault there too. | |||
2016-08-24 | CLOUD: Fix OneDriveUploadRequest | Alexander Tkachev | |
Segfault when given stream is nullptr. | |||
2016-08-24 | CLOUD: Add default SavesSync callbacks | Alexander Tkachev | |
With OSD messages indicating whether saves sync is complete, cancelled or failed. | |||
2016-08-24 | CLOUD: Fix makefile | Peter Bozsó | |
2016-08-24 | CLOUD: Add Networking::Connection::isLimited() | Alexander Tkachev | |
`false` everywhere by default, but works on Android (`true` if not Wi-Fi). | |||
2016-08-24 | CLOUD: Fix OneDriveUploadRequest | Alexander Tkachev | |
OneDrive doesn't accept empty files, so UploadRequest just skips such. | |||
2016-08-24 | CLOUD: Fix DropboxCreateDirectoryRequest | Alexander Tkachev | |
It now calls success callback with `false` on Dropbox's "path/conflict/folder", indicating that the directory already exists. | |||
2016-08-24 | CLOUD: Move Dropbox to API v2 | Alexander Tkachev | |
We had a few places where their deprecated API v1 was used. | |||
2016-08-24 | CLOUD: Make "/create" support AJAX | Alexander Tkachev | |
Now creating directories doesn't refresh the "/filesAJAX" page. | |||
2016-08-24 | CLOUD: Add "ajax" parameter for "/create" and "/upload" | Alexander Tkachev | |
If it's set, these redirect to "/filesAJAX" instead of "/files". |