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
2020-02-09 10:21:13 +00:00
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
2020-01-20 11:14:46 +00:00
Rick Watson
7bf713dfea
rename "reset" to "restart"
2019-12-01 08:28:40 +00:00
Rick Watson
a9e6bd4669
fix typo
2019-11-30 16:51:31 +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
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
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
cf48c79b4d
fix bug introduced in value change code
2019-08-09 21:26:31 +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
Rick Watson
d1f3720cd9
Use success variant on sign-out.
2019-08-07 21:14:21 +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
a0d6524180
WIP - demo project
2019-07-06 23:56:30 +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
0da88878d5
fix issue with authentication redirect loop
2019-06-03 21:32:54 +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
d7d33a50c8
disable buttons which are not accessable when non-admin user is authenticated
2019-05-31 21:33:12 +01:00
Rick Watson
22d922c699
rename jwt to user in authentication context, in prepartion for filtering display by user level
2019-05-31 20:55:06 +01:00
Rick Watson
d5efbe4b18
remove redundant label from auth panel
2019-05-31 20:12:04 +01:00
Rick Watson
3009e120a6
fix ui
2019-05-29 23:59:57 +01:00
Rick Watson
73433586b6
add security to all admin endpoints
2019-05-29 23:48:16 +01:00
Rick Watson
71e5830d6c
rename endpoint
2019-05-27 21:21:05 +01:00
Rick Watson
c8857f06ac
look and feel tweeks
2019-05-27 21:01:00 +01:00
Rick Watson
fa3132a2fa
remove comment, checked in by mistake.
2019-05-27 00:04:56 +01:00
Rick Watson
b11c508d77
introduce basic system status page
2019-05-27 00:04:29 +01:00
Rick Watson
218904ed88
More renames
2019-05-26 22:07:16 +01:00
Rick Watson
90bf97aa2b
Rename for consistency
2019-05-26 22:05:58 +01:00
Rick Watson
d9ad598e0f
Add placeholder system section, for status page and reset feature.
2019-05-26 22:02:27 +01:00
Rick Watson
9ee9596b72
Rework routing
2019-05-26 21:27:35 +01:00
Rick Watson
2fa954d5b9
Move wifi routing
2019-05-26 20:49:15 +01:00
Rick Watson
6e5b35978a
add security form, begin work on routing
2019-05-26 19:09:34 +01:00
Rick Watson
353b46c675
Add user icon to app bar
2019-05-26 16:19:16 +01:00
Rick Watson
ab03ddaf4d
little tidyups
2019-05-25 18:01:50 +01:00
Rick Watson
4fdc3eee66
fix encoding where signature contains a zero
2019-05-25 17:41:27 +01:00
Rick Watson
6935b63706
remove roles, as a simplification
2019-05-25 09:45:49 +01:00
Rick Watson
0c630f0f93
Upgrade to material ui 4
...
Add user management and roles - TBA
Menu Label Renames - TBA
2019-05-24 12:19:27 +01:00
Rick Watson
685420aaed
switch to full width tabs
2019-05-21 23:36:51 +01:00
Rick Watson
096dc55604
WIP - User Management Interface
2019-05-21 23:34:48 +01:00
Rick Watson
5c6ba73e1f
add redirect feature for authentication
2019-05-19 21:22:01 +01:00
Rick Watson
adeb9d27ed
some missing newlines and add signout to the menu
2019-05-19 18:56:57 +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
cf693ca341
WIP - more work on sign in feature
2019-05-14 23:18:24 +01:00
Rick Watson
c74c287e21
WIP login page and authentication code
2019-05-14 22:47:04 +01:00