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

NextCloud Integration #155

Open
mmosley77 opened this issue Mar 2, 2022 · 13 comments
Open

NextCloud Integration #155

mmosley77 opened this issue Mar 2, 2022 · 13 comments

Comments

@mmosley77
Copy link

Would it be possible to make integration with NextCloud happen? There is another mind mapping app setup to do this found here https://github.com/ACTom/files_mindmap but it would be great if users that like the My Mind app better to do the same.

@ondras
Copy link
Owner

ondras commented Mar 2, 2022

I have no idea what NextCloud is and what kind of interfacing does it offer. Perhaps it could work as a generic WebDAV/REST backend?

@joho1968
Copy link

joho1968 commented Nov 7, 2022

Nextcloud is an open and online "hub" environment for apps, file storage, contacts, etc that can be self-hosted.

https://docs.nextcloud.com/server/latest/developer_manual/

@benchonaut
Copy link

benchonaut commented Nov 7, 2022

NextCloud/OwnCloud my-mind webdav

well it seems to work "somehow" using

/remote.php/files instead of /remote.php/dav/files/username/

(

  • my-mind cant handle 201
  • but saving/ loading works
  • though the files apear under a different user than the one currently in the web session

grafik

)

@melvincarvalho
Copy link
Contributor

HTTP 201 should be fixed in: #171

It will need to run through Make before it gets into the main my-mind.js

I've been testing with my own DAV server locally and it works well, 201 doesnt give an alert. I believe NextCloud has WebDAV too, so this could be a great back end.

@ondras
Copy link
Owner

ondras commented Apr 17, 2023

It will need to run through Make before it gets into the main my-mind.js

Done, and synced to the github-hosted demoversion.

@joho1968
Copy link

On https://my-mind.github.io, if I enter "Generic WebDAV" as the storage target, and click on "Save" without entering an URL, I get this in a modal:

<html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
</body>
</html>

@melvincarvalho
Copy link
Contributor

@joho1968 you need to save your file somewhere. That will be a URL. Without it you get an error. If you have loaded the mindmap from a URL it should populate the box.

@ondras
Copy link
Owner

ondras commented Apr 17, 2023

On https://my-mind.github.io, if I enter "Generic WebDAV" as the storage target, and click on "Save" without entering an URL, I get this in a modal:

...because the demo version at GitHub is hosted via GitHub Pages; this services does not provide any WebDAV endpoints.

@melvincarvalho
Copy link
Contributor

@joho1968 I made a little webdav map that you can try:

https://my-mind.github.io/?url=https%3A%2F%2Fmelvin.solidweb.org%2Fpublic%2Fmymind%2Ftest.json%2Ftest.mymind

Saving should work

@joho1968
Copy link

@joho1968 you need to save your file somewhere. That will be a URL. Without it you get an error. If you have loaded the mindmap from a URL it should populate the box.

Yes, I understand that. Sorry, I should have been more clear in my "report". What I meant to say is that I don't think the button should do anything if the URL field is blank.

@ondras
Copy link
Owner

ondras commented Apr 17, 2023

What I meant to say is that I don't think the button should do anything if the URL field is blank.

Right, then perhaps you are reporting an unrelated issue "disable the button while the input is empty".

@joho1968
Copy link

#173

@benchonaut
Copy link

benchonaut commented May 9, 2023

one last hint:

409 Conflict ( see above screenshot) should be handled ,
either by

  • "first get then diff then push"

OR

  • "open dialog , let user choose to overwrite/rename/whatever"

.. or it might be a real pain

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

No branches or pull requests

5 participants