tiddlyhost / tiddlyhost-com

Rails application for creating and hosting TiddlyWiki sites, plus resources for deploying it to https://tiddlyhost.com/
Other
184 stars 17 forks source link

Cannot save from downloaded site #175

Closed professionalPeter closed 3 years ago

professionalPeter commented 3 years ago

Creating a site, downloading it and immediately trying to save does not appear to work. I've followed the directions linked below, but have not been able to get any changes to save back to TiddlyHost from a downloaded file.

Saving configuration instructions: https://github.com/simonbaird/tiddlyhost/wiki/TiddlySpot-Saver-configuration-for-Tiddlyhost-and-Tiddlyspot

Repro steps

  1. Create site by entering a name and checking private
  2. Download the newly created site (e.g. foo.tiddlyhost.com)
  3. Open downloaded file in browser
  4. Create and save new tiddler
  5. Click Save Wiki button in the sidebar
  6. Enter URL (e.g. https://foo.tiddlyhost.com) to newly created site in "Server URL" input box under Control Panel | Saving | TiddlySpot Saver
  7. Click Save Wiki button in the sidebar
  8. Visit newly created site in browser
  9. Open the "All" tab

Expected Results

The new tiddler should be listed in the All tab

Observed Results

It's not there and appears that the downloaded file was never able to upload

simonbaird commented 3 years ago

You can't save directly to Tiddlyhost from a locally downloaded site, so I think you're describing expected behaviour. (It's because web browsers' security policies don't allow it.)

But you can manually upload the locally modified site by using the "Upload" option from the "Actions" menu at https://tiddlyhost.com/sites .

professionalPeter commented 3 years ago

Aha, yes I did misunderstand the designed behavior. Am I right in thinking this limitation applies to Tiddly Desktop as well?

Thanks for the clarification

simonbaird commented 3 years ago

I don't know about Tiddly Desktop, sorry.

simonbaird commented 3 years ago

Let's close this issue.