718 Commits
Author SHA1 Message Date
Rob Aleck 32655b7226 Update WiFiManager.cpp (#1812) 2025-03-28 19:32:57 -05:00
Pascal Brunot b67b7828b9 Fix compilation warning (#1740)
Compiler warning : format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t'
he compiler warning arises because the format specifier %lu expects a long unsigned int, but the variable free is of type uint32_t (which is typically unsigned int). The ESP32, part of the Espressif32 family, typically defines uint32_t as unsigned int, so using the %u format specifier is appropriate.
2025-02-04 20:11:10 -06:00
Dave MadisonandAndreas Breitschopp 8e4c612fa3 Add user custom header/footer functions (#1769)
* Added setCustomTopBodyElement allowing to define custom HTML to be added at the top of the "<body>" tag.

* Change custom top body element to 'header'

This will make more sense once a footer is added. No functional changes.

* Make custom header concat conditional

Matching the _bodyClass comparison above

* Create getHTTPEnd function

* Add custom body footer functionality

* Fix <small> close tag on update page

* Add missing HTTP ends to exit and close

* Remove 'immediately' from header/footer desc

It's not immediate, the 'wrap' div is added before/after.

---------

Co-authored-by: Andreas Breitschopp <a-breitschopp@ab-tools.com>
2024-12-12 16:40:11 -06:00
Jack 47342ed6f7 Force remove DNS input from Captive portal issue #1733 (#1745) 2024-12-10 21:02:41 -06:00
Dave Madison 9333ec68ed Add CSS body classes for each page (#1767)
* Add body classes argument

Note that the additional function argument for getHTTPHead() includes a default argument for backwards compatibility with the API.

* Add page-specific classes

Allows easy styling of each page

* Change root CSS class to 'home'

Trying to avoid confusion between the class for the root level and the CSS ":root" pseudo-class

* Use conditional body class spacing

Avoids an extra space if a body class is set, but an empty string is passed to the function
2024-12-10 20:56:58 -06:00
DarkZeros 76efbd5c36 Fix Debug Log format (#1722) 2024-03-17 15:58:54 -05:00
tablatronix d8f8d5478a Adds connect status for ambiguous state
Will find a way to clear this up using assumption based on reason codes, wrong password is very ambiguous with PMF and modern APs
2024-02-16 22:07:21 -06:00
tablatronix 45675eae3e add debug level to version str 2024-02-16 22:02:42 -06:00
tablatronix 91451f58bf typo #1710 2024-02-15 08:59:09 -06:00
tablatronix 304d489c2f fix for #1710 2024-02-14 23:41:56 -06:00
tablatronix e76e4c27af #1703 2024-01-16 22:13:54 -06:00
tablatronix c2af8e55d6 Update WiFiManager.cpp 2024-01-16 22:11:14 -06:00
tablatronix c09a3584dd revert, S3 platform does not have this yet 2023-12-31 12:39:19 -06:00
tablatronix 0b734828ba restore getWiFiIsSaved adds lowlevelinit 2023-12-16 22:16:20 -06:00
tablatronix 3efb536629 disable captiveportal for webportal 2023-11-17 19:37:44 -06:00
tablatronix 9df7acdeeb doh 2023-11-17 12:14:04 -06:00
tablatronix 18145e42ba update serverloc 2023-11-16 21:32:16 -06:00
tablatronix 0e2016879b #1558 fix?
Detect password only change
2023-11-15 21:56:07 -06:00
tablatronix f328cd05cd possible fixes for these
Not entirely sure why esp8266 is not auto casting these
2023-10-10 22:52:41 -05:00
tablatronix 1cc7df59c2 add delays to some loops
These are fast and should not be needed but better safe I suppose
2023-10-10 07:09:39 -05:00
tablatronix 5a663db42e Fix debug_max 2023-10-09 22:22:02 -05:00
Nicolas T 6a92492bee Update WiFiManager.cpp (#1657) 2023-09-21 08:59:06 -05:00
tablatronix 0d07e09a44 Merge branch 'master' of https://github.com/tzapu/WiFiManager 2023-09-18 18:20:48 -05:00
tablatronix 5a8e869a7e add workaround for #1543
@etoten thanks, slight change, Might have to add ipv6 detection instead and handle it that way
2023-09-18 18:18:12 -05:00
tablatronix 465b44d734 localize debuglevel enum, add method 2023-09-18 18:14:18 -05:00
tablatronix eb27c525e3 move 404 handler public, remove 404 info, add examples for overrides 2023-09-08 13:27:15 -05:00
tablatronix 9b8de0d77f #1610 quick fix
dirty fix, will have to add proper flashstring helper casts instead probably
2023-05-18 22:51:04 -05:00
tablatronix e9bbb6c588 fixes #1608 2023-05-16 20:14:38 -05:00
tablatronix aa8856adf3 #1583 missed this one 2023-05-02 15:03:29 -05:00
tablatronix 4611c75dfb fix #1540 2023-03-22 19:35:57 -05:00
tablatronix 8cf3b43efb Remove hacky scope check, param length 0 2023-03-15 21:24:44 -05:00
tablatronix ca5df00d60 fix HTTPSend copy 2023-03-15 21:17:46 -05:00
tablatronix ccf04aa5b0 added some http debugging 2023-03-15 17:54:47 -05:00
tablatronix 297123b5d7 disable hallread
I will add esp detection for this stuff before readding
2022-12-16 11:40:15 -06:00
tablatronix 32b6bda04c fixes #1532 2022-12-15 14:41:21 -06:00
tablatronix 118ca1ec30 fixes #1528 2022-12-08 10:15:06 -06:00
tablatronix 701d58fd07 fixes #1511 2022-10-14 11:35:51 -05:00
tablatronix 476952c2da add back button to saves 2022-10-04 16:35:43 -05:00
tablatronix 7fa6387d99 #1504 2022-09-21 11:55:56 -05:00
Thiti Yamsung 993b1ad9a9 fix: not found getChipModel method for ESP8266 (#1503) 2022-09-21 06:54:31 -05:00
tablatronix 4ff7d7049a add chip model etc to debugging 2022-09-20 22:11:35 -05:00
tablatronix 30efa2e028 add esp model and wifi mode status to info page headers 2022-09-20 22:11:15 -05:00
tablatronix 6d23d7591f remove hall sensor, fix temp 2022-09-20 22:09:57 -05:00
tablatronix 9eee18ab32 add esp32 temp sensor back 2022-09-20 22:08:54 -05:00
tablatronix d5536fbc69 remove workardound for arduino 2.0.5 #1482 2022-09-20 19:37:26 -05:00
tablatronix ac2cd86f21 Merge branch 'master' of https://github.com/tzapu/WiFiManager 2022-09-16 10:22:48 -05:00
tablatronix 3545410ba4 remove captive portal check on ota done, remove serial debug 2022-09-16 10:22:34 -05:00
tablatronix dda1c45fa9 disable captive portal checks on ota uploades 2022-09-16 10:21:52 -05:00
tablatronix 297a1af260 clean up 2022-09-16 10:21:34 -05:00
Thiti Yamsung c34770ec32 feat(callback): add config portal timeout callback for handle config portal timeout (#1497) 2022-09-15 07:07:55 -05:00