orgzly / orgzly-android

Outliner for taking notes and managing to-do lists
https://www.orgzly.com
GNU General Public License v3.0
2.7k stars 304 forks source link

Orgzly in Nextcloud #33

Open AngelBCN opened 7 years ago

AngelBCN commented 7 years ago

Would it be possible to integrate orgzly into nextcloud?

licaon-kter commented 7 years ago

Did you read #28 ?

nevenz commented 7 years ago

So I'm assuming supporting WebDAV as a repo type would do the trick here too?

nevenz commented 7 years ago

Opened #38 for WebDAV support, closing this one.

Arkanosis commented 6 years ago

Would anyone mind if I reopen this issue? Starting with Nextcloud 13, there's an optional yet extremely interesting end-to-end encryption feature which as far as I understand is something that is unfortunately not supported by the WebDAV protocol alone.

While WebDAV definitely remains a very important target, support for Nextcloud's end-to-end encryption would be an other awesome addition for people like me who would like to sync with an always up but untrusted server (another option being the possibly upcoming non-trusted servers feature of Syncthing).

nevenz commented 6 years ago

Would anyone mind if I reopen this issue?

If they have API, go ahead.

Arkanosis commented 6 years ago

If they have API, go ahead.

Thank you!

The closest I've found to a proper API specification is this API documentation. The feature itself is quite new, so I guess the documentation will be improved, but together with these scenarios, it looks already complete enough to allow a third-party implementation.

Edit: it looks like GitHub won't let me reopen the issue because I'm not a contributor yet, so I'll let you judge if the above API documents look good enough and reopen if you think it's appropriate. Thanks again!

DoctorSubtilis commented 4 years ago

Today, not easily, I managed to connect Orgzly with my nextcloud server: but only with notes (in files/notes): 1) How can I connect with tasks?
2) And why on my smartphone I can't set english language, even selected? Language remain the smartphone default (italian)... Thanks

nevenz commented 4 years ago

Today, not easily, I managed to connect Orgzly with my nextcloud server: but only with notes (in files/notes): 1) How can I connect with tasks?

Are "files/notes" and "tasks" directories? You have to create a repository within Orgzly for each directory, as the app doesn't yet support syncing recursively (see #225).

nevenz commented 4 years ago

And why on my smartphone I can't set english language, even selected? Language remain the smartphone default (italian)

I can't reproduce this. You are using "Use English language" preference? Can you open a new issue and specify your device and Android versions. Thanks!

A-Men-66 commented 7 months ago

For a simple backup of the Orgzly folder in the Nextcloud I found the following solution online:

Source (There is also a Hint for: Configure Nextcloud to Edit .org Files)

Setting up WebDAV in Orgzly

First, from the Nextcloud web interface create a folder in your Nextcloud instance called "notes". Then on your phone open Orgzly's settings and select "Sync" and then "Repositories". Press the "+" button at the top right to add a new sync location. You will be prompted to select either "WebDAV" or "Directory". Select "WebDav". You will then see fields for a URL, a username, and a password. In the URL field enter "[Your Nextcloud Instance's URL]/remote.php/dav/files/[your Nextcloud user name]/notes". In the username and password fields enter your Nextcloud username and password. Go to one of your notebooks in Orgzly and select "sync" from the menu. Your Orgzly notes should synchronize to the "notes" folder on your Nextcloud instance.


Important: Orgzly complains if you try to create a backup online in the cloud and offline at the same time. Only one of the two is possible. (At least in my case)

After that it works wonderfully.