repo stringlengths 5 53 | pr_number int32 1 321k | task_type stringclasses 2
values | issue_text stringlengths 0 81.2k | pr_title stringlengths 1 319 | pr_body stringlengths 0 105k | base_sha stringlengths 40 40 | head_sha stringlengths 40 40 | gold_diff stringlengths 0 202M | changed_files listlengths 0 100 | review_threads listlengths 0 100 | test_patch stringlengths 0 23.4M | merged bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
3b1b/manim | 2,280 | comment_to_fix | Automatically identify the class name based on the specified line number. | ```suggestion
# Alternatively, you can create it wherever you like, and on running
```
See [the Cambridge dictionary](https://dictionary.cambridge.org/dictionary/english/wherever) | 39fbb677dcc86fc32075249e66a3cbaba508aa7b | f562d749d94a6f9c8ed2461643524fe9c2e2c4db | diff --git a/manimlib/default_config.yml b/manimlib/default_config.yml
index 397de60ebf..6e2135b995 100644
--- a/manimlib/default_config.yml
+++ b/manimlib/default_config.yml
@@ -5,13 +5,13 @@
# you are running manim. For 3blue1brown, for instance, mind is
# here: https://github.com/3b1b/videos/blob/master/custom_con... | [
"manimlib/default_config.yml"
] | [
{
"comment": "```suggestion\r\n# Alternatively, you can create it wherever you like, and on running\r\n```\r\n\r\nSee [the Cambridge dictionary](https://dictionary.cambridge.org/dictionary/english/wherever)",
"path": "manimlib/default_config.yml",
"hunk": "@@ -5,13 +5,13 @@\n # you are running manim. Fo... | true | ||
3b1b/manim | 2,280 | comment_to_fix | Automatically identify the class name based on the specified line number. | What about classes that are defined as nested class, i.e. inside some other classes? They would have an indentation so `line.startswith("class")` would return `False`. | 39fbb677dcc86fc32075249e66a3cbaba508aa7b | f562d749d94a6f9c8ed2461643524fe9c2e2c4db | diff --git a/manimlib/extract_scene.py b/manimlib/extract_scene.py
index 5509778b05..28e22256ee 100644
--- a/manimlib/extract_scene.py
+++ b/manimlib/extract_scene.py
@@ -12,6 +12,7 @@
from manimlib.scene.scene import Scene
from typing import TYPE_CHECKING
+
if TYPE_CHECKING:
Module = importlib.util.types.Mod... | [
"manimlib/extract_scene.py"
] | [
{
"comment": "What about classes that are defined as nested class, i.e. inside some other classes? They would have an indentation so `line.startswith(\"class\")` would return `False`.",
"path": "manimlib/extract_scene.py",
"hunk": "@@ -142,35 +143,48 @@ def get_indent(code_lines: list[str], line_number:... | true | ||
3b1b/manim | 2,218 | issue_to_patch | Update setup.cfg | d499544366570b67a070dcfcb303f31ce4483712 | a34c4482f6a7896be33b4384f9f783049e94aa63 | diff --git a/setup.cfg b/setup.cfg
index 6871e9060a..147ddfa959 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = manimgl
-version = 1.6.1
+version = 1.7.0
author = Grant Sanderson
author_email= grant@3blue1brown.com
description = Animation engine for explanatory math videos
@@ -30,10 +30,10... | [
"setup.cfg"
] | [] | true | |||
3b1b/manim | 2,268 | issue_to_patch | Autoreload v2 | Adapting https://github.com/3b1b/manim/pull/2252 by @Splines after recent refactor. | bafea89ac9d11dc168bce923a65501ec74312afe | 8d896efb1307af0cd40337d1319f8c1da89bb7a2 | diff --git a/docs/source/getting_started/configuration.rst b/docs/source/getting_started/configuration.rst
index 89bcdaed06..47e1a2e8ff 100644
--- a/docs/source/getting_started/configuration.rst
+++ b/docs/source/getting_started/configuration.rst
@@ -63,6 +63,7 @@ flag ... | [
"docs/source/getting_started/configuration.rst",
"manimlib/config.py",
"manimlib/default_config.yml",
"manimlib/scene/scene_embed.py"
] | [] | true | ||
3b1b/manim | 2,273 | issue_to_patch | Fix checkpoint paste after reload | Addressing https://github.com/3b1b/manim/issues/2272
Previously, CheckpointManager.checkpoint_states was shared across multiple instances, which caused issues after reloading. It should be unique to each instance. | 744e695340c5691551f2650d99db71964cb292c7 | 31e20bcb0b08d526b56a204142848c81e656e59b | diff --git a/manimlib/scene/scene_embed.py b/manimlib/scene/scene_embed.py
index 281d9c72dc..1df7959797 100644
--- a/manimlib/scene/scene_embed.py
+++ b/manimlib/scene/scene_embed.py
@@ -157,7 +157,8 @@ def checkpoint_paste(
class CheckpointManager:
- checkpoint_states: dict[str, list[tuple[Mobject, Mobject]]] ... | [
"manimlib/scene/scene_embed.py"
] | [] | true | ||
78/xiaozhi-esp32 | 2,045 | issue_to_patch | feat(m5stack-cardputer-adv): add battery monitoring support | ## Summary
Add ADC battery monitoring for the M5Stack Cardputer-Adv board.
## Hardware verification
Verified from official schematic (Sch_M5CardputerAdv_v1.0):
- Battery ADC pin: GPIO10 (ADC1_CH9)
- Voltage divider: R9=100KΩ (BAT+ to GPIO10), R8=100KΩ (GPIO10 to GND)
## Changes
- config.h: add BATTERY_ADC_* define... | 8755a658a8598ed530b5aba178f46f4435c04ac8 | e4969a8bf41885243a053fab7986513a02932f1f | diff --git a/main/boards/m5stack-cardputer-adv/README.md b/main/boards/m5stack-cardputer-adv/README.md
index 137b029630..42272d8082 100644
--- a/main/boards/m5stack-cardputer-adv/README.md
+++ b/main/boards/m5stack-cardputer-adv/README.md
@@ -14,7 +14,7 @@ M5Stack Cardputer Adv 是一款基于 ESP32-S3FN8 (Stamp-S3A) 的卡片式电脑
| 麦... | [
"main/boards/m5stack-cardputer-adv/README.md",
"main/boards/m5stack-cardputer-adv/config.h",
"main/boards/m5stack-cardputer-adv/m5stack_cardputer_adv.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 2,051 | issue_to_patch | add ESP32-S3-Touch-LCD-1.85B | add ESP32-S3-Touch-LCD-1.85B | 8755a658a8598ed530b5aba178f46f4435c04ac8 | d60d53fc0b57b9208dcab6a127b62407197e15be | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index b324e22204..8f075b5e5a 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -392,6 +392,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_S3_TOUCH_LCD_1_85C)
set(BUILTIN_TEXT_FONT font_puhui_basic_16_4)
set(BUILTIN_ICON_FONT font_awesome_16_4)... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-touch-lcd-1.85b/README.md",
"main/boards/waveshare/esp32-s3-touch-lcd-1.85b/config.h",
"main/boards/waveshare/esp32-s3-touch-lcd-1.85b/config.json",
"main/boards/waveshare/esp32-s3-touch-lcd-1.85b/esp32-s3-touch-lcd-1.85b.cc"... | [] | true | ||
78/xiaozhi-esp32 | 2,042 | issue_to_patch | fix(electron-bot): show chat subtitle on display | ## Summary
- Fix chat subtitle not showing on electron-bot.
- `ElectronEmojiDisplay::SetupChatLabel()` deleted the parent's `chat_message_label_` (created inside `bottom_bar_`) and recreated it on the bottom-layer `container_` with no alignment, so the real subtitle ended up hidden behind `emoji_box_`/`top_bar_`.
... | 1874c6206ceb61046d1b1cbf13b10d0239c1d236 | 45895f0abc7a8e654526fcaf282c8723efbc437c | diff --git a/main/boards/electron-bot/electron_emoji_display.cc b/main/boards/electron-bot/electron_emoji_display.cc
index 7020a35401..a5b0b95672 100644
--- a/main/boards/electron-bot/electron_emoji_display.cc
+++ b/main/boards/electron-bot/electron_emoji_display.cc
@@ -3,12 +3,8 @@
#include <esp_log.h>
#include <c... | [
"main/boards/electron-bot/electron_emoji_display.cc",
"main/boards/electron-bot/electron_emoji_display.h"
] | [] | true | ||
78/xiaozhi-esp32 | 2,039 | issue_to_patch | content:add-esp32-s3-touch-amoled-1.8-v2 | add-esp32-s3-touch-amoled-1.8-v2 | 277cbd10ac12a9501a57d862c8cec1ef0305eb8e | 92422bbf99291418aa2cc2090220d1c82727ebec | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 8c52c04e42..b324e22204 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -308,6 +308,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_S3_TOUCH_AMOLED_1_8)
set(BUILTIN_TEXT_FONT font_puhui_basic_30_4)
set(BUILTIN_ICON_FONT font_awesome_30_4... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-touch-amoled-1.8-v2/config.h",
"main/boards/waveshare/esp32-s3-touch-amoled-1.8-v2/config.json",
"main/boards/waveshare/esp32-s3-touch-amoled-1.8-v2/esp32-s3-touch-amoled-1.8-v2.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 2,026 | issue_to_patch | add esp32-s3-rgb-matrix | add esp32-s3-rgb-matrix
| 331d69b83b097595db3d45de6af7c389f545a5e7 | 45aa45211fa1a25534a4935144f90baa2915f474 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index c0df9ac3a2..8c52c04e42 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -374,6 +374,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_S3_TOUCH_LCD_1_83)
set(BUILTIN_TEXT_FONT font_puhui_basic_16_4)
set(BUILTIN_ICON_FONT font_awesome_16_4)
... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-rgb-matrix/README.md",
"main/boards/waveshare/esp32-s3-rgb-matrix/config.h",
"main/boards/waveshare/esp32-s3-rgb-matrix/config.json",
"main/boards/waveshare/esp32-s3-rgb-matrix/rgb_matrix_board.cc",
"main/boards/waveshare/e... | [] | true | ||
78/xiaozhi-esp32 | 2,023 | issue_to_patch | MQTT goodbye without session/topic binding can terminate active audio sessions
### Answers checklist.
- [x] I have read the documentation [XiaoZhi AI Programming Guide](https://ccnphfhqs21z.feishu.cn/wiki/F5krwD16viZoF0kKkvDcrZNYnhb) and the issue is not addressed there.
- [x] I have updated my firmware to the lates... | Validate MQTT goodbye session IDs | ## Summary
- Require MQTT goodbye messages to carry a string session_id
- Only close the audio channel when the goodbye session_id matches the active session
- Prevent sessionless goodbye payloads from terminating active MQTT + UDP audio sessions
Fixes #2022
## Testing
- Built and ran a source-level MQTT protocol har... | 331d69b83b097595db3d45de6af7c389f545a5e7 | d7238a53b2995e288dcdacc14aada5257c6f8445 | diff --git a/main/protocols/mqtt_protocol.cc b/main/protocols/mqtt_protocol.cc
index 94d9d12a87..d95d003890 100644
--- a/main/protocols/mqtt_protocol.cc
+++ b/main/protocols/mqtt_protocol.cc
@@ -114,8 +114,8 @@ bool MqttProtocol::StartMqttClient(bool report_error) {
ParseServerHello(root);
} else ... | [
"main/protocols/mqtt_protocol.cc"
] | [] | true | |
78/xiaozhi-esp32 | 2,010 | issue_to_patch | add quandong board support | 36200942cca3f7cbac6c927ce7458bad874297ab | 34ff1debce1bc9ac37326eded03fb96360005fea | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 3d90620ab6..df6748695e 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -153,6 +153,11 @@ elseif(CONFIG_BOARD_TYPE_LICHUANG_DEV_S3)
set(BUILTIN_TEXT_FONT font_noto_basic_20_4)
set(BUILTIN_ICON_FONT font_awesome_20_4)
set(DEFAULT_EM... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/quandong-s3-dev/HARDWARE_DIFF.md",
"main/boards/quandong-s3-dev/config.h",
"main/boards/quandong-s3-dev/config.json",
"main/boards/quandong-s3-dev/quandong_s3_dev_board.cc"
] | [] | true | |||
78/xiaozhi-esp32 | 1,986 | issue_to_patch | Improve Assets::Download | 优化资源下载函数,使其在下载过程中尽量保证安全,如果中断重启后还可以再次下载。 | ba27c12494784739189c90c51150003552c7ef84 | 9083ad23b683b66b4d0703aa357b7536ca7e5f31 | diff --git a/main/assets.cc b/main/assets.cc
index f9bf9e6ab8..93e95213d6 100644
--- a/main/assets.cc
+++ b/main/assets.cc
@@ -428,13 +428,9 @@ bool Assets::EmoteStrategy::Apply(Assets* assets, bool refresh_display_theme) {
bool Assets::Download(std::string url, std::function<void(int progress, size_t speed)> progress... | [
"main/assets.cc"
] | [
{
"comment": "这里的RAII没有必要,即使没有调用Close,http实例也会在销毁时内部调用一次。",
"path": "main/assets.cc",
"hunk": "@@ -425,138 +425,223 @@ bool Assets::EmoteStrategy::Apply(Assets* assets, bool refresh_display_theme) {\n return true;\n }\n \n-bool Assets::Download(std::string url, std::function<void(int progress, size_... | true | ||
78/xiaozhi-esp32 | 1,981 | issue_to_patch | fix(esp32-s3-touch-amoled-1.8): keep wake word always-on while charging | ## Summary
Keep wake word detection available while the Waveshare ESP32-S3 Touch AMOLED 1.8 board is plugged into a charger, without losing the idle dim + sleepy emoji UX.
## What changed
- Track the charging/discharging state with a tri-state class member so the first battery poll reconciles power-save behavior eve... | ba27c12494784739189c90c51150003552c7ef84 | 236ba6dc7bc7b90b70d5a7950eb1d62a5bf32c25 | diff --git a/main/boards/waveshare/esp32-s3-touch-amoled-1.8/esp32-s3-touch-amoled-1.8.cc b/main/boards/waveshare/esp32-s3-touch-amoled-1.8/esp32-s3-touch-amoled-1.8.cc
index 90317f03da..2dcb3642e5 100644
--- a/main/boards/waveshare/esp32-s3-touch-amoled-1.8/esp32-s3-touch-amoled-1.8.cc
+++ b/main/boards/waveshare/esp3... | [
"main/boards/waveshare/esp32-s3-touch-amoled-1.8/esp32-s3-touch-amoled-1.8.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,994 | issue_to_patch | feat:新增正点原子DNESP32S3B3开发板的AEC支持 | 417f52d7597b85f3dfc6f5283bdc66df34fbd5fe | 4465deee4352eff69b9631b7caa14a7a91cd930e | diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild
index ffaf7c0108..9788254cf7 100644
--- a/main/Kconfig.projbuild
+++ b/main/Kconfig.projbuild
@@ -817,7 +817,7 @@ config USE_DEVICE_AEC
|| BOARD_TYPE_WAVESHARE_ESP32_P4_WIFI6_TOUCH_LCD_3_4C || BOARD_TYPE_WAVESHARE_ESP32_P4_WIFI6_TOUCH_LCD_4C || BOARD... | [
"main/Kconfig.projbuild",
"main/boards/atk-dnesp32s3-box2-wifi/atk_dnesp32s3_box2.cc",
"main/boards/atk-dnesp32s3-box3/config.json"
] | [] | true | |||
78/xiaozhi-esp32 | 2,001 | issue_to_patch | feat(motion): smooth action ending and adaptive homing on otto/electron-bot | Improve servo motion transitions to reduce abrupt returns to home pose.
Replace linear interpolation with ease-out movement, make homing duration adaptive to angle delta, and skip intermediate homing when queued actions are pending to keep multi-action sequences fluid. | 589485e31c70bdc6d5841cb561d2d8123250233c | c962bb8074f686b2e2d94d96c14141c78fe1ea22 | diff --git a/main/boards/electron-bot/electron_bot_controller.cc b/main/boards/electron-bot/electron_bot_controller.cc
index b11c9ec9c5..8164bea46c 100644
--- a/main/boards/electron-bot/electron_bot_controller.cc
+++ b/main/boards/electron-bot/electron_bot_controller.cc
@@ -95,6 +95,14 @@ class ElectronBotController {
... | [
"main/boards/electron-bot/electron_bot_controller.cc",
"main/boards/electron-bot/movements.cc",
"main/boards/otto-robot/otto_controller.cc",
"main/boards/otto-robot/otto_movements.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 2,004 | issue_to_patch | add waveshare esp32-c6-touch-lcd-1.54 and esp32-c6-lcd-0.85 | 1. update waveshare esp32-s3-touch-lcd-1.54 and esp32-s3-lcd-0.85
2. add waveshare esp32-c6-touch-lcd-1.54 and esp32-c6-lcd-0.85 | 589485e31c70bdc6d5841cb561d2d8123250233c | b28d3ee448ca7d52f92b83ea95ff8b812ed87f98 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index d1758bdd9e..ab2ce5d99d 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -459,6 +459,18 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_C6_TOUCH_AMOLED_1_32)
set(BUILTIN_TEXT_FONT font_puhui_basic_20_4)
set(BUILTIN_ICON_FONT font_awesome_20_... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-c6-lcd-0.85/README.md",
"main/boards/waveshare/esp32-c6-lcd-0.85/config.h",
"main/boards/waveshare/esp32-c6-lcd-0.85/config.json",
"main/boards/waveshare/esp32-c6-lcd-0.85/esp32-c6-lcd-0.85.cc",
"main/boards/waveshare/esp32-c6... | [] | true | ||
78/xiaozhi-esp32 | 2,000 | issue_to_patch | fix(otto-robot): migrate camera backend and set safe dark default theme | fix(otto-robot): migrate camera backend and set safe dark default theme
- Migrate `otto-robot` camera backend from `EspVideo` to `Esp32Camera` to improve capture stability after reboot/power cycle.
- Keep runtime sensor detection for both OV2640 and OV3660, and rename PID macros with `OTTO_` prefix to avoid symbol ... | 417f52d7597b85f3dfc6f5283bdc66df34fbd5fe | 5ae05dd8c0a8f344cd3c0da2c8d5b2a2a9e95648 | diff --git a/main/boards/otto-robot/config.h b/main/boards/otto-robot/config.h
index aa32eddf3d..bb0f456a73 100644
--- a/main/boards/otto-robot/config.h
+++ b/main/boards/otto-robot/config.h
@@ -19,9 +19,9 @@ enum OttoCameraType {
OTTO_CAMERA_UNKNOWN = 99,
};
-#define OV2640_PID_1 0x2640
-#define OV2640_PID_2 0... | [
"main/boards/otto-robot/config.h",
"main/boards/otto-robot/config.json",
"main/boards/otto-robot/otto_emoji_display.cc",
"main/boards/otto-robot/otto_robot.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,985 | issue_to_patch | perf(websocket): switch WiFi to performance mode before connecting | Optimize WebSocket connection speed by switching WiFi to performance mode before establishing the connection, instead of after.
This reduces network latency significantly:
- TCP connection: 1093ms → 88ms (92% faster)
- WebSocket handshake: 1035ms → 80ms (92% faster)
- Total network layer: 2128ms → 173ms (92% fast... | ba27c12494784739189c90c51150003552c7ef84 | f74a8a8e479def3468bbf5a0e50d2d8817db63a9 | diff --git a/main/application.cc b/main/application.cc
index 0a809fa3ff..af7382242d 100644
--- a/main/application.cc
+++ b/main/application.cc
@@ -716,6 +716,10 @@ void Application::ContinueOpenAudioChannel(ListeningMode mode) {
return;
}
+ // Switch to performance mode before connecting to reduce la... | [
"main/application.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,992 | issue_to_patch | fix(otto): WebSocket direct clients not receiving MCP responses | fix(otto): WebSocket direct clients not receiving MCP responses
When a browser connects directly to the WebSocket control server (port
8080) and sends a JSON-RPC request, the MCP response was routed through
Application::SendMcpMessage -> protocol_->SendMcpMessage, which sends it
to the cloud protocol channel. As ... | ba27c12494784739189c90c51150003552c7ef84 | ee887d6a4c96938c77ffd081bf4f70fea2507e5a | diff --git a/main/application.cc b/main/application.cc
index 0a809fa3ff..a30bb7a88e 100644
--- a/main/application.cc
+++ b/main/application.cc
@@ -1063,12 +1063,19 @@ bool Application::CanEnterSleepMode() {
return true;
}
+void Application::RegisterMcpBroadcastCallback(std::function<void(const std::string&)> ca... | [
"main/application.cc",
"main/application.h",
"main/boards/otto-robot/README.md",
"main/boards/otto-robot/otto_robot.cc",
"main/boards/otto-robot/websocket_control_server.cc",
"main/boards/otto-robot/websocket_control_server.h"
] | [] | true | ||
78/xiaozhi-esp32 | 1,718 | issue_to_patch | feat: add M5Stack Cardputer Adv board support / 新增 M5Stack Cardputer Adv 开发板支持 |
在真实硬件上测试成功,设备正常工作:
显示正常
音频播放正常
语音对话正常
M5Stack Cardputer Adv running xiaozhi


## Summary / 概述
Add support for... | f7284a57dfbaf0bd8ae3b277b7c1b40aa3b79785 | 602162ac71b2accd7299c36dabf4be1d1c454391 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 565bdd5557..9e9f2746bb 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -201,6 +201,11 @@ elseif(CONFIG_BOARD_TYPE_M5STACK_ATOM_S3R_CAM_M12_ECHO_BASE)
set(BOARD_TYPE "atoms3r-cam-m12-echo-base")
elseif(CONFIG_BOARD_TYPE_M5STACK_ATOM_ECHOS3R... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/m5stack-cardputer-adv/README.md",
"main/boards/m5stack-cardputer-adv/config.h",
"main/boards/m5stack-cardputer-adv/config.json",
"main/boards/m5stack-cardputer-adv/m5stack_cardputer_adv.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,976 | issue_to_patch | Feat: Add battery support and small fixes for Freenove 2.8 board | This PR improves the Freenove 2.8 board.
### Changes:
- Add battery level reading.
- Fix one comma in `config.json`.
- Update `README` with a note about possible shared design with ES3C28P/ES3N28P.
| 1847b5893565cf935d113c7931ebb940a4f9c5d8 | 723a871c766bfbf197b74b7285b2a4e90a04d7ab | diff --git a/main/boards/freenove-esp32s3-display-2.8-lcd/ReadMe.md b/main/boards/freenove-esp32s3-display-2.8-lcd/ReadMe.md
index 391529c2d5..25cf88508d 100644
--- a/main/boards/freenove-esp32s3-display-2.8-lcd/ReadMe.md
+++ b/main/boards/freenove-esp32s3-display-2.8-lcd/ReadMe.md
@@ -2,4 +2,6 @@
[product](https://... | [
"main/boards/freenove-esp32s3-display-2.8-lcd/ReadMe.md",
"main/boards/freenove-esp32s3-display-2.8-lcd/config.json",
"main/boards/freenove-esp32s3-display-2.8-lcd/freenove-esp32s3-display-2.8-lcd.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,971 | issue_to_patch | 32mb flesh Unknown tool: self.assets.set_download_url
### Answers checklist.
- [x] I have read the documentation [XiaoZhi AI Programming Guide](https://ccnphfhqs21z.feishu.cn/wiki/F5krwD16viZoF0kKkvDcrZNYnhb) and the issue is not addressed there.
- [x] I have updated my branch (master or release) to the latest versio... | fix(mcp): always register self.assets.set_download_url tool for 32MB flash devices | On 32MB flash devices the assets partition layout differs from the default, causing partition_valid() to return false and silently skipping registration of the self.assets.set_download_url MCP tool. Users see 'Unknown tool: self.assets.set_download_url' from their MCP client.
The tool only writes a URL string to Setti... | e12e7351d98e742bb0ad442866cc9436cd61c785 | 66c46da20367dc873c674d435a2b5288d09747b5 | diff --git a/main/boards/m5stack-tab5/README.md b/main/boards/m5stack-tab5/README.md
index e2bf77ee8b..a0cd891e25 100644
--- a/main/boards/m5stack-tab5/README.md
+++ b/main/boards/m5stack-tab5/README.md
@@ -8,27 +8,9 @@
## 基础使用
-* idf version: v6.0-dev
+* idf version: v5.5.2 or above (recommended: v6.0-dev)
-1. ... | [
"main/boards/m5stack-tab5/README.md",
"main/mcp_server.cc"
] | [] | true | |
78/xiaozhi-esp32 | 1,958 | issue_to_patch | feat(board): add rymcu-bigsmart board support | ## RYMCU BigSmart Development Board
> GitHub repo:[BigSmart-Open](https://github.com/rymcu/BigSmart-Open)
This intelligent voice interaction development board is based on the **ESP32-S3-WROOM-1-N16R8** and integrates various peripherals such as an audio system, display system, camera, and sensors.
### Feature... | 8865950405fb6d34a6cab072b4c9d0bfdb72b35f | 20175fa0590b7c8f8e6f45db04a444cf3d077fff | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 310f38a37d..af06ffd7ca 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -158,6 +158,13 @@ elseif(CONFIG_BOARD_TYPE_LICHUANG_DEV_C3)
set(BUILTIN_TEXT_FONT font_puhui_basic_20_4)
set(BUILTIN_ICON_FONT font_awesome_20_4)
set(DEFAULT_E... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/rymcu/bigsmart/README.md",
"main/boards/rymcu/bigsmart/config.h",
"main/boards/rymcu/bigsmart/config.json",
"main/boards/rymcu/bigsmart/rymcu_bigsmart_board.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,964 | issue_to_patch | fix(blufi): GET_WIFI_LIST triggers real-time scan with guaranteed response | ## Problem
When `ESP_BLUFI_EVENT_GET_WIFI_LIST` is received, the current implementation waits for any in-progress scan to finish and then calls `_send_wifi_list()`. If the AP cache is empty — which reliably happens after a config-mode transition that stops the Wi-Fi driver — `_send_wifi_list()` returns silently withou... | 8865950405fb6d34a6cab072b4c9d0bfdb72b35f | e91aeec41950e3305e324b57e3eb04f196db7bd1 | diff --git a/main/boards/common/blufi.cpp b/main/boards/common/blufi.cpp
index c4be93395b..f38c9af5d4 100644
--- a/main/boards/common/blufi.cpp
+++ b/main/boards/common/blufi.cpp
@@ -533,13 +533,13 @@ int Blufi::_get_softap_conn_num() {
return 0;
}
-void Blufi::start_wifi_scan() {
+bool Blufi::start_wifi_scan()... | [
"main/boards/common/blufi.cpp",
"main/boards/common/blufi.h"
] | [] | true | ||
78/xiaozhi-esp32 | 1,937 | issue_to_patch | add waveshare esp32-s3-touch-amoled-1.43c | 87f6faee795c19ca8cd29ba1d9cb628915ff1305 | d2687956cd6c692d8b77effbbd3bf00fbca4f63a | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index a1fdd00008..3d90620ab6 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -315,6 +315,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_C6_TOUCH_AMOLED_2_16)
set(BUILTIN_TEXT_FONT font_puhui_basic_30_4)
set(BUILTIN_ICON_FONT font_awesome_30_... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-touch-amoled-1.43c/README.md",
"main/boards/waveshare/esp32-s3-touch-amoled-1.43c/config.h",
"main/boards/waveshare/esp32-s3-touch-amoled-1.43c/config.json",
"main/boards/waveshare/esp32-s3-touch-amoled-1.43c/esp32-s3-touch-a... | [] | true | |||
78/xiaozhi-esp32 | 1,892 | issue_to_patch | add waveshare esp32-c6-touch-amoled-2.16 | 06b3b7613cf1f21c979380e9a3730f4786cdeb94 | 121a2d45e77f16a0235404f907f42b7538ba687f | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 46cd3a3686..69ab780839 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -303,6 +303,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_C6_TOUCH_AMOLED_2_06)
set(BUILTIN_TEXT_FONT font_puhui_basic_30_4)
set(BUILTIN_ICON_FONT font_awesome_30_... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-c6-touch-amoled-2.16/README.md",
"main/boards/waveshare/esp32-c6-touch-amoled-2.16/config.h",
"main/boards/waveshare/esp32-c6-touch-amoled-2.16/config.json",
"main/boards/waveshare/esp32-c6-touch-amoled-2.16/esp32-c6-touch-amole... | [] | true | |||
78/xiaozhi-esp32 | 1,808 | issue_to_patch | Add support for waveshare ESP32-S3-ePaper-3.97 | 05f1a034ce92ab768c1eb99e32d9c01a64105a16 | eca8a97b53ce7cd5c91eff203e9e6590706a6fa7 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 1abebdeccf..49511aaed7 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -371,6 +371,11 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_S3_ePaper_1_54_v2)
set(BOARD_TYPE "esp32-s3-epaper-1.54")
set(BUILTIN_TEXT_FONT font_puhui_basic_20_4)
... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-epaper-3.97/README.md",
"main/boards/waveshare/esp32-s3-epaper-3.97/config.h",
"main/boards/waveshare/esp32-s3-epaper-3.97/config.json",
"main/boards/waveshare/esp32-s3-epaper-3.97/custom_lcd_display.cc",
"main/boards/waves... | [] | true | |||
78/xiaozhi-esp32 | 1,959 | issue_to_patch | Add M5Stack AtomS3R Echo Pyramid board support | ## Summary
- Add a new `atoms3r-echo-pyramid` board target for M5Stack AtomS3R paired with the Echo Pyramid voice base.
- Initialize the Pyramid-specific audio and peripheral chain: ES8311, ES7210, Si5351 MCLK, AW87559 speaker amplifier, and STM32 touch/RGB controller.
- Reuse the AtomS3R LCD, LP5562 backlight, an... | 8865950405fb6d34a6cab072b4c9d0bfdb72b35f | 14fbb0c03102a6fe00517db6fd9208d803ca2c94 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 310f38a37d..1f904fbea2 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -209,6 +209,11 @@ elseif(CONFIG_BOARD_TYPE_M5STACK_ATOM_S3R_ECHO_BASE)
set(BUILTIN_TEXT_FONT font_puhui_basic_16_4)
set(BUILTIN_ICON_FONT font_awesome_16_4)
se... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/atoms3r-echo-pyramid/README.md",
"main/boards/atoms3r-echo-pyramid/atoms3r_echo_pyramid.cc",
"main/boards/atoms3r-echo-pyramid/config.h",
"main/boards/atoms3r-echo-pyramid/config.json"
] | [] | true | ||
78/xiaozhi-esp32 | 1,949 | issue_to_patch | content:add-waveshare-esp32-s3-touch-amoled-2.16 | add-waveshare-esp32-s3-touch-amoled-2.16 | 49ac8a6da399f27a9546d4f73640b7f86c24bac6 | b72945a78a9712f1f2293781cef4ae00ffa9dab7 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 3d90620ab6..310f38a37d 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -315,6 +315,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_C6_TOUCH_AMOLED_2_16)
set(BUILTIN_TEXT_FONT font_puhui_basic_30_4)
set(BUILTIN_ICON_FONT font_awesome_30_... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-touch-amoled-2.16/README.md",
"main/boards/waveshare/esp32-s3-touch-amoled-2.16/config.h",
"main/boards/waveshare/esp32-s3-touch-amoled-2.16/config.json",
"main/boards/waveshare/esp32-s3-touch-amoled-2.16/esp32-s3-touch-amole... | [] | true | ||
78/xiaozhi-esp32 | 1,943 | issue_to_patch | fix(waveshare-p4-7b): target v1.x chip rev and 32MB flash layout | ## 概述 / Summary
**中文:**
- 初版修复:Waveshare `ESP32-P4-WIFI6-Touch-LCD-7B` 出厂搭载 **v1.x 版本的 ESP32-P4 硅片**和 **32 MB flash**,但 `config.json` 中的 7B 变体 sdkconfig 既没声明芯片版本,也没声明 flash 大小,IDF 因此默认按 rev v3.1 + 16 MB flash 构建,产出的固件在真实硬件上无法启动。
- 评审后扩展:按 @Y1hsiaochunnn / @laride 的建议,**对所有 P4 board 的 config.json 做"rev<3 默认 + `-p4x` 孪生... | e5ebde454ede2dde62a4749225c2346724ffb486 | b7dc88f6abc58feb0fe59e0a46ffef3dbc743248 | diff --git a/main/boards/esp-p4-function-ev-board/config.json b/main/boards/esp-p4-function-ev-board/config.json
index d191f94bfa..3790accd39 100644
--- a/main/boards/esp-p4-function-ev-board/config.json
+++ b/main/boards/esp-p4-function-ev-board/config.json
@@ -3,6 +3,19 @@
"builds": [
{
"na... | [
"main/boards/esp-p4-function-ev-board/config.json",
"main/boards/m5stack-tab5/config.json",
"main/boards/waveshare/esp32-p4-nano/config.json",
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json",
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd/config.json",
"main/boards/wireless-tag-wtp4c5mp0... | [] | true | ||
78/xiaozhi-esp32 | 1,944 | issue_to_patch | chore: upgrade version to 2.2.6 | ## Summary
Upgrade `PROJECT_VER` in `CMakeLists.txt` from `2.2.5` to `2.2.6`. | e5ebde454ede2dde62a4749225c2346724ffb486 | e66bd9052dbf9b019d772250e69f470f2722cdcb | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8681fa40f1..371b15d5e1 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,5 +9,5 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
idf_build_set_property(MINIMAL_BUILD... | [
"CMakeLists.txt"
] | [] | true | ||
78/xiaozhi-esp32 | 1,900 | issue_to_patch | Add NULLLAB-AI-VOX-V3 Board | 添加 NULLLAB-AI-VOX-V3 开发板 | 6074fdeb7191af3b60491c1a28808a615f4a93b8 | 746ac5db9bd065b2872779f9219317d8bd88b8b9 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index f64701dd3f..a1fdd00008 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -160,7 +160,7 @@ elseif(CONFIG_BOARD_TYPE_LICHUANG_DEV_C3)
set(DEFAULT_EMOJI_COLLECTION twemoji_32)
elseif(CONFIG_BOARD_TYPE_EDA_TV_PRO)
set(MANUFACTURER "lceda-co... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/nulllab-ai-vox-v3/README.md",
"main/boards/nulllab-ai-vox-v3/ai_vox3_audio_codec.h",
"main/boards/nulllab-ai-vox-v3/ai_vox3_board.cc",
"main/boards/nulllab-ai-vox-v3/config.h",
"main/boards/nulllab-ai-vox-v3/config.json",
"main/boards/nulll... | [] | true | ||
78/xiaozhi-esp32 | 1,929 | issue_to_patch | feat(cardputer-adv): add TCA8418 keyboard and WiFi config UI | ## Summary
为 M5Stack Cardputer Adv 增加 TCA8418 键盘支持和键盘配网功能,同时修复收音问题。所有改动仅限 `main/boards/m5stack-cardputer-adv/` 目录,不影响其他板子。
## 新增功能
**TCA8418 键盘驱动**
- I2C 键盘控制器驱动,支持 56 键矩阵
- 中断驱动 + 去抖处理
- 方向键控制音量(上/下)和亮度(左/右),边界附近自动切换细调步进
- Enter 键切换对话状态
**键盘 WiFi 配网**
- Cardputer Adv 自带键盘,配网不需要手机辅助——带出门也能直接连手机热点或公共 WiFi
- 配网界面进入方式... | efeb3ad1198b92728078ef5c18a820408f2881ca | ed52e6c08c850050ae056de5f5d6ce16b3056324 | diff --git a/main/boards/m5stack-cardputer-adv/README.md b/main/boards/m5stack-cardputer-adv/README.md
index 89f70d1675..137b029630 100644
--- a/main/boards/m5stack-cardputer-adv/README.md
+++ b/main/boards/m5stack-cardputer-adv/README.md
@@ -43,6 +43,33 @@ M5Stack Cardputer Adv 是一款基于 ESP32-S3FN8 (Stamp-S3A) 的卡片式电脑
1.... | [
"main/boards/m5stack-cardputer-adv/README.md",
"main/boards/m5stack-cardputer-adv/config.h",
"main/boards/m5stack-cardputer-adv/m5stack_cardputer_adv.cc",
"main/boards/m5stack-cardputer-adv/tca8418_keyboard.cc",
"main/boards/m5stack-cardputer-adv/tca8418_keyboard.h",
"main/boards/m5stack-cardputer-adv/wif... | [] | true | ||
78/xiaozhi-esp32 | 1,931 | issue_to_patch | feat:添加正点原子DNESP32S3B3开发板的小智AI例程 | 虾哥您好,我这边新增加了正点原子的DNESP32S3B3开发板,现在上传ing...请求审核 | efeb3ad1198b92728078ef5c18a820408f2881ca | b09d3bbb9b86d09effd51044c90c22f07904b518 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index ec36261b12..f64701dd3f 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -592,6 +592,11 @@ elseif(CONFIG_BOARD_TYPE_ATK_DNESP32S3M_4G)
set(BUILTIN_TEXT_FONT font_puhui_basic_16_4)
set(BUILTIN_ICON_FONT font_awesome_16_4)
set(DEFAULT... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/atk-dnesp32s3-box3/atk_dnesp32s3_box3.cc",
"main/boards/atk-dnesp32s3-box3/config.h",
"main/boards/atk-dnesp32s3-box3/config.json",
"main/boards/atk-dnesp32s3-box3/power_manager.h",
"main/idf_component.yml"
] | [] | true | ||
78/xiaozhi-esp32 | 1,925 | issue_to_patch | fix: remove submodule | 删除 https://github.com/78/xiaozhi-esp32/commit/314edc5c51aafc3309da4acfb09942f638be6ec8 引入的空 submodule | 36d742e4d73ab8073b6ad93f3c1f379f8abe603f | 97ad206ab24e409713bc8f638b0bfa4fb22eb172 | diff --git a/xiaozhi-esp32 b/xiaozhi-esp32
deleted file mode 160000
index 8fde7f3c62..0000000000
--- a/xiaozhi-esp32
+++ /dev/null
@@ -1,1 +0,0 @@
-Subproject commit 8fde7f3c62780af9420ff1a11ac8c2ba37499aa2
| [
"xiaozhi-esp32"
] | [] | true | ||
78/xiaozhi-esp32 | 1,902 | issue_to_patch | ESP-VoCat: BMI270 motion feedback, capacitive slider (v1.2), and single-pad button (v1.0) | **Add support bmi270 (75b2c74)**
Initializes the BMI270 on the shared I2C bus via bmi270_sensor_create / bmi270_sensor_enable (accelerometer).
Adds a dedicated task that samples accel data and detects shake from large deltas between consecutive reads (threshold + cooldown).
Introduces ShowTemporaryEmotion backed b... | 022d9848dedad646c48feebb7002d3956d7bcb96 | 5ae6a60d5c78eba595bd44b6af0a5536a936f738 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 822503fd83..4092179807 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -924,6 +924,14 @@ if(CONFIG_IDF_TARGET_ESP32S3)
list(APPEND SOURCES "boards/common/esp32_camera.cc")
endif()
+set(MAIN_PRIV_REQUIRES_EXTRA "")
+if(CONFIG_BOARD_TYPE_E... | [
"main/CMakeLists.txt",
"main/boards/esp-vocat/esp_vocat.cc",
"main/idf_component.yml"
] | [] | true | ||
78/xiaozhi-esp32 | 1,917 | issue_to_patch | 通过按键调整音量时,会出现异常复位情况
### Answers checklist.
- [x] I have read the documentation [XiaoZhi AI Programming Guide](https://ccnphfhqs21z.feishu.cn/wiki/F5krwD16viZoF0kKkvDcrZNYnhb) and the issue is not addressed there.
- [x] I have updated my firmware to the latest version and checked that the issue is present there.
- [x... | Fix crash when adjusting volume via button while Es8311 audio device is disabled | `Es8311AudioCodec::SetOutputVolume()` dereferences `dev_` without a null check. When both input and output are disabled, `UpdateDeviceState()` sets `dev_ = nullptr`, so a button-triggered volume change crashes via `ESP_ERROR_CHECK`.
- Add null guard on `dev_` — skip the hardware call when device is closed; volume is s... | 7a7c74a747073db61d1c8a5e9564d0df4990db3e | 969dde0d102110eac25e2959883e1719a32a2955 | diff --git a/main/audio/codecs/es8311_audio_codec.cc b/main/audio/codecs/es8311_audio_codec.cc
index 708b7dac05..12ecd623f8 100644
--- a/main/audio/codecs/es8311_audio_codec.cc
+++ b/main/audio/codecs/es8311_audio_codec.cc
@@ -156,7 +156,10 @@ void Es8311AudioCodec::CreateDuplexChannels(gpio_num_t mclk, gpio_num_t bclk... | [
"main/audio/codecs/es8311_audio_codec.cc"
] | [] | true | |
78/xiaozhi-esp32 | 1,901 | issue_to_patch | Add touch screen support to freenove 2.8 | Listening, chat state and wifi config on press/long press
Volume and brightness levels on vertical/horizontal swipe | 022d9848dedad646c48feebb7002d3956d7bcb96 | ea7168ab7dc2f677fc30df6178cbd528794e55f8 | diff --git a/main/boards/freenove-esp32s3-display-2.8-lcd/freenove-esp32s3-display-2.8-lcd.cc b/main/boards/freenove-esp32s3-display-2.8-lcd/freenove-esp32s3-display-2.8-lcd.cc
index 48b0746344..beadb89652 100644
--- a/main/boards/freenove-esp32s3-display-2.8-lcd/freenove-esp32s3-display-2.8-lcd.cc
+++ b/main/boards/fr... | [
"main/boards/freenove-esp32s3-display-2.8-lcd/freenove-esp32s3-display-2.8-lcd.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,821 | issue_to_patch | add esp32-s3-cam-xxxx | add esp32-s3-cam-xxxx | 7e7890183e80bc65eb94da54bd070428a6f7eef5 | 314edc5c51aafc3309da4acfb09942f638be6ec8 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 2853a08713..0c0702ddc8 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -273,6 +273,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_TOUCH_LCD_3_5)
set(BUILTIN_TEXT_FONT font_puhui_basic_20_4)
set(BUILTIN_ICON_FONT font_awesome_20_4)
... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-cam/README.md",
"main/boards/waveshare/esp32-s3-cam/config.h",
"main/boards/waveshare/esp32-s3-cam/config.json",
"main/boards/waveshare/esp32-s3-cam/esp32-s3-cam-xxxx.cc",
"xiaozhi-esp32"
] | [
{
"comment": "需要调整,应该还要有manufacturer参数,看下其他的config.json",
"path": "main/boards/waveshare/esp32-s3-cam-xxxx/config.json",
"hunk": "@@ -0,0 +1,11 @@\n+{\n+ \"target\": \"esp32s3\",\n+ \"builds\": [\n+ {\n+ \"name\": \"waveshare-s3-cam-xxxx\",",
"resolving_sha": "314edc5c51aafc3... | true | ||
78/xiaozhi-esp32 | 1,321 | issue_to_patch | feat:新增blufi配网协议 | #546
简单新增了blufi协议,支持通过官方app或其他使用esp-blufi协议的app进行配网操作。 | b7db68457c63eef5e5fe366d26d55bbc639da557 | a8b62c75a8604c901787a4995353981859372930 | diff --git a/docs/blufi.md b/docs/blufi.md
new file mode 100644
index 0000000000..d62aeebe7e
--- /dev/null
+++ b/docs/blufi.md
@@ -0,0 +1,36 @@
+# BluFi 配网(集成 esp-wifi-connect)
+
+本文档说明如何在小智固件中启用和使用 BluFi(BLE Wi‑Fi 配网),并结合项目内置的 `esp-wifi-connect` 组件完成 Wi‑Fi 连接与存储。官方
+BluFi
+协议说明请参考 [Espressif 文档](https://docs.espressif... | [
"docs/blufi.md",
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/common/blufi.cpp",
"main/boards/common/blufi.h",
"main/boards/common/wifi_board.cc",
"scripts/release.py"
] | [] | true | ||
78/xiaozhi-esp32 | 1,885 | issue_to_patch | content: add ESP32-P4-WIFI6-Touch-LCD-3.5 | content: add ESP32-P4-WIFI6-Touch-LCD-3.5 | 022d9848dedad646c48feebb7002d3956d7bcb96 | d54e523dd9102342c3e9e19cb431b22b18cf199a | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 822503fd83..2853a08713 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -465,6 +465,12 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_P4_WIFI6_TOUCH_LCD_3_4C)
set(BUILTIN_TEXT_FONT font_puhui_basic_30_4)
set(BUILTIN_ICON_FONT font_awesome_... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/README.md",
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h",
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json",
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wif... | [
{
"comment": "目的是?",
"path": "main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h",
"hunk": "@@ -0,0 +1,54 @@\n+#ifndef _BOARD_CONFIG_H_\n+#define _BOARD_CONFIG_H_\n+\n+#include <driver/gpio.h>\n+\n+#define AUDIO_INPUT_SAMPLE_RATE 24000\n+#define AUDIO_OUTPUT_SAMPLE_RATE 24000\n+\... | true | ||
78/xiaozhi-esp32 | 1,885 | comment_to_fix | content: add ESP32-P4-WIFI6-Touch-LCD-3.5 | 目的是? | 022d9848dedad646c48feebb7002d3956d7bcb96 | d54e523dd9102342c3e9e19cb431b22b18cf199a | diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h
new file mode 100644
index 0000000000..749b601207
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h
@@ -0,0 +1,45 @@
+#ifndef _BOARD_CONFIG_H_
+#define _BO... | [
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h"
] | [
{
"comment": "目的是?",
"path": "main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h",
"hunk": "@@ -0,0 +1,54 @@\n+#ifndef _BOARD_CONFIG_H_\n+#define _BOARD_CONFIG_H_\n+\n+#include <driver/gpio.h>\n+\n+#define AUDIO_INPUT_SAMPLE_RATE 24000\n+#define AUDIO_OUTPUT_SAMPLE_RATE 24000\n+\... | true | ||
78/xiaozhi-esp32 | 1,885 | comment_to_fix | content: add ESP32-P4-WIFI6-Touch-LCD-3.5 | 如果有自定义的一些isp配置,可以拉出来单独放一个文件夹,然后menuconfig里配置一下自定义文件等等 | 022d9848dedad646c48feebb7002d3956d7bcb96 | d54e523dd9102342c3e9e19cb431b22b18cf199a | diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json
new file mode 100644
index 0000000000..50f640886e
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json
@@ -0,0 +1,17 @@
+{
+ "manufacturer": "wave... | [
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json"
] | [
{
"comment": "如果有自定义的一些isp配置,可以拉出来单独放一个文件夹,然后menuconfig里配置一下自定义文件等等",
"path": "main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json",
"hunk": "@@ -0,0 +1,21 @@\n+{\n+ \"manufacturer\": \"waveshare\",\n+ \"target\": \"esp32p4\",\n+ \"builds\": [\n+ {\n+ \"name\": \"es... | true | ||
78/xiaozhi-esp32 | 1,885 | comment_to_fix | content: add ESP32-P4-WIFI6-Touch-LCD-3.5 | 屏幕是spi接口的,可以把mipi_dsi相关的去掉,保持代码干净整洁 | 022d9848dedad646c48feebb7002d3956d7bcb96 | d54e523dd9102342c3e9e19cb431b22b18cf199a | diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc
new file mode 100644
index 0000000000..f042611d31
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-tou... | [
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc"
] | [
{
"comment": "屏幕是spi接口的,可以把mipi_dsi相关的去掉,保持代码干净整洁",
"path": "main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc",
"hunk": "@@ -0,0 +1,205 @@\n+#include \"wifi_board.h\"\n+#include \"codecs/es8311_audio_codec.h\"\n+#include \"application.h\"\n+#include \"display/lcd_displa... | true | ||
78/xiaozhi-esp32 | 1,885 | comment_to_fix | content: add ESP32-P4-WIFI6-Touch-LCD-3.5 | 同上 | 022d9848dedad646c48feebb7002d3956d7bcb96 | d54e523dd9102342c3e9e19cb431b22b18cf199a | diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc
new file mode 100644
index 0000000000..f042611d31
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-tou... | [
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc"
] | [
{
"comment": "同上",
"path": "main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc",
"hunk": "@@ -0,0 +1,205 @@\n+#include \"wifi_board.h\"\n+#include \"codecs/es8311_audio_codec.h\"\n+#include \"application.h\"\n+#include \"display/lcd_display.h\"\n+#include \"button.h\"\n+#... | true | ||
78/xiaozhi-esp32 | 1,885 | comment_to_fix | content: add ESP32-P4-WIFI6-Touch-LCD-3.5 | 是否需要自定义屏幕初始化寄存器配置? | 022d9848dedad646c48feebb7002d3956d7bcb96 | d54e523dd9102342c3e9e19cb431b22b18cf199a | diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc
new file mode 100644
index 0000000000..f042611d31
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-tou... | [
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc"
] | [
{
"comment": "是否需要自定义屏幕初始化寄存器配置?",
"path": "main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc",
"hunk": "@@ -0,0 +1,205 @@\n+#include \"wifi_board.h\"\n+#include \"codecs/es8311_audio_codec.h\"\n+#include \"application.h\"\n+#include \"display/lcd_display.h\"\n+#include ... | true | ||
78/xiaozhi-esp32 | 1,876 | issue_to_patch | Add freenove-esp32s3-display-2.8-lcd | updated to 2.2.4 https://github.com/Freenove/xiaozhi-esp32 | 358819bf2ed5974f0cf62e942ecbaae86d90c043 | 84b3ee3b3703ab561fe2c1736a6ecf5009e40802 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 46cd3a3686..c2833fa2d2 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -746,6 +746,11 @@ elseif(CONFIG_BOARD_TYPE_HU_087)
set(BOARD_TYPE "hu-087")
set(BUILTIN_TEXT_FONT font_puhui_basic_14_1)
set(BUILTIN_ICON_FONT font_awesome_14_... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/freenove-esp32s3-display-2.8-lcd/ReadMe.md",
"main/boards/freenove-esp32s3-display-2.8-lcd/config.h",
"main/boards/freenove-esp32s3-display-2.8-lcd/config.json",
"main/boards/freenove-esp32s3-display-2.8-lcd/freenove-esp32s3-display-2.8-lcd.cc"... | [] | true | ||
78/xiaozhi-esp32 | 1,895 | issue_to_patch | fix: Default configuration of GT911 | tested. | 4dc1a8c75fdac501009aace9a2b3f0e50a3a090f | a63f8bc08b00bb0afacd67ce31cb6871dce0c819 | diff --git a/main/boards/m5stack-tab5/m5stack_tab5.cc b/main/boards/m5stack-tab5/m5stack_tab5.cc
index 356b349082..43ed5b5719 100644
--- a/main/boards/m5stack-tab5/m5stack_tab5.cc
+++ b/main/boards/m5stack-tab5/m5stack_tab5.cc
@@ -179,7 +179,8 @@ class M5StackTab5Board : public WifiBoard {
};
esp_lcd_... | [
"main/boards/m5stack-tab5/m5stack_tab5.cc",
"main/boards/waveshare/esp32-p4-nano/esp32-p4-nano.cc",
"main/boards/waveshare/esp32-p4-wifi6-touch-lcd/esp32-p4-wifi6-touch-lcd.cc",
"main/boards/waveshare/esp32-s3-touch-lcd-4.3c/esp32_s3_touch_lcd_4.3c.cc",
"main/boards/waveshare/esp32-s3-touch-lcd-4b/esp32-s3-... | [] | true | ||
78/xiaozhi-esp32 | 1,891 | issue_to_patch | fix: Compilation errors caused by default configuration changes of the touch chip | 0f3199a812122fab3bfd09c5247d1da856a34901 | addf5fcc645997a78e6fb3b2ddff6b1b98b0d3f4 | diff --git a/main/boards/esp-s3-lcd-ev-board-2/esp-s3-lcd-ev-board-2.cc b/main/boards/esp-s3-lcd-ev-board-2/esp-s3-lcd-ev-board-2.cc
index 9cf9545d97..4bd5cb2618 100644
--- a/main/boards/esp-s3-lcd-ev-board-2/esp-s3-lcd-ev-board-2.cc
+++ b/main/boards/esp-s3-lcd-ev-board-2/esp-s3-lcd-ev-board-2.cc
@@ -186,7 +186,16 @@ ... | [
"main/boards/esp-s3-lcd-ev-board-2/esp-s3-lcd-ev-board-2.cc",
"main/boards/lichuang-dev/lichuang_dev_board.cc",
"main/boards/m5stack-tab5/m5stack_tab5.cc",
"main/boards/waveshare/esp32-c6-touch-amoled-1.8/esp32-c6-touch-amoled-1.8.cc",
"main/boards/waveshare/esp32-c6-touch-lcd-1.83/esp32-c6-touch-lcd-1.83.c... | [] | true | |||
78/xiaozhi-esp32 | 1,878 | issue_to_patch | espressif/esp_codec_dev 组件自动更新到 1.5.5 之后与 espressif/adc_mic 发生命名冲突
### Answers checklist.
- [x] I have read the documentation [XiaoZhi AI Programming Guide](https://ccnphfhqs21z.feishu.cn/wiki/F5krwD16viZoF0kKkvDcrZNYnhb) and the issue is not addressed there.
- [x] I have updated my branch (master or release) to the ... | feat: adapt to esp_codec_dev>=1.5.5 | close https://github.com/78/xiaozhi-esp32/issues/1864
适配 `esp_codec_dev` ~~v1.5.5(yanked)~~ v1.5.6 引入的 ADC Mic 组件,不再使用 `espressif/adc_mic`
| 358819bf2ed5974f0cf62e942ecbaae86d90c043 | 85f6e5ac33293ab7d4d854a8e581b9de028208a1 | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 685c2d141e..e559641532 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -20,7 +20,7 @@ jobs:
variants: ${{ steps.select.outputs.variants }}
steps:
- name: Checkout
- uses: actions/checkout... | [
".github/workflows/build.yml",
"main/boards/esp-hi/adc_pdm_audio_codec.cc",
"main/boards/esp-hi/config.json",
"main/boards/esp-sensairshuttle/adc_pdm_audio_codec.cc",
"main/boards/esp-sensairshuttle/config.json",
"main/idf_component.yml",
"scripts/release.py"
] | [] | true | |
78/xiaozhi-esp32 | 1,882 | issue_to_patch | Bump version to 2.2.5 | Increments `PROJECT_VER` in `CMakeLists.txt` from `2.2.4` → `2.2.5`.
**Key changes since v2.2.4:**
- **New boards:** Waveshare ESP32-S3-ePaper-3.97, ESP32-S3-Touch-LCD-1.54, ESP32-S3-LCD-0.85, ESP32-P4-WIFI6-Touch-LCD-4.3; EchoEar renamed to Espressif ESP-VoCat
- **Bug fixes:** GIF/SetEmotion race in `lcd_display.cc`,... | d340efe58d36c51ef760daf6fde3ded088bf6d22 | 65d0d8c17578c1dbfb411e2e1d7f5bb1df1abc55 | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 652c682908..8681fa40f1 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,5 +9,5 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
idf_build_set_property(MINIMAL_BUILD... | [
"CMakeLists.txt"
] | [] | true | ||
78/xiaozhi-esp32 | 1,881 | issue_to_patch | Remove unused flag for playing popup sound on listening state in Cont… | This pull request makes a small change to the `Application::ContinueWakeWordInvoke` method by removing the line that sets the `play_popup_on_listening_` flag after a wake word is detected. This simplifies the state transition logic when handling wake word detection. | d9f0ef13aa7501be50fca54db9d175151ba67867 | 3327500dfcfeeda07b51df6afc6dd3c5c54a9c36 | diff --git a/main/application.cc b/main/application.cc
index d69d43d0ea..0a809fa3ff 100644
--- a/main/application.cc
+++ b/main/application.cc
@@ -840,9 +840,6 @@ void Application::ContinueWakeWordInvoke(const std::string& wake_word) {
}
// Set the chat state to wake word detected
protocol_->SendWakeWord... | [
"main/application.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,880 | issue_to_patch | 小智2.2.4版本在OTA表情之后表情包一闪一闪
### Answers checklist.
- [x] I have read the documentation [XiaoZhi AI Programming Guide](https://ccnphfhqs21z.feishu.cn/wiki/F5krwD16viZoF0kKkvDcrZNYnhb) and the issue is not addressed there.
- [x] I have updated my firmware to the latest version and checked that the issue is present there.... | Fix GIF emoji flickering by merging lock scopes in SetEmotion() | PR #1848 fixed a crash (LVGL accessing freed GIF image data between lock scopes) by hiding `emoji_image_` before destroying `gif_controller_`. This introduced visible flickering — the image is hidden in lock scope 1, then shown again in lock scope 2, with LVGL rendering the hidden state in between.
**Fix**: Eliminate ... | 358819bf2ed5974f0cf62e942ecbaae86d90c043 | dd8b40d026962abbb78ed6e4a5a8f5c24110671b | diff --git a/main/display/lcd_display.cc b/main/display/lcd_display.cc
index 9d110e04cc..be236bb8fa 100644
--- a/main/display/lcd_display.cc
+++ b/main/display/lcd_display.cc
@@ -1075,18 +1075,6 @@ void LcdDisplay::SetEmotion(const char* emotion) {
if (!setup_ui_called_) {
ESP_LOGW(TAG, "SetEmotion('%s') ... | [
"main/display/lcd_display.cc"
] | [] | true | |
78/xiaozhi-esp32 | 1,873 | issue_to_patch | fix json parse StoreProhibited crash issue | 如果 server 发送的 data 数据,没有 \0 结尾,那么这里是可能出现 StoreProhibited crash 异常的
所以添加
std::string json_str(data, len);
强制 \0 结尾 | cef581d7236dea4338a673039fb4ff320325b7b4 | fbdce609f8510fb3608acbe5dc233067e9044de0 | diff --git a/main/protocols/websocket_protocol.cc b/main/protocols/websocket_protocol.cc
index f0cc0344ae..4b74a5e275 100644
--- a/main/protocols/websocket_protocol.cc
+++ b/main/protocols/websocket_protocol.cc
@@ -147,7 +147,7 @@ bool WebsocketProtocol::OpenAudioChannel() {
}
} else {
... | [
"main/protocols/websocket_protocol.cc"
] | [] | true | ||
78/xiaozhi-esp32 | 1,867 | issue_to_patch | Update dependencies in idf_component.yml to latest versions: esp-ml30… | This pull request primarily updates several dependencies in the `idf_component.yml` file to newer versions and makes adjustments to the partition layout in `partitions/v2/4m.csv`. These changes ensure that the project stays up-to-date with upstream improvements and bug fixes, and also modify the memory allocation for t... | dbb8e1d409c14f5294863a83e0f2553785519218 | f5ab3aa66a9d59e7e1b3ec486a8b929a9ea8a208 | diff --git a/main/idf_component.yml b/main/idf_component.yml
index 4bb061e7a1..efcb3c0827 100644
--- a/main/idf_component.yml
+++ b/main/idf_component.yml
@@ -20,12 +20,12 @@ dependencies:
waveshare/custom_io_expander_ch32v003: ^1.0.0
espressif/esp_lcd_panel_io_additions: ^1.0.1
78/esp_lcd_nv3023: ~1.0.0
- 78... | [
"main/idf_component.yml",
"partitions/v2/4m.csv"
] | [] | true | ||
78/xiaozhi-esp32 | 1,871 | issue_to_patch | fix(eda-robot-pro): Optimize gait algorithm | ## lceda-course-examples/eda-robot-pro
### Fix
Optimized the motion algorithm for the eda-robot-pro in front, back, left, and right directions to improve its walking performance.
All CI/CD build checks have passed successfully. | cab8a7cecfa0d1c3d9df6aab69d4dfa383eae2d1 | 2499c66ab4fda50dceb1d99d9796da01c8d222ea | diff --git a/main/boards/lceda-course-examples/eda-robot-pro/eda_dog_movements.cc b/main/boards/lceda-course-examples/eda-robot-pro/eda_dog_movements.cc
index 97c9d91687..7bc249caf1 100644
--- a/main/boards/lceda-course-examples/eda-robot-pro/eda_dog_movements.cc
+++ b/main/boards/lceda-course-examples/eda-robot-pro/ed... | [
"main/boards/lceda-course-examples/eda-robot-pro/eda_dog_movements.cc",
"main/boards/lceda-course-examples/eda-robot-pro/eda_dog_movements.h"
] | [] | true | ||
78/xiaozhi-esp32 | 1,865 | issue_to_patch | Assets 资源管理支持更多的场景 | 支持更多的场景
1. 板子在启动时候需要获取启动画面资源,由于板子还在初始化中,所以会到 assert 获取不到
2. 初始化 LcdDisplay 中获取资源时 DisplayLockGuard lock 会导致重复进入 死锁
3. Apply 函数添加 bool refresh_display_theme = true 参数,保持默认行为,可以支持 板子 在初始化阶段设置为 false 加载 asset 资源 | 527cd1fd5861fbe8582e6d32ea0358bde5f81805 | 4cd53a9f8a329e90afabcfb019a7ade515316539 | diff --git a/main/assets.cc b/main/assets.cc
index ad6194422f..f9bf9e6ab8 100644
--- a/main/assets.cc
+++ b/main/assets.cc
@@ -50,8 +50,8 @@ bool Assets::FindPartition(Assets* assets) {
return true;
}
-bool Assets::Apply() {
- return strategy_ ? strategy_->Apply(this) : false;
+bool Assets::Apply(bool refres... | [
"main/assets.cc",
"main/assets.h"
] | [] | true | ||
78/xiaozhi-esp32 | 1,868 | issue_to_patch | add waveshare esp32-s3-touch-lcd-1.54 and waveshare esp32-s3-lcd-0.85 | add waveshare esp32-s3-touch-lcd-1.54
add waveshare esp32-s3-lcd-0.85 | 280b2ff856afcfd8cd88a69e7511bfa9c88c0ad6 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index d04fa5c05f..46cd3a3686 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -387,6 +387,18 @@ elseif(CONFIG_BOARD_TYPE_WAVESHARE_ESP32_S3_TOUCH_LCD_3_49)
set(LVGL_TEXT_FONT font_puhui_basic_30_4)
set(LVGL_ICON_FONT font_awesome_30_4)
s... | [
"main/CMakeLists.txt",
"main/Kconfig.projbuild",
"main/boards/waveshare/esp32-s3-lcd-0.85/README.md",
"main/boards/waveshare/esp32-s3-lcd-0.85/config.h",
"main/boards/waveshare/esp32-s3-lcd-0.85/config.json",
"main/boards/waveshare/esp32-s3-lcd-0.85/esp32-s3-lcd-0.85.cc",
"main/boards/waveshare/esp32-s3... | [
{
"comment": "manufacturer的参数要加上",
"path": "main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json",
"hunk": "@@ -0,0 +1,12 @@\n+{\n+ \"target\": \"esp32s3\",",
"resolving_sha": "74fa5413fcb81599f177c87dc2183c9d8670f7b3",
"resolving_diff": "diff --git a/main/boards/waveshare/esp32-s3-touch... | true | ||
78/xiaozhi-esp32 | 1,868 | comment_to_fix | add waveshare esp32-s3-touch-lcd-1.54 and waveshare esp32-s3-lcd-0.85 | manufacturer的参数要加上 | 280b2ff856afcfd8cd88a69e7511bfa9c88c0ad6 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | diff --git a/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
new file mode 100644
index 0000000000..ec065cae1d
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
@@ -0,0 +1,13 @@
+{
+ "manufacturer": "waveshare",
+ "t... | [
"main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json"
] | [
{
"comment": "manufacturer的参数要加上",
"path": "main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json",
"hunk": "@@ -0,0 +1,12 @@\n+{\n+ \"target\": \"esp32s3\",",
"resolving_sha": "74fa5413fcb81599f177c87dc2183c9d8670f7b3",
"resolving_diff": "diff --git a/main/boards/waveshare/esp32-s3-touch... | true | ||
78/xiaozhi-esp32 | 1,868 | comment_to_fix | add waveshare esp32-s3-touch-lcd-1.54 and waveshare esp32-s3-lcd-0.85 | manufacturer的参数要加上 | 280b2ff856afcfd8cd88a69e7511bfa9c88c0ad6 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | diff --git a/main/boards/waveshare/esp32-s3-lcd-0.85/config.json b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
new file mode 100644
index 0000000000..6520b37337
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
@@ -0,0 +1,15 @@
+{
+ "manufacturer": "waveshare",
+ "target": "esp32s3",... | [
"main/boards/waveshare/esp32-s3-lcd-0.85/config.json"
] | [
{
"comment": "manufacturer的参数要加上",
"path": "main/boards/waveshare/esp32-s3-lcd-0.85/config.json",
"hunk": "@@ -0,0 +1,12 @@\n+{\n+ \"target\": \"esp32s3\",",
"resolving_sha": "74fa5413fcb81599f177c87dc2183c9d8670f7b3",
"resolving_diff": "diff --git a/main/boards/waveshare/esp32-s3-lcd-0.85/co... | true | ||
78/xiaozhi-esp32 | 1,868 | comment_to_fix | add waveshare esp32-s3-touch-lcd-1.54 and waveshare esp32-s3-lcd-0.85 | json格式异常
CONFIG_USE_ESP_WAKE_WORD=y,S3不用配置,参考一下其他S3的配置修改。
建议默认开启AEC;禁用WeChat布局 | 280b2ff856afcfd8cd88a69e7511bfa9c88c0ad6 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | diff --git a/main/boards/waveshare/esp32-s3-lcd-0.85/config.json b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
new file mode 100644
index 0000000000..6520b37337
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
@@ -0,0 +1,15 @@
+{
+ "manufacturer": "waveshare",
+ "target": "esp32s3",... | [
"main/boards/waveshare/esp32-s3-lcd-0.85/config.json"
] | [
{
"comment": "json格式异常\nCONFIG_USE_ESP_WAKE_WORD=y,S3不用配置,参考一下其他S3的配置修改。\n建议默认开启AEC;禁用WeChat布局",
"path": "main/boards/waveshare/esp32-s3-lcd-0.85/config.json",
"hunk": "@@ -0,0 +1,13 @@\n+{\n+ \"manufacturer\": \"waveshare\",\n+ \"target\": \"esp32s3\",\n+ \"builds\": [\n+ {\n+ ... | true | ||
78/xiaozhi-esp32 | 1,868 | comment_to_fix | add waveshare esp32-s3-touch-lcd-1.54 and waveshare esp32-s3-lcd-0.85 | json格式异常
CONFIG_USE_ESP_WAKE_WORD=y,S3不用配置,参考一下其他S3的配置修改。
建议默认开启AEC;禁用WeChat布局 | 280b2ff856afcfd8cd88a69e7511bfa9c88c0ad6 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | diff --git a/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
new file mode 100644
index 0000000000..ec065cae1d
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
@@ -0,0 +1,13 @@
+{
+ "manufacturer": "waveshare",
+ "t... | [
"main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json"
] | [
{
"comment": "json格式异常\nCONFIG_USE_ESP_WAKE_WORD=y,S3不用配置,参考一下其他S3的配置修改。\n建议默认开启AEC;禁用WeChat布局",
"path": "main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json",
"hunk": "@@ -0,0 +1,13 @@\n+{\n+ \"manufacturer\": \"waveshare\",\n+ \"target\": \"esp32s3\",\n+ \"builds\": [\n+ {\n+ ... | true | ||
78/xiaozhi-esp32 | 1,853 | issue_to_patch | bread-compact-wifi-lcd crashes when LAMP_GPIO or BUILTIN_LED_GPIO is GPIO_NUM_NC
### Answers checklist.
- [x] I have read the documentation [XiaoZhi AI Programming Guide](https://ccnphfhqs21z.feishu.cn/wiki/F5krwD16viZoF0kKkvDcrZNYnhb) and the issue is not addressed there.
- [x] I have updated my branch (master or re... | Fix crash when LAMP_GPIO or BUILTIN_LED_GPIO is GPIO_NUM_NC | `bread-compact-wifi-lcd` (and any board) crashes on boot when `LAMP_GPIO` or `BUILTIN_LED_GPIO` is `GPIO_NUM_NC` because `SingleLed` asserts and `LampController` passes the invalid pin to `gpio_config()`.
Fixed at the source in 2 files instead of guarding every board file:
- **`SingleLed` constructor**: Replace `asse... | 564e929aea50b125d5d4454b2232f3ca9e31158f | 10bd3df13bb9c0ddbcb20b8f7ff1466dd0b2d341 | diff --git a/main/boards/common/lamp_controller.h b/main/boards/common/lamp_controller.h
index 1ed142c74c..6015447e9a 100644
--- a/main/boards/common/lamp_controller.h
+++ b/main/boards/common/lamp_controller.h
@@ -11,6 +11,10 @@ class LampController {
public:
LampController(gpio_num_t gpio_num) : gpio_num_(gpi... | [
"main/boards/common/lamp_controller.h",
"main/led/single_led.cc"
] | [] | true | |
9001/copyparty | 1,463 | issue_to_patch | improve opds compatibility | Hi! I didn't read the whole OPDS 1.2 specification, but here are some things I've noticed:
- some readers require feeds and entries to have `id` and `title` fields
- some readers handle absolute URIs better than relative paths (even OPDS documentation uses absolute paths in all of examples)
So I've added missing `... | 139ef1851e5d698521a5c2078c56f951d6e54d00 | aa818071d54e684f505f84ed8d53f0309259a5c4 | diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py
index d8df07158..bd5d38ad7 100644
--- a/copyparty/httpcli.py
+++ b/copyparty/httpcli.py
@@ -7186,18 +7186,19 @@ def tx_browser(self) -> bool:
dirs = []
files = []
ptn_hr = RE_HR
- use_abs_url = (
- not is_opds
- ... | [
"copyparty/httpcli.py",
"copyparty/web/opds.xml"
] | [] | true | ||
9001/copyparty | 1,494 | issue_to_patch | trying to drag a photo from the photo viewer into another tab crashes the web ui
<!-- NOTE:
**please use english, or include an english translation.** aside from that,
include all of the information that might possibly be necessary to help diagnose your issue,
especially things like the server config and server logs... | fix dsel error with bbox active | also fix not being able to drag the bbox image with dsel enabled like you normally can without dsel
fixes #1491
To show that your contribution is compatible with the MIT License, please include the following text somewhere in this PR description:
This PR complies with the DCO; https://developercertificate.org/ ... | ca406472f4b45f68842bc31716deb52b66698637 | 108103e217ed8f7197c171f1a5cad53d9579b037 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index fe162a8c6..6622c5c12 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -10036,7 +10036,7 @@ function reload_browser() {
if (e.target.closest('#widget,#ops,.opview,.doc')) return;
if (e.target.closest('#gfiles'))
- ebi... | [
"copyparty/web/browser.js"
] | [] | true | |
9001/copyparty | 1,466 | issue_to_patch | support fd-based s6 notification protocol | s6 notification protocol is a simple protocol to notify the supervisor when the daemon is ready to serve its purpose.
Just write a newline to the fd specified by the -fd argument and close it, and then the supervisor marks the daemon as started.
Dinit and s6 supervision suite are known to support this protocol.
... | b2401ff15a21a8ba389599f1d582ce41d36f9ceb | d632fb2460408a1d33882a45bceeb21ce2eb07e8 | diff --git a/copyparty/svchub.py b/copyparty/svchub.py
index fc0a9db98..1e74321d5 100644
--- a/copyparty/svchub.py
+++ b/copyparty/svchub.py
@@ -987,6 +987,10 @@ def after_httpsrv_up(self) -> None:
Daemon(self.sd_notify, "sd-notify")
+ zb = os.environ.get("S6_NOTIFY_FD")
+ if zb:
+ ... | [
"copyparty/svchub.py"
] | [] | true | ||
9001/copyparty | 1,487 | issue_to_patch | feat: Add option to render spectrograms with log frequency scale | This implements the feature described in #1486 .
It adds the argument ``th-spec-fl`` (thumbnails -> spectrogram -> frequency log scale) (please advise on a better name, this is what i decided on at 1am).
Adding this argument adds ``:fscale=log`` to the ffmpeg ``showspectrumpic`` filter, making it use a logarithmic ... | 3b53a228b0e07912766d8dbf88b1dd01da57e2c5 | afaf1cf391fa09881ef10b5dccd8b34a29fa7820 | diff --git a/copyparty/__main__.py b/copyparty/__main__.py
index 2f568b5c6..1833aaec9 100644
--- a/copyparty/__main__.py
+++ b/copyparty/__main__.py
@@ -1769,6 +1769,7 @@ def add_thumbnail(ap):
ap2.add_argument("--th-pre-rl", metavar="SEC", type=int, default=30, help="while pregen is running, ratelimit the thumbna... | [
"copyparty/__main__.py",
"copyparty/th_srv.py"
] | [] | true | ||
9001/copyparty | 1,479 | issue_to_patch | Add more dependencies to rc.d script. | On my FreeBSD machine, copyparty wasn't starting with the computer even after being enabled. Turns out it was being started first, before all the filesystems and such showed up. This fixed it real nice.
This PR complies with the DCO; https://developercertificate.org/
| 139ef1851e5d698521a5c2078c56f951d6e54d00 | dab672467255accfa7733577566816a374daadac | diff --git a/contrib/rc/copyparty b/contrib/rc/copyparty
index 7fcc4e884..ba5b878d6 100644
--- a/contrib/rc/copyparty
+++ b/contrib/rc/copyparty
@@ -1,7 +1,7 @@
#!/bin/sh
#
# PROVIDE: copyparty
-# REQUIRE: networking
+# REQUIRE: networking DAEMON FILESYSTEMS mountd
# KEYWORD:
. /etc/rc.subr
| [
"contrib/rc/copyparty"
] | [] | true | ||
9001/copyparty | 1,458 | issue_to_patch | Add macOS related information | This PR adds macOS-related information to the README and devnotes.
* It appears that assigning ports 80 and 443 works without requiring root permissions, at least on macOS 26 Tahoe what I tested, so I updated the README accordingly.
* Adds information on how to install the GNU utilities required to build the sfx on... | 139ef1851e5d698521a5c2078c56f951d6e54d00 | a2641f3ad2e7ab59bdf24e9fa55ed4c5b6dc6315 | diff --git a/README.md b/README.md
index 37131d1d0..80cf852aa 100644
--- a/README.md
+++ b/README.md
@@ -2321,9 +2321,7 @@ if you want to change the fonts, see [./docs/rice/](./docs/rice/)
become a *real* webserver which people can access by just going to your IP or domain without specifying a port
-**if you're o... | [
"README.md",
"docs/devnotes.md"
] | [] | true | ||
9001/copyparty | 1,485 | issue_to_patch | Users with read permission do not count as having get permission
This prevents e.g. creating a share with get permission by users who have read permission, unless they are explicitly also granted get permission. | auth: read (and admin) implies get | also, hide redundant get permission in webui
Closes #1483
hopefully this fix is at the correct layer; I didn't do a thorough search for things that may get affected by the permission alias, but making shares with get permission works when the creator has just read permission, and at least the webui won't get clut... | 3b53a228b0e07912766d8dbf88b1dd01da57e2c5 | 35c7873d8b2bbf430561216942021907f21aee29 | diff --git a/copyparty/authsrv.py b/copyparty/authsrv.py
index 38e1c9e29..a1e186803 100644
--- a/copyparty/authsrv.py
+++ b/copyparty/authsrv.py
@@ -1663,7 +1663,8 @@ def _read_vol_str(self, lvl: str, unames: list[str], axs: AXS) -> None:
for alias, mapping in [
("h", "gh"),
... | [
"copyparty/authsrv.py",
"copyparty/httpcli.py",
"copyparty/web/browser.js"
] | [] | true | |
9001/copyparty | 1,482 | issue_to_patch | get-only shares still active if user removed
if a user creates a get-only share, and the server-admin later removes that user, the share remains active
this behavior is unlike read- and/or write-shares, which are invalidated in that case, and they should behave the same way for consistency
initially reported by @cel... | invalidate get-only shares when creator no longer exists | Fixes #1480
I noticed while making this fix: shares invalidated in this way don't actually get removed from the db. is that intended?
This PR complies with the DCO; https://developercertificate.org/
| 139ef1851e5d698521a5c2078c56f951d6e54d00 | 9abb8a0e80e642513a1e7ecaaeb86af7cdc508e7 | diff --git a/copyparty/authsrv.py b/copyparty/authsrv.py
index 7dde17f49..38e1c9e29 100644
--- a/copyparty/authsrv.py
+++ b/copyparty/authsrv.py
@@ -3113,7 +3113,7 @@ def _reload(self, verbosity: int = 9) -> None:
try:
s_vfs, s_rem = vfs.get(
- s_vp, s_un, ... | [
"copyparty/authsrv.py"
] | [] | true | |
9001/copyparty | 1,184 | issue_to_patch | Fix and improve right-click menu (once again) | This fix improves some things and fixes some bugs with the right-click menu:
- Added an option to enable the youtube-like behavior (when you right-click and it's already open, use the browser's menu), defaults to off because it was kind of annoying \:)
- Added an option in the menu to rename files (thanks @feenix1)
... | a9ae6d5131cd54e116550d66037071d7ec42f553 | c66abf682cd332ebc8c199af39986e22c6d8e792 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index be881353d..3e9b65cf0 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -269,6 +269,7 @@ if (1)
"cdt_ask": "when scrolling to the bottom,$Ninstead of loading more files,$Nask what to do",
"cdt_hsort": "how many sorting rul... | [
"copyparty/web/browser.js"
] | [
{
"comment": "rogue `console.log()´?",
"path": "copyparty/web/browser.js",
"hunk": "@@ -9598,6 +9602,7 @@ var rcm = (function () {\n \t\t\t\t}\n \t\t\t}\n \t\t}\n+\t\tconsole.log(selFile);",
"resolving_sha": "c66abf682cd332ebc8c199af39986e22c6d8e792",
"resolving_diff": "diff --git a/copyparty/we... | true | ||
9001/copyparty | 1,446 | issue_to_patch | Bug report (creating new folder)
<!-- NOTE:
**please use english, or include an english translation.** aside from that,
include all of the information that might possibly be necessary to help diagnose your issue,
especially things like the server config and server logs; that said,
any parts below which are obviously... | fix rcm related errors | tl;dr: the ebi in `loadsel` returns null sometimes for various reasons and trying to call closest('tr') on said null leads to an error in a few cases:
- rcm: right click any file and click 'new file' or 'new folder' (grid only)
- rcm/dsel: use rcm to create new file/folder in empty dir and start dragging box from on ... | a997455b5a3d937f53ad40f431534a0e3865e9f7 | e3cc8ca1712e19f5e61b87cb6c2dd7364160714c | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 1efb295e5..89270d54e 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -5740,8 +5740,10 @@ var thegrid = (function () {
var ths = QSA('#ggrid>a');
for (var a = 0, aa = ths.length; a < aa; a++) {
- var tr = ebi(ths[a].... | [
"copyparty/web/browser.js"
] | [] | true | |
9001/copyparty | 1,439 | issue_to_patch | Better ipv6 ratelimiting logic | This is a simple change that also allows for configuration of the truncated prefix length later. I changed it to /56 because that is the recommended prefix length for residential networks.
This PR complies with the DCO; https://developercertificate.org/
| a5d859d2b18f53ccf236bc6229856f79139d531c | f799c405ed10ed40b27373425b7add6b1915a01e | diff --git a/copyparty/util.py b/copyparty/util.py
index 9343f01d7..b0004e5a0 100644
--- a/copyparty/util.py
+++ b/copyparty/util.py
@@ -1501,8 +1501,7 @@ def bonk(self, ip: str, prev: str) -> tuple[int, str]:
return 0, ip
if ":" in ip:
- # assume /64 clients; drop 4 groups
- ... | [
"copyparty/util.py"
] | [] | true | ||
9001/copyparty | 1,435 | issue_to_patch | Esperanto fixes | Slight fix to the machine translation of the new lines:
- The word "procento" usually means "percent" in economic contexts, such as interest rates, "elcento" is advised elsewhere.
- "da", not "de", is the word for "of" when used to express a quantity of something.
To show that your contribution is compatible wit... | a5d859d2b18f53ccf236bc6229856f79139d531c | 1a4358d10ec43f7c9ffbeeba37d74c890759e832 | diff --git a/copyparty/web/tl/epo.js b/copyparty/web/tl/epo.js
index 0031a7ebb..8280b4be0 100644
--- a/copyparty/web/tl/epo.js
+++ b/copyparty/web/tl/epo.js
@@ -221,7 +221,7 @@ Ls.epo = {
"cl_hpick": "alklaki la kapojn de kolumnoj por kasi en la suban tabelon",
"cl_hcancel": "kaŝado de kolumno nuligita",
"cl_rcm"... | [
"copyparty/web/tl/epo.js"
] | [] | true | ||
9001/copyparty | 1,406 | issue_to_patch | add example for overriding package in nixos module documentation | I spent far too long figuring this out
This PR complies with the DCO; https://developercertificate.org/
| 5aaa4ff15b62b4e0c7a815d6541d1df2f182bc59 | f1a71134d177243a4d0bd08cd0c508597ded18d3 | diff --git a/README.md b/README.md
index 4fd5eea25..ab1971bc8 100644
--- a/README.md
+++ b/README.md
@@ -2729,6 +2729,12 @@ services.copyparty = {
};
# you may increase the open file limit for the process
openFilesLimit = 8192;
+
+ # override the package used by the module to add dependencies, e.g. for hook... | [
"README.md"
] | [] | true | ||
9001/copyparty | 1,425 | issue_to_patch | Greater compatibility for *BSD | There are references to `lsblk` (from util-linux) and /proc that don't exist on *BSD, so this expands on some macOS-specific code to compensate for that
I did my best to follow the existing style and structure of the code, however I might have missed something (and also given that `_extdevs_nix()` doesn't show IPv6 ... | ede692925edfc6fca7a52f483414d543e9303237 | 3f4dabe45cd715c5750770499eb7c893da40e85a | diff --git a/copyparty/__init__.py b/copyparty/__init__.py
index 55befeb70..8bffed865 100644
--- a/copyparty/__init__.py
+++ b/copyparty/__init__.py
@@ -44,6 +44,14 @@
MACOS = platform.system() == "Darwin"
+FREEBSD = platform.system() == "FreeBSD"
+
+OPENBSD = platform.system() == "OpenBSD"
+
+ANYBSD = FREEBSD or ... | [
"copyparty/__init__.py",
"copyparty/fsutil.py",
"copyparty/tcpsrv.py"
] | [] | true | ||
9001/copyparty | 1,407 | issue_to_patch | add autogrid | adds autogrid as suggested in issue 1384
- switches (to/out of) grid view automatically if (over/under) ga_thresh% of files have a file extension that is in ga_ext
- always uses grid view if grid view is also enabled
- configs for enabling and setting ga_thresh and ga_ext
This PR complies with the DCO; https://de... | 5aaa4ff15b62b4e0c7a815d6541d1df2f182bc59 | 8770cc2911458be34eba3a2cf97c0cb0b20b1af9 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 72878b20b..0cf7b4bd2 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -228,6 +228,7 @@ if (1)
"cl_hpick": "tap on column headers to hide in the table below",
"cl_hcancel": "column hiding aborted",
"cl_rcm": "right-cli... | [
"copyparty/web/browser.js"
] | [] | true | ||
9001/copyparty | 1,428 | issue_to_patch | `--magic` selects `.ssa` as extension for plain text nameless uploads
<!-- NOTE:
**please use english, or include an english translation.** aside from that,
include all of the information that might possibly be necessary to help diagnose your issue,
especially things like the server config and server logs; that said... | make `.txt` the default extension for `text/plain` | Closes #1427
`MIMES.items()` iterates in insertion order, so the last-inserted entry had priority, meaning that `text/plain` got `ssa` as default extension.
This PR complies with the DCO; https://developercertificate.org/
| ede692925edfc6fca7a52f483414d543e9303237 | 6bc6bd98f556c25d043b92d1a0d5a19248f4fce8 | diff --git a/copyparty/util.py b/copyparty/util.py
index 656a329f0..9343f01d7 100644
--- a/copyparty/util.py
+++ b/copyparty/util.py
@@ -491,13 +491,12 @@ def _add_mimes() -> set[str]:
for v in vs.strip().split():
MIMES[v] = "{}/{}".format(k, v)
- for ln in """text md=plain txt=plain js=javas... | [
"copyparty/util.py"
] | [] | true | |
9001/copyparty | 1,410 | issue_to_patch | Add automatic browser locale detection using `--glang` | This adds an automatic browser locale detection that can be enabled with the `--glang` flag. Locales are detected using the `navigator.languages` field in JS. If it can't find a fitting language, it falls back to the default one specified by `--lang`.
(This PR complies with the DCO; https://developercertificate.org/)
| 5aaa4ff15b62b4e0c7a815d6541d1df2f182bc59 | e076d4190e44d46d52aed8deb20e34da69e2f58f | diff --git a/copyparty/__main__.py b/copyparty/__main__.py
index e0a46e790..43fc9916c 100644
--- a/copyparty/__main__.py
+++ b/copyparty/__main__.py
@@ -1870,6 +1870,7 @@ def add_ui(ap, retry: int):
ap2.add_argument("--ui-filesz", metavar="FMT", type=u, default="1", help="default filesize format; one of these: 0, ... | [
"copyparty/__main__.py",
"copyparty/authsrv.py",
"copyparty/web/browser.js"
] | [] | true | ||
9001/copyparty | 1,387 | issue_to_patch | Add gentoo packaging | 6a9e6da864f95d0f7ca7893c6e9d8f6d6a5801da | 98087ab3b8cb2b5258ff7219fabf22ccce0eec62 | diff --git a/README.md b/README.md
index 4fd5eea25..805a2fb09 100644
--- a/README.md
+++ b/README.md
@@ -120,6 +120,7 @@ built in Norway 🇳🇴 with contributions from [not-norway](https://github.com
* [packages](#packages) - the party might be closer than you think
* [arch package](#arch-package) - `pacman -S copy... | [
"README.md"
] | [] | true | |||
9001/copyparty | 1,403 | issue_to_patch | I hit a bug - music stopped playing
<!-- NOTE:
**please use english, or include an english translation.** aside from that,
include all of the information that might possibly be necessary to help diagnose your issue,
especially things like the server config and server logs; that said,
any parts below which are obviou... | fix playlist error on re-sorted filelists | normally playlist files are skipped when building the playback order; however, if the filelist is reordered or shuffle is enabled or disabled without reloading the page, the new playback order will include any playlist files on the filelist. so we add a check that ensures the reordered playback list doesn't add anythin... | 5aaa4ff15b62b4e0c7a815d6541d1df2f182bc59 | 66d8272af76c38b68534bedc881514ec5efff75e | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 72878b20b..3f8255b98 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -1719,7 +1719,9 @@ function MPlayer() {
if (!tid || tid.indexOf('af-') !== 0)
continue;
- order.push(tid.slice(1));
+ tid = tid.slice(1);
+ ... | [
"copyparty/web/browser.js"
] | [] | true | |
9001/copyparty | 1,352 | issue_to_patch | feat: adding handler for fail2ban | Added a handler to process 404 errors with fail2ban.
The handler respects the `--dont-ban` argument and, if necessary, will generate a special log line that will be intercepted by fail2ban.
Thanks to this, no one can spoof the log, and the fail2ban regex is lighter (and therefore faster).
---
This PR complies w... | 981a7cd9dda0acedbc7f53b2c44adb241c38cb84 | bae82d00dff05f48c54a1b01732d50413c5ccb1e | diff --git a/bin/handlers/404-to-fail2ban.py b/bin/handlers/404-to-fail2ban.py
new file mode 100755
index 000000000..9a94cff2d
--- /dev/null
+++ b/bin/handlers/404-to-fail2ban.py
@@ -0,0 +1,36 @@
+# /!\ Warning: be careful, as webdav clients often generate a large number of 404 requets.
+
+# In your `jail.local`, add:
... | [
"bin/handlers/404-to-fail2ban.py",
"bin/handlers/README.md"
] | [] | true | ||
9001/copyparty | 1,351 | issue_to_patch | feat: support .hidden file for dotfiles exclusion | Add support for a per-directory `.hidden` file to exclude additional files/directories from listings.
- looks for a .hidden file in each directory being listed
- reads filenames from .hidden if it exists
- excludes any files or folders listed in `.hidden` from listings
- still hides normal dotfiles as before
- i... | ffe6a9aa6fb7d49a4a1be3007c8d3297f88f4bc8 | 92c3903bbbb6bcb5ee63419fca1e95dcfc3aef94 | diff --git a/copyparty/ftpd.py b/copyparty/ftpd.py
index e5d8ff9e9..780afdd67 100644
--- a/copyparty/ftpd.py
+++ b/copyparty/ftpd.py
@@ -24,6 +24,7 @@
ODict,
Pebkac,
exclude_dotfiles,
+ exclude_dothidden,
fsenc,
ipnorm,
pybin,
@@ -348,7 +349,10 @@ def listdir(self, path: str) -> list[st... | [
"copyparty/ftpd.py",
"copyparty/httpcli.py",
"copyparty/tftpd.py",
"copyparty/util.py"
] | [] | true | ||
9001/copyparty | 1,360 | issue_to_patch | doc: use 2 letters for infinitely higher readability vs abcd | Currently the tables have a rather poor readability for all the great research put into compiling them (kudos!), requiring keeping a legend around, but just making 2-letter abbreviations makes it way more readable while still keeping the table dense enough (could maybe be split into two columns 1-letter-wide each, but ... | 266d6e0ae6a6eecac7bc863bd8f746d16686e61a | 11b322e4460a62a917f69debb3f6b38ae0243c66 | diff --git a/docs/versus.md b/docs/versus.md
index 0e41fa670..c85a2b542 100644
--- a/docs/versus.md
+++ b/docs/versus.md
@@ -86,33 +86,33 @@ the table headers in the matrixes below are the different softwares, with a quic
the softwares,
-[a]: https://github.com/9001/copyparty "copyparty"
-[b]: https://github.com/r... | [
"docs/versus.md"
] | [] | true | ||
9001/copyparty | 1,367 | issue_to_patch | Update README with share control / restriction (--shr-who) | added missing volflag argument in documentation, found via [#780](https://github.com/9001/copyparty/issues/780#issuecomment-3269483109)
To show that your contribution is compatible with the MIT License, please include the following text somewhere in this PR description:
This PR complies with the DCO; https://deve... | 6eb4f0ad9cc266abd5007509a15be93daa887ccf | 011da5bad7752af75c0f6ae72e240c1e6b6e4781 | diff --git a/README.md b/README.md
index 8e45801c0..dfc77a9fa 100644
--- a/README.md
+++ b/README.md
@@ -1005,6 +1005,8 @@ specify `--shr /foobar` to enable this feature; a toplevel virtual folder named
users can delete their own shares in the controlpanel, and a list of privileged users (`--shr-adm`) are allowed to... | [
"README.md"
] | [] | true | ||
9001/copyparty | 1,315 | issue_to_patch | add optional checking for vulnerable versions | if `vc-url` is set:
- reads ~/.config/vuln_advisory.json for vulnerability info if it is less than `vc-interval` old
- otherwise checks `vc-url` for a json containing vulnerability info as in https://api.github.com/repos/9001/copyparty/security-advisories
- if found, writes the response to ~/.config/vuln_advisory.js... | 7c60adc69c977fb4b75e31c576131b1379498c3f | a6056b814fbafe29a9fdcf9a70408cace1ec0c25 | diff --git a/contrib/systemd/copyparty.example.conf b/contrib/systemd/copyparty.example.conf
index 79560d0d7..a28802b2c 100644
--- a/contrib/systemd/copyparty.example.conf
+++ b/contrib/systemd/copyparty.example.conf
@@ -18,6 +18,15 @@
# (note: enable compression by adding .xz at the end)
q, lo: $LOGS_DIRECTORY/%... | [
"contrib/systemd/copyparty.example.conf",
"copyparty/__main__.py",
"copyparty/broker_mp.py",
"copyparty/broker_thr.py",
"copyparty/httpcli.py",
"copyparty/httpsrv.py",
"copyparty/svchub.py",
"docs/chungus.conf"
] | [] | true | ||
9001/copyparty | 1,323 | issue_to_patch | Account for `rp-loc` in paths when `site` is set | Currently, when uploading a file via up2k, the returned upload URL path does not include `rp-loc` in the URL path if `site`/`up-site` is also set.
For example, if `rp-loc` is `copyparty`, the resulting URL is `https://domain.com/Volume/Folder/` instead of `https://domain.com/copyparty/Volume/Folder/`.
This issue ... | 7c60adc69c977fb4b75e31c576131b1379498c3f | 06991b60239d606c5820373854331436feeadf51 | diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py
index 472c270cc..10c72381e 100644
--- a/copyparty/httpcli.py
+++ b/copyparty/httpcli.py
@@ -2762,8 +2762,9 @@ def dump_to_file(self, is_put: bool) -> tuple[int, str, str, str, int, str, str]
vpath = quotep(vpath)
if self.args.up_site:
- ... | [
"copyparty/httpcli.py"
] | [] | true | ||
9001/copyparty | 1,316 | issue_to_patch | improve Chinese translation | I wonder why the Chinese translation felt so unnatural, that my attempt to fix a few mistranslations ended up as a ~50% rewrite... maybe Chinese users are accustomed to mediocre localization?
anyway I believe such a wonderful piece of software deserves something better so here it is
This PR complies with the DCO; h... | 7c60adc69c977fb4b75e31c576131b1379498c3f | 3fa06a6dfbb30bbc8261a2a4dc5c7ed21da2e4f3 | diff --git a/copyparty/web/tl/chi.js b/copyparty/web/tl/chi.js
index b4d434f87..6f3039d61 100644
--- a/copyparty/web/tl/chi.js
+++ b/copyparty/web/tl/chi.js
@@ -6,7 +6,7 @@ Ls.chi = {
"cols": {
"c": "操作按钮",
- "dur": "持续时间",
+ "dur": "时长",
"q": "质量 / 比特率",
"Ac": "音频编码",
"Vc": "视频编码",
@@ -20,72 +20,72 @... | [
"copyparty/web/tl/chi.js"
] | [] | true | ||
9001/copyparty | 1,337 | issue_to_patch | Inaccurate number of files are placed inside subfolder when using rotn
### When `continue hashing other files while uploading` is enabled, `copyparty` will use less than the number of files specified in `rotn` per subfolder
### To Reproduce
Drag and drop files from a file manager to browser while `continue hashing o... | authsrv: fix dive() leaf-level file counting | Previously, `dive()` counted all items in a directory toward `rotn`, including `.PARTIAL` files and possibly subdirectories.
Fixes #1336
---
This PR complies with the DCO; https://developercertificate.org/
| 7c60adc69c977fb4b75e31c576131b1379498c3f | 81f61290032c95c78fc008a53af82b2611956dd8 | diff --git a/copyparty/authsrv.py b/copyparty/authsrv.py
index da4774b40..5f31392e6 100644
--- a/copyparty/authsrv.py
+++ b/copyparty/authsrv.py
@@ -147,8 +147,11 @@ def __repr__(self) -> str:
class Lim(object):
- def __init__(self, log_func: Optional["RootLogger"]) -> None:
+ def __init__(
+ self, ar... | [
"copyparty/authsrv.py"
] | [] | true | |
9001/copyparty | 1,335 | issue_to_patch | Duplicate file creation when rotf has trailing slash
### Files uploaded via browser/up2k are duplicated if `rotf` has trailing slash
### To Reproduce
Drag and drop files from a file manager to browser
### Expected behavior
Only one copy of each file is uploaded
### Screenshots
https://github.com/user-attachments... | authsrv: fix dupe file creation by stripping trailing slashes from rotf | `rotf` is meant to be a directory abstraction, so it’s easy to assume that adding a trailing slash like:
```
%Y/%m/%d/
```
should be fine, just like writing a folder path with `/` at the end.
Right now, that trailing slash makes `copyparty` treat the same folder as two different paths, which can cause duplicat... | 7c60adc69c977fb4b75e31c576131b1379498c3f | 5900611fde88b0b0a7878782290117030f4b3469 | diff --git a/copyparty/authsrv.py b/copyparty/authsrv.py
index da4774b40..8a0db3793 100644
--- a/copyparty/authsrv.py
+++ b/copyparty/authsrv.py
@@ -190,12 +190,12 @@ def log(self, msg: str, c: Union[int, str] = 0) -> None:
self.log_func("up-lim", msg, c)
def set_rotf(self, fmt: str, tz: str) -> Non... | [
"copyparty/authsrv.py"
] | [] | true | |
9001/copyparty | 1,313 | issue_to_patch | audioplayer: s-s: use clamp from util | - use clamp from util.js when setting sspeed
This PR complies with the DCO; https://developercertificate.org/
| d3260b27a6b138acafebe00b49c4844a8378878d | 2ae2fbfa36b96c51bcd410dab8b65420a28c8263 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 2b0425f7a..467d6035d 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -10041,7 +10041,7 @@ var mpss = (function() {
vthresh: afilt.sscv[0],
sthresh: afilt.sscv[1],
etresh: afilt.sscv[2],
- sspeed: Math.min(8.0, M... | [
"copyparty/web/browser.js"
] | [] | true | ||
9001/copyparty | 1,214 | issue_to_patch | work out dsel bugs | - also probably introduce new bugs
- also work out merge conflicts
- also cleanup things
- also tabs instead of spaces
this diff is sponsored by vscode, i have to test this a bit but thought i'd put it in so you won't go around changing it even more yet (it was already hard resolving the merge conflicts)
bugs ... | 5d7cf80ff0923dae348c48cea0a2306af39b5fce | 70351c46e9f6ed5a8b5dd6101e1760fc5e388722 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index bf9aef001..259618478 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -9759,145 +9759,152 @@ function reload_browser() {
}
(function() {
- var is_selma = false;
- var is_drag = false;
- var startx, starty;
- va... | [
"copyparty/web/browser.js"
] | [] | true | ||
9001/copyparty | 1,265 | issue_to_patch | add skip silence option | adds skip silence toggle for audio tracks and some config options in 🎺
To show that your contribution is compatible with the MIT License, please include the following text somewhere in this PR description:
This PR complies with the DCO; https://developercertificate.org/
| 9b436eb52e5cfe7a0a8e59dd9f1a37351f3a2abd | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 | diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css
index aa2e1fba0..e2e9173a0 100644
--- a/copyparty/web/browser.css
+++ b/copyparty/web/browser.css
@@ -1456,7 +1456,8 @@ html.dz input {
width: calc(100% - 16.2em);
}
input.drc_v,
-input.eq_gain {
+input.eq_gain,
+input.ssconf_v {
width: 3em;
tex... | [
"copyparty/web/browser.css",
"copyparty/web/browser.js"
] | [
{
"comment": "```suggestion\n\t\t\"mt_drc\": \"enables the dynamic range compressor (volume flattener / brickwaller); will also enable EQ to balance the spaghetti, so set all EQ fields except for 'width' to 0 if you don't want it$N$Nlowers the volume of audio above THRESHOLD dB; for every RATIO dB past THRESHOL... | true | ||
9001/copyparty | 1,265 | comment_to_fix | add skip silence option | ```suggestion
"mt_drc": "enables the dynamic range compressor (volume flattener / brickwaller); will also enable EQ to balance the spaghetti, so set all EQ fields except for 'width' to 0 if you don't want it$N$Nlowers the volume of audio above THRESHOLD dB; for every RATIO dB past THRESHOLD there is 1 dB of output, s... | 9b436eb52e5cfe7a0a8e59dd9f1a37351f3a2abd | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | [
"copyparty/web/browser.js"
] | [
{
"comment": "```suggestion\n\t\t\"mt_drc\": \"enables the dynamic range compressor (volume flattener / brickwaller); will also enable EQ to balance the spaghetti, so set all EQ fields except for 'width' to 0 if you don't want it$N$Nlowers the volume of audio above THRESHOLD dB; for every RATIO dB past THRESHOL... | true | ||
9001/copyparty | 1,265 | comment_to_fix | add skip silence option | ```suggestion
"drch": ['tresh', 'knee', 'ratio', 'atk', 'rls'],
``` | 9b436eb52e5cfe7a0a8e59dd9f1a37351f3a2abd | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | [
"copyparty/web/browser.js"
] | [
{
"comment": "```suggestion\n\t\t\"drch\": ['tresh', 'knee', 'ratio', 'atk', 'rls'],\n```",
"path": "copyparty/web/browser.js",
"hunk": "@@ -2690,11 +2700,15 @@ var afilt = (function () {\n \tvar r = {\n \t\t\"eqen\": false,\n \t\t\"drcen\": false,\n+\t\t\"ssen\": false,\n \t\t\"bands\": [31.25, 62.5, 1... | true | ||
9001/copyparty | 1,265 | comment_to_fix | add skip silence option | ```suggestion
if (!IE && afilt.ssen) skipSilence();
``` | 9b436eb52e5cfe7a0a8e59dd9f1a37351f3a2abd | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | [
"copyparty/web/browser.js"
] | [
{
"comment": "```suggestion\n\t\t\tif (!IE && afilt.ssen) skipSilence();\n```",
"path": "copyparty/web/browser.js",
"hunk": "@@ -2583,6 +2591,8 @@ var mpui = (function () {\n \t\t\t// occasionally draw buffered regions\n \t\t\tif (nth % 5 == 0)\n \t\t\t\tpbar.drawbuf();\n+\n+\t\t\tif (!IE && jread('au_s... | true | ||
9001/copyparty | 1,265 | comment_to_fix | add skip silence option | ```suggestion
r.sscv = jread('au_sscv', r.sscv);
``` | 9b436eb52e5cfe7a0a8e59dd9f1a37351f3a2abd | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | [
"copyparty/web/browser.js"
] | [
{
"comment": "```suggestion\n\t\tr.sscv = jread('au_sscv', r.sscv);\n```",
"path": "copyparty/web/browser.js",
"hunk": "@@ -2769,6 +2783,7 @@ var afilt = (function () {\n \t\t\tr.gains = gains;\n \n \t\tr.drcv = jread('au_drcv', r.drcv);\n+\t\tr.sscv = jread('au_sscv', r.sscv)",
"resolving_sha": "8f... | true | ||
9001/copyparty | 1,265 | comment_to_fix | add skip silence option | ```suggestion
var ssconf = afilt.sscv;
``` | 9b436eb52e5cfe7a0a8e59dd9f1a37351f3a2abd | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 | diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | [
"copyparty/web/browser.js"
] | [
{
"comment": "```suggestion\n\tvar ssconf = afilt.sscv;\n```",
"path": "copyparty/web/browser.js",
"hunk": "@@ -9929,6 +9984,94 @@ function reload_browser() {\n \tdsel_init();\n })();\n \n+function skipSilence() {\n+\tvar ae = mp.au;\n+\tvar ssconf = jread('au_sscv', [1, 5, 5, 5.0, 0.2]);",
"resolvi... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.