Skip to content

Restock 0.18.3 (beta)

Choose a tag to compare

@d-plenty d-plenty released this 28 Nov 01:15
· 13 commits to main since this release

Release candidate. Restock is still local first: everything works on your phone with no signal and no server.

0.18.3: look after your server from a phone, a yes on your phone to sign in to the server's page, home and away addresses that just work, and a new first screen.

Updating

  • Android: install 0.18.3 over 0.18.2 (or any version from 0.14.0). Nothing is lost.
  • iPhone and iPad: the file is restock-0.18.3-unsigned.ipa, below. It's installed from a computer: how, and the warnings. Install it over the top and your data stays.
  • With a Restock server: update it to 0.18.3 too, then your admin phones. Until an admin phone is on 0.18.3, the server's page signs in with the passphrase alone, as before.

What's new

  • Server admin on an admin phone (Settings → Sync → Restock server → Server admin): the phones and tablets, Sign in a computer, Data and how long it's kept, Activity, and Server settings (the household, the addresses, signing in, the recovery key, Home Assistant and updates). The last admin phone can't be removed or made a user.
  • "Is this you?" Signing in to the server's page with the passphrase, and each risky change there (deleting data, how long it's kept, the recovery key, the passphrase or user name, moving and erasing), needs a yes on an admin phone too, with the same two-digit number on both. Open Restock on the phone and it asks. Every admin phone lost? The recovery key says yes instead.
  • A new server page. It looks after the server only: Phones and admins, Data, and Server settings with a page each in the sidebar (Household, Addresses, Sign-in and security, Home Assistant, This browser, Updates and moving). It's about 1.7 MB (it was about 40 MB) and keeps nothing of the household in the browser. Data shows how many of each kind and its size, with a spreadsheet export for each. The shopping list, pantry and shops are on the phones.
  • Home and away addresses that just work. Set both on the server's page or the phone. A phone tries home for a moment, then away, and goes home again when it's back. No location or Wi-Fi permission. Codes have both addresses.
  • Fixed: Cloudflare tunnels. A code made through a tunnel had an http:// away address, which phones turned down. It's https:// now, and a server puts a saved one right by itself.
  • A new first screen: Set up, Join a home server, or Import from backup (scan a QR code, or from a file). Joining a server from it works now and lands on Home. A used or expired code says which.
  • Export data → Connections (Restock server, Home Assistant), off to start with, for a file locked with a password or a copy sent straight to another phone. The new phone gets Home Assistant set up and joins the server as a phone of its own (from an admin phone; otherwise it gets the addresses and asks an admin for a code).
  • Fixed: Diagnostics on iPhone and iPad no longer talks about Android holding things back.

Tested with 400 products and a price check running on a simulated slow iPad: tabs opened in 0.07–0.24 seconds, the longest freeze was about half a second (0.7 in 0.18.2), and the check got a little further in the same time.

Check your download: SHA-256 of restock-0.18.3.apk is d2cbc467fe5311e5202a3f071b14bdd5b756d0cecadb02afcd8b459d53ab4dc4