forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/common/src/error.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

Yesterday

✨ feat: release management in Builder › Releases, optional vs required updates. Builder picks client binaries, each is uploaded with progress, checked (embedded yumush-target marker must be an exact x86_64 v1/v3 build, ELF/PE must match, never released before) and zstd-19 packed by the server (60 MB -> 20 MB); Publish only enables when every file is ready and targets are distinct; any release can be flipped to required. Server keeps release/release_file tables, serves only the newest file per target and identifies clients by the sha256 of their exe (unknown builds are never touched). Clients check on every connect and on Event::Release: optional updates show an Update button with progress and Restart in the sidebar; required ones (or an outdated protocol) block login with a full-screen progress view and restart by themselves. Builds come from cargo release-v1 / release-v3 aliases; the release scripts are goneAhmet Kaan Gümüş · e4e5341
✨ feat: release management in Builder › Releases, optional vs required updates. Builder picks client binaries, each is uploaded with progress, checked (embedded yumush-target marker must be an exact x86_64 v1/v3 build, ELF/PE must match, never released before) and zstd-19 packed by the server (60 MB -> 20 MB); Publish only enables when every file is ready and targets are distinct; any release can be flipped to required. Server keeps release/release_file tables, serves only the newest file per target and identifies clients by the sha256 of their exe (unknown builds are never touched). Clients check on every connect and on Event::Release: optional updates show an Update button with progress and Restart in the sidebar; required ones (or an outdated protocol) block login with a full-screen progress view and restart by themselves. Builds come from cargo release-v1 / release-v3 aliases; the release scripts are gone

2026-11-29

✨ feat: release pipeline in the builder menu. Release tab: keys (app-native, PBKDF2 + ChaCha20-Poly1305, passphrase asked twice), Linux/Windows builds (Windows via VM), sign, push. Server no longer watches the manifest: builder uploads seq-named binaries (sha256 checked) and pushes a signed manifest, which sets minimum, kicks outdated clients, announces and prunes old files. Per-CPU builds: x86-64 v1/v3/v4, clients pick the best level they support. Sessions store their release; overview shows clients per release. One builder at most (unique index), role moves only via the server CLI. Fix: Ctrl+K panicked on the Danger zone settings entryAhmet Kaan Gümüş · e47e0f7
✨ feat: release pipeline in the builder menu. Release tab: keys (app-native, PBKDF2 + ChaCha20-Poly1305, passphrase asked twice), Linux/Windows builds (Windows via VM), sign, push. Server no longer watches the manifest: builder uploads seq-named binaries (sha256 checked) and pushes a signed manifest, which sets minimum, kicks outdated clients, announces and prunes old files. Per-CPU builds: x86-64 v1/v3/v4, clients pick the best level they support. Sessions store their release; overview shows clients per release. One builder at most (unique index), role moves only via the server CLI. Fix: Ctrl+K panicked on the Danger zone settings entry

2026-11-28

🎨 style: picture viewer is the picture alone over a scrim with the name under it (click or Esc closes); avatars 512px up to 120 KB, client steps the size down to fit, server accepts any square up to 512Ahmet Kaan Gümüş · 247bfb2
🎨 style: picture viewer is the picture alone over a scrim with the name under it (click or Esc closes); avatars 512px up to 120 KB, client steps the size down to fit, server accepts any square up to 512

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.
💄 ui: friendly camera and screen capture errorsAhmet Kaan Gümüş · 4ac1292
💄 ui: friendly camera and screen capture errors

Capture start failures now map to a plain Device error instead of the network: prefixed text, a missing camera says No camera found and logs the V4L2 detail, and an open timeout says Camera did not respond.
♻️ refactor: simplify the whole workspace and fix the bugs found on the wayAhmet Kaan Gümüş · d58bc19
♻️ refactor: simplify the whole workspace and fix the bugs found on the way

Collapse duplicated helpers across client, server and common: one gui widget
module, one capture worker type, shared db query helpers, one name validator.
Gate the capture modules behind a stub so macOS compiles again, close the
portal screencast session on stop, stop camera read spins, stop double
WatchShare requests, fix frame pacing jitter drops, mention prefix matching,
validation holes and a set of server cleanup and auth gaps.
✨ feat: add reactions, pins, polls, notes, voice notes, unread tracking, search and backupsAhmet Kaan Gümüş · 040a711
✨ feat: add reactions, pins, polls, notes, voice notes, unread tracking, search and backups

- markdown rendering with syntax highlighting, formatting shortcuts and cheat sheet
- emoji reactions, pinned messages and pinned poll banner
- polls with single/multiple choice, closing and forwarded snapshots
- private notes community
- voice notes with live and playback waveforms
- typing indicator, unread counts, mentions, new-messages divider and jump to bottom
- message search for members and go to message
- composer drafts
- connection status notice
- builder database backup and export
- tray, mutes and voice stats

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-08-03

♻️ refactor(common): collapse error impls into macrosAhmet Kaan Gümüş · b0443e8
♻️ refactor(common): collapse error impls into macros

error_from! takes a table of Source => Variant, with an optional `as
Middle` for conversions that hop through an inner error type. Sibling
macros cover the to_string-wrapping leaves and the fully-delegating
Display impls. Enums with per-arm formatting stay hand-written.

ConnectError now maps to network::Error::Connect instead of
AddressParse, which leaves no variant without a producer. Community and
Message swap places in error::Error; the derive encodes variants by
index, so this only holds while both sides ship together.

2026-07-20

2026-07-16

2026-06-05

♻️ refactor(common): replace bastion with community modelAhmet Kaan Gümüş · aeaaada
♻️ refactor(common): replace bastion with community model

Flatten user/message into plain bitcode-encodable structs and add
quinn stream helpers so all shared types can cross the wire.

2026-04-19

✨ feat(common): add bastion rooms and split user/message into modulesAhmet Kaan Gümüş · 9c1eb2f
✨ feat(common): add bastion rooms and split user/message into modules

Introduce Bastion (room/channel) with join/leave events, extract User
and Message into their own modules with Arc-backed inners, and carve
out a network module as a placeholder. Message now carries the owning
bastion so downstream consumers can route by room.

2026-04-08