Commit Graph
169 Commits
Author SHA1 Message Date
Shawn A b0c61688d6 cleanup 2018-01-31 14:07:38 -06:00
Shawn A 68762e1741 typo 2018-01-31 14:03:33 -06:00
Shawn A a21f8cbc39 moved http strings to include, added token flags 2018-01-31 13:54:54 -06:00
Shawn A ccfddefaa1 oops 2018-01-31 12:57:49 -06:00
Shawn A 53c8addfdc debugging clean 2018-01-31 12:48:11 -06:00
Shawn A e5c263c414 fixes paramid issues
paramid must be alphanumeric and adds {I} token support to use ids as input names if we make that optional.
2018-01-31 12:23:25 -06:00
Shawn A e015efe8d0 fixup debugging 2018-01-31 09:30:46 -06:00
Shawn A 5f78d38f46 fix up parameters 2018-01-31 09:30:37 -06:00
Shawn A c8d89db529 oops 2018-01-30 14:00:39 -06:00
Shawn A ff973e1639 clean up parameters 2018-01-30 13:47:13 -06:00
Shawn A d61d9a67b1 Merge branch 'master' into development
conflicts resolved
2018-01-30 13:31:47 -06:00
Shawn A a4795b77f7 Merge pull request #374 from liebman/allocate-params-array
use malloc/free for WiFiManagerParameter* array instead of hard coding.
2018-01-30 12:29:30 -06:00
Shawn A 46a9431475 Merge branch 'master' into development 2018-01-30 12:10:13 -06:00
Shawn A 7fb35a9540 adds debug platform info 2018-01-28 09:57:20 -06:00
Shawn A 8595ea5d2c oops 2018-01-27 11:45:38 -06:00
Shawn A dbb091d1b7 fix info page 2018-01-27 11:40:05 -06:00
Shawn A 8364a6a85d added some esp abstraction to make ports easier 2018-01-23 11:39:12 -06:00
Shawn A b266cd5934 fix open tag on info 2018-01-10 10:52:36 -06:00
Shawn A d7976381e6 fix setCaptivePortalEnable 2018-01-10 10:02:46 -06:00
Christopher Liebman 5c6252fe45 should use delete[] not delete 2017-12-09 08:37:35 -08:00
Christopher Liebman a5ff5cb9e4 Add WiFiManagerParameter destructor to free new'd _value, it was allocated but never free'd 2017-12-09 06:24:15 -08:00
Christopher Liebman d66cd47df8 use realloc() when increasing the size of _params. addParameter() now returns bool
indicating the status of adding the parameter where false indicates it failed to
increase the size of _params and did not add the parameter.
2017-12-09 06:04:07 -08:00
Shawn A 648274ab3d oops left wrap test in 2017-11-21 12:51:43 -06:00
Shawn A 2f4015e797 fix token replace invalid html 2017-11-21 12:24:25 -06:00
Shawn A 9a571226cd Added some info panel changes
adds connect info to root info and wifi, minimal wordyness
2017-11-16 14:06:36 -06:00
Shawn A fa05d2c574 fix for configportal on wifisave fail
disocnnect STA on save failures
move reset out of configportal loop
2017-11-16 11:59:22 -06:00
Shawn A 0ae9ca3d55 adds _debugport stream ref
pass stream reference via constructor to use for _debugPort in DEBUG_WM, if someone needs dynamic we can add pointer setter, but seems overkill
2017-11-16 10:02:03 -06:00
Shawn A d6aec20bc3 add debug 2 argument function 2017-11-15 16:14:52 -06:00
Shawn A 3fdf53bf06 adding debug for configportalhastimeout 2017-11-15 11:41:47 -06:00
Shawn A a1050d014f fix some returns 2017-11-03 16:41:17 -05:00
Shawn A 52d5427654 testing erase config polyfill
this is getting rediculous, dev on 2_3_0 has to stop there are so many bugs.
2017-11-01 06:39:30 -05:00
Shawn A e8c0b52470 added ease, stabilize persistent modes, rename some functions 2017-10-28 21:38:13 -05:00
Shawn A 4763783fe1 rename some functions 2017-10-28 11:51:26 -05:00
Shawn A ad6b8bdc86 add local enableSTA for toggling 2017-10-27 20:01:19 -05:00
Shawn A d09aff2f6d fixing some reliability issues, testing 2017-10-27 17:19:43 -05:00
Chris Liebman 6465d72f6e Refactored to use only a default constructor and automatically resize the parameter array each time the size limit is reached.
I used the initial size (WIFI_MANAGER_MAX_PARAMS) as the increment when resizing.
Existing data is coppied to the new array and the old one is free'd.
2017-10-26 15:23:47 -07:00
Chris Liebman 33704176e0 Merge remote-tracking branch 'upstream/master' into allocate-params-array 2017-10-25 18:59:23 -07:00
Shawn A df5857464a adds verbose connection status enum strings 2017-10-18 11:00:02 -05:00
Shawn A eb434a0187 clean up handlexit feature 2017-10-18 09:37:21 -05:00
Shawn A d7e3c8d005 Merge pull request #5 from mrbig/development
uninitialized abort caused immediate exit
2017-10-18 09:02:01 -05:00
Shawn A 3d2453acc5 html for exit 2017-10-18 08:59:35 -05:00
Nagy Attila Gabor 342eacfe37 autoConnect did not return true on successfull connection
This seems like a simple typo to me
2017-10-17 00:20:19 +02:00
Nagy Attila Gabor cf51018512 uninitialized abort caused immediate exit
In some cases this caused the config portal to exit right after
start
2017-10-16 23:16:03 +02:00
Shawn A db2a1336e9 adds exit functionality to shutdown configportal/webportal 2017-09-25 14:11:36 -05:00
Shawn A b151c19b3c add ondemandwebportal example 2017-09-18 12:58:31 -05:00
Shawn A 2aef1344b4 use ip as title if not in captiveportal 2017-09-18 10:19:38 -05:00
Shawn A 4592914fad test ondemand webportal 2017-09-18 08:42:09 -05:00
Shawn A eee3fb72b2 #418 even more info 2017-09-16 11:02:37 -05:00
Shawn A 12de39135d comments 2017-09-16 10:46:44 -05:00
Shawn A 80470fb553 addd token precheck flags
This helps skip token replacements that are not even used, replace is slow, this is an optimization mostly for large sets of params or aps.
2017-09-16 10:39:51 -05:00