forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/common/src/event.rsClear filter

Yesterday

✨ feat: release management in Builder › Releases, optional vs required updates. Builder picks client binaries, each is uploaded with progress, checked (embedded yumush-target marker must be an exact x86_64 v1/v3 build, ELF/PE must match, never released before) and zstd-19 packed by the server (60 MB -> 20 MB); Publish only enables when every file is ready and targets are distinct; any release can be flipped to required. Server keeps release/release_file tables, serves only the newest file per target and identifies clients by the sha256 of their exe (unknown builds are never touched). Clients check on every connect and on Event::Release: optional updates show an Update button with progress and Restart in the sidebar; required ones (or an outdated protocol) block login with a full-screen progress view and restart by themselves. Builds come from cargo release-v1 / release-v3 aliases; the release scripts are goneAhmet Kaan Gümüş · e4e5341
✨ feat: release management in Builder › Releases, optional vs required updates. Builder picks client binaries, each is uploaded with progress, checked (embedded yumush-target marker must be an exact x86_64 v1/v3 build, ELF/PE must match, never released before) and zstd-19 packed by the server (60 MB -> 20 MB); Publish only enables when every file is ready and targets are distinct; any release can be flipped to required. Server keeps release/release_file tables, serves only the newest file per target and identifies clients by the sha256 of their exe (unknown builds are never touched). Clients check on every connect and on Event::Release: optional updates show an Update button with progress and Restart in the sidebar; required ones (or an outdated protocol) block login with a full-screen progress view and restart by themselves. Builds come from cargo release-v1 / release-v3 aliases; the release scripts are gone

2026-11-29

✨ feat: push-driven, enforceable updates. Server watches updates/manifest and pushes Event::Release; clients check at start, on connect and on Outdated (no polling, backoff only on failure). Signed manifest carries a minimum seq: server turns away and kicks clients below it (Close::Outdated, release seq in Hello), and such clients download and restart themselves at once. macOS updates too; no Updates setting. Fix: server per-IP guard self-deadlocked on a second connection from one IP; client now flushes its close before dropping the endpointAhmet Kaan Gümüş · debc8fb
✨ feat: push-driven, enforceable updates. Server watches updates/manifest and pushes Event::Release; clients check at start, on connect and on Outdated (no polling, backoff only on failure). Signed manifest carries a minimum seq: server turns away and kicks clients below it (Close::Outdated, release seq in Hello), and such clients download and restart themselves at once. macOS updates too; no Updates setting. Fix: server per-IP guard self-deadlocked on a second connection from one IP; client now flushes its close before dropping the endpoint

2026-11-27

2026-11-26

⚡ perf: server NACK retransmit, RPS loss recovery (edith c4111899), adaptive playout, delay-based quality adapt, static frame skip, voice 32k + loss-driven FEC, no voice echo, single-copy frames to GPUAhmet Kaan Gümüş · a2e75c8
⚡ perf: server NACK retransmit, RPS loss recovery (edith c4111899), adaptive playout, delay-based quality adapt, static frame skip, voice 32k + loss-driven FEC, no voice echo, single-copy frames to GPU

Harness 1440p60 AV1 Vk, base vs new:
- share viewer latency 109 -> 34 ms
- share viewer cpu 30 -> 14 %
- share fps at 2% drop 55.9 -> 57.9, nacks recover loss
- voice up/down 35.6/41.6 -> 24.2/26.5 kbps, loopback 302 -> 188 kbps

Harness: metrics behind YUMUSH_METRICS, talker linked straight into harness-mic.

2026-11-25

♻️ refactor: one clean schema, integer ids and one transaction per callAhmet Kaan Gümüş · 22b1bb7
♻️ refactor: one clean schema, integer ids and one transaction per call

The database layer is rebuilt on turso with one STRICT schema file in
place of the migration list, integer ids, explicit created_at columns
and settings, log actions and snippet polls stored as bitcode. A single
connection runs every call inside one BEGIN IMMEDIATE transaction and
events are published only on success. SQL lives only in db/, one file
per table, through four helpers and one row reader; disk work for
attachments moves to files.rs. Session tokens are stored hashed.

Fixes case sensitive login against case insensitive uniqueness, logout
leaving the connection signed in, user deletion failing inside a lone
DM call, deleted DMs keeping their voice room, kicking non members,
builders leaving owned groups ownerless, half applied multi step writes
and events sent for failed calls. A stale database file now refuses to
start instead of failing later.
♻️ refactor: fixed auth per connection, one hub, one fan-out and one room ownerAhmet Kaan Gümüş · 700e2a4
♻️ refactor: fixed auth per connection, one hub, one fan-out and one room owner

A connection now authenticates once with Hello/Welcome; login, logout and
account switches reconnect instead of mutating auth mid connection. The
server actor and its state copies are replaced by a Hub of clients with
presence transitions and kicks, events fan out through one publish path
that encodes once and never blocks, and voice plus shares live in one
Rooms owner with a single leave path. Media control moves to Down::Media.
✨ feat: add screen sharing with simulcast, hardware codecs and share audioAhmet Kaan Gümüş · e06b4ef
✨ feat: add screen sharing with simulcast, hardware codecs and share audio

Screen sharing over QUIC datagrams. Frames are fragmented with a layer
tag (resolution, fps, codec) and the server forwards one layer per viewer,
switching only on keyframes and telling the sharer which layers to encode.

The client captures through the ScreenCast portal and PipeWire, encodes
each layer on its own thread with VA-API (H264, HEVC, AV1) and falls back
to software H264. Viewers decode in hardware where possible, sync audio
and video on the sharer clock and adapt quality from loss. Share audio
captures everything except communication streams or one picked source.

Adds codec choice, share settings, a viewer pane, live badges and share
metrics, and moves playback to interleaved stereo.
✨ feat: add reactions, pins, polls, notes, voice notes, unread tracking, search and backupsAhmet Kaan Gümüş · 040a711
✨ feat: add reactions, pins, polls, notes, voice notes, unread tracking, search and backups

- markdown rendering with syntax highlighting, formatting shortcuts and cheat sheet
- emoji reactions, pinned messages and pinned poll banner
- polls with single/multiple choice, closing and forwarded snapshots
- private notes community
- voice notes with live and playback waveforms
- typing indicator, unread counts, mentions, new-messages divider and jump to bottom
- message search for members and go to message
- composer drafts
- connection status notice
- builder database backup and export
- tray, mutes and voice stats

2026-11-24

✨ feat: add voice, media, social features, moderation and multiple accountsAhmet Kaan Gümüş · 543f611
✨ feat: add voice, media, social features, moderation and multiple accounts

Voice: QUIC datagram voice with Opus, a jitter buffer and per-speaker mixing. Voice activity or push-to-talk (modifier keys included), input and output device selection, volume and sensitivity. Settings can loop the mic through the full call pipeline and play a speaker chime.

Media: attachments with image, audio and video playback, snippets and message forwarding. FLAC files that do not state their length get it from the last frame instead of a full scan.

Social: direct messages, friends, community invitations with a user lookup that shows existing members, and live user search. Messages from former members keep the original username.

Moderation: member ranks with a single permission module, kick, ban with reason and unban. Bans and a new community log (renames, picture changes, invites, joins, leaves, kicks, bans, rank changes, moderator deletions) open in popups with search and sorting.

Accounts: several saved accounts with session resume and auto login. A Detach request signs a connection out while keeping its session, and signing in leaves voice first.

UI: settings pages for user and community, profile cards, community and user pictures that drive the accent colour of headers, dialogs and inputs, and New community in the Communities tab context menu. The README gets screenshots.

New request, response and error variants are appended to keep wire indices stable.

2026-11-23

✨ feat: add real auth, authorization, server push and pinned TLSAhmet Kaan Gümüş · 5f39b76
✨ feat: add real auth, authorization, server push and pinned TLS

Accounts use argon2 password hashes with server-side session tokens. Each connection is Anonymous or Authenticated, and the server takes the acting user from it instead of trusting ids in requests. Owner, member and author checks guard every mutation. The server pushes an Event enum over the uni stream, so the client no longer polls. The client pins the server certificate by SHA-256 fingerprint. The schema is versioned through user_version, with cascading foreign keys and transactions for multi-step writes. Message history pages backwards with a before marker. Errors use thiserror and logging uses tracing.
♻️ refactor: simplify every crate and move the server to tursoAhmet Kaan Gümüş · c2e3b2d
♻️ refactor: simplify every crate and move the server to turso

Collapse request/response wrappers into enum variants, give models pub fields, merge errors and validation into single sources, and replace SurrealDB with turso. Forbid unsafe and use line-tables-only debug info workspace-wide.

2026-06-03

✨ feat(common): add request, response and event typesAhmet Kaan Gümüş · 0dfb213
✨ feat(common): add request, response and event types

Define bitcode-encodable CRUD requests for user, community, message
and membership, matching responses, and server-push events so client
and server share one wire vocabulary.