Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: JANITORIAL: Fix code formatting | Eugene Sandulenko | |
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: 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: 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: Add "Index of" label in server's "/files" | Alexander Tkachev | |
2016-08-24 | CLOUD: Add icons in "/files" list | Alexander Tkachev | |
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 "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: Fix '\' encoding back | 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 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: 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: 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. |