Commit Graph

252 Commits

Author SHA1 Message Date
Rick Watson
396d0333b6 More specific access control headers to support cross origin Authorization
Pretty sign in page
Verify existing JWT on application mount
2019-05-19 17:51:57 +01:00
Rick Watson
04e852f7d9 add authentication service 2019-05-18 19:35:27 +01:00
Rick Watson
7817010533 WIP - more experimenting with the security manager 2019-05-16 00:19:41 +01:00
Rick Watson
cf693ca341 WIP - more work on sign in feature 2019-05-14 23:18:24 +01:00
Rick Watson
c74c287e21 WIP login page and authentication code 2019-05-14 22:47:04 +01:00
Rick Watson
f93804c240 don't use deprecated variants 2019-05-14 22:43:37 +01:00
Rick Watson
16eedb8171 add constant for app name 2019-05-14 22:41:08 +01:00
Rick Watson
7f6fc0facc Minor interface tidyups:
Factor out app name
Tidy index.js
2019-05-14 22:20:08 +01:00
Rick Watson
e63a8c4b75 use SDK provided encoder, rather than pulling in library 2019-05-11 15:11:11 +01:00
Rick Watson
a4220d631d Remove un-necessarry HMAC implementation, use SDK provided implementation 2019-05-06 22:40:24 +01:00
Rick Watson
079f134aa9 resolve issue with test endpoint 2019-05-06 21:46:28 +01:00
Rick Watson
6700610d35 messing around with JWT implementation 2019-05-06 15:50:19 +01:00
Rick Watson
41ace49d5c add JWT encoding 2019-05-03 00:31:20 +01:00
Rick Watson
eca14cf81c playing with some ideas for security management 2019-04-30 23:49:28 +01:00
Rick Watson
a05129be38 Merge branch 'master' into ft_user_security 2019-04-30 00:30:54 +01:00
Rick Watson
416e736ea9 Start work on security manager 2019-04-30 00:30:43 +01:00
Rick Watson
a98f1d4504 Remove redundant servicePath variable from SettingsPersistence 2019-04-30 00:30:09 +01:00
Rick Watson
e8de21aaf4 add mac address to wifi status page 2019-04-29 22:15:07 +01:00
Rick Watson
33be3ab1b2 Remove unused fullDetails prop on status pages 2019-04-29 21:52:11 +01:00
rjwats
11a81150d2
Update README.md
Remove incorrect statement about version management
2019-04-29 00:31:08 +01:00
Rick Watson
063fff5343 Don't use deprecated variants in material ui. 2019-04-29 00:29:31 +01:00
Rick Watson
59d2646823 Minor formatting fixes 2019-04-28 08:32:48 +01:00
pcniatic
2131d86224 [ESP8266/ESP32] Problem setting hostname while on dynamic ip. (#17)
20 - Device does not change from static IP mode correctly
21 - DHCP hostname is not correctly configured (ESP32 & esp8266)
2019-04-28 08:19:33 +01:00
Rick Watson
520f761f74 add missing newline to connection message 2019-04-27 23:41:11 +01:00
Rick Watson
e62b239ea1 Merge branch 'master' of github.com:rjwats/esp8266-react 2019-04-27 22:46:06 +01:00
Rick Watson
b52147c1d9 Fix snackbar styling issue 2019-04-27 22:44:46 +01:00
rjwats
0f7eefea99
Merge pull request #15 from pcniatic/fix_wifi_settings
Improving readIP function
2019-04-27 07:40:44 +01:00
Mauro De Lucca
b75cee0b30 Improving readIP function
Change logic to first check if JsonVariant is a String.
2019-04-26 23:07:40 -04:00
Rick Watson
348e65ba4b Fix dependencies to latest minor version of current release
Remove Time dependency - is being provided as transitive dependency from NTPClient - platformio does not de-conflict
2019-04-24 23:41:24 +01:00
rjwats
64b16986ae
Merge pull request #12 from pcniatic/master
Corrected issues while enabling static IP on web.
2019-04-22 16:48:07 +01:00
Mauro De Lucca
5b0c3e29a1 Corrected issues while enabling static IP on web.
For some reason root[key] is false and it always sets INADDR_NONE to _ip.
2019-04-21 21:55:43 -04:00
Rick Watson
370243a494 new build 2019-04-21 13:37:37 +01:00
Rick Watson
5f529ecf51 Remove password reveal feature from IE and Edge using ::-ms-reveal pseudo selector 2019-04-21 13:37:25 +01:00
rjwats
49bf6fc2e1
Merge pull request #11 from rjwats/component-wrapper-example
Add visibility control for password fields
2019-04-17 20:20:31 +01:00
Rick Watson
f2e46d55f3 add additional password mask controls 2019-04-17 00:11:37 +01:00
Rick Watson
ac47377396 Example of wrapping the TextValidator with masking state handler:
Uses IconButton rather than CSS for cursor styling.
2019-04-17 00:01:08 +01:00
rjwats
22605bf1af
Merge pull request #9 from rjwats/interface-update
Interface update
2019-04-14 17:49:16 +01:00
Rick Watson
990ce1e4ca Check in package-lock.json 2019-04-14 17:04:01 +01:00
Rick Watson
9b54fc532a latest build 2019-04-14 17:03:41 +01:00
Rick Watson
9ee875c2a5 upgrade react, react-scripts and build overrides 2019-04-14 17:03:28 +01:00
Rick Watson
e36105f9f2 upgrade material ui 2019-04-14 11:19:32 +01:00
rjwats
e68b7627f2
Arduinojson6 (#8)
* Remove redundant AuthSettingsService. Will re-implement properly soon using JWT.

* Support ArduinoJson >= 6.0.0

* Fix ArduinoJson version to 6.x.x
2019-04-14 08:52:40 +01:00
rjwats
51c5e51ecd
Merge pull request #4 from atsteen/master
Modify platformio.ini to allow use of deprecated ArduinoJson libraries
2019-04-10 22:23:57 +01:00
Rick Watson
65b335c44d Use complete example in readme 2019-04-10 08:33:32 +01:00
Rick Watson
76e9f9f7ea #5 - Readme documentation states incorrect ENDPOINT_ROOT path for local hosting
* Update README.md with correct instructions.
* Update development enviornment file with indicitive value for locally hosting react app
2019-04-10 08:31:39 +01:00
Andrew Taylor-Steen
781b74ecee Modify platformio.ini to allow use of deprecated ArduinoJson libraries
This project fails to build with environments using the latest versions of ArduinoJson (anything post 5.13).  This edit allows the existing codebase compile using ArduinoJson v5.x objects that have been deprecated in newer library releases.
2019-04-07 14:51:08 -07:00
Rick Watson
e95f451523 Add info to readme about issue with Time.h 2019-02-12 23:12:16 +00:00
Rick Watson
d03c03fd9d Remove refrence to SPIFFS global from persistence code, factor out persistence code so it can be re-used. 2018-12-10 22:35:12 +00:00
Rick Watson
4e200f3d08 latest interface build 2018-11-11 20:12:24 +00:00
Rick Watson
2f508c738f Update README.md
Disable conversion function when not building for ESP8266
2018-11-11 20:10:21 +00:00