forge
Explore
Log in

Don't you dare go Hollow

Commits

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

Today

✨ feat: server auto-update. Build's Linux lane runs in a podman container (yumush-linux, Ubuntu 24.04 / glibc 2.39, your exact rustc, caches in ~/.cache/yumush-build) and adds a Server job. Publishing a release that holds server-x86_64-linux probes the new binary with --version, swaps it in (old kept as server.old) and restarts in place. Server answers --version; new ReleaseProblem::ServerBrokenAhmet Kaan Gümüş · e81ccb7
✨ feat: server auto-update. Build's Linux lane runs in a podman container (yumush-linux, Ubuntu 24.04 / glibc 2.39, your exact rustc, caches in ~/.cache/yumush-build) and adds a Server job. Publishing a release that holds server-x86_64-linux probes the new binary with --version, swaps it in (old kept as server.old) and restarts in place. Server answers --version; new ReleaseProblem::ServerBroken
✨ feat: Builder → Server → Process → Restart server (confirm). The server closes every connection with a new 'server restarting' code, drains for up to 2s and execs itself in place (same PID/terminal, picks up a rebuilt binary); clients reconnect on their normal backoff. Wire: RestartServer call, Close::Restart, ALPN yumush/5Ahmet Kaan Gümüş · b3f134e
✨ feat: Builder → Server → Process → Restart server (confirm). The server closes every connection with a new 'server restarting' code, drains for up to 2s and execs itself in place (same PID/terminal, picks up a rebuilt binary); clients reconnect on their normal backoff. Wire: RestartServer call, Close::Restart, ALPN yumush/5

2026-11-25

♻️ 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.

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-09

✨ feat(server): serve quic with config bootstrapAhmet Kaan Gümüş · 56893d1
✨ feat(server): serve quic with config bootstrap

Accept QUIC connections behind an rcgen self-signed cert, require an
authentication request on the first bidirectional stream before
spawning per-request handlers, and bootstrap settings from the toml
config; ship an example config and gitignore the real one.

2026-04-19

♻️ refactor: promote shared deps to workspace and switch server to tokioAhmet Kaan Gümüş · 335c931
♻️ refactor: promote shared deps to workspace and switch server to tokio

Unify common, tokio, bitcode, and quinn under [workspace.dependencies]
so crates pull consistent versions, and move the server binary to a
tokio runtime in preparation for the networking layer.

2026-04-08