Commit Graph
110 Commits
Author SHA1 Message Date
Jeroen Domburg a016a27c0e Stop cgiWifi from sending bad JSON when it sees >33-ish access points. 2015-05-08 17:30:37 +08:00
Jeroen Domburg 4a8d318d85 Made heap stats optional 2015-04-23 18:24:06 +02:00
Jeroen Domburg 9847755cf4 Fixed small memory leak in the template routine. Thanks to Grooves for noticing. 2015-04-20 09:44:18 +02:00
Sprite_tm d088cddd70 Make the 'connecting'-screen a bit more friendly by eg telling the user the IP the ESP has connected to. 2015-04-15 18:00:03 +02:00
Sprite_tm d9c5fd5cfa Added blankflash: make target to flash blank.bin into esp 2015-04-15 17:30:13 +02:00
Jindra Dolezy b4d530e528 Added Connection: close header (although not required by http/1.0 spec, it might work better for bad clients) 2015-04-12 14:24:29 +02:00
Jindra Dolezy 4331360905 Makefile variable magic 2015-04-12 13:35:50 +02:00
Jindra Dolezy 2ec0e15427 Better handling of gzip compressed files 2015-04-12 01:13:47 +02:00
Jindra Dolezy 4596834b34 Added espFsFlags function 2015-04-12 00:55:10 +02:00
Jindra Dolezy 7fabf11107 mkespfsimage is now able to gzip files with selected extensions 2015-04-11 18:01:17 +02:00
Jindra Dolezy 391b6d014e Compression settings are passed to Makefile of mkespfsimage and can be set from command line 2015-04-11 16:20:41 +02:00
Jindra Dolezy 2ae9c904d4 added heatshrink ifdefs to mkespfsimage 2015-04-11 16:18:33 +02:00
Jindra Dolezy a3db96517d Ignore html_compressed directory 2015-04-11 12:32:55 +02:00
Jindra Dolezy a3132dc191 Fixed espfstest to use ESPFS_HEATSHRINK 2015-04-11 12:32:29 +02:00
Jindra Dolezy 3c8c2af597 clean task in Makefile cleans compressed html and mkespfsimage 2015-04-11 12:31:15 +02:00
Jindra Dolezy 6096ba30db Using ESPFS_POS in espFsInit in user_main.c 2015-04-11 12:01:14 +02:00
Jindra Dolezy a9f8d90d83 Returning correct server version in 404 responses 2015-04-11 12:00:27 +02:00
Jindra Dolezy b1fa603968 Fixed USE_HEATSHRINK flag in Makefile 2015-04-11 11:59:49 +02:00
Jeroen Domburg fdbead2a67 Moving config options into the Makefile 2015-04-11 09:19:51 +02:00
Jindra Dolezy 73efc39484 Removed accidentally commited style.css file in espfstest 2015-04-11 00:35:55 +02:00
Jindra Dolezy 13021e800e Added missing ICACHE_FLASH_ATTR to espFsInit 2015-04-11 00:35:55 +02:00
Jindra Dolezy d8afde3cc1 Added espFsInit call 2015-04-11 00:35:55 +02:00
Jindra Dolezy 7e21cbe3ca Reverting accidentally commited disabling of GPIO0 low reset 2015-04-11 00:35:55 +02:00
Jindra Dolezy d419bdb4f7 Using one header file for esp8266 stuff 2015-04-11 00:35:55 +02:00
Jindra Dolezy a1b8b82816 Added include guards and removed unused includes 2015-04-11 00:35:55 +02:00
Jindra Dolezy a3e8a6e287 Fixed heatshrink decompress bug 2015-04-11 00:35:54 +02:00
Jindra Dolezy 546056695c Moved httpd files to separate dir 2015-04-11 00:35:54 +02:00
Jindra Dolezy c3f3cbcf9c Moved espfs files and tools together, fixed espfstest 2015-04-11 00:35:54 +02:00
Jindra Dolezy 99e72f5915 Prevented including of stdint.h, which caused compile errors 2015-04-11 00:35:07 +02:00
Jindra Dolezy 207e8f2127 Modified makefile 2015-04-11 00:35:06 +02:00
Jeroen Domburg 7ec8739cdd martonmiklos: Add YUI compression for static css/js files 2015-04-10 18:03:27 +02:00
Jeroen Domburg 3cb7b32678 martonmiklos: Add GZIP compression for static files 2015-04-10 18:00:28 +02:00
Jeroen Domburg 48a017c029 Clarifications in comment, small fix 2015-04-03 13:34:46 +02:00
Jeroen Domburg fcf6aab8be Re-disable password for wifi 2015-04-03 13:01:34 +02:00
Jeroen Domburg 26767807ae Fixed authentication and general cgi fallthrough 2015-04-03 12:55:54 +02:00
Jeroen Domburg 6aa3cdedc1 Removed ifdeffed out code 2015-04-03 11:32:51 +02:00
Jeroen Domburg 5fb984e13b Added warning for abuse of CGI return code 2015-04-03 11:30:48 +02:00
Jeroen Domburg 49c7d310bc Some aesthetic cleanups 2015-04-03 11:07:17 +02:00
Ben Pirt ccb87593e8 Moved the flash cgis out into their own file and made the uploadEspfs cgi work properly 2015-03-16 15:18:01 +00:00
Jeroen Domburg cebc0aa65f Prefixed method consts to prevent clashes 2015-03-15 16:49:09 +01:00
Ben Pirt 4c47af2c68 Merge pull request #5 from billprozac/streaming
Merge updates from @billprozac
2015-03-11 09:07:54 +00:00
prozac e8a7cab745 Moved POST vars to their own struct 2015-03-10 20:57:35 -04:00
prozac 532741ebee Cleaned up code and moved POST vars to their own struct 2015-03-10 20:56:21 -04:00
Ben Pirt c2a02f28ea Replaced the multipart espfs flashing with the version from @billprozac and tweaked a little (untested) 2015-03-09 11:48:41 +00:00
Ben Pirt 4ee2d75977 Refactor to make all requests able to handle streaming as it makes the code much simpler 2015-03-09 11:08:27 +00:00
Ben Pirt 92bb77784a WIP - add a handler which will take a file upload and update the espfs image
Currently this is processing the form/multipart data but not doing the writing to flash
2015-03-06 17:28:47 +00:00
Ben Pirt 189eded1cc Add support for extracting the multipart form boundary for later use by cgi 2015-03-06 17:28:34 +00:00
Ben Pirt 6f80e55a61 Modify httpd to be able to use streaming post requests.
This also ups the post buffer to 1460 to match the TCP packet size

WIP: The cgi function to update the espfs is not complete
2015-03-05 16:17:37 +00:00
Ben Pirt 92b27fd615 Expose the request type to the CGI functions so we can act based on its value 2015-03-05 14:49:59 +00:00
Ben Pirt e80e1862a8 Set the content-length header along with the 404 response 2015-03-05 14:49:51 +00:00