Commit Graph

  • e7db3dce7d Moved BufferedConnection into its own file. Marcos Kirsch 2016-02-16 22:45:14 -06:00
  • 3357919f44 typo Marcos Kirsch 2016-02-16 09:05:38 -06:00
  • e255d7f6b1 Add Terry Ellison quote Marcos Kirsch 2016-02-16 09:03:13 -06:00
  • 59e0218a72 Fix https://github.com/marcoskirsch/nodemcu-httpserver/issues/36 Marcos Kirsch 2016-02-15 23:19:29 -06:00
  • 4776545a41 added Contributing section Marcos Kirsch 2016-02-15 23:01:59 -06:00
  • d71b079932 clean up, but example does not work at this time Marcos Kirsch 2016-02-15 22:54:19 -06:00
  • 2f2fb26782 Several fixes and code cleanup. Gzipped files now work. Indentation cleaned up, Other small fixes: Marcos Kirsch 2016-02-15 22:52:30 -06:00
  • 11dde7075b Added a second link to zipped file, with gz extension Marcos Kirsch 2016-02-15 22:48:53 -06:00
  • 5ccc69dc73 Updated examples to remove yields, pass req param. Integration woes. Marcos Kirsch 2016-02-15 22:33:30 -06:00
  • d31b2d2c89 No need to yield. Conditionally show form. Updated title. Marcos Kirsch 2016-02-15 22:31:48 -06:00
  • 066b602444 Updated README with new instructions Marcos Kirsch 2016-02-15 22:31:08 -06:00
  • fbc6506faa Merged with main repository Marcos Kirsch 2016-02-15 20:54:11 -06:00
  • 64f07cb38d Change NodeMCU firmware link to point to github project. Marcos Kirsch 2016-02-15 14:21:16 -06:00
  • 4d4442318d Fix example server-side scripts to work on new nodemcu-firmware. Specifically, call coroutine.yield() after each connection:send() except the last one, since we can no longer queue sends. Marcos Kirsch 2016-02-15 14:20:28 -06:00
  • 4ff7b2b78d Trivial placeholder print statement, useful for debugging. Marcos Kirsch 2016-02-15 13:52:27 -06:00
  • 1b14a516aa Fix bugs for newer nodemcu-firmware: new firmware does not allow queuing multiple connection:send() operations. These changes ensure we yield after every send except the last one. Marcos Kirsch 2016-02-15 13:52:01 -06:00
  • 37e58389c6 Trivial improvement to print message Marcos Kirsch 2016-02-15 13:46:50 -06:00
  • 0e4b515514 Default to join an existing WiFi network, more common at least for my own testing Marcos Kirsch 2016-02-15 13:12:19 -06:00
  • 33b94ec5d5 Modified Makefile so that the nodemcu-uploader script no longer needs to be executable Marcos Kirsch 2016-02-15 13:08:59 -06:00
  • c218c4f5a8 Merge pull request #50 from TriAnMan/fix-memory-leak Marcos 2016-02-15 09:10:44 -06:00
  • dc816cc258 Merge pull request #48 from lluki/master Marcos 2016-02-15 09:09:53 -06:00
  • 1ddd47eaf9 Fix a memory leak when the connection is dropped by the client side Anton Andersen 2016-02-15 12:46:54 +03:00
  • 02832a1a45 matching of mime type in http request header that contain a charset appendix Lukas Humbel 2015-12-19 13:43:55 +01:00
  • 8715123904 Merge pull request #45 from IntelliDust/master Marcos 2015-12-05 11:44:32 -06:00
  • 1f43c9f5e5 Added Cache-Control header for gzipped content. This will prevent for getting css.gz js.gz and so by browser from server. IntelliDust 2015-12-03 12:51:42 +01:00
  • 1b8a1f7750 Added handling of watchdog for serving bigger files IntelliDust 2015-12-03 12:48:27 +01:00
  • 3eecd76908 Merge pull request #43 from pjsg/master Marcos 2015-11-29 10:16:11 -06:00
  • f852959fa5 Handle the null write case Philip Gladstone 2015-11-28 21:00:34 -05:00
  • 9fee6ee8e8 Removed another unused file Philip Gladstone 2015-11-28 16:36:53 -05:00
  • a54159b39f Remove unused file Philip Gladstone 2015-11-28 12:23:22 -05:00
  • 8a195cb798 Reduce memory requirements a bit and fix weird issue in node_info.lua example Philip Gladstone 2015-11-28 12:22:20 -05:00
  • b4a2d02431 Fix the problem with the more modern SDK only allowing one outstanding connection:send at a time. Long and short of it, don't use coroutine.yield any more when serving content. Philip Gladstone 2015-11-22 13:39:03 -05:00
  • 067ffdf3e5 Merge pull request #39 from dimsumlabs/master Marcos 2015-10-03 21:54:34 -05:00
  • cf0d777632 Merge pull request #38 from hazarkarabay/master Marcos 2015-10-03 21:53:55 -05:00
  • 72b21a61ae Fixed syntax error on line 92 Lionello Lunesu 2015-10-04 00:02:40 +08:00
  • 0ddaa52527 init.lua typo Hazar Karabay 2015-09-16 22:10:49 +03:00
  • b7f78481a2 File extension parsing fix Hazar Karabay 2015-09-16 22:10:21 +03:00
  • 792c0814a5 Merge pull request #31 from pospanet/master Marcos 2015-09-04 09:52:03 -05:00
  • 031dad0f80 Merge pull request #34 from simcop2387/master Marcos 2015-09-04 09:50:56 -05:00
  • ef340bc82a Implement support for more arbitrary HTTP methods. Allows GET PUT and POST. With minor changes needed to support others Ryan Voots 2015-08-31 18:01:06 -07:00
  • af57939e0d Merge pull request #33 from hazarkarabay/gzip-variant Marcos 2015-08-29 19:21:43 -05:00
  • 13e2bfbe9c Use gzipped file if exists Hazar Karabay 2015-08-29 15:30:37 +03:00
  • bbcce2d64d AP mode support added Pospa 2015-08-09 15:18:08 +02:00
  • ad4042f3d6 Leave auth disabled by default Marcos Kirsch 2015-07-20 21:13:11 -05:00
  • 1d3cdaf1a7 Merge pull request #29 from borromeotlhs/patch-8 Marcos 2015-07-20 15:42:30 -05:00
  • e52ca7731f Update node_info.lua TJ Borromeo 2015-07-20 13:22:38 -07:00
  • 8acc6aa8ca Fix title link Marcos 2015-07-20 10:01:49 -05:00
  • cbcc7f22a0 Delete b64.py Marcos 2015-07-19 18:23:48 -05:00
  • 1d4c253277 Merge branch 'master' of https://github.com/marcoskirsch/nodemcu-httpserver Marcos Kirsch 2015-07-19 18:22:06 -05:00
  • 1918e8af96 Minor updates Marcos Kirsch 2015-07-19 18:21:51 -05:00
  • cac1a8146a Delete b64.lua Marcos 2015-07-19 13:36:34 -05:00
  • dcc8df4960 Update for renamed file Marcos Kirsch 2015-07-19 13:35:07 -05:00
  • aa507264eb Better comments, add realm Marcos Kirsch 2015-07-19 13:34:16 -05:00
  • 0bd5e20c62 Retrofit for renamed file, display configurable realm Marcos Kirsch 2015-07-19 13:33:47 -05:00
  • 122926f9f6 Remove tabs, minor rework and comment updates Marcos Kirsch 2015-07-19 13:32:59 -05:00
  • c693c7f90f Update for renamed file Marcos Kirsch 2015-07-19 13:32:20 -05:00
  • 69c7f385b8 Better not to start server automatically Marcos Kirsch 2015-07-19 12:22:04 -05:00
  • 820437a98a Was missing b64.lua Marcos Kirsch 2015-07-19 12:21:12 -05:00
  • e61f3c7556 Merge pull request #27 from samdieck/master Marcos 2015-07-19 09:20:25 -05:00
  • 350c868063 Merge pull request #28 from borromeotlhs/patch-7 Marcos 2015-07-19 09:19:05 -05:00
  • ba44745194 remove trailing whitespace Marcos Kirsch 2015-07-19 09:04:25 -05:00
  • e49eec62d3 Fix: show minor version. Improve formatting Marcos Kirsch 2015-07-19 09:03:37 -05:00
  • 19bac62e07 Update args.lua TJ Borromeo 2015-07-18 21:51:09 -07:00
  • be63ee0093 Added basic auth. Added static settings file Samuel A. Dieck 2015-07-18 23:17:14 -05:00
  • f62995cf18 Update GPIO lines to use GPIO1 and GPIO2 on NodeMCU devkit 1 Marcos Kirsch 2015-07-18 22:43:10 -05:00
  • b017526d71 Show size, used, available space in file system Marcos Kirsch 2015-07-18 22:42:29 -05:00
  • 2878750f7c Update GPIO lines used by garage example Marcos Kirsch 2015-07-18 22:41:51 -05:00
  • a26ea74609 Updated with newer notes on memory and firmware Marcos Kirsch 2015-07-18 20:29:09 -05:00
  • cac11d9a1a Merge pull request #26 from borromeotlhs/patch-6 Marcos 2015-07-17 17:07:54 -05:00
  • 25a7313af5 Update file_list.lua TJ Borromeo 2015-07-17 14:17:09 -07:00
  • a86f2d6384 Merge pull request #23 from geekscape/master Marcos 2015-05-16 07:10:47 -05:00
  • 90d533b555 Correct check wifi.sta.getip() so that Wi-Fi station connection works. Andy Gelme 2015-05-16 16:56:28 +10:00
  • e25b9c5ac0 Merge pull request #22 from borromeotlhs/patch-5 Marcos 2015-05-06 17:28:06 -05:00
  • 94c56a02b9 Merge pull request #21 from borromeotlhs/patch-4 Marcos 2015-05-06 17:27:33 -05:00
  • fe2f227b0b Merge pull request #1 from borromeotlhs/rework-headers TJ Borromeo 2015-05-06 13:58:12 -07:00
  • 2672d3b467 Keep return type as is TJ Borromeo 2015-05-06 13:54:21 -07:00
  • e01e97469f Update httpserver-header.lua TJ Borromeo 2015-05-06 13:42:06 -07:00
  • 0c17703b46 change return type TJ Borromeo 2015-05-06 13:39:32 -07:00
  • 219baa7b62 Update httpserver-header.lua TJ Borromeo 2015-05-06 13:36:20 -07:00
  • 7beec37206 Update init.lua TJ Borromeo 2015-05-06 13:25:02 -07:00
  • b4842301a0 Fix improper syntax in list TJ Borromeo 2015-05-06 13:16:47 -07:00
  • 970906a89a Merge pull request #18 from borromeotlhs/patch-1 Marcos 2015-05-02 07:28:46 -05:00
  • f728775618 Merge pull request #19 from borromeotlhs/patch-2 Marcos 2015-05-02 07:26:27 -05:00
  • 3e592adfcd Merge pull request #20 from borromeotlhs/patch-3 Marcos 2015-05-02 07:25:46 -05:00
  • 472e397429 create a maintainable way to add HTTP Status codez TJ Borromeo 2015-04-24 15:20:06 -07:00
  • 91c16d1e24 Remove unnecessary if statements TJ Borromeo 2015-04-24 15:06:34 -07:00
  • 925af34b1a De-duplicate wifi.sta.getip() call TJ Borromeo 2015-04-24 14:54:13 -07:00
  • 7a1a60f383 Merge pull request #17 from pastukhov/master Marcos 2015-04-21 09:14:53 -05:00
  • 243ab35720 Add xml mime type Artem Pastukhov 2015-04-21 09:34:05 +03:00
  • ead632d131 Refactoring - function for sending headers is now in its own file. All errors are sent using coroutine. Some other memory usage improvements Marcos Kirsch 2015-04-19 23:42:58 -05:00
  • 453f38b52f Small wording improvement Marcos Kirsch 2015-04-19 23:40:36 -05:00
  • c7b20c0674 shortened file Marcos Kirsch 2015-04-19 23:38:25 -05:00
  • 0cc7a8b7be Fix issue 16: gzip example files are too large, replace with much smaller one Marcos Kirsch 2015-04-19 14:48:29 -05:00
  • 99be566549 Improved for easier configuration, better messages, and slightly improved memory handling Marcos Kirsch 2015-04-18 23:21:01 -05:00
  • 7bd9b266be Improved error handling, although some bugs still persist Marcos Kirsch 2015-04-18 23:19:08 -05:00
  • 76c2895f04 Minimum changes to print formatting Marcos Kirsch 2015-04-18 23:15:10 -05:00
  • 3125f997f7 Changed upload to upload_all which is more clear. You can now use make upload to upload a specific file Marcos Kirsch 2015-04-18 23:13:04 -05:00
  • 572732fd44 Add sample file with a form using method POST Marcos Kirsch 2015-04-18 23:12:04 -05:00
  • 3390d6f6e9 Added note about .gz support Marcos 2015-04-03 08:27:44 -05:00
  • 2162192d26 Merge pull request #14 from pastukhov/master Marcos 2015-04-03 08:25:59 -05:00