Commits
Commits on
main2026-09-25
in: drop the rate-limiting claim from client_label's docAhmet Kaan Gümüş · 218b775
in: drop the rate-limiting claim from client_label's doc No limiter calls it; the doc promised one. The helper itself is the family's shared contract and stays.
in: read the client address from client_ipAhmet Kaan Gümüş · 5991bfb
in: read the client address from client_ip topcoat 0.9 reports the client through client_ip once one proxy hop is trusted. The old helper read the first x-forwarded-for hop from any peer, which a client can spoof.
in: pin topcoat and its CLI to 0.9.0Ahmet Kaan Gümüş · 4efff35
in: pin topcoat and its CLI to 0.9.0 CI installed topcoat-cli 0.6.2 against a 0.8.0 dependency, which is the mismatch warning. Latest is 0.9.0 for both. im-client rev moves to 2043642 so the git dep no longer pulls a second topcoat 0.8.x into the lockfile.
2026-09-22
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)
in-core: staged chunk sessions count against quota; temp names not received bytesAhmet Kaan Gümüş · 3133ade
in-core: staged chunk sessions count against quota; temp names not received bytes - staged_claim(): active upload sessions' declared sizes join every quota check (single put, session open, finish, external push) — N concurrent sessions can no longer overshoot the ceiling N times - staged_received skips write_file_atomic temp names - quota test rewritten to the reservation contract
in-web: expired share links no longer suppress the create formAhmet Kaan Gümüş · f31aab3Browse files
in-web: ignore syntactically invalid Range headers; back_to() validates RefererAhmet Kaan Gümüş · 6238797
in-web: ignore syntactically invalid Range headers; back_to() validates Referer - parse_range: bytes=5-2 / bytes=-0 are not range sets -> header ignored (200), only well-formed-but-unsatisfiable keeps 416 (RFC 7233) - back_to: absolute/protocol-relative/backslash Referers fall back to the safe target instead of riding into Location
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: route remaining hardcoded UI strings through t()Ahmet Kaan Gümüş · d5f952e
in-web: route remaining hardcoded UI strings through t() - AgoSuffix, Instrument/Ledger options, KindFolder/KindFile, FilesCountLabel (upload JS via data-* label channel), JS fallback literals normalized - THEME/LANGUAGE i18n values to normal case (casing lives in CSS)
in-web: landing title joins the family form 'Sign in · in'; dead WelcomeTitle key removedAhmet Kaan Gümüş · b1d090aBrowse files
in-web: signed-out default light (family parity), uppercase labels via CSSAhmet Kaan Gümüş · a125cd5Browse files
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 languages2026-09-10
the family flyout gets iz's 10px gutters back.Ahmet Kaan Gümüş · 23e5b6a
the family flyout gets iz's 10px gutters back. gap was dropped when nowrap moved onto the switcher; nowrap lives on the mark, like iz, so the dots stay on their keys without packing the siblings flush.
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.
every deploy re-asserts config 0600 and drops secret-bearing editor debris.Ahmet Kaan Gümüş · c6102af
every deploy re-asserts config 0600 and drops secret-bearing editor debris. toml and keys files are held to 0600; *.bak* and *.pre-* next to live config are deleted. The SHA healthz rollback is unchanged. Local config/in.toml is left unstaged.
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 share modal keeps its height while the people filter types: the first keystroke on the picker now floors the panel at its full unfiltered height, because the rows the filter hides were shrinking the panel — and the modal under it — with every letter, jumping everything below; clearing the filter returns exactly that height, a panel reborn through a morph re-render locks anew at its own measure, and the no-script page (no filter, no lock) is untouchedAhmet Kaan Gümüş · f937d23Browse 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's test stops racing the clock: the last-event and last-pass ages were asserted as exactly 0s, and any second boundary crossed between the health stamp and the page render flipped one to 1s — the test now asserts the honest contract, an age line that no longer reads never, whatever number the moment produced; eight consecutive runs green where it failed every fourth beforeAhmet Kaan Gümüş · 23a92caBrowse files
the media path stops transcoding: the preview-derivative pipeline is gone — a video serves its stored bytes under its honest sniffed mime everywhere, and a browser that cannot decode them meets a house-styled error instead of a silent stall. The player script now names two failure shapes dead: the media element's own error (which does not bubble, and may predate the wiring), and the silent one a demuxer-that-parses-but-cannot-decode never leaves — not even metadata, five seconds of still-loading is that stall, the exact shape the derivative pipeline was built to fix (chromium demuxes mpeg2-in-mp4 and stalls forever without erroring; firefox did the same to aac-in-webm). The note rides both player layouts on the viewer and the public card, MediaWontPlay in English and Turkish, and downloads stay the original bytes byte for byte; previews/<id> is deleted from every purge path, swept nowhere at boot anymore, a one-time remove_dir_all at store-open clears what older builds left, and the mp4 box-walk family only the pipeline used died with it. The share modal's people picker wears the app's own language now: a filter field (which doubles as the no-script typed-address fallback) over the Everyone row and the candidates, the row is the control — the checkbox hides, a checked row tints like every other selected row and turns up its check glyph, and twenty people are one substring away; add_share skips the blank email pair a checkbox-only submit carries beside the checked values, and the script benches the filter for exactly the submit event so half-typed text never posts. Verified live in a real browser against a seeded server: both error states machine-captured, filter/selection/everyone/no-match driven by hand, a real two-person submit granting both with the remove rows to show for it, and the bench's disable-inside-the-submit-event proven from the page's own world. Rides along the Connection card's last-pass http assertions found uncommitted in the tree.Ahmet Kaan Gümüş · ad66f40Browse 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
a downloaded video previews in every browser, not just the lenient ones: an mkv that sniffs as webm but carries tracks webm never blessed (vp9 with aac audio — the shape every tiktok downloader makes) played in chromium and stalled silently in firefox's stricter demuxer, so the media route now builds a legal preview beside the file on first view — vp9/8/av1 keeps its bytes and the audio becomes opus, h264 remuxes to faststart mp4 — cached under previews/, served to the player with ranges, deleted with the file in every purge path, while downloads keep the original bytes untouched; a matroska is only called webm now when its tracks say so, and one length-read-after-adopt bug that served an empty first response died in the testsAhmet Kaan Gümüş · 3134bfaBrowse 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
a face changed in im is this site's news within a moment: the identity directory moves to im's im-client SDK (pinned f7b2081, oidc half gated off — two route sets in one binary collide), the user row carries photo_version beside the rest of the mirrored identity, /avatar serves any provisioned member and caches by the row's own stamp (?v equal to it is a year of immutable, anything else revalidates, the etag is the version), the topbar's img carries the stamp so a changed photo is a changed URL, a profile topic rides the live channel to every signed-in reader because a coworker's face is nobody's secret, and an identity-sync task keeps the whole of it true — a full roster pass at boot and on every stream end as the healer, the live feed as the fast path, backoff when im is downAhmet Kaan Gümüş · 8713c40Browse 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 sweep leaves nothing dead behind it: with every purge path guarding under the write lock, the unconditional TrashGuard variant and the shared page's unused download counter go — the tree builds with only the five long-standing sniff.rs notices that predate this workAhmet Kaan Gümüş · 48c1debBrowse 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
a restore can no longer lose a race with a purge: every trash delete re-validates its predicate inside the immediate transaction that deletes, so a file or subtree brought back inside the selection window keeps its row, its shares and its bytes; purge_expired and empty_trash route through one guarded delete side, purge_file answers false for what a restore returned and purge_folder refuses it; an upload session is re-read as finishable inside the finish transaction, so an abort landing mid-finish never commits a file and a second finish never duplicates one; delete_file carries the already-trashed guard its folder sibling has had all alongAhmet Kaan Gümüş · f5e4675Browse files
the name is lowercase everywhere: In becomes in — the wordmark, the monogram's label, the tab title, the welcome title in both languages, the package descriptions, the config file and its template, and every comment that names the app; the English preposition in the licence and the workflow is the only capital In leftAhmet Kaan Gümüş · 465a24bBrowse files
the family hides behind the monogram: the in im iz row beside the page nav goes, with its divider, and the siblings become a flyout that drops under the In mark on hover and on keyboard focus — the mark is already the link home, so focus-within opens it and Tab from it reaches the sibling links; the flyout stays in the DOM at opacity zero with no gap to the mark, so the pointer can travel down into it, no script; a mirror without siblings renders the bare mark, and the http test now asserts the siblings aloneAhmet Kaan Gümüş · 5129757Browse files
the boot sweep reclaims only what is older than the database: the store outlives any one copy of the database now that the bytes sit in a shared bucket, so an unknown object goes only when it is no newer than the newest moment the rows know — a crash orphan ages past the next upload and goes on a later boot, while uploads a stale database never heard of are always newer and are kept and said out loud; an empty database reclaims nothing. A database three days behind the bucket cost four real uploads tonightAhmet Kaan Gümüş · cfa2ba1Browse files
the unit ships with the release: deploy/in.service is staged beside the binary and every deploy installs it as the user unit, reloads, enables and restarts — a freshly provisioned box needs only the SSH user, the deploy directory and linger, and a unit that vanished with a reinstall no longer fails the swap with 'Unit not found'Ahmet Kaan Gümüş · 8ec00d2Browse files
the app files itself under base_url alone: the bound address was the fallback, and a loopback bind is nothing anyone else can reach — filed, it would have overwritten the real address in every switcher; an empty base_url now skips the registration with the one boot-time line it already hadAhmet Kaan Gümüş · df8c50a
the app files itself under base_url alone: the bound address was the fallback, and a loopback bind is nothing anyone else can reach — filed, it would have overwritten the real address in every switcher; an empty base_url now skips the registration with the one boot-time line it already had Claude-Session: https://claude.ai/code/session_01JDMA1TAen2UjGRvUVu96KE
the app files itself in im's family: before every family beat the client posts {in, Files, public origin} to im's POST /family/register with the client pair, so im lists this app at its real address without an admin typing it; an empty public address logs once at boot and skips only the registration, and a refusal or an im that does not register yet costs one log line while the mirror fetch still runsAhmet Kaan Gümüş · 922246b
the app files itself in im's family: before every family beat the client posts {in, Files, public origin} to im's POST /family/register with the client pair, so im lists this app at its real address without an admin typing it; an empty public address logs once at boot and skips only the registration, and a refusal or an im that does not register yet costs one log line while the mirror fetch still runs
Claude-Session: https://claude.ai/code/session_01JDMA1TAen2UjGRvUVu96KEevery issuer call carries a ceiling: the shared client asked im with no timeout, so a provider that stalls — mid-deploy, half-open socket — parked the caller forever, and a parked mirror beat never asked again; ten seconds now bound introspection, the family and directory mirrors and the photo fetches alike, so a stalled im costs one failed beat or one bounced render instead of a frozen taskAhmet Kaan Gümüş · a1b335cBrowse files
2026-09-07
fix(web): a landed upload keeps its row as a press-away record — the cancel ✕ had nothing left to cancel, so the finished row drops it and clears itself on click or EnterAhmet Kaan Gümüş · 6cb90b4Browse files
fix(storage): adopt fills each multipart part before it flies — r2 refused the short onesAhmet Kaan Gümüş · dbcb288
fix(storage): adopt fills each multipart part before it flies — r2 refused the short ones A read off the staged file may return short of the 8 MiB buffer, and S3 refuses a complete whose non-final parts fall under the 5 MiB minimum: Cloudflare R2 answered EntityTooSmall at finish while the s3s test fake accepted any shape, so the suite never saw it. Reads now accumulate until a part is full; only the tail may be short, which is the legal shape. Proven against the live bucket: the same 171,637,244-byte chunked flow that failed now finishes clean.
docs(config): the rclone migration one-liner as rclone actually spells itAhmet Kaan Gümüş · bc1a1da
docs(config): the rclone migration one-liner as rclone actually spells it :s3,provider=Cloudflare,... with access_key_id/secret_access_key/ region=auto/endpoint — the shorthand that shipped was not a syntax rclone knows.
the switcher takes the family from im instead of the file: a background beat asks GET /family with the client pair every five minutes and keeps the answer in the setting store, the topbar renders that mirror — absent, unparseable or empty keeps the chrome bare — and the [[services]] block leaves the config for good; the sign-out's return address is resolved per walk now, the saved base_url setting first, the config's own second, the bound address lastAhmet Kaan Gümüş · cae1d0eBrowse files
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(storage): file bytes behind a blobs trait — the local tree or an r2 bucketAhmet Kaan Gümüş · a311758
feat(storage): file bytes behind a blobs trait — the local tree or an r2 bucket Every files/ and thumbs/ byte path in TursoStore routes through Blobs (put/adopt/get/span/delete/list). LocalBlobs keeps today's tree as the default, byte for byte; R2Blobs (object_store) holds the same layout in a Cloudflare R2 bucket, selected by an optional [storage.r2] table — absent means local, and the completion machinery never writes one. Upload staging stays local either way: the sniffer and the thumbnailer need a real file, and adopt() places the assembled bytes — rename locally, streamed 8 MiB multipart to the bucket. Ordered as always: blob before row, delete only after the row is gone, orphans swept at boot. r2_* tests in tests/store.rs run the flows against an in-process s3s server.
feat(trash): a trashed file previews for its owner — look, never takeAhmet Kaan Gümüş · 25da666Browse files
fix(web): the viewer's back link names its origin — shared, not just the driveAhmet Kaan Gümüş · ef74392Browse files
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.