Files
Doghouse/CHANGES-0.2.0.md
2026-12-01 06:21:47 +11:00

9.4 KiB

Doghouse 0.2.0

The second feature release, on top of 0.1.2. It brings profile pictures, server icons and banners, group chats, and voice/video calls in DMs and groups. QA passed it at f886ee6. The detailed engineering notes are in the repository (CHANGES-M7.md to CHANGES-M10.md); this file is the short version.

What's new

Profiles (M7)

  • Everyone can set a profile picture and a banner. Pictures are cropped in the browser before uploading, and animated GIFs stay animated. Photo location data (EXIF) is removed.
  • New "About me" (with simple formatting) and pronouns fields, plus a banner colour.
  • Click anyone's name or picture (in messages, the member list, DMs or voice) to see their profile card. It also works with the keyboard and screen readers.
  • Pictures are only visible to people who share a server or a DM with that person.

Server icons and banners (M8)

  • Server owners and admins can set a server icon and a banner, cropped the same way.
  • Icons uploaded in 0.1 are converted automatically on the first start; nothing to do.
  • Invite links show the server's icon and name before you join.

Group chats (M9)

  • Group DMs with up to 10 people. You can start one from Home ("New message", pick several people), or add people to an existing 1:1 (that creates a new group; the 1:1 stays private).
  • Groups can have a name and an icon. Anyone in the group can change them, the owner can remove people, and anyone can leave. If the owner leaves, the longest-standing member takes over.
  • Short messages in the chat say who joined, left, was removed, or renamed the group.
  • People who are added can see the group's earlier messages (the add dialog says so). People who leave or are removed lose access straight away, including to pictures and files they had already opened (their browser has to re-check with the server every time).

Calls and video (M10)

  • Call anyone you have a DM with, or call a whole group, with the phone button at the top of the conversation. It rings in every open Doghouse tab of the people you call, on all their devices, with Accept and Decline buttons. Answering on one device stops the ringing on the others.
  • If nobody answers within 30 seconds, the call stops and "Missed call" appears in the chat. Finished calls show how long they lasted.
  • In a group, people can join a call that's already going ("Join call" bar at the top).
  • Screen sharing works in calls the same way as in voice channels (desktop browsers).
  • Cameras (webcam) in calls and voice channels. Your camera is always off when you join, and you see a private preview before anyone else sees you. Turning it off really switches the camera off (the light goes out). On phones you can switch between front and back camera; on desktop you can pick which camera.
  • You're in one call or voice channel at a time. Joining another asks first.
  • Limits: ringing only reaches Doghouse tabs that are open. There are no push notifications, so a phone with the screen locked or the browser closed will not ring.

Smaller fixes

  • QA-9: on phones, a long group or channel name no longer makes the message box six lines tall.

Upgrading from 0.1.2

The upgrade changes the database (new tables for profiles, groups and calls). The changes are applied automatically when the app starts. You can't go back to 0.1.2 without your backup, so step 1 matters.

  1. Back up first. In your current doghouse-0.1.2/deploy folder:

    docker compose down
    sudo tar czf ~/doghouse-backup-$(date +%F).tgz data .env
    
  2. Unzip 0.2.0 into a fresh folder next to the old one (don't unzip over it):

    cd ~   # wherever doghouse-0.1.2 lives
    unzip doghouse-0.2.0.zip
    
  3. Keep your settings and data: copy .env and move data into the new folder.

    cp doghouse-0.1.2/deploy/.env doghouse-0.2.0/deploy/
    sudo mv doghouse-0.1.2/deploy/data doghouse-0.2.0/deploy/
    

    If you had edited deploy/livekit.yaml, copy your edits into the new file (it's unchanged from 0.1.2 otherwise).

  4. Add the new setting to doghouse-0.2.0/deploy/.env (see .env.example):

    VIDEO_ENABLED=true
    

    This turns webcams on (the default even if you leave it out). Set it to false if your home internet upload is slow. Every camera in a call is sent out from your server to each viewer; five people on camera need roughly 5-10 Mbps of upload. Voice and screen share keep working either way.

    Optional settings, only if you want to change them (the defaults are fine):

    • CALL_RING_TIMEOUT_MS=30000: how long a call rings before it counts as missed (1000-300000).
    • MEDIA_DIR: where profile pictures, icons and banners are stored. The default is data/media, inside your data folder, so the backup in step 1 already covers it. Don't set it unless you want them elsewhere.
  5. Start it:

    cd doghouse-0.2.0/deploy
    docker compose up -d --build
    docker compose ps          # both containers should be "healthy" after a minute
    docker compose logs app    # the database update runs on start (migrations 004-007)
    
  6. Nothing else changes. The router ports (TCP 7881, UDP 3478, UDP 20000-20100), the Nginx Proxy Manager settings (npm-advanced.conf), docker-compose.yml and livekit.yaml are the same as 0.1.2.

  7. Open the site and log in. Then work through the checklist below.

Rolling back: stop 0.2.0 (docker compose down in doghouse-0.2.0/deploy). Restore the backup from step 1 into the old folder: in doghouse-0.1.2/deploy, run sudo rm -rf data && sudo tar xzf ~/doghouse-backup-<date>.tgz. Then start 0.1.2 again with docker compose up -d in doghouse-0.1.2/deploy. Don't point 0.1.2 at the upgraded data folder; always use the backup. Anything posted after the upgrade is lost on rollback.

Justin's real-device checklist

Please try these on real phones. Our automated tests use desktop Chrome with fake cameras and microphones, so they can't cover these.

Calls and video (M10)

  1. Call from a phone on mobile data (not Wi-Fi) to a desktop, and the other way round, on iPhone Safari and Android Chrome. Check ringing, Accept, sound both ways, Leave, and the "call ended after …" line in the chat.
  2. Ringing on a phone with the screen locked: it's expected not to ring (no push notifications). With Doghouse open in a background tab, check that the incoming-call card and the flashing tab title are there when you switch back, and the sound if the browser allows it. On Android, check the vibration.
  3. The ringtone before you've tapped anything on the page: iPhone blocks the sound, but the incoming-call card must still show.
  4. Camera permission prompts on iPhone Safari and Android Chrome. Deny once, then allow it in the browser settings and try again. The message should be clear, and the call should keep going on audio.
  5. Switch between front and back camera during a call on both phones. The other side should see the switch without anyone rejoining. Also rotate the phone during a call.
  6. Lock the screen or switch apps with the camera on. The camera light should go out, and the others should see your camera go off. When you come back, it stays off until you turn it on.
  7. Desktop: unplug a USB camera during a call. A message should appear, the sound should keep going, and you should be able to pick another camera in the preview.
  8. Bandwidth: a call with 5 cameras on. On a desktop viewer, chrome://webrtc-internals should show small tiles receiving about 320x180 and an enlarged or fullscreen tile 720p. Tiles scrolled out of view should be paused. Note the server's total upload (router stats or docker stats) and compare it with the 5-10 Mbps estimate.
  9. Layout with 1, 2, 5 and 10 cameras on a small phone, a normal phone, a tablet and a desktop, plus a screen share. Nothing should scroll sideways, and enlarge/fullscreen should work by touch and keyboard.
  10. Set VIDEO_ENABLED=false in .env and run docker compose up -d. There should be no camera button. Do it while someone has their camera on: their camera should be turned off.

Profiles, icons and groups (M7-M9)

  1. Set a profile picture from a phone photo (iPhone and Android), including a photo taken in portrait. The crop should be easy by touch, and the picture should come out the right way up.
  2. Upload an animated GIF as a profile picture from a phone. It should stay animated for others.
  3. Open someone's profile card from a message, the member list and a voice channel on a phone. It should fit the screen and close with its close button.
  4. Set a server icon and banner from a phone. Check the server header with a long server name on a small phone.
  5. Create a group from a phone, add someone, rename it, set an icon, then have someone leave. They should lose the group straight away on their own phone too.
  6. On a small phone, a group with a very long name: the message box stays one line until you type.
  7. After the upgrade, check that existing DMs, their history and attachments, and server icons from 0.1 are all still there.

For reference

  • Version 0.2.0, tag v0.2.0. Database migrations 004-007 are applied automatically and are safe to re-run.
  • New setting: VIDEO_ENABLED (default true). Optional: CALL_RING_TIMEOUT_MS, MEDIA_DIR.
  • Engineering notes: CHANGES-M7.md, CHANGES-M8.md, CHANGES-M9.md, CHANGES-M10.md (in the repository, not in the zip).