forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/server/src/db/avatar.rsClear filter

Today

♻️ refactor: simplify wire, server calls, net/share/voice and GUI state; fix ~60 bugsAhmet Kaan Gümüş · 1704b44
♻️ refactor: simplify wire, server calls, net/share/voice and GUI state; fix ~60 bugs

Wire (ALPN yumush/9): permission collapsed to is_member/is_moderator/is_admin/is_owner,
Suspension enum, admin_actions! macro, Field::Attachments, char-count message limit,
Close::on, datagram Gate→Pace, Tolerant CC sliding window.

Server: handlers take User (Me enum gone), request.rs → call/shared.rs, GetSettings served
directly, publish::direct for relay/stats without the DB lock, disconnect cleanup first,
zombie conn close, rooms Left/Why enums, release publish ordering + rollback, forge timeouts,
argon2 off the lock, DM delete on user delete, forwarded attachment deletes, backups in ms.

Client: crate::worker (Worker/supervise), net receive.rs + discard() off-lock drops,
share/session split into send/watch, voice sound.rs + pipewire pw.rs, atomic config/cache
writes, instance lock, embed SSRF filter, update loop fix, Chat split into
Session/Admin/PollDraft with one Armed enum, one network handler (no handle_hidden),
keys.rs table, SAFE_EXTENSIONS for cached attachments, many GUI state fixes.

Tooling: harness lib.sh, per-port scope name, PID-safe traps, imports.sh in CI,
workspace deps consolidated, client thiserror dropped.

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.