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

Provide owncloud backend ? #122

Open
ldidry opened this issue Oct 8, 2013 · 36 comments
Open

Provide owncloud backend ? #122

ldidry opened this issue Oct 8, 2013 · 36 comments

Comments

@ldidry
Copy link

ldidry commented Oct 8, 2013

It would be awesome if we could export/import to/from an owncloud server.

Really cool work, by the way 😃

@wizzard0
Copy link

I vote this up

@mAAdhaTTah
Copy link

Seconded.

@flyinva
Copy link

flyinva commented Dec 13, 2013

@HLFH
Copy link

HLFH commented Jan 4, 2014

+42

@jnials
Copy link

jnials commented Feb 2, 2014

+1 I would also pay a bounty on this.

@ghetolay
Copy link

ghetolay commented Feb 3, 2014

Let's add some interest on this.

@ccverg
Copy link

ccverg commented Feb 4, 2014

@jnials
Copy link

jnials commented Feb 4, 2014

OK, I put up a $25 bounty, some of the rest of you, add to it. Make it worth somebody's while.
Thanks @ccvergara.

https://www.bountysource.com/issues/998492-provide-owncloud-backend

@benweet
Copy link
Owner

benweet commented Feb 4, 2014

@jnials you just gave $2.5 to @ccvergara's company... is there a way to block this kind of spam?

@jnials
Copy link

jnials commented Feb 5, 2014

Well, don't I feel like a sucker. Sigh. Yeah. You can block her from your timeline (click her name above, click the gear, select block user). That will do it for you. You can also report abuse, which is what I'm about to do.

@mattkatz
Copy link

mattkatz commented Feb 9, 2014

Hi - I look at Bountysource stuff when considering project to contribute to. I think bounties are a pretty cool idea for non-devs or devs without enough time to crowdfund solutions.

@benweet
Copy link
Owner

benweet commented Feb 9, 2014

@mattkatz I don't like people using this site and this project to make money furtively without any contribution. I haven't criticized Bountysource and, anyway, Github is not a place to debate about this kind of topic.

@mAAdhaTTah
Copy link

@benweet Might want to report her/them for spam. Seems problematic at best to be making money off OS projects like this without working with the developer(s) of those projects first.

@jnials
Copy link

jnials commented Feb 10, 2014

Guys, let's drop this. I've delt directly with this offline, and as @benweet said, this is not the place to debate this.

@jancborchardt
Copy link

You can access ownCloud through WebDAV. Then they can be shared using the above mentioned Share API. cc @PVince81

ownCloud also has a Notes app with API which seems well-fitting here (it simply stores notes in the »Notes« subfolder):

cc @Raydiation who developed the Notes app.

@bentweet it would be cool if we can get sync going here, especially as both StackEdit and ownCloud are open source. :) If you use IRC, you can also join us in #owncloud-dev (on freenode).

@ghost
Copy link

ghost commented Aug 14, 2014

@jancborchardt I'm looking in to this ATM and it seems that CORS is going to prevent this:( Is there a way to turn on CORS for OCS Share API? Alternatively is there JSONP support?

@jancborchardt
Copy link

@jfearn nice! That question ^ can probably better be answered by @DeepDiver1975 @schiesbn, or @Raydiation who partly introduced CORS to ownCloud.

@LukasReschke
Copy link

I opened owncloud/core#10415 to create a list of APIs where we should enable CORS. Please add more if required and then I can take a look at it.

@BernhardPosselt
Copy link

Easy Cors support depends on app framework usage. I don't think the api uses that.

@ghost
Copy link

ghost commented Aug 26, 2014

FYI I have checked in a version of this support, it only works for co-hosted systems ATM due to CORS and possibly other authentication issues.

https://github.com/jfearn/stackedit/tree/owncloud

Given it's limited to co-hosting & is missing a few nice features, like sub-directory support, I won't issue a pull request at this time.

@jancborchardt
Copy link

@jfearn best come join us on IRC in #owncloud-dev if you have more questions. It’s a bit more lively than the mailing list. :)

@djibux
Copy link

djibux commented Oct 22, 2014

Would love that feature !

@l3iggs
Copy link

l3iggs commented Jan 22, 2015

+1, are there any updates on this?

@nano4711
Copy link

+1 would love to see this come true

@RileyStarlight
Copy link

+1

@nommaz
Copy link

nommaz commented Feb 6, 2017

IMHO clicking on .md files on the owncloud web ui should open the file in stackedit in a new browser tab. Basically the way google drive and google docs works.

Owncloud notes plugin I believe works this way.

@sunjam
Copy link

sunjam commented Mar 3, 2018

@DeepDiver1975
Copy link

You also might want to try to use the owncloud js client which was developed during GSoC 2017: https://github.com/noveens/js-owncloud-client

@maschhoff
Copy link

What about this function in nextcloud with webdav?

@jgaehring
Copy link

Is there still any interest in this?

I've been on a quest for the best markdown editor that pairs with Nextcloud, and kinda disappointed with the options. I was almost at the point of making something myself, when I remembered how much I love StackEdit and its design, and realized it might be easier to create a StackEdit/Nextcloud integration. Also psyched to learn y'all are using Vue these days, which is my bread and butter.

I'm trying to understand the backend challenges. If I'm not mistaken, the main issues seem to be:

  • CORS: I'm guessing a user's Nextcloud server has to be configured with the appropriate Allow-Controll-Allow-Origin header etc, in addition to using mode: 'cors' or whatever in the client. Anything else I'm missing?
  • Authentication: This seems pretty straightforward, as Nextcloud uses OAuth2 these days. Just needs to be configured.
  • WebDAV: I'm totally new to this protocol, but seems like Nextcloud has pretty good support for this type of thing. Any particular challenges that folks are aware of?
  • Nextcloud app: Since most of the above issues also entail some server configuration, it might be best to have some sort of app in the Nextcloud store for easier setup on each server instance.

Other than that, there would be some strictly client-side work, mainly creating a nextcloudProvider, which would need a getLocationUrl method similar to the gitlabProvider, but all that seems pretty straightforward. A few modals... what else?

I don't have a ton of time to commit to this, but would be happy to make contributions if they'd be accepted, especially if there were others willing to provide some pointers in areas where I'm not super knowledgeable. It'd be slow-going, but I could get the ball rolling and chip away at it over time. Or has someone else already made some headway here?

@mirenbz
Copy link

mirenbz commented Dec 23, 2020

Looks promising @jgaehring ! Any update on this?

@jgaehring
Copy link

Sadly no, @mberasategi. I'd still love to explore this, but am reluctant to try to go it alone, since a lot of this is new territory for me. Especially the backend Nextcloud-side of stuff, which seems to be where the bulk of the work would be. I'm a frontend Vue dev, so I think I could hit the ground running with the StackEdit-side of things, so long as the maintainers were ok with it, but I haven't heard from them.

I'll keep my hat in the ring if you or anyone else has some experience to loan with the Nextcloud stuff. Unfortunately I just don't have the bandwidth right now to explore a totally new tech stack w/o a little extra support.

@mirenbz
Copy link

mirenbz commented Dec 23, 2020

Sure, unfortunately I'm no developer so I can't offer any practical help in that respect. Just a heads up as a user that the Nextcloud integration would be highly appreciated. Thanks for your response!

@bluebirch
Copy link

Wouldn't adding general support for WebDAV (with a general WebDAV javascript library) solve access to Owncloud, Nextcloud, Box and just about any other service that use the WebDAV protocol?

@InQuize
Copy link

InQuize commented Jul 18, 2021

People might not know that they need this, because general Next(Own)-cloud crowd may not be familiar with niche software like StackEdit and simply not aware that it could be used together. But I believe that a lot of them if not most would jump on boat as soon as word gets out that WebDAV support is implemented and community guides start to appear.

@impronta48
Copy link

I'm interested in supporting the development myself, but I need some "orientation" by the original developers of stakedit to understand a little better the architecture. I've seen that I should implement a provider, but I've got some doubts.
Anybody from the core team can offer a 1 hour support?

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

No branches or pull requests