Blaz Kristan
43f5e4360d
Changelog update
...
Remove obsolete semaphore
2024-01-06 20:28:05 +01:00
Blaz Kristan
21f8d7a967
Bump
2024-01-06 17:04:56 +01:00
Blaž Kristan
801d92bbba
Merge pull request #3648 from willmmiles/json-response-locking
...
Expand JSON buffer lock scope to entire web reply
2024-01-06 17:01:34 +01:00
Will Miles
77116172e4
serveJson: Fix possible memory leak
...
Ensure we delete the response if it's not locked
2024-01-06 10:24:05 -05:00
Will Miles
9d3c0f4ff0
serveJson: Ensure semaphore scope lasts until reply is done
...
Extend the JSON response class to hold the global JSON buffer lock
until the transaction is completed.
Fixes #3641
2024-01-06 10:09:07 -05:00
Will Miles
6382d2b730
Add C++-style guard class for JSON Buffer lock
...
Add JSONBufferGuard, an RAII lock guard class for JSONBufferLock
analogous to std::lock_guard. This permits binding the guard to a scope,
such as an object life cycle or function body, guaranteeing that the
lock will be released when the scope exits.
2024-01-06 10:05:18 -05:00
Blaž Kristan
6ad4493a91
Merge pull request #3639 from WoodyLetsCode/caching
...
Improve ETag Caching
2024-01-04 19:16:56 +01:00
Blaz Kristan
f070dc5527
Cosmetic & needsUpdate()
2024-01-04 17:40:23 +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
bd20c83919
Bugfix #3632
2024-01-01 23:14:45 +01:00
Blaz Kristan
48f8a45031
Last minute adjustments & fixes
2023-12-31 18:05:21 +01:00
Istvan Meszaros
680cec5abb
Make palette editor mobile friendly.
2023-12-30 19:49:08 +01:00
Blaz Kristan
ecdc3be52e
Changlog update
2023-12-30 11:56:21 +01:00
Blaž Kristan
301bdf2186
Merge pull request #3610 from Aircoookie/psram-4-json
...
Allow PSRAM (SPI RAM) to be used for JSON buffer
2023-12-30 11:00:53 +01:00
Blaz Kristan
1c1b67e000
Full per-port ABL implementation and bugfix.
...
Update of BusManager class (static)
2023-12-29 23:07:29 +01:00
Blaz Kristan
bc85520f5e
Merge branch '0_15' into suspend
2023-12-28 23:38:42 +01:00
Blaz Kristan
d3be7a3edf
Merge branch '0_15' into psram-4-json
2023-12-28 23:38:27 +01:00
Blaz Kristan
6cd0da821a
Reduce heap fragmentation when switching ledmaps
2023-12-28 23:32:47 +01:00
Blaz Kristan
1333c41811
Slight tweak to reduce footprint
2023-12-28 20:05:02 +01:00
zanhecht
55eceb4080
Fix Firefox loading order, more resilient fallback to gradient method
2023-12-28 13:06:13 -05:00
Blaz Kristan
6332ee6edb
Effect buffer optimisations
...
setMode() fix for selecting gap
UI error messages
2023-12-27 19:36:25 +01:00
zanhecht
901d56f898
Use canvas instead of CSS gradient for liveview
...
Allows for "pixel perfect" liveview instead of diffused view, to better match what's shown at https://kno.wled.ge/features/effects/ . This will make it easier to see what the LEDs are doing, although it may not be as accurate a representation for installations with diffused LEDs. Includes fallback to CSS gradient method for browsers that don't support canvas.
2023-12-27 13:20:22 -05:00
Blaz Kristan
b3a768a04b
Remove check for strip
2023-12-25 12:29:12 +01:00
Blaz Kristan
f414af4d82
Fix incorrect compare
2023-12-25 12:27:27 +01:00
Blaz Kristan
7971f3cbd8
Fix for saving config.
2023-12-23 22:56:07 +01:00
Blaz Kristan
08d9f7d967
Fix for #2922
2023-12-23 21:05:01 +01:00
Blaž Kristan
776502e6db
Merge pull request #3606 from WoodyLetsCode/welcome
...
Fix bug that welcome page was not shown
2023-12-23 20:27:20 +01:00
Blaz Kristan
cf3f6ede72
Suspend strip during operations
2023-12-22 15:39:07 +01:00
ezcGman
b76a90304d
Merge branch '0_15' of https://github.com/Aircoookie/WLED into ledmaps-realtime
2023-12-22 13:19:44 +01:00
Woody
7af5b24b03
Fix bug that welcome page was not shown
2023-12-21 22:17:43 +01:00
Blaz Kristan
1f81fb9284
Implement JSON buffer in PSRAM to free up DRAM.
2023-12-21 21:30:17 +01:00
Blaz Kristan
4e105492ca
Retry on failed JSON load.
...
Throttle for ESP8266
This is a band-aid for ESP8266 JSON corruption and not a proper fix.
2023-12-21 21:02:53 +01:00
Blaž Kristan
abf7dd5fa8
Merge pull request #3587 from WoodyLetsCode/search-scroll-top
...
Scroll to first search result on search
2023-12-21 20:49:44 +01:00
Blaž Kristan
6c877b6d44
Merge pull request #3597 from WoodyLetsCode/inline
...
Inline iro.js and rangetouch.js
2023-12-21 20:43:29 +01:00
Xaver
86d2998dc0
Add reference to old loading of iro.js and rangetouch.js
2023-12-20 11:30:28 +01:00
Woody
201daf8ff3
Remove /iro.js and /rangetouch.js
2023-12-19 22:40:24 +01:00
Woody
1140f5f6cb
Update version to 2312190
2023-12-19 21:18:33 +01:00
Woody
0a91d60677
add onload event to body
2023-12-19 21:12:07 +01:00
Woody
5cd8f5681e
Remove unused feedback function
...
This was probably forgotten to remove in commit d6c0642a02
2023-12-19 20:41:56 +01:00
Xaver
b2babd9502
inline iro.js and rangetouch.js
2023-12-19 16:52:15 +01:00
Blaz Kristan
42dba3170d
Fix for #3593
2023-12-17 22:16:57 +01:00
Blaz Kristan
9e57ef074d
Simplify PIR usermod
...
- remove periodic updates
- immediately trigger MQTT
- call mode chang to CALL_MODE_BUTTON
2023-12-17 12:56:30 +01:00
Blaz Kristan
9e9b1c3c98
Fix for incorrect move of MQTT publish
2023-12-17 12:14:44 +01:00
Blaz Kristan
13d5deddec
Fix buffer overwrite in PIR MQTT
2023-12-17 11:34:44 +01:00
Blaž Kristan
8522760c70
Merge pull request #3591 from WoodyLetsCode/caching
...
Fix ETag caching
2023-12-16 13:31:07 +01:00
Blaž Kristan
5bc2282ac5
Merge branch '0_15' into caching
2023-12-16 13:27:50 +01:00
Blaž Kristan
264480b9bc
Merge pull request #3586 from WoodyLetsCode/aircoookie-link
...
Add link to Aircoookie in Info
2023-12-16 13:04:54 +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