forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to Cargo.tomlClear filter

2026-09-25

iz: pin topcoat and its CLI to 0.9.0Ahmet Kaan Gümüş · c96d861
iz: pin topcoat and its CLI to 0.9.0

CI installed topcoat-cli 0.6.2 against a 0.8.0 dependency, which is the mismatch warning. Latest is 0.9.0 for both. im-client rev moves to 2043642 so the git dep no longer pulls a second topcoat 0.8.x into the lockfile.

2026-09-09

2026-09-08

2026-09-05

2026-09-03

Rename izlek to izAhmet Kaan Gümüş · 7326831
Rename izlek to iz

Crate, binary, config, database and key files, JS globals, env vars,
workflow deploy paths, and all user-facing strings follow the repo's new
name. The token-hash known-answer test carries the digest of the new
input. Clock tests move off a date that rotted into the past.

2026-09-02

A boot pass re-sniffs attachments whose mime froze genericAhmet Kaan Gümüş · 18a5e7b
A boot pass re-sniffs attachments whose mime froze generic

The mime an attachment wears is written at upload, so a deck or workbook
uploaded before its viewer existed kept application/zip forever and its
chip stayed a download link. At open the store now re-reads a head and
tail window of every generically-typed row, follows the zip central
directory when the windows cannot settle it, and rewrites only rows the
bytes prove more specific — a plain zip, an OLE container, or anything
uncertain is left exactly as stored. Sniff moves into izlek-core for
this; the web upload and photo handlers share the one definition.

2026-08-30

👷 perf(ci): the deploy builds thin, and the CLI is built onceAhmet Kaan Gümüş · ecc25a3
👷 perf(ci): the deploy builds thin, and the CLI is built once

`release` optimizes the whole program in one non-parallel pass, which is the
right trade for something CPU-bound and the wrong one for a server that
spends its time in SQLite, TLS and the network. `dist` inherits it with thin
LTO and the cores actually used; `release` is untouched for when the last
few percent are worth the wait.

Measured on twelve cores: the relink every deploy pays for goes from 2m27s
to 25s, a full build from 5m01s to 2m04s. The binary grows 32MB to 43MB
before stripping, which nothing here is bounded by.

The topcoat CLI is compiled from source on every run and changes only when
its pinned version does, so it is cached on that version alone.
⏪ revert(build): dev keeps its unoptimised dependenciesAhmet Kaan Gümüş · 096e7e6
⏪ revert(build): dev keeps its unoptimised dependencies

Reverts da8d75d at the user's word.
⚡ perf(build): dependencies are compiled optimised in dev tooAhmet Kaan Gümüş · 07b26bf
⚡ perf(build): dependencies are compiled optimised in dev too

A dev build runs the same spreadsheet reader a release build does, and an
unoptimised quick-xml walks a wide sheet about twenty times slower: one page
of the 1,200-column book took 2.1s on `cargo run` against 94ms built for
release. Dependencies now build at opt-level 3 in the dev profile — the
workspace's own crates stay unoptimised, so an edit still rebuilds in a
second, and the same page now takes 410ms.

Costs one full rebuild of the dependency tree the next time dev is built.

2026-08-27

2026-08-26

🚚 refactor: the program is called izlek, everywhereAhmet Kaan Gümüş · 37a3769
🚚 refactor: the program is called izlek, everywhere

Crates, binary, config file, database file, key file, UI wordmark and
every string that said dizey now say izlek. The one non-mechanical spot:
the known-answer digest test in auth.rs hashed the literal product name,
so its precomputed SHA-256 constant was recomputed for "izlek".
✨ feat(config): dizey.toml is the one place the process is configuredAhmet Kaan Gümüş · 70cc24c
✨ feat(config): dizey.toml is the one place the process is configured

The environment variables are gone. The process reads dizey.toml from
its working directory — database path and base URL, nothing else — and
when the file is missing it writes one with the development defaults,
says so, and starts. A file that is present but wrong still stops the
boot with the file and key named. Development stays one bare command;
a deployment edits the file it was handed.
🔒 feat(settings): the SMTP password is sealed under a key beside the fileAhmet Kaan Gümüş · 9410be8
🔒 feat(settings): the SMTP password is sealed under a key beside the file

The one live credential in the database file is now XChaCha20-Poly1305
ciphertext (v1: envelope), sealed under a 32-byte key the app generates
into dizey.key next to the database — never typed, never shown. The
database and key files come out 0600, a plaintext password from an older
deployment is sealed once at boot, and a value that will not decrypt —
a backup restored without its key — reads back as no password at all,
so mail degrades to the no-sender path and retyping once heals it. The
Store trait still speaks plaintext; the cipher is turso_store's detail.
♻️ refactor(core): split the vocabulary from the server halfAhmet Kaan Gümüş · 8f9026e
♻️ refactor(core): split the vocabulary from the server half

The web crate needs `Role` and the record shapes in the wasm bundle, but must
never carry the store, Argon2 or the CSPRNG there. Roles stay unconditional;
everything else moves behind a `server` feature, on by default for the crate's
own tests and off for the browser build.
✨ feat(auth): passwords, tokens, sessions and the account flowsAhmet Kaan Gümüş · defe2eb
✨ feat(auth): passwords, tokens, sessions and the account flows

Two primitives, kept apart on purpose. Passwords are low-entropy and go
through Argon2id at the OWASP cheat sheet's recommended second config —
19 MiB, t=2, p=1 — which is also what the crate defaults to, set here
explicitly so a crate change cannot move it quietly. Tokens (sign-in
links, session cookies, and later read-only links and the calendar feed)
are 128 bits from a CSPRNG stored as a SHA-256 digest: full entropy has
nothing to brute-force, so Argon2 there would only cost a page load.
`Token` shows its plaintext once and renders as `Token(redacted)`, so a
stray `{:?}` cannot log a live secret.

Migration 0002 adds `workspace_owner`, `session` and `auth_attempt`.

The first account is claimed, not created: `claim_workspace` writes the
workspace, the admin and a `workspace_owner` row with a fixed primary key
in one IMMEDIATE transaction, so four racing claimants produce exactly
one admin, no half-written losers, and a clean AlreadyClaimed for the
rest. Redeeming a sign-in link is a conditional UPDATE plus rows-affected
inside a transaction, never a read-then-write, so a mail client's
prefetch and the person's click yield exactly one consumption.

The public surface answers uniformly in wording and in work: an unknown
address, an invited account with no password yet, and a wrong password
all pay for one Argon2 verify — against a real dummy hash on the miss
paths — and return the same rejection. Expiry is decided server-side
against stored timestamps. Sign-in attempts and link redemptions are rate
limited per address and per client over a 15-minute window, checked
before any hashing, and cleared on success. Changing a password revokes
every session for that account, which is the change-password pane's
promise made testable.
✨ feat(store): schema, migration runner and Turso store behind a traitAhmet Kaan Gümüş · 9cf2cb5
✨ feat(store): schema, migration runner and Turso store behind a trait

Storage lives behind a dyn-safe `Store` trait in dizey-core so a Postgres
swap is a new impl and nothing else. The only impl today is Turso, opened
in-process against a file.

Turso ships no migration runner, so the schema is plain versioned SQL
applied at boot and recorded in `schema_version`. 0001 covers the whole
product shape: workspace (sender + limits), user, signin_link, board,
board_column, task, assignees, watchers, dependencies, comments,
attachments, activity, mail_rule, mail_send and view_link.

Two things the design notes require are in the schema rather than in a
later patch: link and feed tokens are stored as `token_hash` only, and
`mail_send` is unique on (rule, task, transition) so a revert-then-redo
cannot mail twice.

Measured engine behaviour, asserted in `store::turso_store::probe`:
journal_mode=wal and synchronous=FULL by default, so a committed write
is fsynced before commit returns. Turso is single-writer. Two connections
on one Database handle serialise by themselves, but a second handle on
the same file drops roughly 40% of its writes with "database is locked"
and no retry — so `TursoStore::open` sets `busy_timeout = 5000` (and
`foreign_keys = ON`) on every connection, which takes that case to
200/200 writes and zero errors.
✨ feat(scaffold): leptos 9 + axum workspace with Dizey design tokensAhmet Kaan Gümüş · 7acf2ce
✨ feat(scaffold): leptos 9 + axum workspace with Dizey design tokens

Two crates behind a workspace so tests scope with `cargo test -p`:

- `dizey-core` — server-side domain. Starts with `Role` and the capability
  questions the server handlers will ask of it (a Viewer is never assigned,
  never mailed, cannot comment; only an Admin administers).
- `dizey-web` — leptos 0.9.0-beta SSR + hydrate, served by axum 0.8, with the
  document shell, a `/healthz` route and a placeholder board page carrying the
  top bar from the Main artboard.

`style/main.scss` holds the palette and type from the mockups as tokens so no
screen has to re-derive them.

Build notes: `wasm-bindgen` resolves to 0.2.127 (js-sys 0.3.91 pins it), while
the wasm-bindgen CLI on this machine is 0.2.108 — build with a matching CLI
ahead of it on PATH.