forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/server/src/error.rsClear filter

Yesterday

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

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: 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.

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

♻️ refactor(server): collapse error impls into macrosAhmet Kaan Gümüş · 3a36017
♻️ refactor(server): collapse error impls into macros

Adds the From<quinn::ReadExactError> that common already had. The
server-to-common conversion becomes a From impl rather than Into, so the
blanket Into comes free and clippy stops complaining; it still masks
Database as Server so nothing about the store reaches a client.

2026-07-16

2026-06-06

✨ feat(server): add surrealdb database layerAhmet Kaan Gümüş · adbd6fb
✨ feat(server): add surrealdb database layer

Connect to SurrealDB through the any engine, define schemafull tables
with a relation-backed membership table and message indexes, and add
a tempdir-backed surrealkv helper for tests.