Commit Graph

122 Commits

Author SHA1 Message Date
9b58bea546 add option to switch to the TwentyAfter Syntax and show UHR always 2021-03-17 16:57:54 +00:00
9114587b8f rename project 2021-03-07 18:04:02 +01:00
6d06bf103e delete unneccessary ui elements
use uint_8 for all index types
fix some minor errors
2021-03-07 17:45:03 +01:00
ebd4b76a85 Reduce UI artefact size by removing moment.js
Remove moment.js dependency
2021-01-29 23:42:00 +00:00
4917b38747 Upgrade UI libs, fix linting issues (#218)
* remove redundant component

* upgrade various libraries
sort linting issues issues regarding redeclaring types WRT contexts
2021-01-16 18:08:41 +00:00
3ecdc27550 Add additional settings to AP configuration (#215)
* add wifi settings option to set AP visible/non visible

* add add channel and max client settings

Co-authored-by: lukas <lukas.heiligenbrunner@gmail.com>
2021-01-03 18:51:11 +00:00
6e22893051 Fix user form
* fix issue with checkbox on user form
* use consistent style for const char pointers
* use unique hostname by default
2020-11-21 23:40:31 +00:00
7aed5c0eb2 Upgrade material ui, react and other ui dependencies (#203) 2020-11-10 22:30:19 +00:00
d9a3aac37f Generate placeholder POSIX TZ aliases to make timezones compatible (#202) 2020-11-10 20:15:54 +00:00
2ed5d26b4e Fix warnings relating to unused values (#196) 2020-09-01 11:57:32 +01:00
42050b8dc3 Interface Updates
Remove reset button from forms, rename form loader error "Reset" button to be "Retry"
Upgrade typescript and react-scripts
2020-08-21 10:21:25 +01:00
25f04c3d7f Retain configured hostname (#173)
Retain configured hostname when selecting new network from network scanner
2020-07-19 19:57:59 +01:00
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
6ef5df28c1 Add access point IP address configuration in UI
* Allow ap ip address to be configured via ui
* Add missing WiFi status to UI enum
* Update package-lock.json
2020-07-07 22:22:38 +01:00
f2b53a6d53 Consistency fixes (#167)
Minor consistency fixes from @proddy's comments
2020-07-07 00:13:38 +01:00
1f07dcdab2 OTA Upload Feature (#162)
* Improve restart behaviour under esp8266
* Backend to support firmware update over HTTP
* UI for uploading new firmware
* Documentation changes
2020-06-29 00:25:58 +01:00
e86607bff3 PSRAM Status (#159)
Show PSRAM on status screen
Use correct calculation for heap fragmentation
Fix display of application error component
2020-06-21 23:02:07 +01:00
55511e0611 Allow time & date to be configured manually when NTP is inactive (#153)
* Allow time to be configured manually when NTP is not active
* Standarize on primary button on the outside of dialog boxes
2020-06-16 22:24:15 +01:00
449d3c91ce Allow features to be disabled at build time (#143)
* Add framework for built-time feature selection
* Allow MQTT, NTP, OTA features to be disabled at build time
* Allow Project screens to be disabled at build time
* Allow security features to be disabled at build time
* Switch to std::function for StatefulService function aliases for greater flexibility
* Bump various UI lib versions
* Update docs
2020-06-09 21:57:44 +01:00
5269b47edc Reorder props to avoid TS error 2020-06-08 17:48:00 +01:00
555b3efd8d Access point fixes (#137)
* add lingering mode to access point fix bug which prevents active access point from being re-configured
2020-05-30 09:47:24 +01:00
0004cf988b prefer enums over named consts in UI for better static analysis 2020-05-29 20:58:09 +01:00
d9ae0f5cf9 Header logo (#133)
* Display project icon in the top of application menu bar

Co-authored-by: kasedy <kasedy@gmail.com>
2020-05-26 20:46:20 +01:00
b4f3fbe823 Remove SPIFFS reference from ESP8266 react, use FS pointer instead 2020-05-25 11:30:13 +01:00
98f49fd024 use "fs" instead of "spiffs" as spiffs is implementation specific 2020-05-25 11:04:13 +01:00
aa04cfd80c fix imports
use FSInfo struct for esp8266
2020-05-25 11:00:42 +01:00
6510a72789 apply PR comments 2020-05-25 01:41:45 +02:00
49910e1272 add spiffs size + formatting 2020-05-24 23:35:32 +02: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
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
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
c47ea49a5d ui fixes
remove unused fuction
2020-03-28 21:30:10 +00:00
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
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
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
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
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
7bf713dfea rename "reset" to "restart" 2019-12-01 08:28:40 +00:00
a9e6bd4669 fix typo 2019-11-30 16:51:31 +00:00
a840aba878 Use ESP.reset() rather than ESP.restart() - due to exceptions encountered on esp8266 2019-11-30 12:54:57 +00:00
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
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
8a37302ced remove redundant class reference 2019-08-09 22:54:15 +01:00
632d6907e5 reorganise information page slightly 2019-08-09 22:33:09 +01:00
675a85e524 Add comment to development environment file 2019-08-09 22:23:42 +01:00
cf48c79b4d fix bug introduced in value change code 2019-08-09 21:26:31 +01:00
5069cd90a1 Add ENDPOINT_ROOT to Env constants, replace usages. 2019-08-09 20:33:15 +01:00
2a8599d855 remove unused styles missed in main refactor 2019-08-09 18:59:45 +01:00
ef8061cbc3 use render callbacks for loading notification 2019-08-09 18:55:11 +01:00