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
$#!
 _deleteSimple, RemoteStorage.Dropbox
 _getFolder, RemoteStorage.Dropbox
 _getMetadata, RemoteStorage.Dropbox
 _request, RemoteStorage.Dropbox
 _shareIfNeeded, RemoteStorage.Dropbox
 _uploadSimple, RemoteStorage.Dropbox
A
 access, RemoteStorage
 addEventListener, eventhandling
 authing, RemoteStorage
B
 base, RemoteStorage.BaseClient
C
 caching, RemoteStorage
 cachinglayer
 cachingLayer, cachinglayer
 change
 changesQueued, RemoteStorage.IndexedDB
 changesRunning, RemoteStorage.IndexedDB
 checkPath, RemoteStorage.Caching
 claim, RemoteStorage.Access
 configure, RemoteStorage.WireClient
 connect
 connected
 connecting, RemoteStorage
D
 declareType, RemoteStorage.BaseClient
 defineModule, RemoteStorage
 delete, RemoteStorage.Dropbox
 disable, RemoteStorage.Caching
 disableLog, RemoteStorage
 disconnect
 disconnected, RemoteStorage
 display
 displayWidget
 Dropbox
E
 enable, RemoteStorage.Caching
 enableLog, RemoteStorage
 error, RemoteStorage
 eventhandling
 eventHandling, eventhandling
 Events
F
 features-loaded, RemoteStorage
 fetchDelta, RemoteStorage.Dropbox
 Files, RemoteStorage.GoogleDrive
 fixArrayBuffers, RemoteStorage.Util
 Functions
 Functions and Properties, RemoteStorage
G
 get
 getAll, RemoteStorage.BaseClient
 getBackgroundSyncInterval, RemoteStorage.Sync
 getCurrentSyncInterval, RemoteStorage.Sync
 getDropboxPath(path)
 getFile, RemoteStorage.BaseClient
 getItemURL, RemoteStorage.BaseClient
 getListing, RemoteStorage.BaseClient
 getObject, RemoteStorage.BaseClient
 getSyncInterval, RemoteStorage.Sync
H
 hasFeature, RemoteStorage
 hideBubble, RemoteStorage.Widget.View
 href, RemoteStorage.WireClient
 https://developers.google.com/drive/web/auth/web-client#create_a_client_id_and_client_secret
I
 info, RemoteStorage.Dropbox
J
 justDelete, LowerCaseCache
 justSet, LowerCaseCache
L
 local, RemoteStorage
 log
 LowerCaseCache
N
 network-offline, RemoteStorage
 network-online, RemoteStorage
 not-connected, RemoteStorage
O
 on, eventhandling.eventhandling
 onActivate, RemoteStorage.Caching
 onChange, RemoteStorage
_deleteSimple: function (path)
Deletes a file or a folder.
_getFolder: function (path,
options)
Get all items in a folder.
_getMetadata: function (path,
options)
Gets metadata for a path (can point to either a file or a folder).
_request: function (method,
url,
options)
Make a HTTP request.
_shareIfNeeded: function (path)
Calls share, if the provided path resides in a public folder.
_uploadSimple: function (params)
Upload a simple file (the size is no more than 150MB).
Tracking claimed access scopes.
addEventListener: function (eventName,
handler)
Install an event handler for the given event name
Fired before redirecting to the authing server
Base path this BaseClient operates on.
Caching settings.
This module defines functions that are mixed into remoteStorage.local when it is instantiated (currently one of indexeddb.js, localstorage.js, or inmemorystorage.js).
RemoteStorage.cachingLayer = function (object)
Mixes common caching layer functionality into an object.
Emitted when a node changes
Never fired for some reason # TODO create issue and fix or remove
Given a node for which uncommitted changes exist, this cache stores either the entire uncommitted node, or false for a deletion.
Given a node for which uncommitted changes exist, this cache stores either the entire uncommitted node, or false for a deletion.
checkPath: function (path)
Retrieve caching setting for a given path, or its next parent with a caching strategy set.
claim: function(scope,
mode)
Claim access on a given scope with given mode.
configure: function (settings)
Sets the userAddress, href, storageApi, token, and properties of a remote store.
connect: function (userAddress,
token)
Connect to a remoteStorage server.
connect: function ()
Set the backed to ‘dropbox’ and start the authentication flow in order to obtain an API token from Dropbox.
Emitted when the connect button is clicked
Fired when a remote storage has been connected
Fired when the wireclient connect method realizes that it is in possession of a token and href
Fired before webfinger lookup
Declare a remoteStorage object type using a JSON schema.
RemoteStorage.defineModule = function (moduleName,
builder)
Method for defining a new remoteStorage data module
'delete': function (path,
options)
Compatible with RemoteStorage.WireClient.delete
disable: function (path)
Disable caching for a given path.
disableLog: function ()
Disable remoteStorage logging
disconnect: function ()
“Disconnect” from remotestorage server to terminate current session.
Emitted when the disconnect button is clicked
Fired after disconnect
display: function (options)
Displays the widget via the view.display method
display: function (options)
Draw the widget inside of the dom element with the id options.domID
Displays the widget at the top right of the page.
RemoteStorage.prototype.displayWidget = function (options)
Same as display
WORK IN PROGRESS, NOT RECOMMENDED FOR PRODUCTION USE
enable: function (path)
Enable caching for a given path.
enableLog: function ()
Enable remoteStorage logging.
Fired when an error occurs
RemoteStorage.eventHandling = function (object)
Mixes event handling functionality into an object.
Fired when all features are loaded
fetchDelta: function ()
Fetches the revision of all the files from dropbox API and puts them into _revCache.
function fixArrayBuffers(srcObj,
dstObj)
Takes an object and its copy as produced by the _deepClone function below, and finds and fixes any ArrayBuffers that were cast to `{}` instead of being cloned to new ArrayBuffers with the same content.
get : function (key)
Get a value from the cache or defaultValue, if the key is not in the cache.
get: function (path,
options)
Compatible with RemoteStorage.WireClient.get
getAll: function (path,
maxAge)
Get all objects directly below a given path.
RemoteStorage.prototype.getBackgroundSyncInterval = function ()
Get the value of the sync interval when application is in the background
RemoteStorage.prototype.getCurrentSyncInterval = function ()
Get the value of the current sync interval
var getDropboxPath = function (path)
Map a local path to a path in DropBox.
getFile: function (path,
maxAge)
Get the file at the given path.
getItemURL: function (path)
Retrieve full URL of item
getListing: function (path,
maxAge)
Get a list of child nodes below a given path.
getObject: function (path,
maxAge)
Get a JSON object from given path.
RemoteStorage.prototype.getSyncInterval = function ()
Get the value of the sync interval when application is in the foreground
hasFeature: function (feature)
Checks whether a feature is enabled or not within remoteStorage.
hideBubble: function ()
Hide the bubble
Holds the server’s base URL, as obtained in the Webfinger discovery
info: function ()
Fetches the user’s info from dropbox and returns a promise for it.
justDelete : function (key,
value)
Delete a value without propagating.
justSet : function (key,
value)
Set a value without propagating.
Access to the local caching backend used.
log: function ()
The same as RemoteStorage.log.
RemoteStorage.log = function ()
Log using console.log, when remoteStorage logging is enabled.
A cache which automatically converts all keys to lower case and can propagate changes up to parent folders.
Fired once when a wire request fails for the first time, and `remote.online` is set to false
Fired once when a wire request succeeds for the first time after a failed one, and `remote.online` is set back to true
Fired when ready, but no storage connected (“anonymous mode”)
Alias for addEventListener
onActivate: function (cb)
Set a callback for when caching is activated for a path.
onChange: function (path,
handler)
Add a “change” event handler to the given path.
Close