forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/client/src/net/mod.rsClear filter

Yesterday

✨ feat: Build & publish from Builder › Releases. Pick the yumush source once; the button refuses a dirty tree, builds linux x86_64 v1/v3 locally and windows v1/v3 inside the yumush-win dockur VM over ssh (started and stopped as needed, skipped if missing), shows per-job crate progress and the latest cargo line, then uploads and publishes the four binaries. Clients card shows every install (persistent install id) with user, device, running release/target, update state with live download percent, online/last seen; server counts download progress while serving and clients report installing/ready/failed. Cargo aliases removedAhmet Kaan Gümüş · 9063f7e
✨ feat: Build & publish from Builder › Releases. Pick the yumush source once; the button refuses a dirty tree, builds linux x86_64 v1/v3 locally and windows v1/v3 inside the yumush-win dockur VM over ssh (started and stopped as needed, skipped if missing), shows per-job crate progress and the latest cargo line, then uploads and publishes the four binaries. Clients card shows every install (persistent install id) with user, device, running release/target, update state with live download percent, online/last seen; server counts download progress while serving and clients report installing/ready/failed. Cargo aliases removed
✨ 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
✨ feat: server-delivered auto update. New stable yumush-update/1 ALPN (survives protocol bumps): on every connect (or Outdated) a YUMUSH_RELEASE client sends its target (x86_64_v3/v1-<os>) and the sha256 of its own exe; the server answers Current, Missing or streams clients/<target> (hashed at startup). The client verifies size+sha256, swaps itself in with self-replace and re-execs with --restart, which waits for the old instance to let go. packaging/release.sh linux|windows builds v1 and v3 into dist/Ahmet Kaan Gümüş · b9f353c
✨ feat: server-delivered auto update. New stable yumush-update/1 ALPN (survives protocol bumps): on every connect (or Outdated) a YUMUSH_RELEASE client sends its target (x86_64_v3/v1-<os>) and the sha256 of its own exe; the server answers Current, Missing or streams clients/<target> (hashed at startup). The client verifies size+sha256, swaps itself in with self-replace and re-execs with --restart, which waits for the old instance to let go. packaging/release.sh linux|windows builds v1 and v3 into dist/

2026-11-29

✨ feat: release pipeline in the builder menu. Release tab: keys (app-native, PBKDF2 + ChaCha20-Poly1305, passphrase asked twice), Linux/Windows builds (Windows via VM), sign, push. Server no longer watches the manifest: builder uploads seq-named binaries (sha256 checked) and pushes a signed manifest, which sets minimum, kicks outdated clients, announces and prunes old files. Per-CPU builds: x86-64 v1/v3/v4, clients pick the best level they support. Sessions store their release; overview shows clients per release. One builder at most (unique index), role moves only via the server CLI. Fix: Ctrl+K panicked on the Danger zone settings entryAhmet Kaan Gümüş · e47e0f7
✨ feat: release pipeline in the builder menu. Release tab: keys (app-native, PBKDF2 + ChaCha20-Poly1305, passphrase asked twice), Linux/Windows builds (Windows via VM), sign, push. Server no longer watches the manifest: builder uploads seq-named binaries (sha256 checked) and pushes a signed manifest, which sets minimum, kicks outdated clients, announces and prunes old files. Per-CPU builds: x86-64 v1/v3/v4, clients pick the best level they support. Sessions store their release; overview shows clients per release. One builder at most (unique index), role moves only via the server CLI. Fix: Ctrl+K panicked on the Danger zone settings entry
✨ feat: auto update. Server relays an Ed25519-signed manifest and binaries over a stable yumush-update/1 ALPN; client verifies against compiled-in keys, checks size+sha256, self-tests the new exe, swaps on disk, applies on restart, rolls back if the new version never reaches its window. Release builds only (YUMUSH_RELEASE_SEQ), x86-64-v3 baseline, macOS off for now. Settings › Updates: Off / AutomaticAhmet Kaan Gümüş · 769f1ab
✨ feat: auto update. Server relays an Ed25519-signed manifest and binaries over a stable yumush-update/1 ALPN; client verifies against compiled-in keys, checks size+sha256, self-tests the new exe, swaps on disk, applies on restart, rolls back if the new version never reaches its window. Release builds only (YUMUSH_RELEASE_SEQ), x86-64-v3 baseline, macOS off for now. Settings › Updates: Off / Automatic

2026-11-27

✨ feat: login screen picks the server: address field (built-in default, saved when changed) and 'Accept any certificate' switch (works in release too); network reconnects as soon as either changes; saved accounts are per serverAhmet Kaan Gümüş · b986e58
✨ feat: login screen picks the server: address field (built-in default, saved when changed) and 'Accept any certificate' switch (works in release too); network reconnects as soon as either changes; saved accounts are per server
✨ feat: own voice meter always shows the mic (dimmed while gated/muted-off), speaking state still follows transmission; stats rates read kbps/MbpsAhmet Kaan Gümüş · 24aef4b
✨ feat: own voice meter always shows the mic (dimmed while gated/muted-off), speaking state still follows transmission; stats rates read kbps/Mbps

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: validation lives on the call and the client calls directlyAhmet Kaan Gümüş · 7bb542d
♻️ refactor: validation lives on the call and the client calls directly

Each call validates its own fields in Call::validate, run once by the
client before sending and once by the server before handling. GUI code
sends call structs straight through net.call, so the hundred pass through
wrappers in net/mod.rs are gone. Dead code and duplicated logic found by
an audit of the new network modules are removed.
♻️ refactor: every call is a typed struct and the legacy request path is goneAhmet Kaan Gümüş · c0a7e2d
♻️ refactor: every call is a typed struct and the legacy request path is gone

Communities, messages, social, voice and builder calls move to typed Call
structs with their reply type and gate fixed by the type, dispatched by
one exhaustive match into per domain handlers. The old Request and
Response enums, expect!, done, the wrapper layer and the 1600 line server
match are deleted.
♻️ refactor: one client media owner, datagram v2 and typed callsAhmet Kaan Gümüş · c69c3ca
♻️ refactor: one client media owner, datagram v2 and typed calls

Voice, shares and the mic test live in one client Media owner guarded by
the link epoch, so a stale join never installs after a reconnect and a
blip keeps the capture source. Datagrams become a Packet enum with fixed
little endian headers, derived fragment layout and bounds checked decode;
the server peeks three bytes to route video. Calls start moving to typed
Call structs whose reply type and gate come from the type, beginning
with the user domain. Share throughput unchanged at 59.4 fps.
♻️ 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.
♻️ refactor: one transport, one framing and a split error modelAhmet Kaan Gümüş · e2d1bd5
♻️ refactor: one transport, one framing and a split error model

Split the client network module into net/{link,events,datagram,voice,share}.
Both sides share one QUIC transport config, an ALPN protocol version and
typed close codes; the client resolves hosts per family with backoff.
Every stream uses one length prefixed bitcode frame with a reset on drop
send guard, and uploads, downloads and backups go through Open{Call,
Upload, Fetch}. Wire errors are separate from server internal and client
link errors, and the GUI matches enums instead of strings.