forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/client/src/gui/chat/poll_draft.rsClear filter

Today

♻️ refactor: simplify wire, server calls, net/share/voice and GUI state; fix ~60 bugsAhmet Kaan Gümüş · 03e6686
♻️ 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.
Suspend and timeout replace each other, so Account's single Suspension is always the truth.

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.
Palette removed: every view reads style::Tokens directly. Clippy clean apart from
argument-count lints.

Tooling: harness lib.sh (refuses a STATE path too long for pipewire sockets), per-port
scope name, focus ring off in niri.kdl, PID-safe traps, imports.sh in CI, workspace deps
consolidated, client thiserror dropped.