WebDAV sync support, access tokens, REST control endpoints (#10)

Implement complete WebDAV file serving compatible with various clients from Windows File Explorer to more specialized sync tools. The old control WebSocket has been updated to part-DAV, part REST API instead. Implemented user:pass BASIC auth. Added UI and backend for creating tokens that avoid the need to use actual username and password for requests from CLI or DAV.

Reviewed-on: #10
This commit was merged in pull request #10.
This commit is contained in:
2026-04-26 06:22:52 +01:00
parent 91e07d61b6
commit 123cb45daa
31 changed files with 3377 additions and 529 deletions
+3 -1
View File
@@ -44,7 +44,9 @@ def setup_sanic_backend(
port = opts.get("port", DEFAULT_BACKEND_PORT)
host = opts.get("host", "localhost") or "localhost"
cmd = ["cista", "--dev", "-l", listen] + extra_args
# Use the current interpreter/module path so devserver always runs
# workspace source code instead of a potentially stale installed script.
cmd = [sys.executable, "-m", "cista", "--dev", "-l", listen] + extra_args
return f"http://{host}:{port}", cmd