Commit Graph
113 Commits
Author SHA1 Message Date
Shawn A e43a7d0b75 modify templates, remove placeholders
adds labels to all inputs, deprecates {p} placeholders, adds {t} to ttitles
2017-09-14 15:38:12 -05:00
Shawn A c6f7ac0012 added uptime to info
still subject to rollover
2017-09-14 10:26:51 -05:00
Shawn A 64798ebbf1 pimped out info pagee
We can simply this later, or make an option string to display specific things
2017-09-10 21:17:07 -05:00
Shawn A 69ddda0ee4 Merge remote-tracking branch 'remotes/tzapu/development' into tzapu/development
removed autoconnect params, still testing valeus are always empty
2017-09-08 17:08:18 -05:00
Shawn A f59c150729 Merge pull request #365 from vyruz1986/master
Allow showing static IP config without predefined value
2017-09-08 16:19:15 -05:00
Shawn A 14ce25081a Merge remote-tracking branch 'remotes/tzapu/development' into tzapu/development 2017-09-08 16:15:20 -05:00
Shawn A 81b37dfffc adds some style, clean up css, adds new tokens
#415
2017-09-08 16:08:35 -05:00
Shawn A 1f4a8fe499 Merge pull request #251 from ayomawdb/development
Adding WiFiManagerParameter implementation with labelPlacement parameter
2017-09-08 15:54:46 -05:00
Shawn A a93b601cd7 again 2017-08-31 13:57:23 -05:00
Shawn A 6e43c1eb41 change all forms to POST
#409
2017-08-30 10:24:04 -05:00
Shawn A 63dd714805 oops missed one pr#244 2017-08-30 09:22:40 -05:00
Shawn A 9160b5bd3b maxlength null string fix
pr#244
2017-08-30 09:15:36 -05:00
Shawn A 04a9dda74b testing mode and persistent presrvation
You should be able to have sta+softap mode with your own softap, and starting config portal will not overwrite your default softap, but i cannot find a way to reconnect other than rebooting the device
2017-08-29 16:31:59 -05:00
Shawn A d1ab6ec6db left in debug 2017-08-28 21:00:15 -05:00
Shawn A b62f488b6b Merge remote-tracking branch 'origin/feature-icons' into development
adds feature icons
2017-08-28 19:18:20 -05:00
Shawn A 8185eaa002 add blocking setter
@todo add example
2017-08-27 11:04:05 -05:00
Shawn A 8592647cbf fraking tabs 2017-08-27 10:57:43 -05:00
Shawn A f2580463e4 fix const char corruptions
#400
 fixing non blocking, non blocking does not handle timeouts for the user
2017-08-27 10:55:26 -05:00
Shawn A 68e3eb5bc8 Merge branch 'master' into development 2017-08-27 09:13:00 -05:00
Shawn A 47d9082e18 testing non blocking portal
calling process in loop not fast enough results in corrupt webpages, not sure why.
2017-08-27 00:11:04 -05:00
Shawn A 0aecffc822 fix configportal loop flow
removed returns for better flow
2017-08-26 23:26:48 -05:00
Shawn A 179c0309a5 comments, autoconnect fix
fix sta+ap mode preservaton in autoconnect
2017-08-26 23:13:37 -05: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
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
vyruz1986 0fc051a445 Merge remote-tracking branch 'refs/remotes/tzapu/master' 2017-06-12 21:21:10 +02:00
Alex Goris 136c0c9cba Also show static IP fields when static IP is passed
Regardless of the boolean, we should always show static IP fields if
actual static IP value is passed. This ensures backwards compatibility
2017-05-04 22:04:05 +02:00
Alex Goris 486ea7db2c Allow showing static IP config without predefined value
Previously a valid predefined static IP had to be passed before the
config page would show the IP, gateway and subnet fields. This did not
allow the config page to show 'optional' static IP fields.
Now a boolean can be passed to the autoConnect() function which will
specify whether the static IP fields should be shown or not.
When this boolean is true but no predefined values are passed and fields
are left blank in config page, wifiManager will revert to DHCP. This
allows user to choose between static IP or DHCP without changing code
2017-05-04 21:59:17 +02: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
Shawn A 004f222f40 do not wait for conx is no ssid 2017-02-10 17:05:07 -06:00
Shawn A 612e18be35 oops deleted a function 2017-02-10 15:40:31 -06:00
Shawn A 0b0eb6159c moving blocks 2017-02-10 15:29:32 -06:00
Shawn A 1a44dd53e6 move apcallback to proper location
This was actually being called before the ap was setup!
2017-02-10 15:21:48 -06:00
Shawn A 65349cb546 fix WL_IDLE_STATUS return values for compatibility
This might need better handling in future, since we only get back a bool
of wether or not we are connected, not if configportal was saved etc.
might be a problem.
2017-02-10 15:13:48 -06:00
Shawn A e9b36f9084 fix breakafterconfig 2017-02-10 15:05:45 -06:00
Shawn A bd9c3b31fb refactoring some larger functions
* broke large functions into smaller , to allow new features to be
hooked in easier
* added persistent test to constructor destructor
* testing turn off sta during portal , causes issues
2017-02-10 14:07:52 -06:00
Shawn A c819d46902 allow for empty password 2017-02-09 17:10:15 -06:00
Shawn A 2edd37eeb8 oops typo 2017-02-09 17:02:33 -06:00
Shawn A 45a325bd34 fix validippassword
abstracted ap password validation
passing a invalid password should be fatal , not fallback to null, but
could be an optional define
2017-02-09 16:57:34 -06:00
Shawn A 9c72bf98f7 cleaning up source, comments 2017-02-09 16:33:10 -06:00
Alex T 628307dbf7 Merge branch 'master' into development 2017-02-09 15:56:51 +02: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
Alex T 7a17c98828 Merge branch 'master' into development 2017-02-03 06:17:42 +02: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
Ayoma Wijethunga 5f8f1ce5e6 Adding WiFiManagerParameter implementation with labelPlacement parameter 2016-11-26 20:17:41 +05:30
Alex T abedb61ca1 parameter label 2016-10-15 12:07:48 +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
Alex T 028bdeeb17 removed 204 header response https://github.com/tzapu/WiFiManager/issues/114 2016-05-08 10:14:11 +03:00
Alex T 44e828e77a reverted std::sort that caused problems with isnan and other none namespeced used function calls 2016-05-08 10:07:32 +03:00