1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-22 04:00:55 +00:00
Commit Graph

193 Commits

Author SHA1 Message Date
leokeba
7b4ec5920a Fixed step handler to allow using float numbers and sliders 2022-11-11 17:29:02 +01:00
leokeba
8e3c12935e fix: Use ControlType Constant 2022-11-05 14:06:13 +01:00
leokeba
f35d3a19d4 feat: implemented clearGraph function 2022-11-03 03:31:04 +01:00
leokeba
48594de29a fix: initialize graph data with empty array if null 2022-11-03 01:37:46 +01:00
Nick Reynolds
09a550e614 Many LittleFS related changes/fixes 2022-10-13 21:10:20 +01:00
Nick Reynolds
309e53dd1e Sort out includes for LittleFS 2022-10-13 21:09:05 +01:00
Nick Reynolds
4b489c7ce5 Support ESP-IDF versions prior to 4.4/Arduino Core 2.0 2022-10-13 20:52:19 +01:00
Nick Reynolds
0c9586730e Add feature to optionally _not_ format LittleFS to prepareFileSystem() 2022-10-13 19:53:55 +01:00
Martin Mueller
bce624b0f2 Added more robust retry when a socket error occurs. 2022-09-27 10:31:07 -04:00
Martin Mueller
1595b3bd04 Fixed bug that caused a crash when sending graphpoint updates to multiple browsers. 2022-09-22 09:36:12 -04:00
Martin Mueller
a18254b16b Fixed include issues for LittleFS 2022-09-22 09:34:53 -04:00
Martin Mueller
811e0ede4d Cosmetic changes to debug messages 2022-09-22 09:34:11 -04:00
Martin Mueller
ea4a0df4d0 Major Restructuring next part 2022-09-21 15:45:48 -04:00
Martin Mueller
a2923e501f Major restructuring of the code to get past an issue in the web socket where many changes are requested but the WS API cant handle the requests. Requests are now tracked per UI client.
Moved the client out of the main code into its own code and moved control data marshaling into the control class.
NONE of these changes impact the users API. No code changes are needed by the users.
WARNING: The LittleFS support for the ESP32 has been updated to be compatible with the latest ESP32 infrastructure. This includes using an improved WebServer.
2022-09-21 15:37:20 -04:00
05ab1734e6
Merge pull request #197 from ncmreynolds/main
Add captive portal functionality, update examples and documentation, resolves #134
2022-09-21 10:06:57 +02:00
Nick Reynolds
79b9acf9f4 Changes per suggestions by maintainer (Lukas Bachschwell). 2022-09-21 08:58:05 +01:00
Nick Reynolds
90ba90a717 Make captive portal redirect on by default. 2022-09-20 15:29:34 +01:00
Nick Reynolds
e81cd1f7f5 Add captive portal functionality, update examples and documentation. 2022-09-19 17:38:10 +01:00
Ian Gray
a150d2db1e
Merge branch 's00500:master' into master 2022-07-17 11:20:31 +01:00
Ian Gray
86c469f5cb Fix small bug applying styles to input elements 2022-07-17 11:17:22 +01:00
Martin Mueller
782d339f83
Merge branch 's00500:master' into master 2022-06-25 07:17:37 -04:00
Martin Mueller
1419b2dec0 Updated the rest of the callback functions to support the new UserData parameter 2022-06-11 01:20:25 -04:00
Martin Mueller
02e847a31e First part of extending callback to include a user parm.
Converted addControl to no longer use C Style function definitions. Now using C++ function overload to support multiple invocation modes.
2022-06-11 00:42:25 -04:00
Martin Mueller
9cb962122c Reworked removeControl function 2022-06-10 12:44:53 -04:00
Ian Gray
e3debb9689 Update output files 2022-05-29 10:14:52 +01:00
Ian Gray
83e1d0a1c9 Merge branch 'master' of https://github.com/s00500/ESPUI into s00500-master 2022-05-29 10:13:37 +01:00
pcbbc
a3b253665d Updated documentation 2022-05-24 11:21:34 +01:00
pcbbc
b47d595194 Update ESPUI.cpp 2022-05-23 00:06:42 +01:00
pcbbc
a53124de42 Added 'type' proptert to text input elements
Now the text input element can support other HTML input types suxh as date, time, color, password, etc
2022-05-22 23:31:48 +01:00
Ian Gray
c63537a358 Fix issue where grouped sliders are moved programatically. 2022-02-16 21:10:16 +00:00
Ian Gray
ab5ac2dc1d Fix regression caused by f06781bc03. See comments in commit on Github. 2022-02-16 20:28:55 +00:00
Ian Gray
d77daf0c8e Initialise the enabled value to fix #162 2022-02-16 15:40:31 +00:00
Ian Gray
c2dadf536e Fix #158, min/max not being applied correctly to grouped elements. 2022-02-11 20:47:15 +00:00
Ian Gray
0fe60e91a9
Merge branch 'master' into enabledisable 2022-02-11 19:57:36 +00:00
david gauchard
f06781bc03 minor fixes for emulation on host
(https://github.com/d-a-v/emuAsync)
2022-02-02 11:19:43 +01:00
Ian Gray
9a4cb277e9 Also support disabling the Pads 2022-01-31 22:34:00 +00:00
Ian Gray
d8b9c35655 Add active styles to Pad to give click feedback 2022-01-31 22:06:54 +00:00
Ian Gray
896dc97c75 Support dynamic enabling and disabling of controls
See documentation in README for how this works. This commit
handles all the main controls. Pads are not yet supported.
2022-01-31 21:43:09 +00:00
Ian Gray
576890e033 Dynamic visibility support
The ability to make controls visible and invisible
was basically already supported, we just need to add
some minor handling in controls.js.
2022-01-28 20:31:25 +00:00
Ian Gray
f2fa9ba652 Update header files 2022-01-28 16:57:04 +00:00
Ian Gray
c12f97de48 Update documentation to explain vertical layout
Also explains how to label groups of sliders/switchers.
Also makes a tiny tweak to the width of vertical sliders so they are the same width as switchers.
2022-01-28 16:45:26 +00:00
Ian Gray
df0c6faa4d Add updated style header 2022-01-28 15:31:53 +00:00
Ian Gray
334bf16b09 Initial support for vertical switchers and sliders.
Documentation to be added in a later commit.
2022-01-21 23:30:08 +00:00
Ian Gray
9cd15db1ad Add Time control
Adds a new invisible control that can fetch the current time from a
connected client. Documentation is in the README.
2022-01-20 21:50:06 +00:00
Ian Gray
bc34078f42 Fix bug with multiple clients
If two clients were connected at the same time, the chunked updates
from one could cause the other to recieve UI_EXTEND messages. This
is fixed by passing the client in to jsonDom.
2022-01-20 20:43:04 +00:00
Ian Gray
55b291eb50 Support update of Button text 2022-01-16 14:47:41 +00:00
Ian Gray
bc6e2bb8af Correct call to elementHTML 2022-01-15 21:44:53 +00:00
Ian Gray
fed603e219 Fix error in graph HTML output 2022-01-15 15:13:28 +00:00
Ian Gray
12a3fb6c80 Fix bug with sliders getting out of sync. 2022-01-15 14:29:38 +00:00
Ian Gray
6a513e9f65 Allow Max control to add maxlength to text input. Update docs. 2022-01-14 20:24:23 +00:00