forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to Cargo.lockClear 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

attachments can live with the family's Files service: a storage mode the admin toggles at Settings ▸ Limits (local always stands; in is offered only when config names a key and the family mirror carries the row, and both refusals say which half is missing), a card beside it reading the storage beat's health in the connection card's own shape — service and URL from the mirror, the dot, the limit im set rendered from the account's own numbers, the migration counter while rows still move, the last problem's age and word — and the bytes themselves crossing one seam. Under in, an upload pushes synchronously inside the request under a ULID minted for the row (no queue: a service that is not there is a refusal the uploader acts on now, and a quota spent is the family's own word), the row is born stored and no file lands here; a stored row serves back through the service with the exact headers the local path always sent (503, never the stranger's 404, when the service is down), and its delete takes the remote copy first — an unreachable service refuses and the row stays serviceable. Turning the mode on drains the disk's existing rows through the same idempotent push, oldest first, four a beat, the file leaving as the row flips; turning it back leaves stored rows where they are, because where a row's bytes live is the row's own fact. The key never renders and never logs; resniff passes over rows whose bytes are not here; and set_storage_backend announces Settings while the setting row itself stays as quiet as ever.Ahmet Kaan Gümüş · 7a6cd0cBrowse files

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

Binary leaves the database: attachments and photos live as filesAhmet Kaan Gümüş · bcf7ceb
Binary leaves the database: attachments and photos live as files

attachment.bytes and user.photo columns are gone from the declared
schema; bytes live at <storage>/attachments/<id> and
<storage>/photos/<user-id>, named by the row's own id, written
temp-plus-rename. The store trait keeps its shape, so handlers and
routes are untouched.

- config: new storage key, defaulting beside the database file so a
  backup that takes one takes the other; missing keys are completed
  with the resolved default, resolved against the same base parse uses
- reconcile: a database of the old shape rebuilds with every blob
  extracted to its file before the swap, byte for byte; without a
  storage dir it refuses loudly rather than dropping binary
- store: add/set stage the file before the row commits (a photo being
  replaced keeps its committed bytes until the new row is in), deletes
  take the file with the row, boot sweeps files no row names and says
  out loud when a row's file is missing
- resniff reads its head/tail windows from the file instead of substr
- has_photo derives from photo_mime everywhere the dropped column
  was the marker

Verified against a copy of the production database: 14 attachments and
3 photos extracted sha256-identical, 58 MB database rebuilt to 450 KB,
original kept as a timestamped backup, server serves and the files
route stays gated.
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.
Reconcile keeps tags, the filter bar searches live, and decks preview like sheetsAhmet Kaan Gümüş · 1c39e34
Reconcile keeps tags, the filter bar searches live, and decks preview like sheets

reconcile: tag is copied, not re-seeded — a rebuild used to drop every
user tag and re-point each task at the board default, and verify blessed
it by checking tag_count == board_count. Tags now copy through with their
ids, tasks keep the tag they wore, General is seeded only for a board
left without a default, verify compares full rows, and a declared table
with no copy map fails the rebuild instead of being silently dropped.

board: the search field filters as you type — debounced, the URL is
replaced in place rather than pushed per keystroke, and the answer is
dropped if anything navigated since it was asked for. The project filter
label reads Tag, which is what it always filtered.

logs: the activity filter row stops borrowing the board's page bar inside
a panel and wears the same field-box row as the board, one control height.

files: attachment rows are a column list with fixed name/size/remove
positions; a long name ellipsizes instead of wrapping the size away.

viewer: pptx decks open like sheets — slide order and text, paged by
links, parsed from the store's bytes with zip and quick-xml that already
rode the lockfile. ppt stays a download.
Commit the styles the last three slices wrote; the binary guards its bundleAhmet Kaan Gümüş · 475a59b
Commit the styles the last three slices wrote; the binary guards its bundle

The search, wrap and feed styling never reached the repo — two commits
staged crates/ alone, so CI kept bundling the cdd1f28 stylesheet while
serving new markup. The stylesheet is the visible half of every slice;
it travels with them now.

So a mixed bundle can never boot again: build.rs stamps the stylesheet's
sha256 into the binary, the boot refuses a bundle whose bytes do not
match, and the deploy smoke-checks the served stylesheet against the one
it just uploaded.

2026-08-30

✨ feat(live): a committed write tells every open tab which surface movedAhmet Kaan Gümüş · c7393d9
✨ feat(live): a committed write tells every open tab which surface moved

The live channel carries a topic and nothing else — never a row, never a
name. A channel that carried data would need a role check on every message,
and the day somebody adds a topic and forgets the check is the day the queue
leaks. The woken client re-fetches through the ordinary route, where the
ordinary role gate already answers; `may_hear` only decides which topic
names a viewer may be told. `live_seconds` in config/izlek.toml bounds how
long a connection is held, which is what re-checks a revoked sign-in.

Carried with it: the SMTP settings panel now separates the handshake from
the delivery. `smtp_check_*` proves the host, port, encryption and
credentials; `smtp_test_*` proves a message reached an inbox. A server that
accepts the login can still refuse the envelope, so neither can be read as
the other, and both clear when the sender is edited.
✨ feat(web): a spreadsheet opens in the viewer as a tableAhmet Kaan Gümüş · 4471b60
✨ feat(web): a spreadsheet opens in the viewer as a table

An xlsx, xls, xlsb or ods used to sniff as a bare zip or OLE container and
had no viewer at all. The sniffer now reads the zip's entry names and the
OLE directory to name the workbook formats, and `sheet.rs` reads the book
with calamine into rows the viewer lays out: column letters, row numbers,
a tab strip when the book has more than one sheet, clipped at 400 x 40.

Values only — formulas, formatting, charts and images are not carried over,
and the header's download link stays the whole file.

2026-08-27

2026-08-26

✨ feat(topcoat): the server plumbing crosses overAhmet Kaan Gümüş · c321eee
✨ feat(topcoat): the server plumbing crosses over

Ports izlek-web/src/server.rs's session cookie, Mail wrapper, and role
guards, plus the Refusal enum/call_id and the carry_refusal_on_redirect
layer from auth.rs, onto topcoat's cookie jar, app_context, memoize and
#[layer] primitives. The cookie name and its attributes stay byte-identical.
💄 fix(detail): the modal's controls wear the houseAhmet Kaan Gümüş · b25082b
💄 fix(detail): the modal's controls wear the house

The file input hides behind an Attach label and the pick itself submits
the form — the Upload button is gone. The native date popup is replaced
by a house calendar (month grid, today ringed, chosen day filled, Clear
and Today); the value still travels as the same hidden deadline field.
The assignee chip carries the full display name, ellipsized by CSS
rather than cut at the first word.
🚚 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.
✨ feat(web): send the mail, off the request, and sweep what was refusedAhmet Kaan Gümüş · 688f3a1
✨ feat(web): send the mail, off the request, and sweep what was refused

The SMTP half of the rules. Everything protocol-shaped stops in
`smtp.rs`: the engine learns that a send was accepted or refused and
whether the refusal is worth another attempt, and never what a 550 is.
lettre's own reading of the code decides that — permanent is permanent,
everything else including a timeout is retryable.

Port 465 gets TLS before the greeting, anything else STARTTLS. Both are
encrypted before the password moves. The credentials come from the
environment through `Config`; the password is in nothing this module
logs, since a refusal that quoted it would land in the ledger and from
there onto an admin screen.

A committed crossing is handed to the engine off the request. The move
is already written and the response does not wait for it: a card that
took thirty seconds to drop because somebody's mail host was slow is a
board broken by its own mail feature. What is owed is in the ledger, so
a process that dies mid-send loses nothing -- a sweep every minute
retries what was refused and picks up whatever was claimed but unsent.

A workspace with no sender configured still works: cards move, rules can
be written, nothing goes out. That is a configuration, not a failure, so
it is a silent `Mail` in the router rather than an error at every move.
🐛 fix(core): a cleared edge is not a circle, a finished one still isAhmet Kaan Gümüş · 2cfc561
🐛 fix(core): a cleared edge is not a circle, a finished one still is

The cycle walk read a dependency row's existence, not its state, so an
unlinked edge kept blocking the link that would replace it, while a
finished blocker — cleared on the screen, still in force in the graph —
was walked as if it were gone. `cleared_at IS NULL` is the filter: only
unlinking clears a row, finishing does not.

Same read in `dependencies_for_task`, corrected with it.

`a_cleared_dependency_is_not_a_circle` reverses an assertion made in
slice 5, where the two states were treated as one.

`an_orphan_row_is_refused` pins what the fixture note only guessed at:
`PRAGMA foreign_keys = ON` is in force under turso 0.8.0-pre.7, and an
insert naming a task that does not exist is refused by the engine rather
than written and left hanging.
✨ feat(web): the board screen, and the guards that stand behind itAhmet Kaan Gümüş · 40165b4
✨ feat(web): the board screen, and the guards that stand behind it

The board a signed-in person lands on: four columns, cards with keys,
deadlines, comment counts, dependency chips and stacked assignee avatars,
an All tasks / Mine / Blocked filter, and an inline composer on every
column that degrades to a plain form without JS.

The mutation endpoint is the part that matters. `create_task` sits behind
`require_writer`, and the column it is handed is checked against this
workspace's own board, so a client cannot post a task into a column it was
never shown. The router moved out of `main` into `server::router` so the
tests can drive the real handlers: a Viewer who posts to `create_task`
anyway gets `Forbidden` and the board stays empty — the absent button is
not offered as evidence.
♻️ 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.