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

Wishlist : Adding Seafile #15

Open
denis-b opened this issue Jun 27, 2016 · 3 comments
Open

Wishlist : Adding Seafile #15

denis-b opened this issue Jun 27, 2016 · 3 comments
Labels

Comments

@denis-b
Copy link

denis-b commented Jun 27, 2016

Hello,

Seafile is a very powerful open source cloud service. It offers an API for accessing the service : http://manual.seafile.com/develop/web_api_v2.1.html, or a webdav access.

Can you advise me about the better existing model to use for implementing a Seafile plugin ?

Thanks

@anzeljg
Copy link
Collaborator

anzeljg commented Jun 28, 2016

Hello denis-b.

I don't quite understand what do you mean by "better existing model to use for implementing a Seafile plugin". Do you want to add support for Seafile service to Cloud plugin -or- do you want to create a new plugin with support for Seafile? Can you please explain this a bit more?

@denis-b
Copy link
Author

denis-b commented Jun 28, 2016

Hello,
the idea is to add Seafile support to the cloud plugin.

Looking at the code in blocktype/, i see that most of the code is duplicated between different cloud modules. So as far as I understand, adding support for a new cloud system consists in copying one of the existing modules and adjusting it for the API. So my question is : looking at Seafile API, what is the best existing base for implementing it ?

@anzeljg
Copy link
Collaborator

anzeljg commented Jun 28, 2016

Hello.

By quickly looking through Web API v2.1 I probably would start with ownCloud implementation and would also implement the method for getting the auth token. I would borrow and change/update that piece of code from some other blocktype. This probably means implementing/adapting the "access_token" method (and/or if it is necessary also the "request_token" method).

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

No branches or pull requests

2 participants