Commit Graph

248 Commits (0d0246b12bdb36a44f7a8308f03db1278da2c7eb)

Author SHA1 Message Date
prozac 532741ebee Cleaned up code and moved POST vars to their own struct 10 years ago
Ben Pirt c2a02f28ea Replaced the multipart espfs flashing with the version from @billprozac and tweaked a little (untested) 10 years ago
Ben Pirt 4ee2d75977 Refactor to make all requests able to handle streaming as it makes the code much simpler 10 years ago
Ben Pirt 92bb77784a WIP - add a handler which will take a file upload and update the espfs image 10 years ago
Ben Pirt 189eded1cc Add support for extracting the multipart form boundary for later use by cgi 10 years ago
Ben Pirt 6f80e55a61 Modify httpd to be able to use streaming post requests. 10 years ago
Ben Pirt 92b27fd615 Expose the request type to the CGI functions so we can act based on its value 10 years ago
Ben Pirt e80e1862a8 Set the content-length header along with the 404 response 10 years ago
Jeroen Domburg f25557b9cf Made everything a bit more friendly. Esp-open-sdk nowadays is the toolchain builder of choice anyway; it now works without modifications to that. 10 years ago
Jeroen Domburg bc6f84771e Add cache header when serving a static file. Thanks to Vincent Bernardoff for sending a patch. 10 years ago
Jeroen Domburg 65a409dd23 Add css mimetype 10 years ago
Jeroen Domburg db687e58d1 Fixed a bug causing httpdGetHeader to fail when POST data is present. Thanks to Damien Nicolet for reporting the bug and sending me a patch. 10 years ago
Jeroen Domburg 704d7ad463 Fixed array out of bounds when connection pool is full. Thanks Захар Кравцов! 10 years ago
Sprite_tm 942624e363 Finally got rid of the stupid char-as-index problem. 10 years ago
Jeroen Domburg 876a68a67d Fixing the code to work under SDK 0.9.4. This commit should work. 10 years ago
Jeroen Domburg e56fdc4d6a Changed around everything to make use of sdk 0.9.4. CODE IS STILL BROKEN! 10 years ago
Jeroen Domburg 7df9b2bcdb More fixes for stupid ancient base64 snippet :/ 10 years ago
Jeroen Domburg 6ae806f60d unsigned -> unsigned int, to stop some compilers from throwing a warning 10 years ago
Jeroen Domburg e971868f21 Working around a stupid error in the esp code... mostly... I hope. 10 years ago
Jeroen Domburg c0dc815574 Final comments 10 years ago
Jeroen Domburg 5a0e99d72e Small doc updates 10 years ago
Jeroen Domburg 784568c07f Added basic authentication 10 years ago
Jeroen Domburg 25a0984080 Added httpdGetHeader function 10 years ago
Jeroen Domburg a4d9c6fb0c Added more universal path matching function 10 years ago
Jeroen Domburg c126d69e2b Added demo mode define, in which users cant mess with wifi settings 10 years ago
Jeroen Domburg d739c2d808 Fixed icon offset values 10 years ago
Jeroen Domburg 35988080a1 Added nice icons for encryption and rssi 10 years ago
Jeroen Domburg f1d80059d6 Added warning about scanning not working in AP mode, possibility to switch modes. 10 years ago
Jeroen Domburg a8b0da04c5 Added comments 10 years ago
Jeroen Domburg 6010c30fa6 Tpl engine now accepts %% as an escape for % 10 years ago
Jeroen Domburg a5534ae96f 0.9.3 improvements 10 years ago
Jeroen Domburg c22ae3469f Added webcounter to initial page 10 years ago
Jeroen Domburg a979dabd3b Forgot to add files :X. 10 years ago
Jeroen Domburg c71ec70334 Renamed/split some files but forgot to add them 10 years ago
Jeroen Domburg aef27aaa5b Getting ready for release... 10 years ago
Jeroen Domburg f977678e7f ..;.and now with the changed files too. 10 years ago
Jeroen Domburg 8c04617cb2 On-the-fly heatshrink decoding now works. 10 years ago
Jeroen Domburg 0cd1984fb7 Trying out transparent decompression using heatshrink... doesn't completely work on the esp8166 itself yet. 10 years ago
Jeroen Domburg d8b0575d2f Added reset-to-ap-mode button functionality 10 years ago
Jeroen Domburg f305f42465 Added super-simple template engine 10 years ago
Jeroen Domburg 645b320558 Added redirect function to httpd 10 years ago
Jeroen Domburg a01c02245f Yaaaaaay, POST now works 100% :) 10 years ago
Jeroen Domburg 649dc26851 POST works now. Just not sure how to interpret the data that's sent... 10 years ago
Jeroen Domburg 5eb4c8bf22 First try at POST processing. Fails because the POST plus the data tend to arrive in a single packet... 10 years ago
Jeroen Domburg 2646aff1f3 Rework httpd into a multi-connection capable thing. Seems to work, yay! 10 years ago
Jeroen Domburg da0d7df331 Adding espfs<->httpd interwork thingie 10 years ago
Jeroen Domburg 2bba5c13ed Added embedded filesystem. Whee! 10 years ago
Jeroen Domburg b736d77abb Ting, a webserver example - first commit 10 years ago