Wykres commitów

155 Commity (http-api-refactor)

Autor SHA1 Wiadomość Data
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
cschwinne 4d4a20e05e 0.13.0-b7
Mitigate Pixel 6 UI issue
2022-02-24 01:16:24 +01:00
Blaž Kristan 8af445e72b Merge branch 'master' into merge-master 2022-02-22 10:42:00 +01:00
cschwinne 1f5971f15a Another HTTP API segment improvement 2022-02-21 18:31:19 +01:00
Blaz Kristan 41b6f3ffa7 Merge branch 'master' into merge-master 2022-02-20 22:24:11 +01:00
cschwinne 7b969bb8c2 Various state changed logic simplifications
Changed main segment, must be selected
2022-02-16 21:12:33 +01:00
Blaz Kristan 026a53f3ff Bugfix for expanding timed presets.
Removed AsyncWebServer callbacks (string replace).
2022-01-28 16:31:28 +01:00
Blaz Kristan 8386b9a0b4 Removed dynamic JSON buffer entirely.
Temporary presets in RAM (ESP32)
Async loading of presets (stability).
Other minor fixes.
Bumped version to 0.13.1-bl6
2022-01-01 12:52:50 +01:00
Blaz Kristan 5462d1e9f8 Bugfix
- incorrect bus length
- invalid relay state
- preset JSON corruption on network call
- iro & rangetouch serving
2021-12-11 23:17:47 +01:00
Blaz Kristan 957d08f4c6 Merge branch 'dev' into gzip
Minor fixes.
Enhanced SR UI handling for palettes.
2021-12-07 18:53:38 +01:00
Blaz Kristan 156b499f93 Merge branch 'master' of https://github.com/aircoookie/WLED into dev 2021-12-07 17:18:38 +01:00
Blaz Kristan f45b5da71a GZIPped UI & settings pages.
settings.js for pasting data into HTML.
Reduced simple & classic flash footprint.
Split iro.js and rangetouch.js into separate requests (instead of embedding)
2021-12-06 20:53:09 +01:00
Christian Schwinne 66bad2b6f8
Single json buffer (#2336)
* Single/static JSON buffer for all requests.

* Missing json.cpp changes.

* Async fix.

* Added conditional compile (WLED_USE_DYNAMIC_JSON).

* Advanced locking with time-out.

* Missing releaseJSONBufferLock() on error response.

* Fix for config saving.

* Fixes and optimisations.
Dadded debugging information.

* Fix for ledmaps.

* No unsolicited serial sending if GPIO1 allocated

* Stray semicolons

* Fix JSON ledmap

Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
2021-12-04 01:05:01 +01:00
Blaz Kristan d6be7b4cae cdata.js and simple UI optimization. 2021-11-30 16:27:55 +01:00
Blaz Kristan 312cbc86e9 Bugfix.
Debugging info added.
2021-11-14 16:56:34 +01:00
Blaz Kristan 85ded6e500 Advanced locking with time-out.
Bugfixes.
2021-11-12 23:33:10 +01:00
Blaž Kristan 442741d246 Merge branch 'master' into dev 2021-11-09 14:07:46 +01:00
Christian Schwinne 5784092c1b
Fix settings JS buffer too small (#2323) 2021-11-09 09:56:02 +01:00
Blaz Kristan f8da8f6929 Added conditional compile for dynamic JSON buffer.
- WLED_USE_DYNAMIC_JSON
Minor fixes.
2021-11-07 11:58:16 +01:00
Blaž Kristan 5cf26af9f0 Merge branch 'dev' into single-doc 2021-11-04 10:05:02 +01:00
Blaž Kristan 04c9646e05 Merge branch 'master' into dev 2021-11-04 10:04:21 +01:00
Blaž Kristan bd521f858e Single JSON buffer. 2021-11-03 14:52:22 +01:00
Christian Schwinne 7e1920dc4b
Remove ledCount (#2300)
Bus initialization on reading from eeprom
2021-10-31 11:57:41 +01:00
Blaž Kristan 6db2240f8a Merge branch 'master' into dev
(mostly ignored index.js)
2021-09-22 06:58:49 +02:00
cschwinne 96422de031 0.13.0-b3 2021-09-21 23:37:35 +02:00
Blaz Kristan 19129c8786 Simple page CSS & JS update.
Added simple UI as a separate page (/simple.htm).
2021-08-21 18:12:38 +02:00
Blaz Kristan 4e28e2cb59 Merge branch 'master' into dev 2021-08-19 21:57:04 +02:00
Blaz Kristan 93378406c3 Additional CSS optimisations. 2021-08-11 21:28:31 +02:00
Blaz Kristan 602d04af82 Invaliating browser cache after UI selection change 2021-08-10 21:52:07 +02:00
Blaz Kristan dcfbf2b154 Simplified UI and general UI polishing (CSS, HTML & JS).
Boot transition fix.
Local storage invalidation when uploading presets.json.
2021-08-10 17:11:17 +02:00
Blaž Kristan 2e9bd477d9
Upload files & skinning (#2084)
* Skinning WLED & uploading files.
Backup & restore configuration & presets.
External holidays.json

* Option for segment count instead of stop.

* Small fixes and improvements

* Further improvements

* Enable custom CSS by default

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-07-26 00:10:36 +02:00
Blaz Kristan 34c8f33c3c Bugfix WS saving preset. 2021-07-07 16:55:22 +02:00
Blaz Kristan 14ac66ff4e Minor optimisations.
Removed all traces of v2 JSON API.
2021-06-19 23:16:40 +02:00
Blaz Kristan 1a80439825 Merge branch 'master' into dev 2021-06-15 23:36:12 +02:00
Blaz Kristan 517e9f92ba Added uploading IR.json from settings page. 2021-06-04 18:25:33 +02:00
cschwinne 55b26751ae Cache CORS preflight request 2021-05-27 11:09:57 +02:00
Blaz Kristan bfd7be543a Merge branch 'master' of https://github.com/aircoookie/WLED into dev
Conflicts:
	tools/cdata.js
	usermods/PIR_sensor_switch/readme.md
	usermods/Temperature/readme.md
	wled00/FX.h
	wled00/FX_fcn.cpp
	wled00/bus_manager.h
	wled00/bus_wrapper.h
	wled00/cfg.cpp
	wled00/const.h
	wled00/data/settings.htm
	wled00/data/settings_leds.htm
	wled00/data/settings_um.htm
	wled00/html_settings.h
	wled00/json.cpp
	wled00/mqtt.cpp
	wled00/set.cpp
	wled00/wled.cpp
	wled00/wled.h
	wled00/wled_eeprom.cpp
	wled00/wled_server.cpp
	wled00/xml.cpp
2021-05-18 15:45:34 +02:00
cschwinne d94d3d4bc5 Added experimental `/json/cfg` endpoint for changing settings from JSON 2021-05-11 01:11:16 +02:00
cschwinne 4f1eb64ac6 Added changes to set.cpp and wled_server.cpp 2021-05-08 18:04:44 +02:00
Blaz Kristan a6feb77e52 4LineDisplay rewrite for dynamic configuration.
Added handling for multiple pins in usermod.
Fixed minor bugs.
2021-04-11 00:38:13 +02:00
Blaz Kristan 13b3b2fd23 1st working usermod settings (Temperature).
Added color on pin conflicts in LEDs setting page.
2021-04-10 00:17:15 +02:00
Blaz Kristan 2e8d5311a5 New font. UI fixes.
Skinning with CSS.
2021-03-28 17:15:26 +02:00
Blaz Kristan 93cefb88f5 CRLF madness. :( 2021-03-25 20:00:08 +01:00
Blaz Kristan e70e1b8ad7 Adding backwards compatibility. 2021-03-25 17:07:03 +01:00
Blaz Kristan 77d8a8e43d Reducing JSON buffer size requirements.
Increasing maximum number of segments.
2021-03-24 23:55:39 +01:00
cschwinne 213bc75ae1 Change cache control to revalidate each time 2021-03-21 02:40:12 +01:00
Blaz Kristan be2ffc31b2 Reduction of buffer size.
Caching tweak.
2021-03-20 23:04:24 +01:00
Blaz Kristan c59e792178 Reduced JSON buffer by 1k.
Increased max RAM FX usage on ESP32 to 20k.
Added relay On handling on realtime data if Off (@JDTSmith).
Added UI refreshing via websockets (@korkbaum).
2021-03-18 23:19:17 +01:00
Louis Beaudoin b460d0f533
Fix Warnings (#1744)
* Remove -w (Suppress all warnings, including those which GNU CPP issues by default.) and add back in -Wall (Turn on all optional warnings which are desirable for normal code.) from build_flags

* Fixes warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]

* Fixes warning: "CONFIG_LITTLEFS_FOR_IDF_3_2" redefined

* Fixes warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]

* Fixes warning: enumeration value 'onoff' not handled in switch [-Wswitch]

* Fixes warning: "ntohl" redefined, warning: "ntohs" redefined, warning: "htonl" redefined, warning: "htons" redefined
- Original fix: 858f8f4ee9

* Fixes warning: unused variable 'mainSeg' [-Wunused-variable]

* Fixes warning: unused variable 'start' [-Wunused-variable]

* (untested!) Fixes warning: operation on '...' may be undefined [-Wsequence-point]

* Fixes warning: unused variable

* Fixes warning: unused variable and warning: narrowing conversion

* Fixes warning: unused variable

* Fixes warning: unused variable

* (untested!) Fixes warning: statement has no effect [-Wunused-value]

* Fixes warning: control reaches end of non-void function

* Fixes warning: unused variable

* Fixes warning: left operand of comma operator has no effect

* Fixes warning: no return statement in function returning non-void

* (untested!) Fixes warning: ISO C++ forbids converting a string constant to 'char*' and fixes warning: unused variable 'nPins'

* Fixes warning: deleting array 'dmxData'

* Fixes warning: unused variable

* Remove all warning suppression buildflags

Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
Co-authored-by: Aircoookie <dev.aircoookie@gmail.com>
2021-02-27 00:20:31 +01:00
cschwinne aa0f4c9985 Update dev branch (resolve conflicts) 2021-02-13 01:43:16 +01:00
Christophe Gagnier c24d574f90 Add Cache-Control to index 2021-01-28 22:16:36 -05:00
Sander Schutten c4d8ef5954 Added liveviewws-page for liveview via websockets 2020-12-19 17:26:36 +00:00
cschwinne 4875f5e275 BTNPIN can now be disabled by setting to -1 (fixes #1237)
Added HEX color receiving to JSON API
Moved Kelvin color receiving in JSON API
2020-11-20 00:33:17 +01:00
cschwinne f36073f5cd Add new 404 page 2020-11-15 16:37:09 +01:00
cschwinne 595fd9377c Remove FS defines
Increase boot preset max. to 250
Update changelog
Update readme
2020-11-15 15:45:51 +01:00
cschwinne b0828a6280 Bigger buffer testing 2020-10-08 00:52:15 +02:00
Aircoookie bd65bf2175
Merge branch 'filesystem' into merge-fs2 2020-09-21 19:48:12 +02:00
cschwinne edbe8131ab Reduce heap usage by 4kB 2020-09-20 01:18:31 +02:00
cschwinne 96713ef383 LittleFS by default 2020-09-13 22:00:47 +02:00
cschwinne b1acf6088f Presets in FS function 2020-09-09 09:51:04 +02:00
cschwinne 3b3f8e6f43 WebSockets
Better TwinkleFox speed regulation
2020-06-26 17:28:35 +02:00