Commits
2026-09-11
in: grant-scoped read-only folder browse + honest view-only copyAhmet Kaan Gümüş · 78bdc8c
in: grant-scoped read-only folder browse + honest view-only copy - /drive?folder=<id> opens read-only for grantees (granted_folder gate on can_see(Folder) incl. live ancestors; missing/ungranted/trashed = the same 404, no existence leak; crumbs stop at the granted root; no write affordances; /view and /file keep their own grant checks) - view-only copy tells the truth: viewing in the browser; anything viewable can be saved (modal, public cards, /shared, settings, view chrome)
2026-09-09
the drive learns to hold another app's bytes: a service account is a user row no person signs into (oidc_sub service:<key>, a shape a real subject can never wear) opened by a bearer key minted in a new admin Service-keys panel — show-once on a ten-minute ticket shelf, rotate and revoke as confirm disclosures, the refresh morph holding its banner still. Four machine routes answer that key and nothing else (a cookie means nothing to them, the key means nothing to the human ones): push under the caller's own external_id — idempotent, the partial unique index on (owner, external_id) making one row a fact rather than a habit, quota-checked in an IMMEDIATE transaction that charges a re-push only for what it adds over the row it replaces — fetch under the drive's immutable download headers, hard delete with no trash, and a status of the account's ceiling and hold. The family beat takes each key's limit from im's roster (limit_bytes, the house default when im states none) and stamps it on the account; the Everyone panel refuses to move a service account's quota by hand, because the limit is im's word now. Service files skip thumbnails and never enter the drive's browsing surfaces — the usage bar tells the whole story a person needs.Ahmet Kaan Gümüş · 215ffc6Browse files
the Connection card's ages read like ages: whole seconds grew a human shape — 45s stays, minutes fold to 2m, hours to 3h, each followed by ago — and the lines name their moments exactly, Last roster event and Last full pass, with the Turkish carrying the same precision (Son dizin olayı, Son tam geçiş); never stays a sentence of its own, spoken only before the first occurrence; the http assertions follow the new shapes; found uncommitted in the tree and riding along per the standing whole-tree ruleAhmet Kaan Gümüş · dc994c4Browse files
the Connection card reaches iz's information level: the health carries the healer's heartbeat beside the feed's — a last full pass stamp noted whenever a roster pass commits — and the card ages both moments honestly, Last event and Last pass, each reading never before its first occurrence so a feed gone quiet and a mirror stopped healing read as the two different silences they areAhmet Kaan Gümüş · 64868dcBrowse files
the settings page says whether the feed is alive: a read-only Connection card under the profile panel names the issuer and the client id straight from the config, shows the directory stream as a green Connected dot while /directory/live is open and amber Reconnecting from the moment it ends or fails, and ages the last roster event honestly off the sync task's atomics — the client secret is never read on any path that reaches the render, every signed-in reader may see it because nothing here is per-user data, and both wordings ride the Key enum in English and TurkishAhmet Kaan Gümüş · 72751ffBrowse files
2026-09-08
a link from before addresses could be re-shown stops pretending: the legacy row no longer wears a masked field that reads like a copyable URL — it states the fact and offers one Mint-a-new-link button (remint revokes the dead link, mints a fresh one carrying the permission, password and any still-future expiry, and lands on the copy-once banner where the full address wraps and one click copies it); also rides along uncommitted work found in the tree from the identity follow-up (directory via the im-client SDK, provision_user's admin+photo_version columns, avatar version-etag tests) — it compiles and the whole http suite passes with itAhmet Kaan Gümüş · 95114ecBrowse files
the share link stops hiding: the live row shows the whole address as wrapping text (the family's member-link shape, no more clipped one-line field) and one click on it — or the button — puts the exact URL on the clipboard, while a legacy row, whose address is gone by design, keeps its masked field and stays unclickable so nothing useless lands on the clipboard; the people picker stretches to the modal's full width with the permission select and Share button on their own right-aligned row below, instead of a left-pinned panel with controls floating beside it — one flex-wrap was the whole differenceAhmet Kaan Gümüş · e90391dBrowse files
the share picker takes a whole crowd at once: the one-person select becomes a checkbox list with an Everyone row that checks every candidate in one click, one Share posts every checked address with the one permission chosen, and the typed-email fallback stays for the empty directory; the shared page's owner column widens to take the name it truncated (a Muhammet Özdemediroğlu no longer dies at Muhammet Özd…), the legacy-link note moves out from between the link field and its revoke button into its own full-width sentence under the row, every dropdown lands on the iz house style (chevron scoping, status-trigger padding, panel and menu radii and insets, viewport-capped panel width, the >7-option search rule) — and the enhancement itself no longer dies on the first select whose form has no submit button: the missing var declaration aborted the whole sweep, which is why theme, language and the kind filters were still showing the browser's own popupAhmet Kaan Gümüş · e23224bBrowse files
2026-09-07
feat(share): the address stays reachable, shared objects wear their markAhmet Kaan Gümüş · a6fa637
feat(share): the address stays reachable, shared objects wear their mark
The share modal's live-link row stopped masking: creation now seals the
minted token with the in.key (the same XChaCha20 envelope the session
cookies use) onto a share_token:{id} setting row — the database still
carries no plaintext token, so a db copy alone yields links nobody can
re-view — and the modal re-derives the full address from it: readonly
input, Copy button, the row's own revoke beside. The settings Share
links panel wears the same row markup, so every link is seeable and
copyable from there too. Links minted before the sealing (or after a
lost key) keep the masked value with a note to revoke and re-mint; a
revoke deletes the sealed row as part of revoking, and a failed delete
reports the revoke refused so a retry finishes it.
The drive marks what it shares: a Shared chip rides the name of every
file and folder with a live link or a person grant
(Store::shared_target_ids decides liveness the one way
resolve_share_link does), search hits included, trash untouched.feat(settings): sections page through a rail, the server address is the admin'sAhmet Kaan Gümüş · 1e00f66
feat(settings): sections page through a rail, the server address is the admin's Settings stops stacking everything on one page: a rail — Profile and Share links for every reader, Everyone and Server address for admins — renders one section at a time off ?section=, mirroring iz's settings shape (the stylesheet already knew .settings-sections; desktop column, phone strip). Only the section on show pays for its rows, and every form lands back on its own section, no Referer needed. The server address is now editable on the running install: the Server section shows the effective origin and a form that stores base_url in the setting store — the stored value wins, empty clears back to the config file's base_url, then the bind. The same validator the boot runs (Config::validate_base_url, extracted from parse so boot and form refuse identically) guards the form; every link builder (banners, the share modal) reads the stored setting through share_origin, so a save is in the next minted link at once.
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
feat(upload): quota is the only size limit; interrupted uploads resumeAhmet Kaan Gümüş · 3cd7a8e
feat(upload): quota is the only size limit; interrupted uploads resume
The per-file upload ceiling is gone — field, config key, instance
setting, refusals and all: an account may push one file as large as
its free quota, which the store already enforces at session start and
again at finish. The admin settings panel loses the upload-limit row,
config/in.toml the max_upload_bytes key (an install still carrying it
just reports it among the ignored keys).
Chunked uploads now resume: GET /api/upload/{id} answers the session
with the indexes already staged (read off the chunk files, like the
received-byte count), and the drive script keeps the session id in
localStorage under the file's folder+name+size — a cut upload retried
with the same file skips what already landed. A chunk that meets a
network cut is retried in place with a cancel-interruptible backoff,
an expired session restarts the walk once against a fresh one, and a
refused finish keeps the key so the next pick resumes into another
finish. Cancel still aborts and drops the key.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: 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 explainersfeat: share page, upload cancel, drop-up menus, single-border toolbarAhmet Kaan Gümüş · da9eb91
feat: share page, upload cancel, drop-up menus, single-border toolbar
- share: new /share/{kind}/{id} page (public link create/revoke with
copy-once banner, im-user grants by email with download/view-only),
linked from every row's Options menu; link rows name the target
instead of its id; can_download checkboxes honest — unchecked no
longer grants downloads (parse_flag absent=false, regression test)
- upload: every in-flight progress row has a cancel control — XHR abort
or loop stop + /api/upload/{id}/abort, works across soft navigations,
'Upload canceled.' card in the corner stack
- options menu: measure against the nearest scrollport, not the
viewport — the stage's content-height scroll area trapped the menu as
unpainted scrollable overflow; opens upward when downward is trapped,
no page movement when it fits
- toolbar: dd triggers and arrow submits no longer wear a second border
inside the field box; search label shortened to 'Search' so the
placeholder stops clipping
- settings: upload limit moved into the Everyone panel with a label and
single 'applies to everyone' notefeat: 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
feat: upload progress, admin limits, viewer pages, unified lists, sort/filterAhmet Kaan Gümüş · e806d74
feat: upload progress, admin limits, viewer pages, unified lists, sort/filter
- upload: real progress bar for all uploads (XHR for small, per-chunk
for big); page-wide drag-and-drop with drop overlay; persistent
dismissable status cards that survive live swaps; failure cards name
the reason; refused uploads no longer cry 'Upload complete'
- fix: /api/upload/* answered serde's {"Ok"/"Err"} while the UI read
.ok/.err — chunked uploads (>8MiB) could never complete from a browser
- settings: admin-defined instance upload limit (DB > in.toml > 1GiB),
enforced at /api/upload/start and multipart /files; BodyLimit demoted
to memory guard
- files: /view/{id} viewer page (audio/video/pdf/text/image) with
download gating; per-type icon chips instead of one glyph for all
- store: duplicate folder names allowed (create/rename/move/restore);
file.download_count with range-aware counting; instance setting kv
- drive: row actions merged into one Options menu; rename form buttons
align to the Options slot; rows show uploaded date, size, downloads
- trash/shared: single interleaved list each (public card too), aligned
buttons, details; sort/kind/search toolbars on drive, trash, shared
(iz-style GET forms, no-JS-safe)2026-09-04
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)