v0.6.396: WebDAV for sync clients: client file dates, PROPPATCH, oc properties, folder ETags (#1099) #1116

Merged
Cordy merged 22 commits from wd1099 into main 2026-11-04 17:00:43 +00:00
Owner

Closes #1099 once live (release gate: interop-rclone on this branch, result posted on #1099).

  • Client file dates kept in the folder records from X-OC-Mtime (PUT, MOVE, COPY), TUS mtime, REST mtime and the web app; never on the stored object. Dates outside 1970-01-02 to now + 24 h are ignored, never fail an upload.
  • PROPPATCH per RFC 4918: the three date properties set the date; every Win32 property on a folder (and a refused Win32 date on a file) answers 200 not kept so Windows copy works; unknown/protected 403, atomic 424; same write checks as a write (locks, holds, read-only, add-only, devices); audit modified-time-set.
  • oc:id, oc:fileid, oc:permissions and folder getetag (foldertag, partitioned per user and device) when asked; OC-FileId on PUT.
  • Only ETags decide conditional requests (httpx.ServeContent, Cache-Control: private, no-cache); PDF previews get an ETag.
  • Docs: rclone vendor=owncloud (migration recipe, add-only exception), Nextcloud/ownCloud desktop apps do not work; CHANGELOG "read before upgrading".

Four review rounds (W1, W2, final) in .superpowers/sdd/2026-11-04-wd1099. Main (v0.6.395) merged in.

Closes #1099 once live (release gate: interop-rclone on this branch, result posted on #1099). - Client file dates kept in the folder records from `X-OC-Mtime` (PUT, MOVE, COPY), TUS `mtime`, REST `mtime` and the web app; never on the stored object. Dates outside 1970-01-02 to now + 24 h are ignored, never fail an upload. - PROPPATCH per RFC 4918: the three date properties set the date; every Win32 property on a folder (and a refused Win32 date on a file) answers 200 not kept so Windows copy works; unknown/protected 403, atomic 424; same write checks as a write (locks, holds, read-only, add-only, devices); audit `modified-time-set`. - `oc:id`, `oc:fileid`, `oc:permissions` and folder `getetag` (foldertag, partitioned per user and device) when asked; `OC-FileId` on PUT. - Only ETags decide conditional requests (`httpx.ServeContent`, `Cache-Control: private, no-cache`); PDF previews get an ETag. - Docs: rclone `vendor=owncloud` (migration recipe, add-only exception), Nextcloud/ownCloud desktop apps do not work; CHANGELOG "read before upgrading". Four review rounds (W1, W2, final) in `.superpowers/sdd/2026-11-04-wd1099`. Main (v0.6.395) merged in.
# Conflicts:
#	internal/dav/dav.go
Merge remote-tracking branch 'origin/main' into wd1099
Some checks failed
ci / test-and-build (pull_request) Failing after 1m40s
7329ace0af
# Conflicts:
#	CHANGELOG.md
#	deploy/chart/Chart.yaml
Cordy merged commit 351b4a6952 into main 2026-11-04 17:00:43 +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#1116
No description provided.