cipher/migrations
King Omar 726d9d53ba Add read receipts, disappearing messages, and group invite links
Receipts: messages now carry a shared client id (mid); recipients send
delivered/read receipts over the E2E relay, rendered as ✓/✓✓ ticks (blue
when read). Groups aggregate — ticks turn on once every member acks.

Disappearing messages: per-chat timer (Off..1 week) stored locally and
synced to peers via an encrypted config control message; messages carry a
ttl and a client-side sweeper deletes them from both sides on schedule.

Group invite links: new group_invites table + /groups/:id/invite (mint/
revoke) and /groups/join routes. Group info gains "Add people" and
"Invite via link" (shareable URL + QR); opening a #join=<token> link joins
the group and re-syncs every member's roster over the relay.

store.js v3 adds a mid index + getByMid/put/sweepExpired; SW cache v9.
Verified: 12 live server tests (invite/join/add/revoke/leave) + 11
store unit tests (receipts, sweep, meta) all green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 18:32:24 +10:00
..
0001_init.sql Cipher: E2E encrypted messenger scaffold (Signal Protocol + Cloudflare) 2026-07-22 01:56:59 +10:00
0002_key_sync.sql Add multi-device key sync: QR device linking + encrypted recovery code 2026-07-22 13:04:46 +10:00
0003_groups.sql Encrypted group chats + major UI redesign 2026-07-22 13:16:16 +10:00
0004_group_invites.sql Add read receipts, disappearing messages, and group invite links 2026-07-22 18:32:24 +10:00