Commits
2026-11-23
🔒 feat: verify CA certificates and hot reload themAhmet Kaan Gümüş · c09f337
🔒 feat: verify CA certificates and hot reload them The client checks the server certificate against the OS trust store and server_name instead of a pinned fingerprint. Debug builds accept any certificate for local self-signed setups; release builds never contain that verifier. The server loads PEM files through a cert resolver and polls their mtime every 10 minutes, swapping in a renewed certificate without a restart and keeping the old one if the new pair fails to load. Missing files fall back to a generated self-signed localhost certificate.
✨ 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.