Rick Watson
9c680e8826
Resolve some typos
Use nullptr over NULL
Fix confusing regexp
Fix issue with non-compliant JWT encoding
5 years ago
Rick Watson
0708a54780
secure remaining endpoints to authenticated users
5 years ago
Rick Watson
73433586b6
add security to all admin endpoints
5 years ago
Rick Watson
71e5830d6c
rename endpoint
5 years ago
Rick Watson
b11c508d77
introduce basic system status page
5 years ago
Rick Watson
6e5b35978a
add security form, begin work on routing
5 years ago
Rick Watson
4fdc3eee66
fix encoding where signature contains a zero
5 years ago
Rick Watson
6935b63706
remove roles, as a simplification
5 years ago
Rick Watson
0c630f0f93
Upgrade to material ui 4
Add user management and roles - TBA
Menu Label Renames - TBA
5 years ago
Rick Watson
396d0333b6
More specific access control headers to support cross origin Authorization
Pretty sign in page
Verify existing JWT on application mount
5 years ago
Rick Watson
04e852f7d9
add authentication service
5 years ago
Rick Watson
7817010533
WIP - more experimenting with the security manager
5 years ago
Rick Watson
e63a8c4b75
use SDK provided encoder, rather than pulling in library
5 years ago
Rick Watson
a4220d631d
Remove un-necessarry HMAC implementation, use SDK provided implementation
5 years ago
Rick Watson
079f134aa9
resolve issue with test endpoint
5 years ago
Rick Watson
6700610d35
messing around with JWT implementation
5 years ago
Rick Watson
41ace49d5c
add JWT encoding
5 years ago
Rick Watson
eca14cf81c
playing with some ideas for security management
5 years ago
Rick Watson
416e736ea9
Start work on security manager
5 years ago
Rick Watson
a98f1d4504
Remove redundant servicePath variable from SettingsPersistence
5 years ago
Rick Watson
e8de21aaf4
add mac address to wifi status page
5 years ago
Rick Watson
59d2646823
Minor formatting fixes
5 years ago
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)
5 years ago
Rick Watson
520f761f74
add missing newline to connection message
5 years ago
Mauro De Lucca
b75cee0b30
Improving readIP function
Change logic to first check if JsonVariant is a String.
5 years ago
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.
5 years ago
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
5 years ago
Rick Watson
d03c03fd9d
Remove refrence to SPIFFS global from persistence code, factor out persistence code so it can be re-used.
6 years ago
Rick Watson
2f508c738f
Update README.md
Disable conversion function when not building for ESP8266
6 years ago
Rick Watson
81d594f899
Force reconfiguration of software access point when updating config or initializing APSettingsService instance.
6 years ago
Rick Watson
30fab72690
Fix mistake in wifi scanner implementation
6 years ago
Rick Watson
83451e7d47
Unify approach for presenting security modes across esp32 and esp8266
6 years ago
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
6 years ago
Rick Watson
14820616a6
Add code and required to support differences between eps32 and esp8266 environments
6 years ago
Rick Watson
26a03b5ccf
preprocessor includes for esp8266 and esp32 environments
6 years ago
Rick Watson
1521b135e1
Minor simplification of includes
6 years ago
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
6 years ago
Rick Watson
b197ee8a80
calculate elapsed time rather than storing next fire time - avoids overflow issues
6 years ago
rjwats@gmail.com
b6bc520341
prefix all endpoints with /rest
6 years ago
rjwats@gmail.com
c8da54aae6
add simple service
6 years ago
rjwats@gmail.com
4cb18a5d99
re-ordering
6 years ago
rjwats@gmail.com
82adad4746
introduce captive portal, tidy up ap management code
6 years ago
rjwats@gmail.com
beb3ff9a62
fix bug associated with dangling pointer
6 years ago
rjwats@gmail.com
ff43e69bc0
add example
6 years ago
rjwats@gmail.com
570bd2e2c0
correct spelling error
6 years ago
rjwats@gmail.com
85784a2535
Add feature to enable CORS during the build.
6 years ago
rjwats@gmail.com
63a639eb22
initial commit of C++ back end and react front end
6 years ago