Commit Graph
386 Commits
Author SHA1 Message Date
tablatronix 573f8113ef fixes #691 2018-08-07 12:48:00 -05:00
tablatronix 2c41af00f5 fixes #671 2018-07-22 10:41:50 -05:00
Shawn A cba606b846 password invalid better error msg 2018-07-20 16:23:38 -05:00
Shawn A 8d5e9e3977 esp32 autoconnect is deprecated
https://github.com/espressif/esp-idf/issues/1960
2018-07-20 16:16:08 -05:00
Shawn A 24de319c7e issues with captive portals and preloadscan hammering 2018-07-19 16:54:38 -05:00
Shawn A 37cdda33c7 adds setClass(invert) black theme
adds class string to body, invert(black) is built in
` wm.setClass("invert");`
2018-07-19 13:10:37 -05:00
Shawn A d140ccff84 adds setCountry, default US
accepts US JP CN, codes must be added to strings and WiFiSetCountry atm
2018-07-19 10:02:53 -05:00
Shawn A a51298ea54 Merge branch 'development' of https://github.com/tzapu/WiFiManager into development 2018-07-19 08:40:48 -05:00
Shawn A f1fd553ac6 fix autoreconnect, forgot we use event for other stuff 2018-07-19 08:40:46 -05:00
0x1abin 0e6ed38986 compat macos newline 2018-07-19 14:36:18 +08:00
tablatronix a39b96be9c disable autoreconect esp32 2018-07-18 16:25:53 -05:00
Shawn A 08bb2322aa Oops 2018-07-16 17:07:31 -05:00
Shawn A 9ab4deaf5b clean up param length
Just changing to not modify argument, spacing
2018-07-16 08:06:03 -05:00
Christopher Liebman 2fac07cbf0 WiFiManagerParameter::setValue used length of default value for i
allocation and not passed length. Changed to use passed length or
length of default value if > passed length.
2018-07-15 14:39:11 -07:00
Christopher Liebman 85dd747949 Use hasParam() instead of checking server.arg() for NULL, it returns a String anyway.
Don't use .c_str() when its being assigned to a String anyway
2018-07-15 10:44:06 -07:00
tablatronix fc84e7a260 trying to fix param issues when param is out of scope
Ideally this should be done entirely different so params can follow wm scope and object lifetime..
2018-07-13 23:52:36 -05:00
tablatronix 933f86720a param was using user length for strncpy, causing overflows 2018-07-13 23:43:07 -05:00
tablatronix abbc110656 Merge branch 'development' of https://github.com/tzapu/WiFiManager into development 2018-07-13 18:41:16 -05:00
tablatronix 17f2316ea8 fixes #655 2018-07-13 18:41:14 -05:00
tablatronix 24d317b9da fix #655 2018-07-13 18:27:50 -05:00
Chris Liebman e235a45d5a value is PROGMEM too.... 2018-07-08 08:32:41 -07:00
Christopher Liebman aeba5478ee fix bad progmem access introduced in https://github.com/tzapu/WiFiManager/pull/608 2018-07-08 07:14:11 -07:00
tablatronix b9f6b472a7 #645 comments 2018-07-07 09:45:24 -05:00
Christopher Liebman 5a06f29c5b In https://github.com/esp8266/Arduino/pull/4889 the core was modified to
disable WPS by default.  Its only enabled if NO_EXTRA_4K_HEAP is defined.
To enable you must re-run the board manager with --noextra4kheap.
This addes #ifdef NO_EXTRA_4K_HEAP arround WPS usage so it won't generate
compiler errors.
2018-07-07 06:26:36 -07:00
Shawn A c0187a60e1 fix esp32 usermode 2018-06-28 12:54:49 -05:00
Shawn A 0ab6f57239 fix esp32 resetsettings 2018-06-28 12:53:48 -05:00
Shawn A 8f2791f908 fix esp32 fatal 2018-06-28 11:53:48 -05:00
Shawn A 8d7da2fd8b FIx esp32 updates
Webserver now builtin to esp32 lib, esp32 persistent still not implemented properly, fixes erase again, fixes save again
2018-06-27 16:19:12 -05:00
Shawn A 00b14d5d1c Merge pull request #608 from ohadcn/patch-1
add CORS headers
2018-06-19 12:46:45 -05:00
Shawn A bff3d75f91 Merge pull request #584 from cmarrin/development
Changed setAPCallback and setSaveConfigCallback to take std::function…
2018-06-19 11:35:18 -05:00
Shawn A e3d91a03ff add esp32 persistent test support
persistent support was added via a PR, but not very well, it is buggy.
2018-06-18 15:28:32 -05:00
Shawn A b3e19041ff fix esp32 erase w persistent 2018-06-18 15:27:47 -05:00
Shawn A 10088c71f3 Move all wifi functions out of constructor
Cannot use wifi in constructor on esp32, as it is not available yet,
2018-06-18 15:27:18 -05:00
Shawn A 01a5646317 Merge branch 'development' of https://github.com/tzapu/WiFiManager into development 2018-06-18 11:40:05 -05:00
Shawn A 5066b86102 fix esp32 new bugs
esp32 only uses persistent on wifiLowLevelInit
        if(!persistent){
          esp_wifi_set_storage(WIFI_STORAGE_RAM);
        }
which only gets applied during certain functions, namely changing modes, or turning on wifi
2018-06-18 11:40:01 -05:00
ohad 128214a159 add CORS headers
this will allow external portal on the network to send credentials via browser.
2018-05-14 11:47:13 +03:00
tablatronix 718a8c8f4c fixing up setmenu docblocks 2018-04-26 20:46:00 -05:00
tablatronix 3c8af53440 comments, debugging 2018-04-25 11:12:12 -05:00
tablatronix 042640924f fix menu output
removed test menu output, removed ref , not sure why I put that there....
2018-04-19 19:01:50 -05:00
tablatronix f8ae461bfd fix savetimeout, too short, made optional 2018-04-09 19:48:31 -05:00
Chris Marrin 174bb615e6 Changed setAPCallback and setSaveConfigCallback to take std::function params
This allows Predicates and Lambdas to be passed. Still allows bare function pointers
so this patch is fully backward compatible. Tested on WiFiManager examples for
backward compatibility and on my own project (OfficeClock) for handling lambdas with
captured variables
2018-04-07 09:13:48 -07:00
Shawn A 82309e7a84 comment 2018-04-05 12:38:34 -05:00
Shawn A b682d8996b Merge branch 'development' of https://github.com/tzapu/WiFiManager into development 2018-04-05 12:34:56 -05:00
Shawn A c5b3637350 fixes #581
adds htmlentities to ssid outputs, limited replacements for now
2018-04-05 12:34:27 -05:00
Shawn A 5b3ac4236e fix some error logging 2018-04-05 12:29:42 -05:00
Shawn A 87c2eb42b6 fixup scnanetworks 2018-04-05 12:29:11 -05:00
tablatronix 7ec3b99020 clean up defines, removed stuff for memory 2018-03-31 12:42:06 -05:00
tablatronix 49104d4bbb adds chip revision efuse
not sure what use this is, as getChipRevision is usually the same anyway... shrug
2018-03-31 12:41:47 -05:00
Shawn A 41b29fa08c fix erroneous error debug 2018-03-28 09:38:07 -05:00
Shawn A ef70b49e98 fix nvs erase 2018-03-28 08:27:57 -05:00