Commit Graph

326 Commits

Author SHA1 Message Date
Adrian Scillato 8b3679a39b
Add SO128 to WebUI (HTTP API ENABLE) 2021-08-16 18:45:24 -03:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 4ed6335428 Add referer related debug info 2021-08-15 15:51:29 +02:00
Theo Arends 15312f8829 Add disabling web referer check default blocking HTTP web commands
Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)
2021-08-15 13:15:33 +02:00
Theo Arends 7380f85d8d Revert "Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)"
This reverts commit 996aaf26cc.
2021-08-15 13:04:57 +02:00
Theo Arends 996aaf26cc Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828) 2021-08-15 12:59:21 +02:00
Adrian Scillato 3d58912ef1
Set CORS as an optional feature in Webserver 2021-08-05 12:55:07 -03:00
Theo Arends 65b7034b0c Support for second DNS server 2021-07-29 16:57:04 +02:00
Theo Arends 3d37712b27 Change message ``Upload buffer miscompare`` into ``Not enough space`` 2021-07-22 15:14:58 +02:00
Stephan Hadinger 1682582bea Disable PSRAM on unsupported hardware
Either ESP32 rev1/2 that needs special fixes
`-DHAS_PSRAM_FIX -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround`
or ESP32-PICO-V3-02 that requires esp-idf 4.4
2021-07-18 19:43:33 +02:00
Theo Arends 6cd9a7d899 Add command ``SetSensor1..127 0|1`` to globally disable individual sensor driver 2021-07-14 14:20:50 +02:00
Adrian Scillato bb8e787947
Initial Wi-Fi Config: Fix Bug with SAVEDATA
In some conditions, if the save button is pressed more than once, or the page is refreshed several times, the Wi-Fi credentials checking routine was disabling SAVEDATA in flash. This Fixs that condition.
2021-07-09 13:27:47 -03:00
Adrian Scillato fb4aac574e
Wi-Fi Initial Setup: Workaround for 11n Only Routers
Workaround for the hardware limitation of ESP8266. In STA+AP mode it only supports 11b/g. In STA only mode it supports 11b/g/n.
2021-07-05 10:00:10 -03:00
Theo Arends 512d912b77 Change setting hostname to fixing ArduinoESP32 core 2.0.0 2021-07-05 14:50:33 +02:00
Theo Arends e02b58a6ed Refactor ShowFreeMem 2021-06-25 17:09:53 +02:00
Theo Arends 4187cc7818 Remove ProgramFlashSize from ESP32 Gui 2021-06-20 17:20:20 +02:00
Theo Arends 37d6548fd2 Speed up initial GUI console refresh 2021-06-19 15:22:17 +02:00
Adrian Scillato 35c0e991b6
Allow Captive Portal to be optional 2021-06-15 20:39:49 -03:00
Stephan Hadinger b622c53cdd Esp32c3 fix template command and Web UI 2021-06-14 21:32:07 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 446706f16d Prep for larger log buffer 2021-06-09 17:24:28 +02:00
Stephan Hadinger 0e3006c46f Add preliminary support for Esp32C3 - RiscV based 2021-06-08 20:31:01 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Theo Arends 4ad1c40a23 Refactor _WSContentSendBuffer 2021-06-04 17:16:04 +02:00
Adrian Scillato ae133f1933
Add actual Wi-Fi mode (b/g/n) to INFORMATION MENU
And some code cleaning
2021-06-04 09:54:26 -03:00
Adrian Scillato 4acfd23436
Merge pull request #12242 from barbudor/fix_wifimanager_reset_wificonfig
WifiManager save wificonfig from settings, do it only once
2021-06-04 09:32:57 -03:00
Theo Arends 28984a33db Move webserver content from fixed mem to heap 2021-06-04 11:04:52 +02:00
Stephan Hadinger 6951c5aee5 Extend ext_vsnprintf to auto-malloc buffer 2021-06-03 22:11:14 +02:00
Theo Arends d8664da889 Refactor WebserverSendContent 2021-05-31 16:58:32 +02:00
Theo Arends aaa9e3d0e6 Provide weblog without heap use 2021-05-31 16:17:45 +02:00
Theo Arends 317483bf09 Comments to longer logging support 2021-05-30 22:32:37 +02:00
Barbudor 08fd084947 save wificonfig from settings, do it only once 2021-05-30 21:29:15 +02:00
Theo Arends c55babd415 Fix ESP32 compile error 2021-05-30 18:47:39 +02:00
Theo Arends 0c8e10ffc4 Add support for longer (logging) text strings 2021-05-30 16:40:52 +02:00
Stephan Hadinger c4bf4e0401 Berrry web button demo
- demo of a simple button on the main page and associated value as sensor
- fixed a bug in event dispatcher that would stop the event to the first driver to handle it
- cleaned directories in Berry examples
2021-05-29 14:27:01 +02:00
Theo Arends 77760dc2cc Prep virtual mqtt_data prt2 2021-05-23 16:50:17 +02:00
Adrian Scillato bbac6c70d2
Show new IP in the Wi-Fi Initial Config 2021-05-12 15:27:47 -03:00
Theo Arends 17996ce87c Prep for MQTT Settings save 2021-05-08 15:26:23 +02:00
Theo Arends 42708d0e09 Prep for MQTT Settings save 2021-05-07 15:10:28 +02:00
Theo Arends cdcb1533b9 Prep for MQTT Settings save 2021-05-06 15:23:41 +02:00
Theo Arends 1bb0975d89 Refactor Gui Save Settings to unlimited (heap) parameter size 2021-05-04 16:35:21 +02:00
Theo Arends 10484fbdce Refactor Gui Configure Domoticz save settings 2021-05-03 16:15:47 +02:00
Theo Arends f0f6f94374 Fix minimal compilation 2021-05-03 12:49:41 +02:00
Theo Arends 5b94f4450a Fix StrCaseStr_P() and refactor GUI save settings 2021-05-02 15:28:47 +02:00
Theo Arends f74a9bc77d Refactor GUI Configure Wifi and Configure Logging save settings 2021-05-01 18:35:20 +02:00
Theo Arends e47f436e27 Support longer templates in GUI Configure Other 2021-05-01 18:04:43 +02:00
Theo Arends 1ace2d2292 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 17:22:38 +02:00
Theo Arends 2bf681dbe2 Revert "Add initial support for optional for template specific commands"
This reverts commit b44c16d861.
2021-04-25 17:03:11 +02:00
Theo Arends b44c16d861 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 16:51:18 +02:00