Commit Graph
11 Commits
Author SHA1 Message Date
TD-er c66cfadc08 Merge branch 'mega' into feature/MQTTclientID 2020-04-09 23:17:19 +02:00
Gijs Noorlander 3ef39ca6c1 [Webserver] Fix ambiguous function definitions for selectors
The form selectors were quite ambiguous, which could lead to build issues
2020-04-09 15:52:40 +02:00
Gijs Noorlander ec7a1d2715 [MQTT] Move global MQTT parameters to controller settings 2020-03-31 16:11:33 +02:00
Gijs Noorlander da4bb18c7b [ESP32] Rename WebServer object to web_server to fix build issues
ESP32's WebServer class has the same name as our global object had.
So you could only define it in ESPEasy.ino.

Now it is renamed to `web_server` and now ESP32 and ESP8266 will happily build with the global object defined in .h/.cpp.
2020-03-03 01:23:27 +01:00
Gijs Noorlander b386b73bd2 [Cleanup] Refactor parseSystemVariables + move time functions to .h/.cpp
Trying to make the parseSystemVariables function smaller
Moved time related functions to their respective .h/.cpp classes.
This will make the code a bit more clean and also reduces the build size.
2020-03-03 00:01:45 +01:00
Gijs Noorlander 37538f4124 [Build Size] Replace all TXBuffer += calls where possible
The TXBuffer is a "header only" implementation.
This means it may be compiled "inline" and thus takes quite a bit of compiled code.
This makes the binary larger and slows the ESP down.

Now it is even possible to make core 2.6.3 builds using "minimal OTA".
The "Dev" build is roughly 55k smaller.
2020-02-28 02:28:03 +01:00
TD-er 52f15eaa57 [SendToHttp] Add setting for waiting for ack 2019-12-16 00:05:52 +01:00
Gijs Noorlander 099a2071c7 [Commands] Add flag to be a bit more tolerant in last argument parsing
A lot of people were running into issues with some commands no longer working after the changes of strict rules parsing.

This flag in the advanced settings may help out a bit.
Also the logs are made a bit more elaborate to describe the issue.
2019-12-04 11:54:41 +01:00
Gijs Noorlander 52a2ffd4af [Minimal OTA] Add defines to enable/disable any web page 2019-10-29 15:31:24 +01:00
Gijs Noorlander 49012df16e [Cleanup] Uncrustify of all WebServer_*.ino files 2019-08-09 17:24:47 +02:00
Gijs Noorlander 9bff07fd65 [Cleanup] Split Webserver.ino is separate files per page 2019-08-09 17:23:38 +02:00