Commit Graph
98 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
rjwatsandGitHub 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
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
rjwatsandGitHub 0f7eefea99 Merge pull request #15 from pcniatic/fix_wifi_settings
Improving readIP function
2019-04-27 07:40:44 +01: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
rjwatsandGitHub 64b16986ae Merge pull request #12 from pcniatic/master
Corrected issues while enabling static IP on web.
2019-04-22 16:48:07 +01: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
rjwatsandGitHub 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
rjwatsandGitHub 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
rjwatsandGitHub 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
rjwatsandGitHub 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
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
Rick Watson b00660533d update platformio.ini 2018-11-11 19:56:44 +00:00
Rick Watson 81d594f899 Force reconfiguration of software access point when updating config or initializing APSettingsService instance. 2018-11-11 19:44:20 +00:00
Rick Watson be1c86710b Update README.md 2018-11-11 18:35:52 +00:00
Rick Watson 30fab72690 Fix mistake in wifi scanner implementation 2018-11-11 18:35:33 +00:00
Rick Watson 83451e7d47 Unify approach for presenting security modes across esp32 and esp8266 2018-11-11 18:24:59 +00:00
Rick Watson cc7acab37c Modify compression scheme - no longer compressing index.html due to issues serving compressed file directly with .send on esp32
Removed css from compression plugin - using CSS-in-JS in app
Introduce favicon - add mapping for favicon.ico, was previously sending html response for requests for the favicon
2018-11-11 17:53:58 +00:00
Rick Watson 14820616a6 Add code and required to support differences between eps32 and esp8266 environments 2018-11-11 17:47:44 +00:00
Rick Watson 26a03b5ccf preprocessor includes for esp8266 and esp32 environments 2018-11-11 16:44:29 +00:00
Rick Watson 1521b135e1 Minor simplification of includes 2018-11-11 16:36:41 +00:00
Rick Watson 167cfa283b fix some basic type issues:
use size_t for size as async web server uses this type internally
use uint8_t for provision mode, we only have 3 values
address warnings about ordering initializers
2018-10-23 15:23:46 +01:00
Rick Watson b197ee8a80 calculate elapsed time rather than storing next fire time - avoids overflow issues 2018-10-23 13:55:25 +01:00
Rick Watson ec829173f9 update package-lock 2018-09-20 09:16:46 +01:00
Rick Watson 6f85557cc5 update platformio.ini to new variables 2018-09-20 09:08:52 +01:00
Rick Watson 02fabd3f91 push latest build 2018-09-14 15:48:40 +01:00
Rick Watson d2847be8a1 use .env to configure endpoint root automatically for production and development 2018-09-14 15:40:46 +01:00
Rick Watson 17102bf867 update libraries 2018-09-14 15:40:15 +01:00
Rick Watson 382f2d46bc remove centered from Tabs component 2018-09-14 15:39:02 +01:00
rjwats@gmail.com 4181928267 use latest material ui 2018-05-18 23:34:49 +01:00
rjwats@gmail.com be7765b584 use latest material ui 2018-05-18 23:34:31 +01:00
rjwats@gmail.com 66fd863502 prefix settings paths with /rest in interface 2018-04-01 10:53:22 +01:00
rjwats@gmail.com b6bc520341 prefix all endpoints with /rest 2018-04-01 10:51:24 +01:00
rjwats@gmail.com 1d2284068a add css override to reduce file path length 2018-03-29 09:57:52 +01:00
rjwats@gmail.com c8da54aae6 add simple service 2018-03-29 09:54:02 +01:00
rjwats@gmail.com 4cb18a5d99 re-ordering 2018-03-11 08:37:38 +00:00
rjwats@gmail.com f216610f34 remove invalid ip address from endpoint 2018-03-06 23:01:09 +00:00
TheUdderandGitHub 87e499a25c Create LICENSE.txt 2018-03-06 22:49:53 +00:00
rjwats@gmail.com 088be57347 latest build 2018-03-06 22:43:56 +00:00
rjwats@gmail.com b7b314e86b update readme 2018-03-06 22:43:34 +00:00
rjwats@gmail.com 82adad4746 introduce captive portal, tidy up ap management code 2018-03-06 22:39:33 +00:00
rjwats@gmail.com beb3ff9a62 fix bug associated with dangling pointer 2018-03-06 22:36:55 +00:00
rjwats@gmail.com 0b334a8ade use fragments where possible, and drop keys. 2018-03-06 20:58:36 +00:00
rjwats@gmail.com 2c732d3281 remove redundant code and refrences 2018-03-04 17:53:57 +00:00
rjwats@gmail.com 036c9de75c fix minor bug with refresh button on wifi settings 2018-03-04 17:43:01 +00:00
rjwats@gmail.com 62ca13b1a4 remove boilerplate from settings 2018-03-04 17:36:04 +00:00
rjwats@gmail.com eb4bcf708e start reducing boilerplate by introducing rest HOC 2018-03-04 16:49:24 +00:00
rjwats@gmail.com 1039308a2d latest build 2018-03-03 23:04:34 +00:00
rjwats@gmail.com c2b6e0723f minor readme update 2018-03-03 22:47:19 +00:00
rjwats@gmail.com 521462cf75 Use global snackbar 2018-03-03 22:41:57 +00:00
rjwats@gmail.com 5ffe4ab235 remove some redundant code 2018-03-03 18:17:46 +00:00
rjwats@gmail.com 6496a56dc7 make divider id unique 2018-03-03 18:06:43 +00:00
rjwats@gmail.com 4f385e30c5 minor correction to docs 2018-03-03 12:14:18 +00:00
rjwats@gmail.com 53ed543e3f typo in documentation 2018-03-03 12:13:09 +00:00
rjwats@gmail.com f6aaa2077b fix links in documentation 2018-03-03 12:11:15 +00:00
rjwats@gmail.com 7fe6011d4e more documentation 2018-03-03 12:09:03 +00:00
rjwats@gmail.com ff43e69bc0 add example 2018-03-03 11:45:02 +00:00
rjwats@gmail.com 570bd2e2c0 correct spelling error 2018-02-28 23:10:20 +00:00
rjwats@gmail.com 710aba44bf remove pointless quotes from readme 2018-02-26 23:12:19 +00:00
rjwats@gmail.com 01faeac4db more readme tweaks 2018-02-26 23:10:27 +00:00
rjwats@gmail.com df0dbcfed7 update readme 2018-02-26 22:57:09 +00:00
rjwats@gmail.com 791c1e9573 new build 2018-02-26 22:56:44 +00:00
rjwats@gmail.com 85784a2535 Add feature to enable CORS during the build. 2018-02-26 22:55:58 +00:00
rjwats@gmail.com 63a639eb22 initial commit of C++ back end and react front end 2018-02-26 00:11:31 +00:00