Will Miles
2640203c88
wled_server: Remove local content type variables
...
Use the CONTENT_TYPEs exported by AsyncWebServer directly.
2024-03-19 23:46:55 -04:00
Will Miles
a1b0f84444
Pass PROGMEM type to server.on()
...
Rather than relying on the exception handler, indicate the
__FlashStringHelper type so the correct String constructor is
used.
2024-03-16 12:12:48 -04:00
Will Miles
df6c271830
Use web server ContentType symbols
...
These were mostly PROGMEM already, but every little bit helps.
2024-03-16 12:12:48 -04:00
Blaz Kristan
da6d64e581
Multiple fixes
...
- compile time button configuration #3792
- remove IR config if not compiled
- additional string optimisations
2024-03-05 16:27:28 +01:00
Blaz Kristan
6435cb1466
Fix for missing string in OTA
2024-02-28 20:25:59 +01:00
Blaz Kristan
41129cf379
Sqeeze every byte
2024-02-25 17:08:01 +01:00
Blaz Kristan
66f4671ec0
Move strings into flash
2024-02-18 14:09:38 +01:00
Blaz Kristan
5761dce957
JSON buffer lock error messages
...
Reduce wait time for lock to 100ms
2024-02-17 11:30:29 +01:00
Blaz Kristan
95e2e574b8
ESP-NOW packet modification
...
- include up to 5 segments in 1st packet
- header contains total number of packets (instead of segments)
web server code reorganise
2024-02-15 20:40:55 +01:00
Blaz Kristan
276a93605d
Multiupdate
...
- allow DMX for S2 & C3 (ESPDMX, needs testing)
- (debug) string cleanup & optimisation
- WLED_BRAND for AP SSID
2024-02-09 22:15:29 +01:00
Blaz Kristan
0150c3fe23
Undo flash string in DMX
2024-02-08 23:35:00 +01:00
Blaz Kristan
f6206d4c30
Web server string optimisation
...
(saves 140B of RAM on ESP8266)
ETag bugfix
2024-02-08 19:32:23 +01:00
Blaz Kristan
7eae8f68d8
Merge branch 'main' into 0_15
2024-02-06 14:47:20 +01:00
Blaz Kristan
593e55af95
Cleanup.
2024-01-20 23:29:45 +01:00
Blaz Kristan
6b7f80f24a
Merge branch '0_15' into suspend
2024-01-09 18:30:27 +01:00
Blaz Kristan
fc6e7c81d3
Merge branch '0_15' into suspend
2024-01-04 17:33:07 +01:00
Woody
59a725c52c
Use uint16_t eTagSuffix instead of String
2024-01-03 23:39:45 +01:00
Woody
fd6ce57003
Improve ETag Caching
...
This also adds support for ETag caching for the settings pages
Also fixed some issues with the previous caching not being RFC 7232 compliant.
2024-01-03 18:53:54 +01:00
Blaz Kristan
cf3f6ede72
Suspend strip during operations
2023-12-22 15:39:07 +01:00
Blaz Kristan
1f81fb9284
Implement JSON buffer in PSRAM to free up DRAM.
2023-12-21 21:30:17 +01:00
Woody
201daf8ff3
Remove /iro.js and /rangetouch.js
2023-12-19 22:40:24 +01:00
Blaž Kristan
5bc2282ac5
Merge branch '0_15' into caching
2023-12-16 13:27:50 +01:00
Blaž Kristan
7d52cc46dc
Merge pull request #3590 from WoodyLetsCode/style
...
Send empty page if skin.css does not exist
2023-12-16 13:03:39 +01:00
Blaž Kristan
37c9fd278c
Merge pull request #3511 from WoodyLetsCode/simple-mode
...
New implementation of the simplified UI
2023-12-16 13:02:18 +01:00
Woody
e99dfbae0d
Fix ETag caching
2023-12-14 14:41:08 +01:00
Woody
b024d93fa0
Send empty page if skin.css does not exist
...
This has the advantage that we do not need to send the 404 error page every time
2023-12-14 13:21:09 +01:00
Blaz Kristan
67ae716c60
JSON HTTP error handling
2023-12-12 15:45:57 +01:00
Woody
0c97d7701e
Remove no longer needed code for simplifiedUI
2023-12-01 10:55:14 +01:00
Woody
40f544fffc
Reimplemented simplified UI
2023-12-01 10:52:45 +01:00
Blaz Kristan
db881ee011
Small optimisations.
...
2D liveView (non-WS) core
soundSim fix
2023-10-25 20:27:01 +02:00
Blaz Kristan
47bc1bf88d
Merge branch '0_14_1' into 0_15
2023-10-23 20:18:55 +02:00
Blaz Kristan
fe717dad7f
Possible fix for:
...
- #3382
- #3312
2023-10-22 17:54:00 +02:00
Blaz Kristan
fb3816e2e5
Possible fix for:
...
- #3382
- #3312
2023-10-22 17:53:16 +02:00
Christophe Gagnier
225fd0d05b
Update response code when access is denied
...
Having the wrong pin would result in a server error (500). The more appropriate error code for that would be 401.
This also changes the page that asks for users to login from 200 to 401.
2023-10-16 03:19:14 -04:00
Blaz Kristan
cc68e6b6e6
Squashed commit of the following:
...
Remove sync receive
Disallow 2D effects on non-2D segments
Optimisations
Sync clarification
AR palettes
Return of 2 audio simulations
Bugfix in sync #3344
- remove excessive segments
- ignore inactive segments if not syncing bounds
- send UDP/WS on segment change
- pop_back() when removing last segment
Add pairing support for ESP-NOW sync
Reduce string RAM footprint
UDP parse optimisation
Make WizMote work with sync.
ESP-NOW wireless sync POC.
- caveat: devices have to be on the same channel
- clashes with WizMote handling ATM
2023-09-10 18:52:14 +02:00
Blaž Kristan
f015227fc8
Missing WS connection fallback for liveview ( #3267 )
...
* Missing WS connection fallback for liveview
- fix for #3250
Remove (conditional WLED_ENABLE_LEGACY) legacy URI
Replace /sliders with /?sliders
* Merge liveview and liveviewws pages
Remove /url string subpage
Enable /json/live by default
* WS retry count
Removed appended ws from URL
* Also reset WS retries on successful WS connection
---------
Co-authored-by: Christian Schwinne <cschwinne@gmail.com>
2023-06-27 01:51:24 +02:00
Alerson Jorge
d3af2be79a
Adding Pixel Magic Tool to WLED ( #3249 )
...
* Adding Pixel Magic Tool to WLED
* Revert "Adding Pixel Magic Tool to WLED"
This reverts commit b4f08fa8d5e75893d1a76ac0ec82ed1503d24460.
* Adding Pixel Magic Tool to WLED
* Corrections and performance improvements
* Remove IE compatibility tag
(saves a few bytes and IE10 is over 10 years old and unsupported)
Correct HTML language attribute
(Chrome would show a popup asking to translate from Portugese)
* Corrections and performance improvements
* Enable pxmagic by default
---------
Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
Co-authored-by: Christian Schwinne <cschwinne@gmail.com>
2023-06-22 11:26:24 +02:00
Aircoookie
264b3a785b
Code style: define constants for settings subpage IDs
2023-06-15 23:58:22 +02:00
Aircoookie
dd9da2853a
Support settings pin unlock via JSON
...
Also supports locking by providing any incorrect pin
2023-06-14 11:53:39 +02:00
Blaz Kristan
fec2d1f7ee
Bugfix
...
- respect Settings PIN lock in /json/cfg
2023-06-07 21:43:32 +02:00
Blaz Kristan
82e448de7c
Beta-3 changes
...
- remove I2C init from usermods
- PCF8574 (&co) port expander support
- refactor PIR & Rotary encoder & 4LD
- reboot race condition
- optimisations
2023-05-30 19:36:14 +02:00
Blaz Kristan
f38851b7c6
Merge branch 'main' into cpal
2023-04-30 17:52:28 +02:00
Blaz Kristan
432c5837f0
Bugfix
...
- WiFi power for Lolin S2 & C3 (use -DLOLIN_WIFI_FIX)
- web response buffer size (corruption when websockets not used)
2023-04-30 17:30:36 +02:00
Blaz Kristan
396ea3d0ee
Add webserver cpal support
2023-04-14 17:21:07 +02:00
Blaz Kristan
ece6759fa7
UI update.
2023-04-14 17:15:02 +02:00
Blaž Kristan
86d8b49113
Pixelart
...
- full implementation
2023-01-20 14:40:45 +01:00
Blaz Kristan
ef6a9184ba
A few more flash bytes saved.
2023-01-16 21:55:12 +01:00
Blaž Kristan
506b6b51ce
whitespace cleanup
2023-01-06 09:24:29 +01:00
mrbubble62
7df08c2120
Fixed typo when WLED_ENABLE_FS_EDITOR disabled
2022-12-18 12:37:05 -05:00
Christian Schwinne
ac57da8713
No F() and numeric comparison
2022-10-24 19:12:27 +02:00