forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/server/src/request.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
✨ 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: 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
✨ feat: builders see deleted messages and edit history; delete is soft (deleted_at), edits keep previous bodies (message_edit, ListEdits builder-only), others get deleted messages hidden and reply quotes redacted; retention and account deletion stay hardAhmet Kaan Gümüş · 09df64d
✨ feat: builders see deleted messages and edit history; delete is soft (deleted_at), edits keep previous bodies (message_edit, ListEdits builder-only), others get deleted messages hidden and reply quotes redacted; retention and account deletion stay hard

2026-11-27

2026-11-26

2026-11-25

🐛 fix: presence for new relations and deletions reach former membersAhmet Kaan Gümüş · 63d5a7f
🐛 fix: presence for new relations and deletions reach former members

Opening a DM, accepting a friend or an invitation now sends each side the
other's presence, so new contacts no longer look offline until a
reconnect. delete_community resolves members before deleting and sends
CommunityDeleted itself, so deleting a user who is alone in a DM call
clears the ring and the DM on the peer instead of leaving them stale.
Adds tests for kicking a non member and a builder leaving an owned group.
♻️ 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.
♻️ refactor: simplify the whole workspace and fix the bugs found on the wayAhmet Kaan Gümüş · d58bc19
♻️ refactor: simplify the whole workspace and fix the bugs found on the way

Collapse duplicated helpers across client, server and common: one gui widget
module, one capture worker type, shared db query helpers, one name validator.
Gate the capture modules behind a stub so macOS compiles again, close the
portal screencast session on stop, stop camera read spins, stop double
WatchShare requests, fix frame pacing jitter drops, mention prefix matching,
validation holes and a set of server cleanup and auth gaps.
🐛 fix: apply share settings live and fix share stats and settingsAhmet Kaan Gümüş · 6cc4c4c
🐛 fix: apply share settings live and fix share stats and settings

Changing resolution, fps, codec or audio while sharing now updates the
running share in place: the server keeps the viewers and re-picks
their layers, and the client keeps its capture. Before, a change did
nothing until the share was restarted.

Also fixed:
- the watching tab names the sharer;
- keyframes are counted;
- stats tiles fill the card;
- the voice label stays on one line;
- share settings only offer sizes the source supports;
- the empty exclude heading is hidden;
- software H.264 forces keyframes instead of rebuilding the encoder.

The harness now runs on a private PipeWire with null devices, gets a
second compositor for a third client, and has an audio round-trip
check. edith_codecs now carries the cros-libva fix itself.
✨ 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 user admin, font size, music voice profile and adaptive jitterAhmet Kaan Gümüş · 3950bc8
✨ feat: add user admin, font size, music voice profile and adaptive jitter

Admin: staff get a users page with search and role changes through new Users and SetRole requests. The first account created becomes staff, and username lookup ignores case.

Settings: a font size choice (small, medium, large) next to the theme. A voice profile picks Voice (Opus VoIP, 48 kb/s) or Music (Opus Audio, 96 kb/s).

Voice: capture opens a mono stream instead of downmixing stereo. The jitter buffer sizes itself from measured arrival jitter, recovers lost packets with FEC or concealment, skips quiet frames to absorb drift and fades the gate in and out.

New request and response variants are appended to keep wire indices stable.
✨ 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-08-03

2026-07-28

✨ feat(server): read messages by community with marker and limitAhmet Kaan Gümüş · 18f0ac4
✨ feat(server): read messages by community with marker and limit

Marker is inclusive and results come back oldest-first. Also drops the
Option around the connection's UserID, so the compiler enforces what an
unreachable! was asserting at runtime.
✨ feat(server): scope requests to connection userAhmet Kaan Gümüş · cc3d3ea
✨ feat(server): scope requests to connection user

Thread the authenticated UserID from the connection into handle_request,
and join the creator to the community it creates.

2026-07-23

2026-07-16

2026-06-08

✨ feat(server): add request handler and authenticationAhmet Kaan Gümüş · 4c71a7e
✨ feat(server): add request handler and authentication

Dispatch every wire request to the matching entity operation and fold
failures into the error response variant; authentication is a stub
that reads a fixed user until tokens land.