forge
Explore
Log in

Don't you dare go Hollow

Commits

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

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

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)