Rick Watson
aa04cfd80c
fix imports
...
use FSInfo struct for esp8266
2020-05-25 11:00:42 +01:00
rjwats and GitHub
f2dcc4e1e9
Merge pull request #127 from raomin/e82/master
...
SPIFFS size info in System view
2020-05-25 10:28:55 +01:00
rjwats and GitHub
d68afe5e59
Update readme ( #126 )
...
* Be more explicit about optional FS upoad step in readme
2020-05-23 10:08:59 +01:00
rjwats and GitHub
bcb1098402
Make StatefulService buffer size configurable ( #118 )
...
Introduce DEFAULT_BUFFER_SIZE for StatefulService related classes
Add configurable buffer sizes for StatefulService related classes
Remove redundant function from HttpEndpoint
2020-05-22 19:26:12 +01:00
rjwats and GitHub
4fa491e309
adopt explicit initialization - with the exception of trivial classes ( #122 )
2020-05-21 23:41:29 +01:00
db0d98d425
Extend Status ( #121 )
...
* Added Sdk Version and ~heap fragmentation to system page
* Add flash chip speed to status page
Co-authored-by: kasedy <kasedy@gmail.com >
2020-05-21 22:52:07 +01:00
rjwats and GitHub
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.
2020-05-21 08:42:21 +01:00
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 >
2020-05-20 00:32:49 +01:00
7d3bbf4240
UI Usability Fixes
...
* Fallback to sessionStorage if localStorage is absent
* Disable auto-correct and auto-capitalize on username field (SignIn)
* Fix SignIn component name
* Improve support for low screen widths
Co-authored-by: kasedy <kasedy@gmail.com >
2020-05-16 12:39:18 +01:00
rjwats and GitHub
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
Rick Watson
c47ea49a5d
ui fixes
...
remove unused fuction
2020-03-28 21:30:10 +00:00
rjwats and GitHub
fb7053610f
fix issue with number inputs not serializing correctly due to setting values as strings instead of numbers ( #94 )
...
consolidate number, string and checkbox value change functions
(cherry picked from commit 22c1590885db0534afabff74be7504ca9a0998b5)
2020-02-27 00:05:38 +00:00
rjwats and GitHub
a042633d8f
Minor UI Updates ( #93 )
...
* simplify props set to constant true
* reduce icon size in users table for better small screen compatibility
* use lib_compat_mode property over library exclusion
* get travis to build esp32 environment in addition to esp8266 during CI build
2020-02-19 00:04:57 +00:00
rjwats and GitHub
245a713a9f
fix issue with platformio 4.2.0 not discriminating transitive dependencies from ESPAsyncWebServer's library.json correctly ( #91 )
2020-02-14 19:22:18 +00:00
rjwats and GitHub
260e9a18d0
Re-engineer UI in TypeScript ( #89 )
...
* Re-engineer UI in TypeScript
* Switch to named imports where possible
* Restructure file system layout
* Update depencencies
* Update README.md
* Change explicit colors for better support for dark theme
2020-02-09 10:21:13 +00:00
rjwats and GitHub
ea6aa78d60
Fix issue under ESP32 where there is a delay re-configuring WiFi
...
When re-configuring we must wait for it to disconnect and stop before reconnecting.
2020-02-01 20:21:18 +00:00
rjwats and GitHub
39a86b0411
External config
...
Allow config to be accessed from outside the framework core code.
2020-02-01 08:44:26 +00:00
rjwats and GitHub
0ca9530afa
disable sorting of include blocks - it's breaking the ESP32 build. ( #82 )
...
(cherry picked from commit 9ef70b2ad49ff5a9a50ee7748c459bc9be6e2722)
2020-01-22 23:52:34 +00:00
rjwats and GitHub
ced5b74ba1
NTP Timezone & Enable/Disable Setting ( #80 )
...
* quick and dirty WIP to investigate timezones, currently only building under esp8266 platform
much of the status stuff has been stripped for now, to test the concepts
* support set of common features across ESP32/ESP8266 WRT timezone and sntp
return dates as ISO format strings
* remove time library, and timelib fix which is no longer required
* fix the icons
* remove temporary changes to demo project
2020-01-20 11:14:46 +00:00
rjwats and GitHub
59326c6426
provide OTA defaults ( #77 )
...
(cherry picked from commit 438b2585463e902b6e9710ae26c3aea4fe64928d)
2020-01-08 23:02:36 +00:00
rjwats and GitHub
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
rjwats and GitHub
14f50c1e31
Fix broken build under ESP32
...
Fix broken imports & standardise import style
2019-12-26 15:12:27 +00:00
Rick Watson
62f3d3fc7a
fix broken imports under ESP32
...
use ESP32 rather than ESP_PLATFORM - it's ambigious
standardise to ifdef ESP32 elif defined(ESP8266)
use ifdef over if defined where possible
2019-12-24 11:19:19 +00:00
rjwats and GitHub
368bfef29b
Merge pull request #68 from rjwats/clang-format
...
reformat with .clang-format based on google's spec with some minor ch…
2019-12-03 23:28:11 +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
rjwats and GitHub
8fb805e0f2
Merge pull request #63 from rjwats/rename
...
rename "reset" to "restart"
2019-12-01 08:37:35 +00:00
Rick Watson
7bf713dfea
rename "reset" to "restart"
2019-12-01 08:28:40 +00:00
Rick Watson
6aede04282
Set persistant WiFi opmode to WIFI_OFF if not already configured that way
2019-12-01 01:24:15 +00:00
Rick Watson
a9e6bd4669
fix typo
2019-11-30 16:51:31 +00:00
rjwats and GitHub
5fa6a1218f
Merge pull request #61 from rjwats/fix-formatting
...
fix formatting issue
2019-11-30 13:47:18 +00:00
Rick Watson
f5533b69de
fix formatting issue
2019-11-30 13:42:47 +00:00
rjwats and GitHub
243e1b35be
Merge pull request #59 from rjwats/ft_remove_arduinojson6_workaround
...
Remove custom work-around for missing ArduinoJson6 support
2019-11-30 13:33:33 +00:00
Rick Watson
6179435880
Merge branch 'master' into ft_remove_arduinojson6_workaround
2019-11-30 13:23:50 +00:00
rjwats and GitHub
3c52b31260
Merge pull request #60 from rjwats/ft_restart_service
...
Add reset service feature
2019-11-30 13:22:19 +00:00
Rick Watson
1ded736b9a
perfer restart on ESP32 platform
2019-11-30 13:15:59 +00:00
Rick Watson
a840aba878
Use ESP.reset() rather than ESP.restart() - due to exceptions encountered on esp8266
2019-11-30 12:54:57 +00:00
Rick Watson
78b9ae101e
Add restart service for esp8266 and esp32
...
Add restart feature to status screen
Upgrade material-ui
Add icons to buttons
2019-11-30 12:34:52 +00:00
Rick Watson
d650280a87
remove custom work-around for missing arduinojson6 support - it has since been added to async esp core
2019-11-30 09:58:28 +00:00
rjwats and GitHub
69caa841a3
Merge pull request #58 from rjwats/56-PlatformIO4.xFix
...
fix for PIO Core > 4.x
2019-11-27 09:42:33 +00:00
Rick Watson
5976a443ce
fix for PIO Core > 4.x
2019-11-27 09:21:34 +00:00
rjwats and GitHub
67eb9d4017
Merge pull request #49 from rjwats/ft_demo_project
...
Ft demo project
2019-09-30 22:06:06 +01:00
Rick Watson
b7b068813d
minor style changes
...
upgrade react dependencies - except react-scripts which currently has an issue with eslint
https://github.com/facebook/create-react-app/issues/7753
2019-09-30 22:00:16 +01: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
29906a1d97
fix missing authentication predicate
2019-08-10 12:37:54 +01:00
Rick Watson
15ae0bb248
WIP - some documentation
2019-08-10 12:35:26 +01:00
Rick Watson
8a37302ced
remove redundant class reference
2019-08-09 22:54:15 +01:00
Rick Watson
632d6907e5
reorganise information page slightly
2019-08-09 22:33:09 +01:00
Rick Watson
675a85e524
Add comment to development environment file
2019-08-09 22:23:42 +01:00
Rick Watson
3a053f7696
standardise formatting in config files
2019-08-09 21:30:07 +01:00
Rick Watson
cf48c79b4d
fix bug introduced in value change code
2019-08-09 21:26:31 +01:00
Rick Watson
391fe85a4b
comment out CORS setting
2019-08-09 20:36:18 +01:00
Rick Watson
5069cd90a1
Add ENDPOINT_ROOT to Env constants, replace usages.
2019-08-09 20:33:15 +01:00
Rick Watson
2a8599d855
remove unused styles missed in main refactor
2019-08-09 18:59:45 +01:00
Rick Watson
ef8061cbc3
use render callbacks for loading notification
2019-08-09 18:55:11 +01:00
Rick Watson
ff85c2e661
reduce use of ternaries in form code
2019-08-09 18:21:28 +01:00
Rick Watson
df06e58fb0
add demo project implementation
2019-08-09 15:53:39 +01:00
Rick Watson
aeea0d9aa6
Merge branch 'master' into ft_demo_project
2019-08-07 21:18:08 +01:00
rjwats and GitHub
2ceb54ce4c
Merge pull request #48 from rjwats/notistack
...
Notistack - Replace custom notification component
2019-08-07 21:17:08 +01:00
Rick Watson
d1f3720cd9
Use success variant on sign-out.
2019-08-07 21:14:21 +01:00
rjwats
5161d4bc3c
add www artefact directory to git ignore
2019-08-04 18:43:48 +01:00
rjwats
a86b565c5a
remove www directory, as it is a build artefact
...
replace custom made notification component with notistack
2019-08-04 18:42:58 +01:00
Rick Watson
77771aa807
add fix for latest platformio build changes
2019-07-14 22:14:22 +01:00
Rick Watson
f88520db44
experimenting with some refactoring
2019-07-14 22:13:26 +01:00
Rick Watson
a0d6524180
WIP - demo project
2019-07-06 23:56:30 +01:00
rjwats and GitHub
4bb4871a6d
Update README.md
...
Add travis-ci build tag to readme
2019-06-26 21:12:59 +01:00
Rick Watson
f9255cb496
remove template from travis ci file
2019-06-26 21:08:23 +01:00
Rick Watson
32ac0feae5
testing travis ci
2019-06-26 21:01:07 +01:00
Rick Watson
bbcdf3defb
fix minor build issue under esp8266
2019-06-25 23:31:58 +01:00
rjwats
49c282b286
upgrade packages
2019-06-07 21:53:02 +01:00
rjwats and GitHub
067ca81315
Merge pull request #32 from rjwats/ft_autoreconnect
...
Fix Access Point Issues
2019-06-07 20:30:02 +01:00
Rick Watson
2c31b67131
latest build
2019-06-07 20:26:01 +01:00
Rick Watson
16390b3909
Merge branch 'ft_autoreconnect' of github.com:rjwats/esp8266-react into ft_autoreconnect
...
# Conflicts:
# src/main.cpp
2019-06-07 20:18:06 +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
61f046c185
WiFi driver must be managed by arduino, use arduino to init the driver for esp32 core.
2019-06-07 20:14:55 +01:00
Rick Watson
cf2a20fbd4
Fix crash on startup when not configured - ESP32
2019-06-07 20:08:46 +01:00
Rick Watson
142235c355
Fix issue with ota service not restarting properly - mdns not being shut down without calling end().
2019-06-07 19:47:59 +01:00
Rick Watson
4089b32941
fix issue, using wrong even in esp32
2019-06-05 23:56:56 +01:00
Rick Watson
2eb34e83f8
Access Point only comes back up if WiFi is properly disconnected on failures.
2019-06-05 00:05:16 +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
94656de3c0
fix compiler warning about integer comparison
2019-06-04 20:05:43 +01:00
Rick Watson
274c3bf77f
fix typo in readme
2019-06-03 22:40:11 +01:00
rjwats and GitHub
5a94ad9350
Merge pull request #29 from rjwats/ft_user_security
...
Ft user security
2019-06-03 22:22:24 +01:00
Rick Watson
1bcb51e210
fix typos in readme
2019-06-03 22:18:59 +01:00
Rick Watson
49132c66f8
revert to esp8266 in platformio.ini
...
latest build
2019-06-03 22:15:01 +01:00
Rick Watson
537b3951cf
more work on readme
2019-06-03 21:58:07 +01:00
Rick Watson
0da88878d5
fix issue with authentication redirect loop
2019-06-03 21:32:54 +01:00
Rick Watson
3157b7d3ef
minor tweeks from code review
2019-06-03 21:05:02 +01:00
Rick Watson
fec3b3aeae
add build command, remove windows warning
2019-06-03 00:01:19 +01:00
Rick Watson
03bae3ff2c
more work on readme
2019-06-02 23:52:29 +01:00
Rick Watson
bfa94b79d1
resolve use of VLA in JWT encoder function
2019-06-02 23:31:00 +01:00
Rick Watson
9c680e8826
Resolve some typos
...
Use nullptr over NULL
Fix confusing regexp
Fix issue with non-compliant JWT encoding
2019-06-02 23:15:56 +01:00
rjwats
5d9ccd3095
don't use deprecated theme spacing
2019-06-02 19:01:06 +01:00
Rick Watson
9da0888d7d
Merge branch 'master' into ft_user_security
2019-06-02 16:07:23 +01:00
rjwats
49eb17b221
resolve build issue under windows with pre-build script
2019-06-02 14:27:55 +01:00
Rick Watson
1b701dc198
add comments to platformio.ini
...
more work on readme
2019-06-01 19:53:42 +01:00
Rick Watson
856c2bc050
use smaller images in docs
2019-06-01 19:34:14 +01:00
Rick Watson
1098b99301
WIP readme
2019-06-01 19:27:08 +01:00
Rick Watson
e66deb9dc7
more readme changes
2019-06-01 18:49:53 +01:00