Commits
2026-09-09
services gain a storage limit the family carries: im's admin panel already owns the roster, so the byte cap a storing sibling answers to belongs on the same row — a nullable storage_limit_bytes behind the guarded ALTER (an old-shaped table grows the column on open), edited as an amount plus a MiB/GiB pair on the per-row form the panel already had, and served to every registered app over /family as limit_bytes beside key, name and url (null when unstated, the sibling's own default standing in its place). A register refresh never touches the cap, the way it never touches the name; owner and client_id stay unserialized; and the family shape test now pins the four public keys with null and stated cases instead of the three it grew out of.Ahmet Kaan Gümüş · 355890cBrowse files
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.
2026-09-08
the family maintains its own addresses: services rows carry an owner, im writes its own row from issuer on every boot, and a sibling writes its own over the new POST /family/register behind the same client pair as GET /family — a key nobody holds is appended or claimed keeping the admin's name, the same app's next boot moves the address only, another app's key is a 409 — while the admin panel keeps names and order but can neither remove nor re-point a row an app keeps, since the next boot would undo it; the seed stays first-boot-only and the toml comment says soAhmet Kaan Gümüş · e759615
the family maintains its own addresses: services rows carry an owner, im writes its own row from issuer on every boot, and a sibling writes its own over the new POST /family/register behind the same client pair as GET /family — a key nobody holds is appended or claimed keeping the admin's name, the same app's next boot moves the address only, another app's key is a 409 — while the admin panel keeps names and order but can neither remove nor re-point a row an app keeps, since the next boot would undo it; the seed stays first-boot-only and the toml comment says so Claude-Session: https://claude.ai/code/session_01JDMA1TAen2UjGRvUVu96KE
the family's writes move behind the admin door: the Services card on the landing is read-only for everyone — cards and trio, nothing else — and the editing grows up into the admin panel as its own section beside Users, a table of key, name and address with the panel's own rows, edit disclosures, reorder arrows and confirm-guarded removals, posting to /admin/services_* behind the same require_admin as every other panel write; the landing's private gate and its /services/* routes go, and an empty family hides the card entirely, the panel being where one gets seededAhmet Kaan Gümüş · faf2886Browse files
2026-09-07
the family list moves into the house: a services table owns the wordmarks, seeded once from the config's [[services]] on first boot and never again, edited instead from the landing's Services card where an admin adds, renames, re-points, reorders or removes entries — members see the same card read-only; a new GET /family answers the list to registered apps behind the same basic client pair as the directory, the trio and the cards render the table, and the logout back-door now trusts only origins the table knowsAhmet Kaan Gümüş · cc56357Browse files