rjwats
c16f7693fd
Migrate to LittleFS under ESP8266
Make ESP8266 use LittleFS instead of deprecated SPIFFS
Make framework use the correct filesystem automatically and handle the call the FS.begin()
Change default MQTT keepalive to 60 seconds
Fix lodash security issue
4 years ago
rjwats
f2b53a6d53
Consistency fixes ( #167 )
Minor consistency fixes from @proddy's comments
4 years ago
rjwats
c1fdb9b485
Resolve issue causing demo project to crash on esp8266 ( #142 )
Exception 3, Exception 9 and Exception 28 are thrown sporadically if printing to serial during WebSocket RX
Believed to be due to serial buffer causing RX to block, investigating as part of #123
4 years ago
rjwats
0d39c5ca00
Apply updates alternative ( #135 )
* Rename "serialize" and "deserialize" functions to "read" and "update" to reflect API in StatefulService
* Move new definitions to StatefulService.h so it is obvious it is not general purpose
* Update README
4 years ago
rjwats
0e2124062f
Use references & flash strings where approperate ( #110 )
* pass originId as const reference
* store strings for serial logging in flash
* Use string references where approperate.
4 years ago
rjwats
a59f32c420
Factory reset feature ( #114 )
Implemented factory-reset feature
Extract factory settings into separate ini file
Hide reset/factory reset from guest user
Co-authored-by: kasedy <kasedy@gmail.com>
4 years ago
rjwats
a1f4e57a21
Rework backend add MQTT and WebSocket support
* Update back end to add MQTT and WebSocket support
* Update demo project to demonstrate MQTT and WebSockets
* Update documentation to describe newly added and modified functionallity
* Introduce separate MQTT pub/sub, HTTP get/post and WebSocket rx/tx classes
* Significant reanaming - more accurate class names
* Use PROGMEM_WWW as default
* Update README documenting PROGMEM_WWW as default
* Update README with API changes
4 years ago
rjwats
39a86b0411
External config
Allow config to be accessed from outside the framework core code.
4 years ago
rjwats
bcfeef8004
Interface data storage in PROGMEM ( #71 )
Adds a webpack plugin to package interface as PROGMEM into a header file in the framework.
Adds a build flag to optionally enable serving from PROGMEM or SPIFFS as required
Adds documentation changes to describe changes
4 years ago
Rick Watson
f4ae632956
reformat with .clang-format based on google's spec with some minor changes
4 years ago
Rick Watson
d0fb2d982a
update readme with changes to the demo code
5 years ago
Rick Watson
41f7579bd5
Resolve issue with AP.
Fix newly introduced null pointer in AuthenticationService.
5 years ago
Rick Watson
f77428e4dc
move initialization code to constructors as a simplfication
5 years ago
Rick Watson
15ae0bb248
WIP - some documentation
5 years ago
Rick Watson
df06e58fb0
add demo project implementation
5 years ago
Rick Watson
f88520db44
experimenting with some refactoring
5 years ago
Rick Watson
bbcdf3defb
fix minor build issue under esp8266
5 years ago
Rick Watson
382299a828
WiFi driver must be managed by arduino, use arduino to init the driver for esp32 core.
5 years ago
Rick Watson
61f046c185
WiFi driver must be managed by arduino, use arduino to init the driver for esp32 core.
5 years ago
Rick Watson
cf2a20fbd4
Fix crash on startup when not configured - ESP32
5 years ago
Rick Watson
142235c355
Fix issue with ota service not restarting properly - mdns not being shut down without calling end().
5 years ago
Rick Watson
4089b32941
fix issue, using wrong even in esp32
5 years ago
Rick Watson
2eb34e83f8
Access Point only comes back up if WiFi is properly disconnected on failures.
5 years ago
Rick Watson
e7248c4774
leave WiFi disconnected by default
implement controlled retry - fixed at 60 seconds
5 years ago
Rick Watson
94656de3c0
fix compiler warning about integer comparison
5 years ago
Rick Watson
3157b7d3ef
minor tweeks from code review
5 years ago
Rick Watson
bfa94b79d1
resolve use of VLA in JWT encoder function
5 years ago
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