Module

cloudSyncController

Coordinates the cloud-sync configuration dialog, provider adapters and shared settings. It also exposes provider status and handles sync notifications and platform-specific events.

View Source frontend/controllers/cloud_sync/cloud_sync_controller.js, line 20

Methods

# static getActiveCloudSyncProvider()

Returns the active cloud sync provider ('dropbox', 'nextcloud' or null). Installations without the cloudSyncProvider setting but with a Dropbox token are treated as Dropbox.

View Source frontend/controllers/cloud_sync/cloud_sync_controller.js, line 174

# static getActiveProviderDisplayName()

Returns the display name of the active cloud sync provider ('Dropbox' / 'Nextcloud').

View Source frontend/controllers/cloud_sync/cloud_sync_controller.js, line 191

# static isCloudStorageConfigured()

Returns true if the active cloud sync provider is fully configured (Dropbox linked / Nextcloud credentials set).

View Source frontend/controllers/cloud_sync/cloud_sync_controller.js, line 183

# inner isSelectedCloudStorageAvailable()

Whether the cloud storage of the provider selected in the dialog can be accessed (Dropbox linked / Nextcloud form filled in).

View Source frontend/controllers/cloud_sync/cloud_sync_controller.js, line 336

# async inner validateCustomModuleRepoBeforeSave() → {Promise.<boolean>}

Validates the custom module repo (if enabled) before saving.

View Source frontend/controllers/cloud_sync/cloud_sync_controller.js, line 444

false if the custom module repo is enabled but invalid

Promise.<boolean>