Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 propagateDelete, LowerCaseCache
 propagateSet, LowerCaseCache
 Properties
 put, RemoteStorage.Dropbox
R
 ready, RemoteStorage
 remote, RemoteStorage
 RemoteStorage
 RemoteStorage.Access
 RemoteStorage.BaseClient
 RemoteStorage.BaseClient.Types
 RemoteStorage.Caching
 RemoteStorage.Discover
 RemoteStorage.Dropbox
 RemoteStorage.GoogleDrive
 RemoteStorage.I18n
 RemoteStorage.IndexedDB
 RemoteStorage.InMemoryStorage
 RemoteStorage.LocalStorage
 RemoteStorage.Sync
 RemoteStorage.Util
 RemoteStorage.Widget
 RemoteStorage.Widget.View
 RemoteStorage.WireClient
 remove, RemoteStorage.BaseClient
 removeEventListener, eventhandling
 reset
 RS#scope, RemoteStorage.BaseClient
S
 schemas, RemoteStorage.BaseClient
 scope
 scopes, RemoteStorage.Access
 secret-cancelled, RemoteStorage.Widget.View
 secret-entered, RemoteStorage.Widget.View
 set, RemoteStorage.Caching
 setApiKeys(experimental), RemoteStorage
 setBackgroundSyncInterval, RemoteStorage.Sync
 setCordovaRedirectUri, RemoteStorage
 setState, RemoteStorage.Widget.View
 setSyncInterval, RemoteStorage.Sync
 setUserAddress, RemoteStorage.Widget.View
 setUserSecretKey, RemoteStorage.Widget.View
 setView(view), RemoteStorage.Widget
 share, RemoteStorage.Dropbox
 showBubble, RemoteStorage.Widget.View
 startSync, RemoteStorage
 stopWaitingForToken, RemoteStorage.Dropbox
 storage, RemoteStorage.BaseClient
 storageApi, RemoteStorage.WireClient
 storeFile, RemoteStorage.BaseClient
 storeObject, RemoteStorage.BaseClient
 sync
T
 toggleBubble, RemoteStorage.Widget.View
 token, RemoteStorage.WireClient
V
 validate, RemoteStorage.BaseClient
W
 wire-busy, RemoteStorage
 wire-done, RemoteStorage
propagateDelete : function (key)
Delete a value and propagate the changes to the parent folders.
propagateSet : function (key,
value)
Set a value and also update the parent folders with that value.
put: function (path,
body,
contentType,
options)
Compatible with RemoteStorage.WireClient
Fired when ready
TODO needs proper introduction and links to relevant classes etc
Keeps track of claimed access and scopes.
Provides a high-level interface to access data below a given root path.
Holds/manages caching configuration.
This function deals with the Webfinger lookup, discovering a connecting user’s storage details.
WORK IN PROGRESS, NOT RECOMMENDED FOR PRODUCTION USE
TODO add documentation
IndexedDB Interface
In-memory caching adapter.
localStorage caching adapter.
Provides reusable utility functions at RemoteStorage.util
The widget controller that communicates with the view and listens to its remoteStorage instance.
Controls the visible widget
WireClient Interface
remove: function (path)
Remove node at given path from storage.
removeEventListener: function (eventName,
handler)
Remove a previously installed event handler
reset: function ()
Reset the state of caching by deleting all caching information.
Emitted after crash triggers disconnect
Returns a new RS.BaseClient scoped to the given path.
Contains schema objects of all types known to the BaseClient instance
Returns a BaseClient with a certain scope (base path).
scope: function (path)
Returns a new BaseClient operating on a subpath of the current base path.
Holds an array of claimed scopes in the form
Emitted when the nocipher button is clicked
Emitted when the cipher button is clicked
set: function (path,
strategy)
Configure caching for a given path explicitly.
setApiKeys: function (type,
keys)
Set API keys for (currently) GoogleDrive and/or Dropbox backend support.
RemoteStorage.prototype.setBackgroundSyncInterval = function (interval)
Set the value of the sync interval when the application is in the background
setCordovaRedirectUri: function (uri)
Set redirect URI to be used for the OAuth redirect within the in-app-browser window in Cordova apps.
setState: function (state,
message)
Call the function that applies the state to the widget
RemoteStorage.prototype.setSyncInterval = function (interval)
Set the value of the sync interval when application is in the foreground
setUserAddress: function (addr)
Set user address of the input field
setUserSecretKey: function (secretKey)
Set user secret key
setView: function (view)
Sets the view and initializes event listeners to react on widget (widget.view) events
share: function (path)
Gets a publicly-accessible URL for the path from Dropbox and stores it in _itemRefs.
showBubble: function (event)
Show the bubble
Start synchronization with remote storage, downloading and uploading any changes within the cached paths.
stopWaitingForToken: function ()
Stop waiting for the token and emit not-connected
The RemoteStorage instance this BaseClient operates on.
Holds the spec version the server claims to be compatible with
storeFile: function (mimeType,
path,
body)
Store raw data at a given path.
storeObject: function (typeAlias,
path,
object)
Store object at given path.
sync: function ()
Emitted when the sync button is clicked
toggleBubble: function (event)
Show the bubble when hidden and the other way around
Holds the bearer token of this WireClient, as obtained in the OAuth dance
validate: function(object)
Validate an object against the associated schema.
Fired when a wire request starts
Fired when a wire request completes
Close