feat(files): add WebDAV and cloud storage (Google Drive, Dropbox) to Network via rclone - #2193
Open
LuckyCoders wants to merge 8 commits into
Open
feat(files): add WebDAV and cloud storage (Google Drive, Dropbox) to Network via rclone#2193LuckyCoders wants to merge 8 commits into
LuckyCoders wants to merge 8 commits into
Conversation
Introduce a reusable rclone-based remote mount module for network storage, starting with WebDAV support. SMB/CIFS shares continue to use kernel mount for local NAS performance. The UI adds an SMB/WebDAV protocol selector in the add network share dialog. OS image includes rclone and fuse user_allow_other.
- Persist rclone config and VFS cache under dataDirectory (not SD root home) - Support fusermount3 fallback, log remount failures, validate WebDAV URLs - Include non-default ports in WebDAV host keys to avoid mount path collisions - Fix power monitor logger on Pi, store types, and translated error messages
- Add WebDAV translation keys to all 29 locale files - Support Nextcloud vendor with auto-detection from URL - Install rclone in CI for WebDAV integration tests - Skip WebDAV integration test when /dev/fuse is unavailable
- OAuth flow through rclone authorize with session polling - API routes: startCloudNetworkAuth, getCloudNetworkAuthStatus - UI protocol picker with cloud connect flow and SSH tunnel hint - Locales for all 29 languages, cloud-oauth unit tests
Use google_drive as the network storage protocol identifier while keeping rclone's drive backend name for authorize and mount.
Co-authored-by: Cursor <cursoragent@cursor.com>
The mutation input is {provider}, but the dialog passed a bare protocol string, which Zod rejected as Expected object, received string.
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/Network/<host>/<share>rclone authorize) and Nextcloud-aware WebDAV vendor detectionrclone+fuse3anduser_allow_otherinfuse.confMotivation
Many users need NAS WebDAV (Synology/QNAP/Nextcloud) and cloud drives alongside local files. One shared mount abstraction avoids one-off integrations and leaves room for SFTP/S3 later.
Testing
/dev/fuse)Notes
127.0.0.1on the device; remote sign-in needs SSH tunnel (hint shown in UI)