remotestorage/remotestorage.io

Update existing apps to remoteStorage.js 0.7.1

Closed this issue · 11 comments

The existing apps should be updated to the new stable library 0.7.1:

All info you need for that should be on http://remotestorage.io, let us know here if anything is missing or if you need any help.

Any way to use IndexedDB instead of localstorage? update of gHost to 0.7 is almost done, but with localstorage I receive quota exceed error when storing a lot of pictures.

@vcuculo I've done an image app as well, and the way you should do it (until we have indexedDB support) is just not sync them all. You can do it by calling release(path) on the client. I then just get the listing and use the remote URL as src directly to show them. See https://github.com/skddc/sharedy/blob/master/app/scripts/remoteStorage-sharedy.js#L11 and https://sharedy.5apps.com/ e.g.

@skddc good app! the problem with my app is that I store images in private folder and the remote url is not usable

You could use the public directory with long URLs. Directory listings are always private, including the ones in the public directory.

Could be a solution, but images saved with old version of app (in private folder) would be unaccessible

I see. We probably need to think about some migration library, which can move data on defined app upgrades. I also have situations, where I want to change where and how data is stored.

just updated gHost to 0.7.1 here https://ghost-vcuculo.5apps.com

@vcuculo before I use it, should I back up the old pictures I took with it
from my remoteStorage, because it will eat them? Or will it work?

i edited this issue to specify "0.7.1" instead of the ambiguous "0.7" which could be (and was) incorrectly interpreted as 0.7.0

It will work, it doesnt delete anything. I've just changed the folder used.

Jan-Christoph Borchardt notifications@github.com ha scritto:

@vcuculo before I use it, should I back up the old pictures I took with it
from my remoteStorage, because it will eat them? Or will it work?


Reply to this email directly or view it on GitHub:
#44 (comment)

@vcuculo ok nice! Now I can demo it again when showing remoteStorage to people! :)