forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/im-web/src/layout.rsClear filter

2026-09-11

im: live session-revocation logoutAhmet Kaan Gümüş · 08994cc
im: live session-revocation logout

- LiveEvent::Revoked { user_id, session_hash } broadcast from EVERY write
  path (admin revoke/disable/delete, self revoke, password change
  revoke-except, reset redeem, sign-out-everywhere)
- /live keeps connect-time identity; targeted 'revoked' SSE event only to
  the killed session's connections; password change spares the asking tab
- /directory/live emits revoked {"sub"}; DirectoryMember gains disabled
- client: revoked event or /api/me 401 on SSE error -> hard navigate to /
- new GET /api/me (204/401)
- fix: admin disable never wrote the disabled flag (regression at HEAD)
im-web: cached family probes, refusal i18n, soft-nav // guard, escape fixesAhmet Kaan Gümüş · c097a7c
im-web: cached family probes, refusal i18n, soft-nav // guard, escape fixes

- health.rs: shared LazyLock reqwest client + 30s TTL probe cache; no more
  per-render Client::new + inline 2s sibling stalls on every page
- pages.rs/i18n.rs: 'unavailable' error arm (En+Tr) for photo store failures
- layout.rs: soft-nav rejects protocol-relative // hrefs (foreign-HTML swap hole)
- escape(): map ' -> '; drop redundant manual escape at view! text sinks
  (pages.rs:837,1110; admin.rs:209) that double-escaped
- directory/oidc/photo: handler unwraps mapped to error paths
- people.rs: single avatar fetch; admin placeholders via t();
  sessions created_at formatted like seen

2026-09-10

flyout tests no longer 500 CI: the GET / path needs a topcoat bundle, so the marks HTML is pinned without a router.Ahmet Kaan Gümüş · 3bc2d00
flyout tests no longer 500 CI: the GET / path needs a topcoat bundle, so the marks HTML is pinned without a router.

cargo test --workspace on GitHub has no asset bundle; the two new landing GETs panicked in topcoat-asset and rolled the dots commit back off the box. Guard those GETs like the other admin HTML tests, and keep a pure trio_marks assertion that runs either way.
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.

2026-09-09

chore: bump remaining crates to latestAhmet Kaan Gümüş · 25140f3
chore: bump remaining crates to latest

topcoat 0.8, ulid 3, chacha20poly1305 0.11, base64 0.23, rsa 0.10-rc.18.
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

Profile changes live everywhere: photo_version, version-aware /photo, /directory photo_version + /directory/live stream, typed live bus, im-client directory moduleAhmet Kaan Gümüş · 339b198
Profile changes live everywhere: photo_version, version-aware /photo, /directory photo_version + /directory/live stream, typed live bus, im-client directory module

The photo cache buster moves out of im's process memory (PhotoStamps)
into the users row, so every reader — this process, the next restart,
and every sibling app — sees the same one:

- users.photo_version (migration follows the guarded-ALTER precedent;
  im-migrate's schema copy grows it in the same diff); set_photo and
  clear_photo bump it in their commit.
- GET /photo/{sub} answers a strong ETag "p{version}" with a 304 on
  If-None-Match, and caches immutable ONLY when the URL's ?v= names the
  current version — the bare URL an app fetches revalidates (no-cache).
- /directory entries and POST /introspect answers gain photo_version;
  DirectoryMember is one shape for the JSON and the stream.
- App.live carries LiveEvent { Tick, Profile(DirectoryMember) }: the
  browser /live keeps its anonymous data:{} tick and adds a
  {"kind":"profile","sub"} frame; new GET /directory/live (Basic
  app pair) streams retry hint, keep-alive comments, and event:profile
  rows. notify_profile fires after every user-mutation commit: photo
  upload and delete, admin email edit, disable/enable, invite
  acceptance, confirmed email change.
- im-client gains a directory module: DirectoryClient (roster, photo,
  live stream with a hand-rolled SSE parser), DirectoryEvent, and
  spawn_sync's full-pass/stream loop with 1s..30s backoff and resync.

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.
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: 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.