Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Add icons in "/files" list | Alexander Tkachev | |
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: 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 NetworkReadStream and CurlRequest | Alexander Tkachev | |
Now those support POST multipart/form upload. | |||
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 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 | |
2016-08-24 | CLOUD: Fix minor Reader-related bugs | Alexander Tkachev | |
2016-08-24 | CLOUD: Update Reader to delete temp files | Alexander Tkachev | |
2016-08-24 | CLOUD: Save files fields into temp files | Alexander Tkachev | |
Instead of keeping them in memory. Temp file name is generated to point into ScummVM's working directory. That means that if user wanted to upload file to the place with sufficient size, it would instead be uploaded to ScummVM's working directory. Yet it's too early to parse the target directory, so there is no way to generate temp file name within that directory. | |||
2016-08-24 | CLOUD: Add Reader::readOneByteInStream() | Alexander Tkachev | |
2016-08-24 | CLOUD: Determine file's name in POST | Alexander Tkachev | |
2016-08-24 | CLOUD: Move method/path/etc info in Reader | Alexander Tkachev | |
Query parameters are now parsed once and then just searched in the HashMap. | |||
2016-08-24 | CLOUD: Use Reader in Client | Alexander Tkachev | |
Instead of copy-pasting it I'm just "integrating" it in. | |||
2016-08-24 | CLOUD: Use "multipart/form-data" in upload form | Alexander Tkachev | |
2016-08-24 | CLOUD: Update Reader to support pausing | Alexander Tkachev | |
That means that if current buffer is over, reader will stop reading and it's safe to call readResponse() again, so it would continue from the place it left. | |||
2016-08-24 | CLOUD: Add Reader sketch | Alexander Tkachev | |
That should be part of the Client, I guess. Reader is not ready to continue reading from place it stopped, but it already works as it should for the case when whole content is available. | |||
2016-08-24 | CLOUD: Add query parameters URL encoding | Alexander Tkachev | |
In local webserver's links. Fixed URL decoding to understand '+', by the way. Firefox sends these instead of spaces and "%2B" instead of '+'. | |||
2016-08-24 | CLOUD: Update GetClientHandler's buffer | Alexander Tkachev | |
It's not static now and it's increased to 1 MB. | |||
2016-08-24 | CLOUD: Add "/download" handler | Alexander Tkachev | |
Now one can download files from the device through browser! | |||
2016-08-24 | CLOUD: Move "/create" to separate Handler | Alexander Tkachev | |
It does redirect to "/files" on success, so user doesn't even see the strange "/create" URL at all. This commit is for keeping these handlers small, not making one (FilesPageHandler in this case) do everything. | |||
2016-08-24 | CLOUD: Make "/create" work | Alexander Tkachev | |
One can now create directories through browser. | |||
2016-08-24 | CLOUD: Refactor LocalWebserver | Alexander Tkachev | |
Its handlers are now more compact. This commit moves Handler classes in handlers\ directory. ResourceHandler ignores "hidden" files in the archive, and these are used as markup templates in IndexPageHandler and FilesPageHandler. | |||
2016-08-24 | COMMON: Add replace(String, String, String) | Alexander Tkachev | |
Searches for a substring in the string and replaces it with the other string. | |||
2016-08-24 | CLOUD: Make "/files" list directories | Alexander Tkachev | |
Including both virtual "/root" and "/saves" ones. | |||
2016-08-24 | CLOUD: Add "/files" handler | Alexander Tkachev | |
Shows the page with controls, but doesn't actually list the directories, create the specified ones or allows to upload files yet. | |||
2016-08-24 | CLOUD: Resolve local machine's IP | Alexander Tkachev | |
2016-08-24 | CLOUD: Make "Run server" button active | Alexander Tkachev | |
It should show the real server's IP over there, but that doesn't work yet. | |||
2016-08-24 | CLOUD: Fix finishSuccess() warning | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix some warnings | Alexander Tkachev | |
Mostly on format string | |||
2016-08-24 | CLOUD: Fix crash on exiting ScummVM while ConnMan is active | Peter Bozsó | |