Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Tr2e/StackChan
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: m5stack/StackChan
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 344 files changed
  • 8 contributors

Commits on Apr 23, 2026

  1. Configuration menu
    Copy the full SHA
    c09f00a View commit details
    Browse the repository at this point in the history
  2. Revert "Refactor server Dockerfile with multi-stage build"

    This reverts commit c09f00a.
    Benny
    Benny committed Apr 23, 2026
    Configuration menu
    Copy the full SHA
    7bd14d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c629b8 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2026

  1. Configuration menu
    Copy the full SHA
    01dcfa3 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2026

  1. fix(firmware): reject setWifi messages without an ssid or password

    ArduinoJson returns nullptr for a missing key, and handle_set_wifi() passed
    both values straight into std::string parameters, so a setWifi message
    missing either field aborted the device instead of reporting a failure.
    Reply wifiConnectFailed and keep running.
    isaka1022 committed Aug 30, 2026
    Configuration menu
    Copy the full SHA
    d2e9548 View commit details
    Browse the repository at this point in the history
  2. fix(firmware): stop logging the WiFi password

    The password arrives over BLE and was written to the serial console in clear
    text, where anyone with the USB port can read it.
    isaka1022 committed Aug 30, 2026
    Configuration menu
    Copy the full SHA
    febcfdb View commit details
    Browse the repository at this point in the history
  3. chore(firmware): ignore sdkconfig.defaults.local

    CMakeLists.txt loads this overlay automatically when present, so it is the
    natural place for deployment settings and credentials, but it was tracked.
    isaka1022 committed Aug 30, 2026
    Configuration menu
    Copy the full SHA
    036eade View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2026

  1. Merge pull request m5stack#115 from isaka1022/fix/ble-wifi-config-har…

    …dening
    
    fix(firmware): reject malformed setWifi and keep the WiFi password out of the log
    Forairaaaaa authored Oct 19, 2026
    Configuration menu
    Copy the full SHA
    edfb00d View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2026

  1. feat(firmware): sync v1.6.0 LAN and network setup updates

    - Prefer LAN for video and remote control, with bounded sends and cloud fallback.
    - Add Xiaozhi/M5Stack network checks and detailed Wi-Fi failures; use App setup in place of community provisioning.
    - Keep the public repository layout, existing dependency lock and m5stack#115 fixes; exclude private authentication and local development files.
    - Validation: ESP-IDF 5.5.4 build and clang-format checks passed; host setup, LAN, Wi-Fi and existing motion tests passed (leak detection disabled). No new hardware testing for this sync.
    
    Co-authored-by: 小袁 <[email protected]>
    Forairaaaaa and yuanzhihong1 committed Oct 20, 2026
    Configuration menu
    Copy the full SHA
    94856a7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request m5stack#122 from Forairaaaaa/firmware-v1.6.0

    feat(firmware): sync v1.6.0 updates
    Forairaaaaa authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    bc60de1 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2026

  1. feat(server): add device activation and harden core flows

    Add the v2 activate-and-bind endpoint. It verifies the MAC address against
    the M5Stack factory service, activates the device through XiaoZhi when
    needed, restores the default agent configuration, and binds the device to
    the current user.
    
    Harden existing server flows:
    - validate remote account responses during login and registration, and
      check username availability before creating an account
    - serve and upload files through os.Root with traversal and symlink checks
    - omit credentials, license tokens and serial numbers from XiaoZhi logs
    - deduplicate WebSocket audio subscriptions and send OffAudio on unsubscribe
    - resolve TTS voices from the XiaoZhi voice list instead of assuming English
    
    Add unit tests and opt-in integration tests for device activation, factory
    device validation, TTS voice resolution, RSA helpers, file path handling and
    remote account response parsing.
    
    Chore:
    - add SPDX headers to all server code files
    - translate Chinese comments and test messages to English, keeping only the
      upstream API strings that require exact matching
    - replace real device MAC addresses and user data in tests with placeholders
    - update go.sum for github.com/gogf/gf/v2 v2.10.2
    - document the new m5stack configuration keys
    yuanzhihong
    yuanzhihong committed Oct 21, 2026
    Configuration menu
    Copy the full SHA
    b067c66 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2026

  1. feat(app): prepare 1.2.8 release for open source

    Sync the Flutter app with the 1.2.8 UI, native bridge, and asset updates,
    including the liquid-glass widget layer and refreshed iOS/Android resources.
    
    Chore:
    - add SPDX headers to Dart, Kotlin, Swift, Gradle, YAML, XML, plist, and
      xcconfig files
    - rewrite Chinese and machine-translated comments in English
    - normalize comment markers and remove personal author names from Swift
      file headers
    - replace signing identities, server addresses, and machine-specific SDK
      paths with placeholders
    - ignore iOS and Android build outputs
    
    The header and comment cleanup leaves executable Dart code unchanged.
    yuanzhihong
    yuanzhihong committed Oct 22, 2026
    Configuration menu
    Copy the full SHA
    eff0d6b View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2026

  1. Configuration menu
    Copy the full SHA
    4eb542c View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2026

  1. Configuration menu
    Copy the full SHA
    163f576 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f901cc2 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2026

  1. Merge pull request m5stack#31 from ThisIsBenny/feature/feature-toggles

    feat(firmware): Feature Toggle
    Forairaaaaa authored Nov 3, 2026
    Configuration menu
    Copy the full SHA
    a324ff8 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2026

  1. feat(firmware): update to v1.6.2

    - Upgrade to ESP-IDF 6.1 and Xiaozhi v2.5.2.
    - Use upstream audio and camera drivers and reduce memory pressure during photo uploads.
    - Update Wi-Fi AP selection and fix ESP-NOW startup and repeated provisioning callbacks.
    - Fix app visibility storage and keep local settings when account unlinking fails.
    - Validation: the public-source ESP-IDF 6.1 build and motion host tests passed. Main functions and the 1.6.0-to-1.6.2 OTA upgrade were verified on hardware using the local release firmware; the public authentication placeholder was build-tested only.
    
    Thanks to artrobin-cn for the upgrade analysis in m5stack#120 and the TCP teardown fix included through 78/esp-ml307#61.
    
    Co-authored-by: artrobin <[email protected]>
    Forairaaaaa and artrobin-cn committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    0808a47 View commit details
    Browse the repository at this point in the history
  2. Merge pull request m5stack#128 from Forairaaaaa/firmware-v1.6.2

    feat(firmware): update to v1.6.2
    Forairaaaaa authored Nov 4, 2026
    Configuration menu
    Copy the full SHA
    28b9f0c View commit details
    Browse the repository at this point in the history
Loading