Blaž Kristan
a83d9a075f
Merge pull request #3508 from Moustachauve/fix-settings-cache
...
Fix settings caching on some browsers
2023-11-17 08:48:21 +01:00
Christophe Gagnier
e67a210e95
Implement back-end strategy to prevent caching
...
By setting the response header "Cache-Control" to "no-store" and setting "Expires" to 0, we make sure the browsers and place calling this never store it in cache.
2023-11-08 23:46:31 -05:00
Blaz Kristan
fe717dad7f
Possible fix for:
...
- #3382
- #3312
2023-10-22 17:54:00 +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
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 b4f08fa8d5
.
* 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
Blaž Kristan
2000d02768
Strings in flash
2022-10-24 18:49:02 +02:00
Christian Schwinne
5ba1ebd525
equals for /presets.json instead of indexof
2022-10-24 18:44:11 +02:00
ahadcove
92329a8dd0
chore: condense the if statement
2022-10-24 11:34:56 -04:00
ahadcove
21de073784
fix: restoring cfg.json #2847
2022-10-24 11:13:33 -04:00
cschwinne
3905cad68d
Ethernet profile for QuinLed-Dig-Octa Brainboard-32-8L and LilyGO-T-ETH-POE
...
Un-F() a string that already exists in RAM
2022-10-21 03:56:00 +02:00
Ahad
3c36030977
fix: filename uploads ( #2831 )
...
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2022-10-21 01:25:39 +02:00
Blaz Kristan
799d4f9465
Playlist load bugfix.
...
serializeConfig() in loop() (prevent crash/hang in web server callback)
2022-09-14 22:28:06 +02:00
Blaz Kristan
4e11806d00
Code optimisations.
2022-08-04 16:15:49 +02:00
Blaž Kristan
c5f3e76b21
Compile optimisations, code reduction.
...
2D peek resize.
2022-08-03 14:23:24 +02:00
ewowi
863212915c
Revert "Merge branch 'segment-api' into origin/mapping12soundsim"
...
This reverts commit 8ef82ebdd7
.
2022-07-26 11:23:51 +02:00
Blaž Kristan
59cb9ba344
Revert 2D peek
2022-07-25 11:47:19 +02:00
ewowi
d3e9f51d6b
Merge remote-tracking branch 'origin/segment-api' into segment-api
2022-07-24 17:13:13 +02:00
ewowi
e3499e5a70
Add 2D liveview (Peek 2D) - Beta version
2022-07-24 17:10:29 +02:00
Blaz Kristan
cb44d45eeb
Merge branch 'dev' into segment-api
2022-07-22 14:41:39 +02:00
Blaz Kristan
c15ffca48c
Merge branch 'master' into master-merge
2022-07-22 14:34:02 +02:00
Blaz Kristan
6c6849d8d7
Vectors & dynamic loadJS.
...
- Segments
- Modes
NOTE: crashes ESP if effect is running while deleting segment.
2022-07-17 15:58:41 +02:00
Blaz Kristan
588c7a81fc
Fix for transitions.
2022-07-12 18:10:07 +02:00
Blaz Kristan
2b259f3704
Usermod API enhancements
...
- data exchage getUMData()
- usermod configuration helper appendConfigData()
- notification on updates onUpdateBegin()
2022-06-13 22:11:55 +02:00
Blaz Kristan
562a206508
It compiles!
...
Cleaned (and possibly broken) AudioSource
Added:
- usermod notification about update
- strip.getMinShowDelay()
- pin manager updates
Changed:
- data exchange
2022-06-11 00:50:29 +02:00
Blaz Kristan
14887d5e88
Multiple fixes.
...
- non matrix bugs in legacy effects
- preset loading (cycling)
- segment length in UI
- possible WS heap corruption prevention
2022-06-01 22:11:25 +02:00
Blaz Kristan
17be0a2c12
Enhance rotary encoder with custom sliders.
...
Soft watchdog timer (by poelzi)
2022-05-24 13:45:35 +02:00
Daniel Poelzleithner
26fa38d052
Watchdog: disable watchdog while OTA is running
2022-05-23 22:30:13 +00:00
Blaz Kristan
f0d36fd769
WLED 2D matrix support.
...
- Added 2 sample effects to UI.
- 2D segment details.
- 1D effect upscaling to 2D.
- 2D setPixelColorXY() and other utility functions
- Arbitrary panel position & oritentation.
- 2D settings with physical to logical mapping.
- Bump version.
2022-05-08 10:50:48 +02:00
Blaz Kristan
9f71a6ab18
Arduino OTA lock fix.
2022-05-01 22:09:40 +02:00
Blaz Kristan
2e6ce0481c
Allow swapping of W channel for RGBW LEDs.
...
Backporting fix.
2022-04-30 12:45:38 +02:00
Blaz Kristan
9667365d9e
Optional HSV sliders instead of color wheel.
...
PIN code optimizations & fixes.
2022-04-27 12:31:47 +02:00
Blaz Kristan
73e898773b
Minor fixes.
...
- reversed condition for simplified UI
- removed duplicate code
2022-03-31 21:44:11 +02:00
Blaz Kristan
03710f1fd2
Prevent brute force PIN guessing.
2022-03-03 18:49:32 +01:00
Blaz Kristan
b339f426f2
Added:
...
- generic settings.js handler
- update info
- numeric (not really) hidden PIN
2022-03-02 15:41:31 +01:00
Blaz Kristan
9fd26fa574
Settings PIN protection.
2022-03-01 23:37:28 +01:00
Blaž Kristan
23d7c3d0fe
Merge branch 'master' into merge-master
2022-02-24 13:43:12 +01:00