26 Commits

Author SHA1 Message Date
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
2020-07-19 19:32:08 +01:00
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
2020-05-14 23:23:45 +01:00
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
2019-12-29 17:54:12 +00:00
Rick Watson
f4ae632956 reformat with .clang-format based on google's spec with some minor changes 2019-12-03 23:16:06 +00:00
Rick Watson
d0fb2d982a update readme with changes to the demo code 2019-09-30 21:38:44 +01:00
Rick Watson
41f7579bd5 Resolve issue with AP.
Fix newly introduced null pointer in AuthenticationService.
2019-09-30 21:28:24 +01:00
Rick Watson
f77428e4dc move initialization code to constructors as a simplfication 2019-09-28 21:29:46 +01:00
Rick Watson
15ae0bb248 WIP - some documentation 2019-08-10 12:35:26 +01:00
Rick Watson
df06e58fb0 add demo project implementation 2019-08-09 15:53:39 +01:00
Rick Watson
f88520db44 experimenting with some refactoring 2019-07-14 22:13:26 +01:00
Rick Watson
bbcdf3defb fix minor build issue under esp8266 2019-06-25 23:31:58 +01:00
Rick Watson
382299a828 WiFi driver must be managed by arduino, use arduino to init the driver for esp32 core. 2019-06-07 20:15:35 +01:00
Rick Watson
cf2a20fbd4 Fix crash on startup when not configured - ESP32 2019-06-07 20:08:46 +01:00
Rick Watson
e7248c4774 leave WiFi disconnected by default
implement controlled retry - fixed at 60 seconds
2019-06-04 21:13:55 +01:00
Rick Watson
0708a54780 secure remaining endpoints to authenticated users 2019-05-31 19:58:33 +01:00
Rick Watson
73433586b6 add security to all admin endpoints 2019-05-29 23:48:16 +01:00
Rick Watson
b11c508d77 introduce basic system status page 2019-05-27 00:04:29 +01:00
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
eca14cf81c playing with some ideas for security management 2019-04-30 23:49:28 +01: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
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
rjwats@gmail.com
4cb18a5d99 re-ordering 2018-03-11 08:37:38 +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