EmailDiscussions.com

EmailDiscussions.com (http://www.emaildiscussions.com/index.php)
-   FastMail Forum (http://www.emaildiscussions.com/forumdisplay.php?f=27)
-   -   Linux + Firefox Quantum + TiddlyWiki + WebDAV (http://www.emaildiscussions.com/showthread.php?t=73254)

PON 9 Jan 2018 11:26 PM

Linux + Firefox Quantum + TiddlyWiki + WebDAV
 
Has anyone got this working?

I have used TiddlyWiki with Firefox and webDAV on Windows for a long time, mainly with my NAS. I'm now using Linux Mint and dealing with a "helpful" update to Firefox 57: the latest version of Firefox constrains file saves to the local Downloads folder. I can save to a NAS directory by symlinking a subdirectory for wikis but then other downloads get redirected as well unless I reset this manually via the browser's Options page, not someone one wants to be fiddling with constantly.

First, I need to be able to open an HTML file as a web page from a webDAV file space (connecting with File, Connect from my file manager -- Nemo, in Cinnamon, works ok but doesn't provide for updating via HTTP/S).

If I try to view a file in my Fastmail file storage using a browser I get a plain text file. If I try to access it via https://myfiles.fastmail.com I now just get a downloaded HTML page when I log in (same with Chrome).

One workaround would be to downgrade to an old version of Firefox or run another browser, such as Waterfox, but if others have any suggestions I'd interested to hear them.

TiddlyWiki offers a variety of back-end possibilities now, which detract a bit from its previous simplicity -- an entire wiki in a single HTML file<sigh>.

rnkn 11 Jan 2018 09:50 PM

It won't work because TiddlyWiki is a Java app and FastMail file storage only permits static site hosting (i.e. no server-side code).

PON 12 Jan 2018 04:15 AM

Not sure any server side interaction is required, just opening an HTML file and saving it. It used to work, and should still work, with older versions of Firefox -- AFAIK anyway.

I used to be able to navigate a Fastmail webdav folder with my web browser but now it just downloads the directory listing. Frying other fish at the moment, but I need to figure out what's changed and if I can get back to the status quo ante.

rnkn 15 Jan 2018 09:04 PM

Do you mean you're running TiddlyWiki from a local directory and syncing the HTML file up to FastMail file storage via WebDAV? This should work, but you'll never be able to edit the HTML remotely, i.e. served from FastMail's file storage website.

TiddlyWiki works by JavaScript in the served HTML file calling server-side code (old version used Java, new version uses Node.js) to write the remote HTML file on the server.

PON 20 Jan 2018 07:12 AM

Yes. That's what I do now. Save to a subdirectory in a Download folder that is symlinked to a remote webDAV folder.

JeremyNicoll 20 Jan 2018 08:44 PM

PON said:
I'm now using Linux Mint and dealing with a "helpful" update to Firefox 57: the latest version of Firefox constrains file saves to the local Downloads folder.

That's not the case on the Windows version of FF v57.0.4; there's still an option to be asked every time where a file should be downloaded to. I'm curious why FF on linux would be different. Maybe it's something to do with (and circumventable by) options described at:
http://www.morbo.org/2017/11/linux-s...ements-in.html


If I try to view a file in my Fastmail file storage using a browser I get a plain text file.

I don't see that on pre-existing .html files I have in FM's fle storage, viewed (by clicking the View button on the file-storage folder viewer page). Has the file got the right 'type' set [text/html]? - you can change it via the 'Edit' button.


All times are GMT +9. The time now is 12:50 PM.


Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy