forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/server/src/call/message.rsClear filter

2026-11-29

✨ 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-26

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