rjwats
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
4 years ago
rjwats
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
5 years ago
Rick Watson
7bf713dfea
rename "reset" to "restart"
5 years ago
Rick Watson
a9e6bd4669
fix typo
5 years ago
Rick Watson
a840aba878
Use ESP.reset() rather than ESP.restart() - due to exceptions encountered on esp8266
5 years ago
Rick Watson
78b9ae101e
Add restart service for esp8266 and esp32
Add restart feature to status screen
Upgrade material-ui
Add icons to buttons
5 years ago
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
5 years ago
Rick Watson
8a37302ced
remove redundant class reference
5 years ago
Rick Watson
632d6907e5
reorganise information page slightly
5 years ago
Rick Watson
cf48c79b4d
fix bug introduced in value change code
5 years ago
Rick Watson
5069cd90a1
Add ENDPOINT_ROOT to Env constants, replace usages.
5 years ago
Rick Watson
2a8599d855
remove unused styles missed in main refactor
5 years ago
Rick Watson
ef8061cbc3
use render callbacks for loading notification
5 years ago
Rick Watson
ff85c2e661
reduce use of ternaries in form code
5 years ago
Rick Watson
df06e58fb0
add demo project implementation
5 years ago
Rick Watson
d1f3720cd9
Use success variant on sign-out.
5 years ago
rjwats
a86b565c5a
remove www directory, as it is a build artefact
replace custom made notification component with notistack
5 years ago
Rick Watson
a0d6524180
WIP - demo project
5 years ago
Rick Watson
e7248c4774
leave WiFi disconnected by default
implement controlled retry - fixed at 60 seconds
5 years ago
Rick Watson
0da88878d5
fix issue with authentication redirect loop
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
rjwats
5d9ccd3095
don't use deprecated theme spacing
5 years ago
Rick Watson
d7d33a50c8
disable buttons which are not accessable when non-admin user is authenticated
5 years ago
Rick Watson
22d922c699
rename jwt to user in authentication context, in prepartion for filtering display by user level
5 years ago
Rick Watson
d5efbe4b18
remove redundant label from auth panel
5 years ago
Rick Watson
3009e120a6
fix ui
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
c8857f06ac
look and feel tweeks
5 years ago
Rick Watson
fa3132a2fa
remove comment, checked in by mistake.
5 years ago
Rick Watson
b11c508d77
introduce basic system status page
5 years ago
Rick Watson
218904ed88
More renames
5 years ago
Rick Watson
90bf97aa2b
Rename for consistency
5 years ago
Rick Watson
d9ad598e0f
Add placeholder system section, for status page and reset feature.
5 years ago
Rick Watson
9ee9596b72
Rework routing
5 years ago
Rick Watson
2fa954d5b9
Move wifi routing
5 years ago
Rick Watson
6e5b35978a
add security form, begin work on routing
5 years ago
Rick Watson
353b46c675
Add user icon to app bar
5 years ago
Rick Watson
ab03ddaf4d
little tidyups
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
685420aaed
switch to full width tabs
5 years ago
Rick Watson
096dc55604
WIP - User Management Interface
5 years ago
Rick Watson
5c6ba73e1f
add redirect feature for authentication
5 years ago
Rick Watson
adeb9d27ed
some missing newlines and add signout to the menu
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
cf693ca341
WIP - more work on sign in feature
5 years ago
Rick Watson
c74c287e21
WIP login page and authentication code
5 years ago
Rick Watson
f93804c240
don't use deprecated variants
5 years ago