aboutsummaryrefslogtreecommitdiff
path: root/backends/networking
AgeCommit message (Collapse)Author
2017-01-17CLOUD: Fix Unsigned vs. Signed Comparison Compiler Warning.D G Turner
2017-01-16CLOUD: Fix Possible Uninitialized Variable Compiler Warning.D G Turner
2017-01-16CLOUD: Fix Further Variable Shadowing Compiler Warnings.D G Turner
2017-01-16CLOUD: Fix Compilation Failure.D G Turner
Cut and Paste Typo.
2017-01-16CLOUD: Fix Various Variable Shadowing Compiler Warnings.D G Turner
2017-01-16CLOUD: Fix Various Compiler Warnings By Adding Casts.D G Turner
2017-01-10CLOUD: Fix Two Variable Shadowing Compiler Warnings.D G Turner
2016-09-18CLOUD: Change the cloud icon to be updated by the main threadBastien Bouclet
The cloud manager registers itself as an event source as a mean to be polled periodically by the GUI or engine code. The periodical polling is used to update the OSD icon indicating background sync activity. Also move the cloud icon from ConnectionManager to CloudManager, allowing to decouple icon handling from network connections updates.
2016-09-13CLOUD: Switch to the new OSD APIBastien Bouclet
2016-09-10CLOUD: Move openUrl to OSystemThierry Crozat
2016-09-06CLOUD: Move wwwroot archive to dists and script to devtoolsThierry Crozat
Both the data used to generate the archive and the archive itself were moved to dists/ instead of being in backends/. The script was also improved to optionally take a path as a command line argument to indicate where the wwwroot data are instead of assuming they are in the working directory. Finally a 'wwwroot' make target was also added to invoke the python script and generate the archive. with the expected path to
2016-09-05CLOUD: Fix looking for the wwwroot.zip archiveThierry Crozat
If the themepath was defined but the wwwroot.zip file was not in that path, looking for it failed as it never reached the part of the code using SearchMan to look for it.
2016-09-05CLOUD: Do not error out when loading icon if OSD format is not 2 or 4 BppThierry Crozat
Graphics::TransparentSurface::convertTo() errors out when the destination format is not 2 or 4 Bpp. But in the case of the cloud icon we can recover from it. So just print a warning and don't close the application.
2016-09-03BUILD: Tie the SDL_net version to the SDL versionThierry Crozat
This means that when using SDL 1.2 we use SDL_net 1.2, but when using SDL 2 we now use SLD_net 2 as well. Both versions work properly and there is not code change needed in ScummVM. This change is because SDL_net depends on SDL, and using SDL_net 1.2 with SDL 2 means we can end up needing to link with both the SDL and SDL2 libraries.
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2016-09-03BACKENDS: Remove extra line returns in warningsBastien Bouclet
2016-08-30CLOUD: Fix Windows cross-compilationEugene Sandulenko
2016-08-30CLOUD: Fix Webserver's usage of DefaultSaveFileManagerAlexander Tkachev
concatWithSavesPath() is only defined when curl is used, but was used in Webserver even when curl is unavailable.
2016-08-24CLOUD: Remove unused includesPeter Bozsó
2016-08-24CLOUD: Update LocalWebserverAlexander Tkachev
Reader now reads headers into stream, and some checks are added there and in UploadFileClientHandler, so if headers are too long, they are treated as bad request.
2016-08-24CLOUD: Use forbidden combinationsAlexander Tkachev
I accidentally tried "folder../" instead "folder/../" and understood that I made "folder../" forbidden too, though it's a valid folder name.
2016-08-24CLOUD: Update handlersAlexander Tkachev
Now if there is no "rootpath" specified, it's not even listed by FilesPageHandler and ListAjaxHandler. And, of course, not available to use anywhere else.
2016-08-24CLOUD: Handle paths in marked placesAlexander Tkachev
Paths containing '../' are forbidden to use in Files Manager. There is also a special inner black list of paths which are not used and a check that specified path is under "savepath" or "rootpath" (from "cloud" domain).
2016-08-24CLOUD: Mark places where path handling is neededAlexander Tkachev
2016-08-24CLOUD: Add "minimal mode" in LocalWebserverAlexander Tkachev
StorageWizardDialog now runs LocalWebserver in "minimal mode" for security reasons. In this mode server uses only those handlers which state to support it. There are two handlers which support minimal mode: IndexPageHandler (which handles `code` requests needed by StorageWizardDialog) and ResourceHandler (which provides inner resources like `style.css` or `logo.png` from `wwwroot.zip` archive).
2016-08-24CLOUD: Use overriden handle() instead of ClientHandlerCallback in page handlersPeter Bozsó
Using a dedicated callback object for this was an unnecessary overhead.
2016-08-24CLOUD: Fix UploadFileClientHandlerAlexander Tkachev
It now redirects user on success not only when file was the last field in the content, but also when it was uploaded already and Handler worked further to search for more files.
2016-08-24CLOUD: Add custom User-AgentAlexander Tkachev
Full version is used like in Eugene's Google Analytics stub. Plus, on PS3 that string contains "PlayStation", and that would be cool to know that ScummVM+libcurl+PS3 work together.
2016-08-24CLOUD: Move determineMimeType to ResourceHandlerPeter Bozsó
2016-08-24CLOUD: Remove unused removePathHandler(), make addPathHandler() privatePeter Bozsó
2016-08-24CLOUD: Fix RequestsAlexander Tkachev
Remove unnecessary JSON warnings, fix a few places.
2016-08-24CLOUD: Update OneDriveAlexander Tkachev
Added JSON checks. New jsonContainsObject() method added to CurlJsonRequest.
2016-08-24CLOUD: Fix UploadFileClientHandlerAlexander Tkachev
A few possible memory leaks about `_contentStream` there.
2016-08-24CLOUD: Update NetworkReadStreamAlexander 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-24ALL: Fix debug, warning and error usageAlexander Tkachev
Added prefixes, used debug(9).
2016-08-24CLOUD: Upload ListDirectory RequestsAlexander Tkachev
Lots of checks to avoid JSON-related segfaults added.
2016-08-24CLOUD: JANITORIAL: Fix code formattingEugene Sandulenko
2016-08-24CLOUD: Update BoxListDirectoryByIdRequestAlexander Tkachev
It now uses special CurlJsonRequest static methods to check whether JSON is an object, has a string or integer parameter.
2016-08-24CLOUD: Fix IndexPageHandler warningAlexander Tkachev
2016-08-24CLOUD: Fix code formattingPeter Bozsó
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24CLOUD: Do some refactoring/cleanup in NetworkingAlexander Tkachev
2016-08-24CLOUD: Update StorageWizardDialogAlexander 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-24CLOUD: Add port override for LocalWebserverAlexander 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-24CLOUD: Add OSD warning when can't start LocalWebserverAlexander Tkachev
2016-08-24CLOUD: Add Networking::Connection::isLimited()Alexander Tkachev
`false` everywhere by default, but works on Android (`true` if not Wi-Fi).
2016-08-24CLOUD: Make "/create" support AJAXAlexander Tkachev
Now creating directories doesn't refresh the "/filesAJAX" page.
2016-08-24CLOUD: Add "ajax" parameter for "/create" and "/upload"Alexander Tkachev
If it's set, these redirect to "/filesAJAX" instead of "/files".
2016-08-24CLOUD: Add messages in "/filesAJAX"Alexander Tkachev
2016-08-24CLOUD: Minor "/filesAJAX" fixAlexander Tkachev