forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to style/main.scssClear filter

2026-09-25

im-web: open admin confirms in a top-layer dialogAhmet Kaan Gümüş · 9afcded
im-web: open admin confirms in a top-layer dialog

position:fixed confirms inside the scrolling users table resolved
against that box, so Disable landed off the page. Every admin overlay
now opens a popover; the top layer's containing block is the viewport.

2026-09-11

2026-09-10

the family flyout carries the same health dots the admin table does.Ahmet Kaan Gümüş · 6557831
the family flyout carries the same health dots the admin table does.

Each sibling mark probes /healthz concurrently; green while it answers ok, muted otherwise. The probe lives in one module. No new landing tab, no copy, no JS — hover/focus still opens the flyout.
/healthz names the build, the admin health tab reads the family, and pack/unpack carries every registered tree.Ahmet Kaan Gümüş · 30917a3
/healthz names the build, the admin health tab reads the family, and pack/unpack carries every registered tree.

IM_BUILD_SHA bakes like iz/in so a stale process cannot answer a bare ok; Swap asserts ok $GITHUB_SHA and rolls back. Every deploy holds config toml/keys at 0600 and deletes editor debris (*.bak*, *.pre-*). GET /admin?section=health probes each services-table /healthz with a two-second timeout — read-only, self included, a fourth sibling appears on its own. im-web pack/unpack is data-driven from that table plus im (sqlite + wal/shm, config, key, storage); the archive is 0600; unpack refuses an existing db without --force.

2026-09-09

Services and clients merge into one admin sectionAhmet Kaan Gümüş · b163bda
Services and clients merge into one admin section

As concepts they were one thing wearing two tables: the family
wordmarks and the relying-party credentials that sign in as them.

services gains client_id (migration-guarded ALTER over the owner
precedent): POST /family/register stamps the client id it authenticated
beside the row — insert and refresh alike — so the panel can join the
wordmark to its credential; im's own boot row stays NULL, the IdP is
not its own client. Existing rows heal the next time their app
re-registers; no code backfill. register grew the client_id parameter
(register_self passes None), and the Service struct carries the field
without serializing it — /family's wire shape is untouched.

The panel's Services section is now the merged table: key/name/address
half, client id/redirect URIs/registered half, Rotate/Revoke on any
client-bearing row (linked or stray), wordmark controls where they
apply, the dash where a half is missing, and both add lines — a
service and a client — under the table. section=clients lands there
too, so the old address keeps working; the separate Clients section
and its nav tab are gone. The landing's services home and /family
readers are untouched.

Tests: the register stamp (append, claim, refresh) at the store level,
the route stamp across two registers, and the merged section's three
row shapes — linked, credential-only, client-less — plus the alias.
Browser-verified on a scratch server: section renders, a client made
in the panel links to its service row after a real /family/register
curl, and the confirm pop still overlays without growing scroll area.
cargo test -p im-core (63) and -p im-web (37) green; workspace check
with zero warnings.
Confirm pops overlay the page instead of scrolling itAhmet Kaan Gümüş · 1abf241
Confirm pops overlay the page instead of scrolling it

Opening a Rotate/Revoke confirm grew the page: the pop was absolutely
anchored under its button, inside .admin-table-wrap — a scroll container
since it takes the tables' sideways scroll, and a non-visible x-axis
forces the y-axis to auto, so the pop extended that scroll area (the
long page thumb) instead of overlaying the screen.

Port iz's delete-confirm model: the open pop is position:fixed and
viewport-centered, which escapes every overflow ancestor, reads as the
page's one dialog, and is row-agnostic — the first row's pop and the
last row's pop land identically at any width. The im pop keeps its own
compact box and flat shadow. Verified in a browser at 900px and 1400px,
first and last rows: documentElement scrollWidth == clientWidth and
scrollHeight == clientHeight while the pop is open, pop fully inside
the viewport, Revoke unobscured.
Clients table fits its card; the show-once banner survives live ticksAhmet Kaan Gümüş · 01ad124
Clients table fits its card; the show-once banner survives live ticks

Two live-panel defects, both reported at a 900px-ish viewport:

The clients table scrolled sideways and cut the Revoke button off —
the client id and redirect URIs are long mono strings that refused to
wrap. Admin tables now let mono cells wrap inside their columns (the
sessions fold's model for user-agent strings), and the clients table's
registered date holds its line while its neighbors take the wrap.

The show-once banner vanished within a breath: the create's own event
tick scheduled the panel's in-place refresh, which re-fetched the
shown URL after the shelf had handed the pair over — the morph wiped
the banner it was still displaying. __imRefresh now holds while an
auth-secret banner stands in the DOM; explicit navigation and refresh
remain the ways the banner leaves, exactly as before. The banner
render itself is now router-tested where the asset bundle is built
(first render shows the pair, the replayed URL and a forged ticket
show none).

2026-09-08

2026-09-07

2026-09-05

2026-09-04

Upload progress while the photo crossesAhmet Kaan Gümüş · 04fdaa9
Upload progress while the photo crosses

Choosing a photo now posts over XHR with upload.onprogress: a hairline bar
in the accent under the profile head climbs as the bytes cross, a quiet
cancel aborts (the input clears, nothing is posted), and completion follows
the server's own redirect so the saved page and its banner render as
always. FormData is captured before the input is disabled — a disabled
control is unlisted and the post would carry no file. No upload box, no
change: the plain hard post remains the fallback. JS comments in the
inline script are block comments — the string is one collapsed line, and a
// would swallow the rest of the handler.
Avatar is the picker; photos autosubmit; the face opens a viewerAhmet Kaan Gümüş · f099559
Avatar is the picker; photos autosubmit; the face opens a viewer

iz's identity row, verbatim in behavior: no Add photo button (the no-photo
tile is the picker label, with iz's hover veil — a plus over the picture on
hover or focus), no Save button (a data-autosubmit input posts its form on
change — choosing a file IS the upload), and a click on a photo face opens
a viewer scrim around the same /photo URL, on the landing and the public
profile alike. It is im's first client script: one small delegated listener
set in layout.rs, emitted by the two pages that draw a clickable face.
Photo actions ride the profile head, iz's identity rowAhmet Kaan Gümüş · 99c1ffe
Photo actions ride the profile head, iz's identity row

The separate Profile photo section is gone: the picker input is hidden and
its affordances live with the face — the no-photo tile is itself the picker
label, and quiet Change/Remove buttons sit under the chips when a photo is
set. im serves no script, so iz's data-autosubmit becomes a Save that
appears once the input holds a file — :has(:valid), CSS only. The form's
selector outranks .auth-card form, which would stack the row vertically.
Profile section: photo, statistics, public pageAhmet Kaan Gümüş · 8092e0d
Profile section: photo, statistics, public page

The signed-in landing gains a profile section — photo, 2FA/admin chips,
Email and Member-since fields, and a statistics card (sign-ins, active
sessions, connected apps) — and /people/{user_id} gives every account a
public profile any signed-in member can read, iz's people page ported to
the auth-card idiom.

Photos keep izlek's split: the row carries only the mime type, the bytes
live as files under storage/photos/<user id> — staged write, row commit,
rename on set; row first, best-effort unlink on clear; a boot sweep
collects staged leftovers and orphans. Upload caps at 5 MiB and sniffs
the mime from magic bytes; serving is session-gated (404, never 403)
with ETag/304 and immutable caching behind a per-upload URL stamp.

2026-09-03

feat: password reset, rate limiting, policy settings; fix: connection mutex, row alignmentAhmet Kaan Gümüş · 6099ac7
feat: password reset, rate limiting, policy settings; fix: connection mutex, row alignment

- Password reset: /forgot asks with one neutral answer for every address;
  the newest link is the only live one (minting retires the rest), redeeming
  spends the link, swaps the hash and revokes every session in one move.
  Reset links are never shown on screen — mail or nothing.
- Sign-in rate limiting: a rolling hour of failures per address (and per
  account for the second factor) against a panel-set ceiling; a success
  wipes the slate. Blocked doors answer 'too many tries' without saying
  which step refused.
- New Settings section: invite days, session days, second-factor window,
  reset-link minutes, failure ceiling — the constants the code shipped
  with, now the panel's.
- fix: every database access now holds the connection mutex (iz's
  pattern). Concurrent requests — an SSE refetch against a posting form —
  panicked turso's write lock; found by the browser drive, swept repo-wide.
- fix: the confirm disclosure's summary now renders at button height next
  to real buttons.

Verified: suite 41 green incl. single-active-link and limit-block/clear
contracts; browser-driven — Settings saves, 2 failures then 'too many
tries', dead reset link redirects to the ask with the refusal named,
concurrent write+3 reads answer 200 with no panic, and the action row
measures 32px across Disable/Sign-out/Delete.
feat: confirm disclosures, split From name, and the live channel — iz parityAhmet Kaan Gümüş · 794c3a4
feat: confirm disclosures, split From name, and the live channel — iz parity

- Row actions are two-step disclosures now (iz's confirm-details idiom):
  Disable/Enable and Delete open a panel naming the cost, and only the
  button inside it acts. No script required; outside-click/Escape closing
  rides the live script.
- The sender's From splits into name + address like iz's; the header is
  built from the two, never hand-typed as one string.
- The live channel, ported from iz: /admin/live SSE ticks (no data on the
  wire, ever), a 50-minute window so reconnects re-authenticate, and a
  shutdown watch so one open tab per admin cannot stall a restart. The
  client refetches and swaps the panel column, suspending while a field
  has focus. Every event log ticks it, so Users and Logs update the
  moment anything happens — including the mail chip after a save's
  background probe.

Verified: suite 39 green; driven with two tabs — an invite's row and an
accepted member appear without a reload, Logs grows 21→22 on a triggered
check, and Delete needs its confirm step.
feat: pending invites in People with Invalidate; account deletion; colored mail chipAhmet Kaan Gümüş · 5e196bf
feat: pending invites in People with Invalidate; account deletion; colored mail chip

- The People table lists outstanding invites beside members — address,
  'waiting · until <day>', admin flag — with Invalidate, which kills the
  link immediately. The row carries the token's digest, never the token.
- Delete joins Disable and Sign-out: removes the user, their sessions and
  every app token outright. Disable stays the reversible door; the admin's
  own row carries neither, as before. Delete wears the danger ink.
- The Mail section's standing is iz's colored chip now: muted until
  checked, positive green 'connected · N ms' on a pass, danger-tinted
  'refused' with the server's own words under the form.

Verified: suite 39 green; driven in the browser — invite appears as
'waiting' and vanishes on Invalidate, the refused chip renders in the
danger tint, Delete removes the account (banner + row gone; session
removal covered by the core test).
feat: sender check, ported from izlek — probe without sending, standing on the panelAhmet Kaan Gümüş · f464e35
feat: sender check, ported from izlek — probe without sending, standing on the panel

- 'Check connection' dials the server and stops before sending: connect,
  TLS, hello, AUTH, NOOP, hang up — lettre's test_connection under a 15s
  outer timeout, which izlek measured as necessary because lettre's own
  timeout does not catch a socket that accepts and then goes quiet.
- The probe's verdict is recorded (at, ms, error) and the Mail section
  shows it as a standing line: NotConfigured / Unchecked / Connected with
  the handshake's milliseconds / Refused with what the server said.
- Saving settings wipes the record, so 'Connected' can never outlive the
  settings it proved; a save also re-probes in the background.

Verified: suite 37 green; driven in the browser — save triggers the
background probe, the standing line shows the refusal with the server's
own words, the button re-probes and both paths log to the event ledger.
feat: Account tab with change-password; invite row to izlek's idiomAhmet Kaan Gümüş · 0134def
feat: Account tab with change-password; invite row to izlek's idiom

- New Account section (first tab, like izlek's Profile): change password
  with current-password proof, the invite screen's rules, and the walk-away
  new=old refusal. Every other session dies; the asking browser stays in.
- The invite row drops the bare checkbox for izlek's member-invite idiom:
  email input, member/admin role select in the same field skin, and an
  Invite button — all three at one control height on one baseline.

Verified: suite 36 green; driven in the browser — invite row measures
36px across input/select/button, wrong current password is refused by
name, a change keeps this session and logs password_changed.
feat: server-side sessions with instant revocation, admin panel, sealed mail settingsAhmet Kaan Gümüş · 963c897
feat: server-side sessions with instant revocation, admin panel, sealed mail settings

- app_sessions table: opaque tokens introspected per request against im;
  no token-validity window — an admin revoke or a disabled account is dead
  on the very next call
- sessions::revoke_user_sessions cascades central sessions, refresh tokens
  and app sessions; disable also revokes
- POST /introspect (RFC 7662); token exchange carries an app_session
  alongside the OIDC tokens; im-client drops its refresh-token logic for it
- /admin panel: People (invite, admin flag, disable/enable, sign out
  everywhere), Mail (SMTP in the settings table, password sealed under
  im.key — deployment facts stay in im.toml, secrets never), Logs (audit
  events: invites, enrolments, logins, revocations, exchanges)
- CLI: im-web invite <email> [--admin], im-web revoke <email>
- events + settings tables; login/logout/TOTP/invite/exchange audit logging

Verified live: admin invited user2 from the panel, user2 enrolled and
entered the demo app silently; admin revoked user2 and the very next demo
request was signed out (no ghost window); logs show the whole trail.
feat: OIDC single sign-on — provider, client crate, izlek migrationAhmet Kaan Gümüş · d7200e0
feat: OIDC single sign-on — provider, client crate, izlek migration

- im-core: turso store (users, invites, sessions, OIDC clients, auth codes,
  refresh tokens, signing keys), argon2 passwords ported from izlek-core,
  RFC 6238 TOTP (hmac 0.13 + sha1 0.11), hand-rolled RS256 JWT over rsa 0.9,
  XChaCha20-Poly1305 sealing under im.key
- im-web: topcoat server — login / TOTP / invite / enroll pages in İzlek's
  instrument skin (style/main.scss, grass build.rs), OIDC authorize + token +
  userinfo + JWKS + discovery, CLI: invite, create-client
- im-client: drop-in OIDC client for topcoat apps — PKCE S256, JWKS-validated
  id_tokens, transparent refresh rotation, encrypted session cookie, demo
  example app
- im-migrate: one-time izlek.db import, argon2 hashes verbatim, mapping CSV

Verified live in a browser: invite -> password -> TOTP enrolment (QR) ->
demo app OIDC handshake (silent via central session) and a full interactive
password+TOTP login landing on the app's protected page with claims.