AceCentre / pasco

Phrase Auditory Scanning COmmunicator - AAC App for iOS and the Web
https://app.pasco.chat
GNU General Public License v3.0
14 stars 6 forks source link

Backup / restore vocabulary online #243

Closed willwade closed 3 years ago

willwade commented 3 years ago

So a “sync with Dropbox “ button. Hitting that signs you in and uploads all the trees the user has - not just the active one. Any edits then the vocabulary gets resaved. On a different device - if someone signs in using the same Dropbox account it pulls the data in. Going forward there would need to be a button of “update from Dropbox” but show this only if the version in Dropbox is timestamped newer than the devices vocabulary.

NB. Dropbox or gdrive or other. Happy to look at options.

hosseinzoda commented 3 years ago

I suggest to add some parameters in the config to select which folder to look for and authorization with the provider. With this it will be easier to manage. And there's no need to login with same account.

hosseinzoda commented 3 years ago

@willwade We may need to spin up a server for dealing with authorization with dropbox or google drive.

For oauth2 authorization method a server is required. Though I can see dropbox has a simple method for generating access token for the account owner. If you want to use that it will not be a convenient process.