Skip to content

[pull] master from marcoskirsch:master#1

Open
pull[bot] wants to merge 124 commits intoKillerGoldFisch:masterfrom
marcoskirsch:master
Open

[pull] master from marcoskirsch:master#1
pull[bot] wants to merge 124 commits intoKillerGoldFisch:masterfrom
marcoskirsch:master

Conversation

@pull
Copy link

@pull pull bot commented Apr 25, 2021

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Marcos Kirsch and others added 30 commits July 20, 2015 21:13
getting css.gz js.gz and so by browser from server.
Added handling of watchdog for serving bigger files
matching of mime type in http request header that contain a charset a…
Fix a memory leak when the connection is dropped by the client side
…ing multiple connection:send() operations. These changes ensure we yield after every send except the last one.
…ifically, call coroutine.yield() after each connection:send() except the last one, since we can no longer queue sends.
HHHartmann and others added 27 commits June 1, 2017 22:36
* script for controlling garage that is aware of door states

* Overhaul garage door example

Hardware now calls for reed relay in order to be able to tell the state
of the switch. This way, we can have distinct open/close operations
that error if the door is already in that state. Allows for potential
better integration with home automation systems.

* Prepare for push to GitHub

* Restore defaults

* Make HTTP auth realm match zeroconf networking name
…tion. (#94)

* Move server initialization out of init.lua and into new httpserver-init.lua

* Use wildcard for finding server files to upload.

* Break init.lua up into 3 files. Move all configuration to httpserver.conf.

New files are:
* httpserver-compile.lua
* httpserver-wifi.lua
* httpserver-init.lua
* Handle "nil", add more info

* Split up subnet mask, move unit to the end.
* Handle "nil", add more info

* Split up subnet mask, move unit to the end.

* typos
See node_info.lua for usage example.
Fixed bug when you cannot browse or D&D same file multiple times without reloading the whole page.
appending '.dnl' to the filename shortens the available filename length by 4 chars. Now a long filename ist cut off first and then the dnl is appended resulting in a unique but short enough temp filename.
use sjson instead of cjson
Also take care of backward compatibility before 2.1
For lazy people like me for not having to change the page by hand every
time.
+ adding 2 more cars.
* allow uploading files not only to http + replace symbol images by unicode symbols

allow uploading files to root dir and http.
+ replace symbol images by unicode symbols

* backend for uploading arbitrary files

* fix uploading to http
* Fixed global assignment that should be local

Made result variable be local, see Issue #113

* Made global variable local

Made ASCII variable be local, see Issue #113

* Made more variables local

Related to Issue #113. questionMarkPos, and b,c,d,e,f all are global in scope, and are not cleared from memory, so leak.
Frankly, b, c, d, e, and f are not used either, but will now get GC'd later, if they ever were assigned, so not problematic
line 114 also has _ and i to make local too, so were put on their own line.
i on line 24 also was unnecessarily global, and undetected in issue #113

* Made module more local

Made the basicAuth table local in scope. Since it is returned when dofile is called in httpserver.lua, that already has a correctly scoped table, 'auth'. This is related to issue #113, and should reduce memory loss to globals

* Made bufferedConnection local

bufferedConnection was global and didn't have to be. Part of issue #113.
Now no longer remains in _G (globals table) after a connection has closed.
* 1st draft to serve static files faster

* Allow serving 5 images in a page

the 6th image cannot be served as the esp does not open more than 5 connections at the same time

* win the prize

* Update comments
* added
- usage info for LFS targets
- lfs.img build rule (requires luac.cross from nodemcu-firmware)
- basic autodetection for USB serial device

* updated LFS code for recent nodemcu versions

* safe default (SOFTAP)

* Revert "safe default (SOFTAP)"

This reverts commit a76db2a.

* removed compatibility code

* updated nodemcu-firmware requirement

Co-authored-by: langausd <langausd@github.com>
@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Apr 25, 2021
Co-authored-by: Sergey Matsievskiy <matsievskiy@fastwel.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.