Comments (13)
It will need to run through Make before it gets into the main my-mind.js
Done, and synced to the github-hosted demoversion.
from my-mind.
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.
from my-mind.
@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.
from my-mind.
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".
from my-mind.
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?
from my-mind.
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/
from my-mind.
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
)
from my-mind.
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>
from my-mind.
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.
from my-mind.
@joho1968 I made a little webdav map that you can try:
Saving should work
from my-mind.
@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.
from my-mind.
from my-mind.
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
from my-mind.
Related Issues (20)
- Message at bottom of screen HOT 4
- Page does not load correctly when opening index.html locally HOT 6
- [Feature] Dockerize this app HOT 4
- Pinch to zoom HOT 1
- Google analytics and other javascript files HOT 1
- Invalid download link in README.md HOT 2
- To line break on the last line, need to press Enter twice. HOT 1
- [FEATURE]Add a "onbeforeunload" event to prevent the window from being closed by mistake. HOT 1
- The webdav address cannot be entered. HOT 4
- Breakage of connection harms others HOT 2
- Save URI only populates directory when URL is set in query string HOT 3
- [question] how to merge a diff when something has changed HOT 2
- webdav backend should not error on return code 201 HOT 2
- Disable "Save" and "Load" button when required input is missing HOT 2
- [concept] AI Copilot HOT 7
- Taylor Swift should message me so I can give her everything she wants
- urls in items HOT 1
- Copy/cut HOT 1
- How do increase distance between two item? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from my-mind.