-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
point organice to a read-only url, eg local file:// #940
Comments
Sure, apart from it not being technically possible. However, there's ways to check out organice:
|
Just tried fastmail, from the console log it seems fastmail's CORS policy stops it from being used by organice (you would need to access it from a browser that doesn't check CORS policies). Would be nice if organice mentioned the CORS failure, but maybe that's difficult to know from js. |
@unhammer There is extensive documentation on how WebDAV as a protocol works, including CORS: https://organice.200ok.ch/documentation.html#faq_webdav |
The WebDAV/CORS documentation in the FAQ is indeed very extensive. I suppose the WebDAV failure message "There was an error retrieving files!" could potentially point the user to the excellent diagnostic suggestions at https://organice.200ok.ch/documentation.html#faq_webdav which do mention why "organice cannot show you a really semantic error message on" WebDAV access failures. It seems the message is generated in 'getDirectoryListing', which is not specific to the WebDAV sync backend. organice/src/actions/sync_backend.js Line 83 in a7f57ce
|
I just gave organice a try, to see how handy it may be for letting me browse and search existing org content without editing it.
To do this, I wound up creating a gitlab repo, since my attempt to read via fastmail's webdav interface, as well as my attempt to read via local webdav, returned a failure message that didn't include any details; and I seldom use dropbox.
I think that for initially trying out organice on a desktop/laptop, it would be very handy to be able to point organice to a URL at which to find an org file, eg
https://raw.githubusercontent.com/xenodium/xenodium.github.io/master/index.org
or
file:///home/ashmansk/org/test.org
Alternatively, one could point to a directory, possibly containing .organice-config.json as well as a set of org files.
Is this a feature that would have wider appeal?
The text was updated successfully, but these errors were encountered: