v0.6.398: upload a whole folder (#1098) #1118

Merged
Cordy merged 19 commits from fu1098 into main 2026-11-04 21:48:08 +00:00
Owner

Closes #1098 once live.

  • App: Upload files / Upload folder split button, folder drops, a plan before anything is sent (refused names, large-folder question, one conflict question per top-level item with Add to it), progress with Stop, Not uploaded list with Try again. 0-byte untyped files dropped on their own are uploaded again (fix).
  • Upload links: Choose a folder and folder drops; Keep both for files and folders; a link never replaces a file; a visitor's path is confined to the link's folder, .trash refused; the page waits the seconds the public limiter names.
  • REST: conflict=keepBoth on POST /api/v1/dirs; name-invalid on REST and TUS.
  • Behaviour change for scripts that PUT to upload links: see CHANGELOG Security.

Reviews: W1+W2, W3, final, three fix rounds (.superpowers/sdd/2026-11-04-fu1098). Main (v0.6.397) merged in.

Closes #1098 once live. - App: Upload files / Upload folder split button, folder drops, a plan before anything is sent (refused names, large-folder question, one conflict question per top-level item with Add to it), progress with Stop, Not uploaded list with Try again. 0-byte untyped files dropped on their own are uploaded again (fix). - Upload links: Choose a folder and folder drops; Keep both for files and folders; a link never replaces a file; a visitor's path is confined to the link's folder, `.trash` refused; the page waits the seconds the public limiter names. - REST: `conflict=keepBoth` on `POST /api/v1/dirs`; `name-invalid` on REST and TUS. - Behaviour change for scripts that PUT to upload links: see CHANGELOG Security. Reviews: W1+W2, W3, final, three fix rounds (`.superpowers/sdd/2026-11-04-fu1098`). Main (v0.6.397) merged in.
storage: ErrNameInvalid, NameInvalidText, HasInvalidChar, KeepBothDir.
audit: the mkdir event carries the #975 conflict note.
share: drop1098.go (path rules, per-level folder rule, Keep both for
files and folders, JSON answers, multipart mkdir); the public 429 says
Retry-After, the seconds left in the client's window.
Named test exceptions: TestDropOntoFolderRefused976 (Keep both now), the
public upload link row of TestFailClosedMatrix (replaced by
TestDropKeepsBothUnderVersionFault1098).
Merge v0.6.397 (#1097) into fu1098
Some checks failed
ci / test-and-build (pull_request) Failing after 1m45s
9fcbc86778
web: NUL-or-backslash class written so the doubled-escape check passes (#1098)
All checks were successful
ci / test-and-build (pull_request) Successful in 3m33s
d12a0a4373
Cordy merged commit 6627780f13 into main 2026-11-04 21:48:08 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1118
No description provided.