Skip to content

fix: improve WebDAV path compatibility - #25

Merged
thiennamdinh merged 1 commit into
mainfrom
webdav-path-fixes
Jun 11, 2026
Merged

fix: improve WebDAV path compatibility#25
thiennamdinh merged 1 commit into
mainfrom
webdav-path-fixes

Conversation

@thiennamdinh

@thiennamdinh thiennamdinh commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add WebDAV-side percent encoding for path segments that are not unescaped R7RS identifiers, with decoding for directory listings.
  • Add minimal LOCK/UNLOCK handling and advertise class-2 WebDAV methods for clients like macOS Finder.
  • Accept file-manager ledger collection probes without trailing slashes.
  • Clarify WebDAV API-token authentication docs and ignore local compose .env files.
  • Bump platform patch metadata to 1.3.1.
  • Pin the journal time dependency to avoid a floating time/cookie compile failure in container smoke builds.

Testing

  • cd services/file-system && go test ./...
  • ./records/tests/test.sh /home/tdinh/projects/sync-web/journal/target/debug/journal-sdk
  • cd journal && cargo test --no-run
  • Live smoke tested against https://djali.net WebDAV with macOS Finder, Nautilus/GVFS, and rclone/WinFsp paths.

Notes/Risks

  • Windows built-in WebClient remains best-effort; rclone + WinFsp is the recommended Windows path.
  • WebDAV percent decoding is a service convention only; ledger paths continue to store atomic Scheme symbol names.
  • Longer term, journal should likely commit Cargo.lock or otherwise make Rust image builds fully deterministic.

Summary
- Add WebDAV-side percent encoding for path segments that are not unescaped R7RS identifiers, with decoding for directory listings.
- Add minimal LOCK/UNLOCK handling and advertise class-2 WebDAV methods for clients like macOS Finder.
- Allow file-manager ledger collection probes without trailing slashes.
- Clarify WebDAV API-token authentication docs and ignore local compose env files.
- Bump platform patch metadata to 1.3.1.

Testing
- cd services/file-system && go test ./...
- ./records/tests/test.sh /home/tdinh/projects/sync-web/journal/target/debug/journal-sdk
- Live smoke tested against https://djali.net WebDAV with macOS Finder, Nautilus/GVFS, and rclone/WinFsp paths.

Notes/Risks
- Windows built-in WebClient remains best-effort; rclone + WinFsp is the recommended Windows path.
- WebDAV percent decoding is a service convention only; ledger paths continue to store atomic Scheme symbol names.
@thiennamdinh
thiennamdinh merged commit e5ae466 into main Jun 11, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant