Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport endpoint consistency and CI changes to v0.1 #266

Merged
merged 11 commits into from
Sep 21, 2023

Commits on Sep 18, 2023

  1. CI: skip changed-files action on tag

    The changed-files action fails when pushing a tag:
    
      Error: Similar commit hashes detected: previous sha: a9cf47f is equivalent to the current sha: a9cf47f.
      Error: Please verify that both commits are valid, and increase the fetch_depth to a number higher than 50.
      Error: Similar commit hashes detected.
    
    (cherry picked from commit 440ca88)
    stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    4cb27df View commit details
    Browse the repository at this point in the history
  2. CI: use release-v0.1 container tag

    Using main would introduce unwanted changes.
    stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    37a9161 View commit details
    Browse the repository at this point in the history
  3. rest: fix potential NULL pointer dereference

    (cherry picked from commit a787a32)
    stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ecd20bd View commit details
    Browse the repository at this point in the history
  4. REST endpoint doesn't use TTS response. When available use the text f…

    …rom the REST response for TTS.
    
    (cherry picked from commit c6d7d17)
    kristiankielhofner authored and stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    fde653c View commit details
    Browse the repository at this point in the history
  5. REST: Color doesn't display well with our background, standardize dis…

    …play and TTS language to other endpoints
    
    (cherry picked from commit dc1d55d)
    kristiankielhofner authored and stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    7b44046 View commit details
    Browse the repository at this point in the history
  6. Support TTS (without status because OpenHAB doesn't provide), remove …

    …text color, standardize feedback language
    
    (cherry picked from commit f347102)
    kristiankielhofner authored and stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    4660c0c View commit details
    Browse the repository at this point in the history
  7. Standardize TTS responses and display status language and font color …

    …to align with REST and OpenHAB
    
    (cherry picked from commit e24c053)
    kristiankielhofner authored and stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    dd99a8b View commit details
    Browse the repository at this point in the history
  8. audio: hide lbl_ln3 and lbl_ln4 before calling endpoint

    Hiding labels after calling the endpoint could result in them being
    hidden after the endpoint unhid them. This currently seems to happen for
    both the openHAB and the REST endpoint.
    
    Adding some logging confirms the label is hid in the audio code just a
    few milliseconds after unhiding in the endpoint code. We don't see this
    with Home Assistant as we're using a recent Home Assistant version where
    the endpoint code sets up a WebSocket. The additional JSON constructing
    and parsing in the Home Assistant WebSocket code causes enough delay to
    not see the issue there.
    
    (cherry picked from commit c18aa98)
    stintel committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    fa22cce View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. CI: use hyphen instead of underscore in device suffix

    (cherry picked from commit 06e27f4)
    stintel committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    79ebcb8 View commit details
    Browse the repository at this point in the history
  2. CI: generate and publish sha256sums

    (cherry picked from commit 711c258)
    stintel committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    6d85a2a View commit details
    Browse the repository at this point in the history
  3. CI: mark releases containing delete as pre-release

    We're using tags like will-be-deleted-something for test tags, to verify
    things work as expected before tagging an actual release tag. Mark a
    release as pre-release if the tag contains delete.
    
    (cherry picked from commit 4a83be7)
    stintel committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    449a538 View commit details
    Browse the repository at this point in the history