Skip to content

Commit

Permalink
Web-UI: Replace the template processor (#253)
Browse files Browse the repository at this point in the history
* remove template-processor

* fix showing values (slider, maxLength)

* separate JSON settings into sections (neopixel, battery)
Make "Reset" values to factory settings working

* bugfix saving inactivityTime & always loading defaults

* fix compiling with both BATTERY_MEASURE_ENABLE & HALLEFFECT_SENSOR_ENABLE enabled

* set to LOGLEVEL_ERROR if saving settings failed

* Enabled property not needed: if feature is disabled do not provide the JSON object

* rename JSON variables for better readability

* wifi global settings

* changes suggested by @SZenglein review:
- refactor server-side hostname validation to Wlan.cpp
- rename JSON "neopixel" -> "led"
- rename getSettings() -> requestSettings()
- bugfix MQTT max-length
- bugfix save "scan_wifi_on_start"
- sync with latest DEV

* load SSIDs via websocket, avoid two extra HTTP requests
  • Loading branch information
tueddy committed Aug 4, 2023
1 parent c22bfe2 commit 25e6e9c
Show file tree
Hide file tree
Showing 5 changed files with 483 additions and 359 deletions.
Loading

0 comments on commit 25e6e9c

Please sign in to comment.