Commit Graph
212 Commits
Author SHA1 Message Date
Shawn A 7f2fdee9c8 Create ISSUE_TEMPLATE.md 2018-02-13 07:42:23 -06:00
Shawn A 1c890c0c49 Create contributing.md 2018-02-13 07:40:55 -06:00
Shawn A e49335d811 Merge pull request #505 from Loufylouf/master
Bug fix for problem discovered when setting length to 1 for additiona…
2018-02-06 11:25:27 -06:00
Laurent Louf 6aaa83a266 Bug fix for problem discovered when setting length to 1 for additional parameters
The initialization of the buffer holding the value stopped before the last character and storage did not take into account the extra-byte for end of string.
2018-02-06 14:12:13 +01:00
Shawn A a3a04f1f9a Merge pull request #487 from mtiutiu/master
make WIFI_MANAGER_MAX_PARAMS customizable
2018-02-01 09:40:40 -06:00
Shawn A 53a27f154e Merge pull request #467 from lukepalmer/master
Document that parameter id cannot contain spaces
2018-01-31 12:50:04 -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 a832af02ca Merge pull request #468 from liebman/param-value-memory-leak
WiFiManagerParameter allocates but never frees __value!
2018-01-30 12:08:31 -06:00
Tiutiu Marius Cristian 8c906af563 make WIFI_MANAGER_MAX_PARAMS customizable 2018-01-22 12:42:23 +02: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
Luke Palmer eb560629d6 Document parameters 2017-12-04 19:54:59 -05:00
Chris Liebman 0b6341bea4 cleanup readme (removed hint about alternate constructor) 2017-10-26 16:10:34 -07: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
tzapu 89af31245b Merge pull request #398 from Derek123456/Derek123456-patch-1
Fix for issue https://github.com/tzapu/WiFiManager/issues/392
closes #392
thank you very much
2017-08-22 10:12:29 +03:00
Derek123456 68e32a10c0 Update WiFiManager.cpp
https://github.com/tzapu/WiFiManager/issues/392
Increased size of parLength to 5 so the custom parameter length variable can be up to 9999 long.
2017-08-22 10:32:52 +08:00
Derek123456 cee18a7ce3 Update WiFiManager.h
Changed <input ... length={l}>to <input ... maxlength={l}>
2017-08-22 10:30:53 +08:00
tzapu f9c4c87c61 Merge pull request #386 from denisvm/readme-wishlist
Improve wishlist in README
2017-07-13 09:39:40 +03:00
tzapu 06d75bf7b1 Update README.md 2017-07-13 09:39:28 +03:00
Dênis Volpato Martins 9637d9473e Improve wishlist in README 2017-07-12 22:07:33 -03:00
tzapu 0de9d12930 Merge pull request #363 from suculent/fix-content-length
fix for #362 - Setting Content-length explicitly - https://github.com…
2017-07-10 13:41:07 +03:00
tzapu eb4594c8e4 Merge pull request #383 from scop/spelling
Spelling fixes
thanks
2017-07-10 09:38:21 +03:00
Ville Skyttä 58eb7113e7 Spelling fixes 2017-07-09 17:11:31 +03:00
Chris Liebman 898768092c removed un-needed constructor declaration 2017-06-27 16:35:48 -07:00
Chris Liebman c4905c23b7 remove init function as its not needed with one constructor 2017-06-27 16:27:37 -07:00
Chris Liebman 3950a3b859 use single constructor with default value for size 2017-06-27 16:24:23 -07:00
tzapu 5e9248651f Merge pull request #334 from camelmasa/fix-broken-links
Fix broken link
2017-06-06 16:04:16 +03:00
Chris Liebman 362a561a35 use malloc/free for WiFiManagerParameter* array instead of hard coding.
add alternate constructor to specifiy max parameter count
origional default constructor uses old hard codded value
2017-06-04 06:41:27 -07:00
Matěj Sychra ada93b721a fix for #362 - Setting Content-length explicitly - https://github.com/tzapu/WiFiManager/issues/362 2017-05-03 14:56:31 +02:00
camelmasa 29b2f02ae4 Fix broken links 2017-03-20 12:58:49 +09:00
tzapu 3135bc5e89 Merge pull request #310 from tablatronix/feature_308_configportaltimeouts
Feature 308 configportaltimeouts
fixes #308 
thank you very much
2017-02-08 08:55:15 -08:00
Shawn A c810633ee3 reset configportal timeouts after ap disconnect
configportaltimeout now starts at configportalstart if no sta clients,
or after last client disconnects. Will never timeout if ap has sta
client! handle edge case in user code.
2017-02-08 10:34:41 -06:00
Shawn A 0ddb835072 feature #308
only timeout when ap has no client, do not timeout configportal when
user is connected.
2017-02-08 08:18:59 -06:00
Shawn A a8c13a7c96 Merge remote-tracking branch 'refs/remotes/tzapu/master' 2017-02-08 08:07:01 -06:00
tzapu 8ffb4cbfa9 Merge pull request #284 from robertoostenveld/master
use setAPStaticIPConfig instead  of (old?) setAPConfig in first example
2017-02-02 02:57:55 -08:00
tzapu 0cc4487e42 Merge pull request #297 from jorgecis/patch-1
Quotes are missing creating issues.
2017-02-02 02:57:16 -08:00
tzapu b696b2c29a Merge pull request #286 from vyruz1986/master
Don't add custom parameters if array size is exceeded
2017-02-02 02:56:56 -08:00
Jorge Cisneros bd0da6c7a6 Quotes are missing creating issues. 2017-01-16 22:48:09 -06:00
Alex Goris 1f500fddd1 Don't add custom parameters if array size is exceeded
array containing custom parameters is initialised at class
initialization time with a fixed value. When we later try to add more
parameters than the array allows we will now discard the offending
parameters and make a debug logging so the developer knows what's going
on.

Might be further improved as per this answer on StackOverflow:
http://stackoverflow.com/a/12271501
This would allow the array size to be specified at initialisation time,
and would give flexibility to the developer to decide how big the array
should be.

closes tzapu/WiFiManager#285
2017-01-08 23:31:53 +01:00
Robert Oostenveld a231ae5deb use setAPStaticIPConfig instead of (old?) setAPConfig in first example 2017-01-07 22:10:00 +01:00
tzapu 022b15d2c8 Merge pull request #250 from ivankravets/patch-5
Update platforms compatibility
Thank you very much
2016-11-22 12:51:52 +02:00
Ivan Kravets 2a0ac55f87 Update platforms compatibility 2016-11-22 12:50:55 +02:00
tzapu fd15f986d3 Merge pull request #210 from TaaraLabs/patch-1
startConfigPortal() without any parameters

thank you very much
2016-10-15 08:04:13 +03:00
Alex T 60c22d672f Merge commit 'e0b8acb8dd8e419e378e71abed77fe926c2e5b54' 2016-09-08 13:08:09 +03:00
Alex T 1b261f2371 intial html template parser 2016-09-08 13:07:51 +03:00
TaaraLabs 31887ff36a startConfigPortal() without parameters 2016-08-06 12:45:22 +03:00
TaaraLabs c3d01d33e1 startConfigPortal() without any parameters
startConfigPortal() without any parameters uses auto generated name ESP + ChipID
2016-08-06 12:38:26 +03:00
tzapu e0b8acb8dd Merge pull request #188 from bakrus/patch-1
Fix to allow 5 digit 'mqtt_port'
2016-07-02 15:25:29 +03:00