forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-11

in: live session-revocation logoutAhmet Kaan Gümüş · dcf889a
in: live session-revocation logout

- Topic::Revoked(user_id) on the store bus; /api/live emits it to the killed
  user's own connections (may_hear own-id) then ends the stream
- set_user_disabled announces Admin+Profile+Revoked (own admin path included)
- identity_sync: directory revoked{sub} -> Profile announce (refetch-morph;
  revoke-except survivors never false-kicked); disabled mirrored both ways
- im-client pin -> 5efbd60 (DirectoryEvent::Revoked, member.disabled)
- client: revoked frame or /api/me 401 on SSE error -> hard navigate to /
- new GET /api/me (204/401, 500 on store failure)
in-web: cached family probes, per-page titles, avatar negative cacheAhmet Kaan Gümüş · aa7d6b2
in-web: cached family probes, per-page titles, avatar negative cache

- health.rs: shared LazyLock reqwest client + 30s TTL probe cache (family_mark)
- document_shell takes title; title_key_of maps path -> i18n key; soft-nav
  swap updates document.title; share pages get per-page titles
- pages.rs: landing error uses lang(cx) Accept-Language fallback, not hard En
- files.rs: Range header unwraps -> valid static fallbacks
- avatar.rs: 404 misses get private max-age=300 negative cache
- layout.rs: Profile menu deep-links {issuer}/people/{sub}; redundant
  SELF_KEY re-filter removed
- i18n.rs: AllUsers duplicate key folded into AdminPanel; QuotaOf normalized
  to '/' in both languages

2026-09-10

the family flyout under the monogram carries the same health dots im's does.Ahmet Kaan Gümüş · e39e134
the family flyout under the monogram carries the same health dots im's does.

Each sibling mark probes /healthz concurrently; green while it answers ok, muted otherwise. Dots only. Trailing-slash hrefs stay. Local config/in.toml is left unstaged.

2026-09-09

2026-09-08

2026-09-07

feat(web): the suite in the topbar, and a logout that ends the central sessionAhmet Kaan Gümüş · dbbff0d
feat(web): the suite in the topbar, and a logout that ends the central session

[[services]] entries render as a switcher beside the page nav (the app
you are in marked like the nav marks itself); no entries, no switcher.
Clearing the local cookie now walks the browser on to im's /logout with
this app's public address as back, so the central session ends too.
in-client grows logout_back for that. Carries the dev values in
config/in.toml (loopback issuer, in-dev-capture client, dev secret,
resolved storage line) and the [storage.r2] doc block from the storage
slice.
feat(web): the public half joins the house — shell, player, domains, fast boots, phonesAhmet Kaan Gümüş · 16e8c67
feat(web): the public half joins the house — shell, player, domains, fast boots, phones

The /s pages leave the bare-fragment era: every answer (card, folder,
gate, dead link) now wears document_shell — the exact head root_layout
pairs around pages, extracted once and delegated to — so a stranger's
first sight of In is the app, not unstyled markup. The card's media
kinds play through the house player itself: files.rs gains one
media_player (markup + bar + script) that the signed-in viewer and the
public card render verbatim, fed by a new ?media=1 stream — inline,
range-capable, gated by password and liveness like every other answer,
never counted as a download, granted to view-only links the way the
signed-in viewer grants preview.

Share links now say the deployment's name: base_url in config/in.toml
(mirroring iz's key) feeds public_origin(), which only the share URLs
and copy-once banners read — redirect_uri and the bind never move.

Restarts stop walking the disk before answering: open() keeps only the
structural work, and the boot sweeps (expired uploads, orphaned files,
trash purge) run as a background task after bind, with the orphan
sweep decided under BEGIN IMMEDIATE so a racing upload can never lose
its bytes — the deletion set is unchanged, only its timing moved.

And the whole thing now fits a phone: the media bar wraps with a
full-width seek, the share modal's rows fold, public cards lose their
desktop air, titles wrap — all inside the existing 620px breakpoint,
desktop untouched.

2026-09-06

fix(ui): typing in the drive search no longer reshuffles the barAhmet Kaan Gümüş · 888f97d
fix(ui): typing in the drive search no longer reshuffles the bar

Two stacked causes. The search caption rendered inside the filterbar
only in search mode, so each type-as-filter keystroke inserted a
leading bar child and pushed the search box sideways mid-typing. And
the soft-nav morpher paired children purely by position: a leading
child coming or going shifted every later sibling one slot, morphing
the sort form into the search form — its enhanced dropdown trigger
ended up inside the search box and the focused input was replaced
under the typist.

The caption now rides inside the results panel, keeping the bar's
children the same set in every mode; the morpher gained one node of
lookahead, so a child that appears or vanishes is inserted or removed
where it stands instead of cascading replacements down the row — the
same cascade the crumbs nav triggered on folder navigation.

2026-09-05

feat(ui): house media player, working viewer Download, Everyone panel redesignAhmet Kaan Gümüş · e114125
feat(ui): house media player, working viewer Download, Everyone panel redesign

The viewer's media now plays through the house player — play/pause toggle,
mono clock, accent seek bar, fullscreen on video — over controls-less
elements; native controls are browser chrome that ignores the theme, and on
the video page they were cut at the fold while the picture overflowed its
stage. The stage's duplicate rules merge into one card; the dead
viewer-audio wrap goes with them.

The viewer's Download link carried no download attribute, so the soft-nav
handler fetched the bytes and swapped them into the page as text. The link
wears the attribute now, and the handler skips every /file/<id> byte route
so the class cannot recur.

The admin register's Set and Save buttons were display:none: the dropdown
enhancement hid a form's submit on the assumption every enhanced select
autosubmits, and the quota and upload-limit unit selects do not — quotas
could not be saved from the page at all. The enhancement now bows the
submit out only for autosubmit selects. The register gains a Storage quota
column with the compact amount+unit+Set form on the row line, Disable sits
at the row's end, and the instance upload limit becomes a labeled row under
the table instead of a floating strip.
feat(ui): move picker modal, Download in the Options menu, previews don't countAhmet Kaan Gümüş · 5cc7c91
feat(ui): move picker modal, Download in the Options menu, previews don't count

The Options menus' inline destination select becomes a Move item that opens
the house modal: the drive root and every live folder as one row each, a
folder's own subtree never listed. back_to and __inCloseModal strip the
one-shot move= pair, so a posted move closes the picker on success and
refusal alike. The destination tree fetch goes lazy with the select gone.

File rows gain a Download item — /file/<id>?dl=1 with the download
attribute, so the soft-nav handler leaves the click to the browser.

/file/<id> counted every byte serve, the viewer's inline loads and media
range probes included; looking is not downloading, so only ?dl=1 serves
count now (a resumed download still counts once, on its first chunk). The
public-link path already counted downloads only. Regression test:
previews_do_not_count_as_downloads.
feat(ui): filterbars search live while typing, row Options menu fits the pageAhmet Kaan Gümüş · 47b70b9
feat(ui): filterbars search live while typing, row Options menu fits the page

Every .field-box-search box (drive, shared, trash) now fetches its page as
the user types — debounced, deduped, morphed in place through __inQuery with
__inKeep holding the box's value, focus and caret, the URL replaced rather
than pushed. Enter still submits through the soft-nav GET handler.

The row Options menu measured its flip room against .settings-stage, a
content-height overflow box on the drive, so every menu near the list
bottom was lifted off its trigger and clamped into its own scrollbar. The
flip is viewport-relative now (the dropdown.rs place semantics iz shares),
the stage's clip lifts via :has while a menu is open, menus close like the
house dropdowns — a sibling opening or an outside click closes the open
one, the portaled Move picker excepted — and closing clears the inline
clamp so a reopened menu measures fresh.
feat: share modal, directional sort dropdowns, flat Options menuAhmet Kaan Gümüş · 73b13bc
feat: share modal, directional sort dropdowns, flat Options menu

- share: the per-entry surface is a Proton-style modal over the drive
  (?share=kind:id), not a page — add-people row with access select,
  who-has-access list with the owner marked, public-link section with
  copy-once URL and a working copy button; /share/{kind}/{id} is gone
- sort: one dropdown whose options name the direction ('Name A–Z',
  'Newest first', 'Most downloaded'...) on drive, trash and shared; the
  separate ↑/↓ toggle and the → submits are gone (no-JS keeps a submit);
  dd chevron now on every enhanced select, not just field-input ones;
  no forced search box on the 8-option sort menu (data-nosearch)
- options menu: Delete/Move are flat menu rows instead of boxed buttons;
  the drop-up panel is capped to the room on its side so it never
  reaches over the topbar
- settings: the upload limit is one compact row inside Everyone —
  label, current value, amount, unit, save — no stacked explainers
feat: auto-postfix names, aligned rows, human-unit limits, styled viewerAhmet Kaan Gümüş · 4cd43f8
feat: auto-postfix names, aligned rows, human-unit limits, styled viewer

- names: nothing refuses on collisions anymore — folders and files take
  'name (2)' / 'name (2).txt' across create, rename, move, restore and
  upload finish; StoreError::NameTaken and Refusal::NameTaken removed
- rows: hard single-line geometry (name ellipsises, details and buttons
  nowrap); Options menu anchors opaque above rows — the panel corner-clip
  was amputating it; Empty-the-trash wears the house danger button
- pages: drive/trash/shared/viewer/settings move to the wide stage
- settings: upload limit vs storage quota are unmistakable — help line,
  'Current limit: 1.0 GiB', MiB/GiB unit selects, no raw-byte inputs;
  members table columns can no longer collapse addresses vertically
- viewer: media fills a centered 960px house card, Back/Download head
  row, details panel aligned to the card
- upload status lives in the persistent corner stack on every page and
  keeps updating across soft navigations; fix progress-row selector that
  threw on numeric data-upload values and killed uploads

2026-09-04

feat(ui): avatar from im, new-folder rides the house modalAhmet Kaan Gümüş · b6f064c
feat(ui): avatar from im, new-folder rides the house modal

The user menu's avatar spot shows the real photo now: im's photo route
accepts registered-app credentials (im 569b89d), in proxies it through
GET /avatar/{id} (own id only, im's one-answer 404 discipline, fnv1a
ETag + immutable cache), and the initials block stays as the fallback
when im has no photo.

New folder stops being a bordered disclosure box in the toolbar: the
compact "+ New folder" summary opens iz's confirm-details idiom — a
scrimmed, centered modal with the labelled name field. A refused create
reopens the modal with the sentence inside; the POST route is
unchanged.
feat(ui): search moves into the drive, new-folder becomes a disclosureAhmet Kaan Gümüş · 4283bb6
feat(ui): search moves into the drive, new-folder becomes a disclosure

Search was a destination page; it is a filter of the same library. The
box lives in the drive filterbar now (GET /drive?q=), results replace
the folder panels in place, /search 303s to it, and NavPage::Search is
gone from the topbar.

Folder creation stops claiming a permanent input+button: the control
is iz's tags-page idiom — a <details> disclosure ("+ New folder") that
unfolds the form, no script required.

Also: the results caption wore no space before the quoted query.
feat(ui): profile link to im in the user menu, settings leaves the navAhmet Kaan Gümüş · 71c4130
feat(ui): profile link to im in the user menu, settings leaves the nav

The topbar nav is Drive/Shared/Trash/Search again — settings lives in
the user menu, beside a new Profile item that leads to the issuer's
account page (identity is im's surface, so the profile link crosses
over with data-hard).
fix(ui): defaults instrument+dark, admin table and drive bar alignmentAhmet Kaan Gümüş · 99c2821
fix(ui): defaults instrument+dark, admin table and drive bar alignment

- New accounts and signed-out pages now default to instrument + dark +
  English: provision inserts the preferences explicitly, reconcile
  backfills the new defaults for rebuilt databases, and the signed-out
  layout fallbacks match.
- Everyone table: addresses wrap in full instead of clipping to
  "ahmetkaangum…" (iz's max-width:0 elastic trick truncates; an admin
  table must read whole addresses). Quota submit and friends wear house
  classes instead of native chrome.
- Drive root drops the lone self-link "Drive" crumb; breadcrumbs only
  exist inside a folder.
feat(ui): server-synced theme and language, page skeleton sweepAhmet Kaan Gümüş · 9089ea0
feat(ui): server-synced theme and language, page skeleton sweep

Preferences follow iz's model exactly: user.theme (light/dark) and
user.language (en/tr) join user.ui in the row (migration 0003), one
preferences form on the settings page saves all three through
set_preferences, and the layout emits data-theme/lang/data-ui from the
signed-in user (Accept-Language fallback signed-out). set_user_ui and
/api/settings/ui are gone — one route, one form, like iz.

Skeleton defect class swept: /shared, /trash, /search and the public
folder link all put content straight into settings-shell (a flex row
meant for rail+stage), rendering as an overlapping strip — user
screenshots. All four now nest in settings-stage with panel structure;
a test per page pins the wrapper.
feat(ui): per-user instrument/ledger density, rebuilt settings pageAhmet Kaan Gümüş · d3811f1
feat(ui): per-user instrument/ledger density, rebuilt settings page

The settings page put bare sections straight into the shell's flex row
and panels without panel-head, so labels overlapped values and three
panels crammed into one line (user screenshot). Rebuilt on iz's
skeleton: settings-shell > settings-stage, panel-head/panel-body,
field/field-label rows, member-table for the admin list.

Density follows iz's preference model: user.ui column (0002, default
ledger), set_user_ui validates the offered values, root_layout emits
data-ui from the signed-in user, and a house dropdown on the settings
page saves it through POST /api/settings/ui (BadUi refusal otherwise).
Instrument's fixed 40px filterbar becomes a floor so the drive's
create-folder form fits; the form itself goes inline in the bar.
feat: drive storage with im OIDC login, sharing, quota, trash, thumbnailsAhmet Kaan Gümüş · 4118043
feat: drive storage with im OIDC login, sharing, quota, trash, thumbnails

Initial build of in, sibling of iz and im on the same stack (topcoat
0.6.2 server-rendered UI, turso metadata store, file bytes on the
filesystem).

- in-core: folder tree, files, share links + per-user grants
  (transitive, most-permissive-wins), per-user quota, trash with
  purge horizon, chunked upload sessions, image + ffmpeg-gated video
  thumbnails, search, reconcile/migrations discipline from iz
- in-client: vendored im OIDC relying party (authorization code +
  PKCE, introspection per request), strict next validation, cookie
  kept on transient introspect failure
- in-web: drive browser, small + chunked upload with progress,
  Range-capable downloads, public /s/{token} share pages with
  previews, trash/search/settings surfaces, SSE live updates,
  En/Tr i18n, iz house style
- deploy workflow adapted from iz (dist profile, asset bundle guard,
  /healthz build-sha check)