Ivan Grokhotkov
496da02f14
Verify sketches as part of travis build
...
Squashed commits:
[7d1b42f] Encrypt token, skip some tests
[17b8f39] Fix sha1 example path
[f3050b1] Fix build, add webhook
[fd2c9bd] Fix build errors, update mDNS library readme
[7b87031] Make common.sh more flexible
[3ba3eb2] Test all sketches
[87beb8a] Build all sketches in esp8266 core
[f2464f1] Fix paths
[823a9ae] Remove sudo usage
[7fce734] Fix arduino commands
[619bc7d] Move all commands into travis script
[15a5ada] First attempt test runner
2015-07-23 16:06:07 +03:00
Me No Dev
1c3225f387
post body might not be sent with the headers
...
since optimistic_yield() was implemented, at this point we might not
have the body yet, so we should give it a chance to be sent and put in
the buffer
2015-07-16 23:56:36 +03:00
Me No Dev
a6d8253b15
fix plain post slowdown
2015-07-16 21:39:09 +03:00
John Doe
cca89efbd2
lets make it possible to parse multiline plain post
2015-07-07 18:06:33 +03:00
John Doe
f7212154a6
missingg the equal sign
2015-07-07 18:06:25 +03:00
John Doe
3c819e998b
duh...
2015-07-07 18:06:18 +03:00
John Doe
1694380caa
try to get plain json or string data
2015-07-07 18:06:08 +03:00
John Doe
703ab8df64
make Update erase/write sector by sector as well
2015-07-06 12:34:55 +03:00
John Doe
9d0a690421
fix WebUpload example
2015-07-06 12:34:36 +03:00
John Doe
7596ed0742
inlining and enchancements
2015-07-06 12:34:09 +03:00
John Doe
0d969e9760
Fixes and HTTP Post update example
...
Because eboot first erases the space required for the new sketch, and
if the new sketch is larger then the old one, with the old way, part of
the beginning of new sketch will be deleted. Therefore for now I opted
to keep the max update size either half the available space for
sketches or what's left from the first one, whichever is smaller.
To be able to create a simple post mechanism for updates, I needed to
have a way to write the new binary, without knowing it's final size, so
I added an option to the end() method. Example in the WebServer
examples.
2015-07-06 12:32:28 +03:00
Ivan Grokhotkov
e5fcdbd9e3
ESP8266WebServer: reduce amount of string copying
2015-06-24 23:58:53 +03:00
John Doe
d441d8485e
allow proper content length handling
2015-06-16 00:25:34 +03:00
John Doe
a409ce2e6b
fix example not working on firefox
2015-06-12 20:31:09 +03:00
John Doe
fe562e6785
fix sd example returning bad json on empty folder
2015-06-09 01:34:59 +03:00
Ivan Grokhotkov
db1e033186
Remove SPIFFS wrapper
2015-05-23 10:13:59 +03:00
Ivan Grokhotkov
3422294a7f
Fix typo
2015-05-22 18:16:44 +03:00
Ivan Grokhotkov
8fdb824e11
Add setContentLength method to web server, update examples
...
related to #304
2015-05-22 17:57:30 +03:00
Ivan Grokhotkov
21d50e104c
Web server: disconnect at the end of callback, not after sendContent ( #304 )
2015-05-22 16:19:08 +03:00
ficeto
2e6fe502a4
Add File System Server Example
...
Serve files from the onboard flash
Edit them with the included file manager (http://esp8266fs.local/edit )
Create simple graphs filled with sensor data with the included simple
library (example is the index page, editable through the editor)
The sketch uses the new extension for packing files into SPIFFS image
and uploading it to your ESP8266
2015-05-21 21:23:14 +03:00
ficeto
866ab26433
add gzip content support for HTML File streaming
2015-05-21 14:05:00 +03:00
Markus Sattler
94850752b8
add some return headers to WebServer
2015-05-20 18:58:06 +02:00
ficeto
555813545c
Make the web server not waste heap
...
added some helper methods as well
2015-05-19 14:06:34 +03:00
Ivan Grokhotkov
6971cec922
Merge pull request #260 from UECIDE/esp8266
...
Two new examples
2015-05-18 14:29:24 +03:00
ficeto
1cd9cd312f
add folder api for SPIFFS
2015-05-16 02:29:26 +03:00
ficeto
0897f9e2e3
fix reading bytes from incoming POST upload
...
proper error and premature connection loss should be implemented to
handle weird cases where we might not get the whole post content
2015-05-15 02:22:00 +03:00
Matt Jenkins
5401d758f6
Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266
2015-05-14 13:31:59 +01:00
Ivan Grokhotkov
3c9d1f20bb
Merge branch 'ficeto-esp8266' into esp8266
...
* ficeto-esp8266:
add template methods for stream to stream writes to SD and FS
alignment not needed. we use fixed addresses
Rework SPIFFS API to be more Arduino like
fix missed edits
disable automount
fix SPIFFS to work
pull get/set NoDelay for WiFiClient
Add SPIFFS Support
export sketch data folder to the build config
Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
add template client write
Revert "Add WiFiClient.write for Stream"
Revert "Edit SD Server example to use the new Write(Stream) method"
Edit SD Server example to use the new Write(Stream) method
Add WiFiClient.write for Stream
make upload callback packets aligned to defined size
Conflicts:
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.cpp
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.h
2015-05-14 14:38:22 +03:00
Ivan Grokhotkov
36d0968ada
Web server refactoring
2015-05-14 13:33:12 +03:00
Matt Jenkins
46391b60e6
Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266
2015-05-14 11:31:09 +01:00
ficeto
cde17ac259
Merge pull request #19 from esp8266/esp8266
...
pull latest changes
2015-05-14 11:48:36 +03:00
Ivan Grokhotkov
ce73ac216b
fix SDWebServer sample
2015-05-14 02:47:39 +03:00
ficeto
8d1c59842e
Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
...
This reverts commit 163a98375637ab8e3e177bb7853303e397e39dc0.
2015-05-13 12:48:14 +03:00
ficeto
2f45612bb8
Revert "Edit SD Server example to use the new Write(Stream) method"
...
This reverts commit 4ae8a6d631d532409dde5ea35af03bccbb62974f.
2015-05-13 12:15:52 +03:00
ficeto
30228c3641
Edit SD Server example to use the new Write(Stream) method
2015-05-13 12:09:34 +03:00
ficeto
c0fdd09132
make upload callback packets aligned to defined size
...
having this a multiple of 512 bytes helps writing to SDcard
2048 looks reasonable and fast, but could be lowered if too much
2015-05-13 01:09:44 +03:00
Matt Jenkins
6f22f15e4d
Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266
2015-05-12 20:39:05 +01:00
Matt Jenkins
bf2c3d04e2
Added advanced web server demo
2015-05-12 20:13:48 +01:00
Ivan Grokhotkov
89248032d6
Merge branch 'esp8266' of https://github.com/ficeto/Arduino into esp8266
...
Conflicts:
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
2015-05-12 18:58:10 +03:00
Ivan Grokhotkov
699b06b875
implement async replies in mDNS library
...
No need to call mdns.update() from loop() any more.
2015-05-12 17:59:24 +03:00
ficeto
1f657fab73
plaintext POST fixes and rework of the SD example
...
Added a single file web editor/browser/uploader and all needed methods
to work with the files on the SD Card
2015-05-11 13:43:26 +03:00
ficeto
7001086920
fix binary file http upload
2015-05-09 14:21:53 +03:00
ficeto
7e0a104cb5
fix huge leak
2015-05-08 03:30:41 +03:00
ficeto
a924ba1336
add proper POST support and more methods
...
GET params are always added
plain POST is added to the GET arguments
Uploads are handled by separate handler
2015-05-08 02:45:03 +03:00
ficeto
1cb920f713
fixes for sd server example
2015-05-07 16:42:10 +03:00
ficeto
7be8c1d270
overlooked duplicate name
2015-05-07 12:40:56 +03:00
ficeto
ecfac7cd6c
add SD Card Web Server example
...
working fine with the latest wifi lib
2015-05-07 12:38:56 +03:00
Ivan Grokhotkov
95832b0e2f
fix HelloServer sample
...
close #168
2015-05-05 13:57:35 +03:00
ficeto
3a7846a574
missed led and fixed output to make more sense
2015-05-01 13:00:17 +03:00
ficeto
d6ae950c26
Add led to WebServer example
...
This reverts commit 43be35c4de9618c21d04fe1d5056143b9b55ffd3.
2015-05-01 12:32:37 +03:00