Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Update LocalWebserver | Alexander Tkachev | |
* fix handling connections; * fix idling strategy; * add setClientGetHandler() for SeekableReadStream; * add determineMimeType(). | |||
2016-08-24 | CLOUD: Fix Client | Alexander Tkachev | |
Cleanup in open() | |||
2016-08-24 | CLOUD: Add IndexPageHandler | Alexander Tkachev | |
This commit also adds LocalWebserver's stopOnIdle(). That means server is not stopped immediately, but only when all clients are served. | |||
2016-08-24 | CLOUD: Minor Client fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Prepare code for path handlers | Alexander Tkachev | |
LocalWebserver would storage the handlers. Client now has methods like path() or query() to access different parts of the request. | |||
2016-08-24 | CLOUD: Clarify calculatedChecksum's initial value | Alexander Tkachev | |
2016-08-24 | CLOUD: Remove a couple of unnecessary whitespaces | Peter Bozsó | |
2016-08-24 | CLOUD: Add HTTP response codes in GetClientHandler | Alexander Tkachev | |
2016-08-24 | CLOUD: Minor Client fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Add GetClientHandler | Alexander Tkachev | |
That ClientHandler is made for responding GET requests. It calculates stream's length, it allows to specify response code and headers, it can be used to transfer any ReadStream. | |||
2016-08-24 | CLOUD: Add ClientState::BAD_REQUEST | Alexander Tkachev | |
2016-08-24 | CLOUD: Add Networking::Client | Alexander Tkachev | |
Keeps current client's state | |||
2016-08-24 | CLOUD: Add LocalWebserver | Alexander Tkachev | |
Available as LocalServer singleton. It's being started and stopped by StorageWizardDialog. It doesn't handle clients yet, though. | |||
2016-08-24 | CLOUD: Init SDL_Net | Alexander Tkachev | |
2016-08-24 | CONFIGURE: Add --with-sdlnet-prefix option | Alexander Tkachev | |
2016-08-24 | CLOUD: Add comments for StorageWizardDialog methods | Alexander Tkachev | |
2016-08-24 | CLOUD: Update StorageWizardDialog's code check | Alexander Tkachev | |
Now the code contains its own crc16 in it, plus the way checksum is calculated has changed. Some online tool calls this exact way of calculating crc16 "CRC16_CCITT_FALSE". | |||
2016-08-24 | CLOUD: Fix configuration handling in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Add checks in StorageWizardDialog | Alexander Tkachev | |
It now calculates the checksums for code pieces to determine whether it's correct and CRC-32 for user to compare with one shown on site. | |||
2016-08-24 | CLOUD: Get rid of CloudConfigHelper, use kCloudDomain where approriate | Peter Bozsó | |
2016-08-24 | CLOUD: Do saves sync on Storage connect | Alexander Tkachev | |
2016-08-24 | CLOUD: Make Storage::savesSync() restart | Alexander Tkachev | |
If Storage::syncSaves() is called when sync is running, another sync would be automatically scheduled in the end of the current one. That could be helpful when we want to specify that we changed something during sync (created new save slot, for example). | |||
2016-08-24 | CLOUD: Add CloudConfigHelper to module.mk | Alexander Tkachev | |
2016-08-24 | CLOUD: Introduce CloudConfigHelper | Peter Bozsó | |
2016-08-24 | CLOUD: Fix end of namespace comment in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Fix include in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Introduce kStoragePrefix in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Remove unnecessary blank lines in switch statement | Peter Bozsó | |
2016-08-24 | CLOUD: Make enum StorageIDs' name singular | Peter Bozsó | |
2016-08-24 | CLOUD: Force handling of all StorageIDs values in ↵ | Peter Bozsó | |
CloudManager::getStorageConfigName() | |||
2016-08-24 | CLOUD: Fix getAccessToken() | Alexander Tkachev | |
KEY and SECRET should now load before getAccessToken() uses them, so it should work now. | |||
2016-08-24 | Fix DropboxStorage::codeFlowComplete() | Peter Bozsó | |
2016-08-24 | CLOUD: Fix initialization of NetworkReadStream | Peter Bozsó | |
"networkreadstream.cpp:51:2: error: delegating constructors are permitted only in C++11" | |||
2016-08-24 | CLOUD: Fix compilation error in savesyncrequest.h | Peter Bozsó | |
"savessyncrequest.h:35:35: error: use of undeclared identifier 'UINT_MAX'" | |||
2016-08-24 | GUI: Add warning message for game's savepath | Alexander Tkachev | |
2016-08-24 | GUI: Add EditText in StorageWizardDialog | Alexander Tkachev | |
One can enter the code, press 'Connect' button and get a working Storage! | |||
2016-08-24 | CLOUD: Add Request::date() | Alexander Tkachev | |
Used in SavesSyncRequest to update Storage's last sync date. | |||
2016-08-24 | CLOUD: Add ConnMan::urlEncode() | Alexander Tkachev | |
Tried to use it everywhere I should've use it. | |||
2016-08-24 | COMMON: Add String::asUint64() | Alexander Tkachev | |
Instead of all these atoull() I've added everywhere. | |||
2016-08-24 | GUI: Add Refresh button in Options Cloud tab | Alexander Tkachev | |
Commit changes CloudManager and Storages so they would automatically refresh the fields when the could. | |||
2016-08-24 | GUI: Add Cloud tab StorageWizardDialog | Alexander Tkachev | |
This is a dialog which guides user through Storage connection procedure. | |||
2016-08-24 | GUI: Replace Cloud tab's StorageBrowser with PopUp | Alexander Tkachev | |
2016-08-24 | CLOUD: Update CloudManager | Alexander Tkachev | |
It now has methods to update Storage's information. | |||
2016-08-24 | CLOUD: Update CloudManager | Alexander Tkachev | |
It now supports only one storage of each type. Only one Storage could be loaded to the memory as well. Options' Cloud tab now changes the Storage only when user pressed OK button, giving the ability to look through the Storages without actually changing them. | |||
2016-08-24 | GUI: Add Cloud tab information labels | Alexander Tkachev | |
And corresponding stub implementations in CloudManager. | |||
2016-08-24 | GUI: Add Options dialog Cloud tab | Alexander Tkachev | |
With StorageBrowser to select a Storage. It actually uses CloudMan to switch active Storage. | |||
2016-08-24 | CLOUD: Update CloudManager and Storage | Alexander Tkachev | |
* Storage::name(); * CloudManager::getStorageName(); * CloudManager::getStorageIndex(); * CloudManager::listStorages(); * CloudManager::switchStorage(). | |||
2016-08-24 | CLOUD: Minor GoogleDriveUploadRequest fix | Alexander Tkachev | |
Just checked that out on cloud sync: Google Drive is officially supported! | |||
2016-08-24 | CLOUD: Add GoogleDriveUploadRequest | Alexander Tkachev | |
Includes NetworkReadStream PATCH method and Headers remembering feature. | |||
2016-08-24 | CLOUD: Add GoogleDrive download-related requests | Alexander Tkachev | |
GoogleDriveDownloadRequest, which resolves file id and then downloads it with GoogleDriveStorage::downloadById(). GoogleDriveStreamFileRequest, which resolves file id and then returns file stream with GoogleDriveStorage::streamFileById(). This commit also adds GoogleDriveStorage::streamFileById() itself. A minor GoogleDriveResolveIdRequest fix added. With these one can download files from Google Drive. |