Commit Graph

342 Commits

Author SHA1 Message Date
Stephan Hadinger 00b0ae245a Add HTTPS support to ``WebQuery`` (ESP32x only) 2021-11-26 18:58:35 +01:00
Theo Arends aa79f73aa9 Remove TWDT remnants 2021-11-04 17:41:03 +01:00
Theo Arends 4c65de2561 Fix OTA watchdog caused by TWDTLoop() 2021-10-27 16:22:50 +02:00
Stephan Hadinger f4dc0090b0 Move TWDT watchdog from esp-idf to Tasmota 2021-10-19 21:00:48 +02:00
Theo Arends eaeacbfa93 Fix negative heap fragmentation 2021-10-08 11:52:50 +02:00
Theo Arends 7c71c3bdd8 Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>``
Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>`` to extent HTTP requests (#13209)
2021-09-24 11:34:44 +02:00
Stephan Hadinger b58958b8c6 ESP32 add GPIO 6/7/8/11 to template and remove GPIO 28-31 (remapping so backwards compatible) 2021-09-05 19:43:53 +02:00
Stephan Hadinger a0693c6ed1 Support for ESP32S2 GPIOs 2021-09-04 14:20:09 +02:00
Theo Arends 1c4bca8a8c Add command ``WebGetConfig <url>``
Add command ``WebGetConfig <url>`` if ``#define USE_WEBGETCONFIG`` is enabled to restore/init configuration from external webserver (#13034)
2021-09-02 10:46:29 +02:00
Barbudor 8d736b160d update logs 2021-09-01 21:37:21 +02:00
Barbudor cc51a37738 add command webgetconfig 2021-09-01 21:30:54 +02:00
Theo Arends 43642e0b8a Turn HTTP API (command ``SetOption128 1``) default on for backward compatibility 2021-08-20 15:54:26 +02:00
Theo Arends ae67c5fa57
Merge pull request #12900 from ascillato/WEBUI_HTTP-API-ENABLING
WebUI: Add option for enabling HTTP API
2021-08-20 15:25:23 +02:00
Adrian Scillato b50775bcf9
http referer error message 2021-08-17 13:48:41 -03:00
Adrian Scillato cbab3bdfb0
http referer error message 2021-08-17 13:45:30 -03:00
Adrian Scillato 079cd54088
Moved HTTP Referer Loglevel from 3 to 2 2021-08-17 13:23:49 -03:00
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