Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Dropbox import/export #43

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

jsvde
Copy link

@jsvde jsvde commented Feb 2, 2019

This PR previews the intended changes to enable multiple storage providers discussed in #42

Currently it includes just Dropbox as a storage provider, with Google Drive and Github on the way.
To preview a working version the corresponding environment variables for dropbox OAuth need to be set in the deployment environment.

Quick overview:

  • Created a dedicated storage class with a default adapter (file) that is extendable with any third party storage provider that implements the adapter interface. A Dropbox adapter is implemented to showcase the functionality
  • Refactored import/exports functions of the settings page component to the DB class to be used generically by storage adapters
  • Added generic "auth" and "auth/callback" routes for all future storage providers to work

Feedback always welcome 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant