Skip to content

ownbox 1.0.0-beta.7

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 21:02
· 32 commits to main since this release

The rest of the robustness and security pass, and the box on a phone's home screen. From
this release on, an update brings the box's system files as well as the program; the
update to this release itself still brings the program only, as the older box does not
know the files yet.

Added

  • The setup Wi-Fi's page joins a network that does not send its name: "Another network
    (hidden)" at the end of the list, with its name and password typed.
  • An update from Settings brings the box's system files too, not only the program: each
    release carries ownbox-setup.tar.gz (units, scripts, settings), signed like the
    program. The root unit checks it with the installed ownbox, unpacks it into a folder of
    its own and puts only the files on its list in place, at the places on its list: the
    ones the box has, plus the new ones every box needs (the start-again unit, the Wi-Fi
    chip's settings). Boxes from beta.4–beta.6 images get beta.4's fixes this way once they
    update to a release that carries the files.
  • The page can live on a phone's home screen as an app: a manifest with the box's name,
    the own.audio icon (scripts/home-icons.cjs renders it) and no browser bars. On an
    iPhone the app has its own storage and does not see Safari's pairing, so a paired
    phone's manifest starts the app at a one-time install code: its first start pairs it,
    within a day. On Android, over plain http, Chrome adds a shortcut that opens in the
    browser instead (a full install needs https). Settings → Phone control says how.
  • Settings → Library → "Sign out and start over" (two taps): the box signs out, on the
    server too, forgets its server, queue, equalizer and every paired phone, and runs the
    setup again. Its Wi-Fi, sound card, buttons, name and language stay. On a box without a
    screen the first phone to open the page then pairs, as on a new box.

Security

  • The build pins what it fetches by commit, not by tag: AirPlay (nqptp 1.2.4,
    shairport-sync 4.3.7; a moved tag now fails the build) and the GitHub actions. The image
    workflow takes the release tag as a variable and checks its form, instead of pasting it
    into the shell script.

Fixed

  • The page no longer waits forever on a box that does not answer: requests give up after
    15 s (a minute for a server check or sign-in, five for an update), and timed polls are
    not started again while one is still waiting. One failed poll no longer takes the page
    away (three in a row do, and never during the setup), and a page that cannot ask the box
    who it is asks again instead of taking itself for the box's own screen.
  • After installing an update the page reloads when the box answers with the new version,
    instead of after a blind 15 s.
  • A slow server no longer holds up a pause, a skip or the volume: the player asks it for
    the next entry's address after letting go of the queue, and uses the answer only if the
    queue is still where it was.
  • Play/pause on a phone was an egg, not a circle, when a book's ±30 s buttons were in the
    row: the row was too tight and the button lost width but not height. It keeps its size
    now and the gaps give way.
  • Copying the sign-in code and the box's address did nothing: the box is served over plain
    http, where browsers offer no clipboard API, and the button quietly went away. It now
    copies the old way, which works there (Safari on iPhone too), and if that fails as well
    it selects the text for a long press and says so.