Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Update OneDrive | Alexander Tkachev | |
Added JSON checks. New jsonContainsObject() method added to CurlJsonRequest. | |||
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 | ALL: Fix debug, warning and error usage | Alexander Tkachev | |
Added prefixes, used debug(9). | |||
2016-08-24 | CLOUD: Upload ListDirectory Requests | Alexander Tkachev | |
Lots of checks to avoid JSON-related segfaults added. | |||
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: Fix IndexPageHandler warning | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix code formatting | Peter Bozsó | |
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: 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: Add OSD warning when can't start LocalWebserver | Alexander Tkachev | |
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: 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". | |||
2016-08-24 | CLOUD: Add messages in "/filesAJAX" | Alexander Tkachev | |
2016-08-24 | CLOUD: Minor "/filesAJAX" fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Add "breadcrumbs" in "/filesAJAX" | Alexander Tkachev | |
2016-08-24 | CLOUD: Add "/filesAJAX" sketch | Alexander Tkachev | |
It works already, but still requires some polishing. | |||
2016-08-24 | CLOUD: Add ListAjaxHandler | Alexander Tkachev | |
"/list" now returns JSON with directory information. Would be used in AJAX-based Files Manager. | |||
2016-08-24 | CLOUD: Fix indentation in openurl-osx.cpp | Peter Bozsó | |
2016-08-24 | CLOUD: Add URL opening for OS X | Peter Bozsó | |
2016-08-24 | CLOUD: Add "Index of" label in server's "/files" | Alexander Tkachev | |
2016-08-24 | CLOUD: Add openurl-android.cpp | Alexander Tkachev | |
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 | |