Commit Graph

353 Commits

Author SHA1 Message Date
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
Theo Arends b2b2603d39 Add hardware Id to GUI Information page
Add hardware Id to GUI Information page (#11757)
2021-04-17 15:57:35 +02:00
Theo Arends f7b45ffddb Redesigned GUI
Redesigned GUI by moving non-configuration buttons from ``Configuration`` to new submenu ``Consoles``
2021-04-16 11:40:38 +02:00
Theo Arends 571649a082 Tasmotize M5Core2 support 2021-04-15 17:21:18 +02:00
Theo Arends 31734c20c1 Bump version to 9.3.1.3 2021-04-14 12:39:07 +02:00
Theo Arends 06ac5c4053 Add scan start logging 2021-04-13 17:00:54 +02:00
Theo Arends 22fcf5061d Fix webserver enhanced wifi scan 2021-04-13 16:04:22 +02:00
Theo Arends 3751a3ff07 Every sperm counts 2021-04-13 12:52:09 +02:00
Theo Arends 27cee8868b Refactor new webserver boarding code 2021-04-13 12:41:13 +02:00
Theo Arends 6fda2401e3 Refactor new webserver boarding code 2021-04-13 12:00:42 +02:00
Theo Arends 919437cebe
Merge pull request #11693 from ascillato/New_WiFi_Config
Simplified Initial WiFi Configuration
2021-04-13 10:46:39 +02:00
Theo Arends ecd9c37db9 Fix Gui save settings regression (#11698) 2021-04-13 10:15:35 +02:00
Adrian Scillato 6a48b1a63d
Webserver: Simplify Initial WiFi Configuration 2021-04-12 13:36:43 -03:00
Theo Arends b8f2c97fbe Refactor GUI save settings (prt3) 2021-04-09 12:18:26 +02:00
Theo Arends 1a2addfc16 Refactor GUI save settings (prt2) 2021-04-08 17:57:37 +02:00
Theo Arends b6e77cd3d7 Change ``Backlog 1;`` into ``Backlog0`` 2021-04-07 18:22:20 +02:00
Theo Arends d08f9bc315 Refactor GUI save parameters (Prt1) 2021-04-07 18:10:34 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 74537c6078 Prep Shelly Dimmer 2 native firmware upload 2021-04-05 16:57:48 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends fd52bc4a39 GUI more compact relay state display 2021-04-03 16:17:48 +02:00
Theo Arends e3c1aa8836 Better align dynamic data 2021-04-02 16:16:38 +02:00
Theo Arends a756c7437e Change limit number of relay/button columns in GUI to 8
Change limit number of relay/button columns in GUI to 8 (#11546)
2021-04-02 15:33:05 +02:00
Theo Arends 9efeceafd9 Remove text "Module" from GUI main page 2021-03-21 14:23:02 +01:00
Theo Arends 89d8fbb0ec Change ARRAY_SIZE() to nitems() 2021-02-28 12:50:02 +01:00
Theo Arends d84b5fdfd8 Fix web request accepts wrong password
Fix web request accepts wrong password (#11039)
2021-02-21 14:17:51 +01:00
gemu2015 c528bf20a9 remove spiffs from sendmail lib 2021-02-18 16:35:25 +01:00
Theo Arends 516f77266d
Update xdrv_01_webserver.ino
Add language specific decimal dot
2021-02-15 13:31:55 +01:00
Stephan Hadinger 091e8566eb Showing more precise memory heap in web page only 2021-02-15 12:24:23 +01:00
Theo Arends b073905a2e Consolidate ESP specific functions 2021-02-08 11:34:29 +01:00
Theo Arends 607654297b Add Server to HTTP header (#10831) 2021-02-04 18:06:34 +01:00
Theo Arends d5542b1a66 ESP32 increase number of relay GPIOs from 8 to 28 2021-02-04 17:06:45 +01:00
Theo Arends bfde36e954 Add fragmentation translations 2021-02-04 15:19:59 +01:00
Stephan Hadinger bf26ba3427 Reduce code size 2021-02-03 20:46:20 +01:00
Stephan Hadinger ca82ed07c9 Publish more precise Free Heap metric 2021-02-03 20:35:01 +01:00
Theo Arends cd38179f7f Prep ESP32S2 2021-02-03 12:22:17 +01:00
Theo Arends d8ea10877e Cleanup webserver 2021-02-02 15:48:29 +01:00
Theo Arends f58d779b2b Add optional SSE demo 2021-02-02 14:57:53 +01:00
Theo Arends db615c5b0b Refactor some IP addresses 2021-01-27 12:03:20 +01:00
Theo Arends 20704ab700 Refactor dtostrfd 2021-01-26 16:26:00 +01:00
Theo Arends 069cf7390c Refactor webserver ip address 2021-01-25 17:25:56 +01:00
Theo Arends 129c26c695 Refactor module logging 2021-01-25 16:25:17 +01:00
Stephan Hadinger cf52f1c99e Added ext_snprintf to support extended types 2021-01-24 16:35:36 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
polarduck-dev 6ab6708c34
Merge branch 'development' into development 2021-01-19 16:39:31 +00:00
Theo Arends c5984875d6 Remove upload watchdog 2021-01-19 13:57:30 +01:00
Theo Arends 9a11d3613b Remove disable messages 2021-01-19 12:26:52 +01:00
Theo Arends 865b25dff9 Remove disable messages 2021-01-19 12:23:01 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
polarduck-dev ff08501b39 fixed IPv6 address acquisition 2021-01-18 15:32:58 +00:00
Theo Arends d99ba6992c Refactor BLE 2021-01-18 11:51:24 +01:00
Simon Hailes 37beaca119 Implements xdrv_52 - BLE_ESP32
Modifies xsns_52 - iBeacon,  and xsns_62 - MI32 to use the new BLE driver
2021-01-17 17:08:54 +00:00
Theo Arends a34f75f44c Fix locale File Management decimal point 2021-01-13 12:12:14 +01:00
Stephan Hadinger 800f86d56e Moving more to PROGMEM 2021-01-12 19:31:15 +01:00
Theo Arends 256f9fc285 Fix telegram response using UrlEncode
Fix telegram response using UrlEncode (#10486)
2021-01-11 14:50:43 +01:00
Theo Arends a283e6ab2e Quick fix upload exception 2021-01-11 09:50:31 +01:00
Theo Arends d53fa3234d Refactor web upload 2021-01-10 17:46:30 +01:00
Theo Arends 30d52acce0 Filemanager uses standard upload process 2021-01-09 18:19:15 +01:00
Theo Arends d6e71f48e7 Fix Blocked Loop error due to large file upload 2021-01-09 15:40:54 +01:00
Theo Arends 4faf48486b Add more logging to file upload 2021-01-09 15:28:47 +01:00
Theo Arends 4390fe03fe Refactor web authentication
Refactor web authentication
2021-01-08 14:10:34 +01:00
Theo Arends ff631ac322
Merge pull request #10451 from gorootde/feature/basic-auth-support
Added support for basic auth
2021-01-08 10:07:27 +01:00
Michael Kolb 84a07ce664 Added support for basic auth 2021-01-07 18:47:25 +01:00
Theo Arends 9d0a7e9bc4 Update filesystem GUI 2021-01-06 17:54:03 +01:00
Theo Arends f8de9150d0 Add rotary No Pullup GPIO selection
Add rotary No Pullup GPIO selection ``Rotary A/B_n`` (#10407)
2021-01-06 12:51:12 +01:00
Stephan Hadinger d0b426b505 Disable `USE_LIGHT`` light support for ZBBridge (saves 17.6kb) 2021-01-02 19:26:24 +01:00
Theo Arends 2b7d605696 Changed maximum chars in AddLog_P logging
Changed maximum chars in AddLog_P logging reduced from 700 to 128 (LOGSZ) to enhance stability
2021-01-02 16:20:15 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Simon Hailes cb71466bd4 webserver - move all compressed scripts to subfolders /html_uncompressed and /htmlcompressed.
Add utility tools/unishox/compress-html-uncompressed.py to compress all files found in tasmota/html_uncompressed and write compressed version to tasmota/htmlcompressed
2020-12-29 09:53:15 +00:00
Theo Arends 83b3aa576d Add BSSID and Signal Strength Indicator to GUI wifi scan result (#10253)
Add BSSID and Signal Strength Indicator to GUI wifi scan result (#10253)
2020-12-27 16:25:34 +01:00
Stephan Hadinger 51d39798d4 Reduce tasmota-minmal
Making `WebColor` and `Template` commands read-only
Saves 4kb on tasmota-minimal. No changes for other versions.
2020-12-27 14:13:23 +01:00
Theo Arends 9747dd4b5c Logging optimizations 2020-12-24 11:42:59 +01:00
Theo Arends 244611f12f Add logging buffer management 2020-12-22 15:26:07 +01:00
Theo Arends 5f7aacf13c Refactor logging 2020-12-19 17:29:14 +01:00