Discussion:
[tw] [TW5] Saving on Sharepoint Online
(too old to reply)
'Thomas Windisch' via TiddlyWiki
2017-02-16 01:03:56 UTC
Permalink
Raw Message
I have a TW (*5.1.13*) hosted in a Document Library on SharePoint Online.

[I had to rename the file to *.aspx as SP does not serve html files as web
pages but l like regular files to download]

The interesting thing is that I just realized that it saves itself!

I use FreeBSD 11 and Firefox 51.0.1 without any plug-ins.

When I press 'Save' after I made a change it tells me affirmatively that it
did so and the next time I open it in Firefox (or on another device) the
change is still there.

I know that SharePoint supports plugins and allows JS to manipulate Lists
but it is not a local file nevertheless; it somehow seems wrong.

Does anyone have a clue why I can now save the wiki online where a while
ago I would have needed to download it and uploaded it again?

Tom
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/452a2dfc-bf93-4058-940a-d38b69fcb7fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Douglas Counts
2017-02-16 09:35:09 UTC
Permalink
Raw Message
Hey Thomas,

You mentioned that you are hosting the wiki on a SharePoint site.

So assuming that you have an IT Admin at that location, they may have
changed the file saving permissions for you.

Most problems hosting anything either on the Internet or an Intranet are
permissions related.

-Doug
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/096e2bc4-e304-4370-ba53-04d0a3370820%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Ruston
2017-02-16 10:36:01 UTC
Permalink
Raw Message
Hi Thomas
Post by 'Thomas Windisch' via TiddlyWiki
The interesting thing is that I just realized that it saves itself!
That is indeed extremely interesting. I think what’s going on is that Sharepoint Online supports the WebDAV protocol, which is a simple (and ancient) protocol built on HTTP that extends it to support typical file system sharing operations. In particular, there is a standard operation that permits TiddlyWiki to save itself over its own HTML file (with the right credentials). My guess is that you weren’t asked for credentials because Windows is using your Active Directory credentials.

WebDAV support is part of the TiddlyWiki core:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/savers/put.js

Googling suggests that WebDAV is also supported by Microsoft’s OneDrive product. That would be pretty amazing if we could get it to work: it would mean a TiddlySpot-style experience combined with the functionality of Dropbox.

I’d be grateful if anyone with Sharepoint experience can contribute some documentation for tw.com on this.

Best wishes

Jeremy
Post by 'Thomas Windisch' via TiddlyWiki
I use FreeBSD 11 and Firefox 51.0.1 without any plug-ins.
When I press 'Save' after I made a change it tells me affirmatively that it did so and the next time I open it in Firefox (or on another device) the change is still there.
I know that SharePoint supports plugins and allows JS to manipulate Lists but it is not a local file nevertheless; it somehow seems wrong.
Does anyone have a clue why I can now save the wiki online where a while ago I would have needed to download it and uploaded it again?
Tom
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
Visit this group at https://groups.google.com/group/tiddlywiki <https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/452a2dfc-bf93-4058-940a-d38b69fcb7fe%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/452a2dfc-bf93-4058-940a-d38b69fcb7fe%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ABE153F1-AEF0-481D-9881-4D34BDF0F1F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
'Thomas Windisch' via TiddlyWiki
2017-02-16 15:07:22 UTC
Permalink
Raw Message
Unfortunately it doesn't works with 'OneDrive.' It either tries to download
the file or displays a preview of the source code. This is a restriction
imposed by Microsoft, while it is technically possible that they cloud
change it, they probably won't.

However it does works with 'OneDrive for Business,' which is a different,
separate product and basically is a SharePoint list with a custom interface.

(To clarify, I am not using Windows; but Office365 (which includes Azure
Active Directory) inside my web browser)

However I would be cautious with SharePoint Online, as I do not remember
changing any file permissions and a few months ago it wasn't saving inside
the web browser. Therefore Microsoft must have changed/updated something.
And if they lifted some restriction then they can also undo it when they
wish.


I also had a quick look at the Wikipedia page for WebDAV.

https://en.wikipedia.org/wiki/WebDAV

So you are saying that all one needs is a server (like Apache) that
supports WebDAV and it will save over its own HTML file, possibly after
entering credentials, right?

Tom
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d31b49d-51af-45d3-8a5e-6c51f11ebe1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Ruston
2017-02-16 15:13:01 UTC
Permalink
Raw Message
Hi Tom
Unfortunately it doesn't works with 'OneDrive.' It either tries to download the file or displays a preview of the source code. This is a restriction imposed by Microsoft, while it is technically possible that they cloud change it, they probably won't.
However it does works with 'OneDrive for Business,' which is a different, separate product and basically is a SharePoint list with a custom interface.
(To clarify, I am not using Windows; but Office365 (which includes Azure Active Directory) inside my web browser)
Thanks for the additional information.
However I would be cautious with SharePoint Online, as I do not remember changing any file permissions and a few months ago it wasn't saving inside the web browser. Therefore Microsoft must have changed/updated something. And if they lifted some restriction then they can also undo it when they wish.
Are those file permissions something that end users can change? Saving being enabled by default might well be a poor option for many situations.
So you are saying that all one needs is a server (like Apache) that supports WebDAV and it will save over its own HTML file, possibly after entering credentials, right?
Yes, that’s correct. It’s pretty cool, albeit a shame that it is not more widely supported (eg by Dropbox)

Best wishes

Jeremy
Tom
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
Visit this group at https://groups.google.com/group/tiddlywiki <https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d31b49d-51af-45d3-8a5e-6c51f11ebe1e%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/0d31b49d-51af-45d3-8a5e-6c51f11ebe1e%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/71D98644-763A-4686-A685-7FDA59A3FC81%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Josiah
2017-02-16 15:45:54 UTC
Permalink
Raw Message
Just a footnote

WebDAV is nice. I've used it in the past with drag & drop into a local
directory that then securely synced files onto the host. But my hosting
service now requires extra payment for access to it. My impression is
WebDAV, because of Dropboxes & Drives has kinda got a bit sidelined. As an
idiot (:-)) I found it very easy to use and robust.
Post by Jeremy Ruston
Hi Tom
Unfortunately it doesn't works with 'OneDrive.' It either tries to
download the file or displays a preview of the source code. This is a
restriction imposed by Microsoft, while it is technically possible that
they cloud change it, they probably won't.
However it does works with 'OneDrive for Business,' which is a different,
separate product and basically is a SharePoint list with a custom interface.
(To clarify, I am not using Windows; but Office365 (which includes Azure
Active Directory) inside my web browser)
Thanks for the additional information.
However I would be cautious with SharePoint Online, as I do not remember
changing any file permissions and a few months ago it wasn't saving inside
the web browser. Therefore Microsoft must have changed/updated something.
And if they lifted some restriction then they can also undo it when they
wish.
Are those file permissions something that end users can change? Saving
being enabled by default might well be a poor option for many situations.
So you are saying that all one needs is a server (like Apache) that
supports WebDAV and it will save over its own HTML file, possibly after
entering credentials, right?
Yes, that’s correct. It’s pretty cool, albeit a shame that it is not more
widely supported (eg by Dropbox)
Best wishes
Jeremy
Tom
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/0d31b49d-51af-45d3-8a5e-6c51f11ebe1e%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/0d31b49d-51af-45d3-8a5e-6c51f11ebe1e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d691a1b9-ad34-44ce-886b-44bdda943d68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Thomas Windisch' via TiddlyWiki
2017-02-16 17:01:09 UTC
Permalink
Raw Message
Post by 'Thomas Windisch' via TiddlyWiki
However I would be cautious with SharePoint Online, as I do not remember
changing any file permissions and a few months ago it wasn't saving inside
the web browser. Therefore Microsoft must have changed/updated something.
And if they lifted some restriction then they can also undo it when they
wish.
Are those file permissions something that end users can change? Saving
being enabled by default might well be a poor option for many situations.
By restriction I meant handling of files; a better word would be added
functionality. For example a Word file would be opened in Word Online or
you could choose to download it but an html file will either be previewed
as source code or downloaded but never served as a web page, which is why
if one wishes to serve a web page it needs to be renamed *.html --> *.aspx.
What I meant was that as it is cloud software or managed they can
add/remove/change functionality at any point in time. And of course there
is always a non-zero chance all your data is wiped tomorrow/next week/next
year form their servers without notice.

Now the funny part is that I can share about any file (with a
guest/antonymous link) but apparently for *.aspx files the user needs to
have an Office365 account on the same tenant/domain and login. Which means
that one cannot share it with any other person unless said person also has
also an account; or rename it back to *.html (but the you can't view it
online.)

I can't confirm whether giving only read/view permissions will prohibit the
'save' function but it should do just that.

Tom
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1a703b57-76a1-4d7d-8a5f-0989a12af924%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
tony
2017-02-16 18:06:53 UTC
Permalink
Raw Message
Hi

Thomas is correct.
TW5 saves under OneDrive for Business and there is version history so much so I'm considering taking out my TW5 file and rsync to the local ODFB folder as needed.
The basic operation is user drops their TW5 file into their local ODFB folder, done. No admin privileges or extension make changes needed.

You can also mount your ODFB cloud folder as a drive with:

$net use 'https://yrdomain-my. sharepoint.com/personal/yrusername/'

Substitute domain and username as appropriate

Not much of a defense but I encrypt my TW5

Given that MS is slow on releases and deprecates features best to keep a backup somewhere else too

Best,
tony
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c560cf6d-3145-47ff-97eb-f7a19570b767%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
tony
2017-02-16 18:10:35 UTC
Permalink
Raw Message
Sorry forgot to add a drive letter:

$net use Y: 'https://yrdomain-my. sharepoint.com/personal/yrusername/'
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d7c54277-2a85-4e1e-8050-fcad60e28b19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Archizona V
2017-02-17 06:38:01 UTC
Permalink
Raw Message
DAV JS tiddler make a great red error if I try to host tw5 with non English domain. For example on ЌПйсайт.рф after this error tw5 stop working, and l have to delete one line in JS tiddler to disable DAV.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/94194cec-d66d-47ac-85d0-22eef3cc1fdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Lost Admin
2017-03-22 19:48:15 UTC
Permalink
Raw Message
I thought I would give this a shot at work. Since we have an internal team
sharepoint and I can create folder/files etc for my own use.

Like indicated earlier in this thread, I had to re-name it to .aspx to get
it to show-up in the browser as one would want a tiddlywiki to do.

Unfortunately, auto-save (closing an edit of a tiddler) didn't save
anything (but the edit area closed fine) and manually saving performed a
local save. Looks like our internal Sharepoint isn't playing webdav nicely.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fde244c6-b316-4f1e-bf9a-669c87da740b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Miroslav Kalous
2017-10-04 14:41:08 UTC
Permalink
Raw Message
Hi everyone.

I'd like to ask if there are still some users of Onedrive/Sharepoint +
Tiddlywiki (with save working)? If so, would you be willing to help with
setting things up (on my side, I am willing to pay for help).

I have tried to do so myself but it seems I was not able to make custom
scripting work. For this reason, I am still not able to open html (saved as
.aspx) file. I have exchanged plenty of emails with Microsoft support,
changed relevant settings in web-app settings, tried powershell, but to no
avail.

Thanks,
Miroslav
Post by Lost Admin
I thought I would give this a shot at work. Since we have an internal team
sharepoint and I can create folder/files etc for my own use.
Like indicated earlier in this thread, I had to re-name it to .aspx to get
it to show-up in the browser as one would want a tiddlywiki to do.
Unfortunately, auto-save (closing an edit of a tiddler) didn't save
anything (but the edit area closed fine) and manually saving performed a
local save. Looks like our internal Sharepoint isn't playing webdav nicely.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c4dbb926-f047-43bf-93d5-9369edaf8a43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...