(TW5) TiddlyWiki on Sandstorm

286 views
Skip to first unread message

Thierry Pasquier

unread,
Aug 25, 2016, 5:06:30 AM8/25/16
to TiddlyWiki
I started working on the implementation of TW5 on Sandstorm.

It
seems simple enough to begin.
However, I found the first bug...
The TW markups are not inserted in the editing area when I click on edit buttons whith Firefox (48.01, OSX), but it's working fine with Chrome (OSX)

You can test here with anonymous access

https://emf.sandcats.io/shared/-hLR5SBEVgmw2QoJNDXUEmfh1Nas0LEPpio4cmOlX06

If you have a Sandstorm installation, you can download the TiddlyWiki spk experimental package from this address and test it :
https://emf.sandcats.io/shared/qjVy0GXKqR0KRqZQmU8seJGY1gcZb6R-bzLHCOALemg

Sandstorm is an open source platform for personal servers.

Sandstorm lets you run your own server and install apps like EtherCalc, GitLab, Etherpad, Wekan, and more as easily as you'd install apps on your phone.

Sandstorm handles login & access control, and can run any web app that runs on Linux, though some apps may need changes to work within the Sandstorm sandbox.


https://sandstorm.io/

Thierry

Jeremy Ruston

unread,
Aug 25, 2016, 10:16:03 AM8/25/16
to tiddl...@googlegroups.com
Hi Thierry


On 25 Aug 2016, at 10:06, Thierry Pasquier <thierry....@emf.ccsti.eu> wrote:

I started working on the implementation of TW5 on Sandstorm.

Is it the same implementation discussed in this thread over on GitHub?


It seems simple enough to begin. However, I found the first bug...
The TW markups are not inserted in the editing area when I click on edit buttons whith Firefox (48.01, OSX), but it's working fine with Chrome (OSX)

You can test here with anonymous access

https://emf.sandcats.io/shared/-hLR5SBEVgmw2QoJNDXUEmfh1Nas0LEPpio4cmOlX06

I can confirm seeing the problem you describe. I did some digging and it seems that TW5 is being displayed in an iframe at the URL you’ve given. If I open the src of that iframe directly in a new Firefox tab (https://d4b20b08facdd5d2b1e411fc8f807397.emf.sandcats.io/), then the editor works correctly.

So, the problem is evidently introduced by the Sandstorm toolbar. The next step would be to experiment to see if the bug occurs when TW5 is hosted in any iframe, or just in this specific configuration.

Sandstorm is an open source platform for personal servers. 

Sandstorm is a terrific system, and I’d love to see it working well with TiddlyWiki.

Best wishes

Jeremy

Sandstorm lets you run your own server and install apps like EtherCalc, GitLab, Etherpad, Wekan, and more as easily as you'd install apps on your phone.

Sandstorm handles login & access control, and can run any web app that runs on Linux, though some apps may need changes to work within the Sandstorm sandbox.


https://sandstorm.io/

Thierry

--
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 tiddl...@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/9793f773-8eba-4c26-8137-3c0a8ca3109c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark S.

unread,
Aug 25, 2016, 10:48:37 AM8/25/16
to TiddlyWiki
What is the advantage of using TW5 on sandstorm, as opposed to using it on a small local web server?

Thanks,
Mark

Thierry Pasquier

unread,
Aug 25, 2016, 12:11:39 PM8/25/16
to TiddlyWiki
Hi Jeremy


Le jeudi 25 août 2016 16:16:03 UTC+2, Jeremy Ruston a écrit :

Is it the same implementation discussed in this thread over on GitHub?

I had not seen this thread. And so, I did not know the work of Joonas. The identified problem is now fixed.
https://github.com/sandstorm-io/sandstorm/issues/2160

I'm really beginner and my goal is to better understand Sandstorm. I am also a fan of the principle of the wiki, I have used TWiki / Foswiki for my work in a center of scientific culture. Today, I'm considering using TiddlyWiki 5 associated with Sandstorm and other applications available.
 

I can confirm seeing the problem you describe. I did some digging and it seems that TW5 is being displayed in an iframe at the URL you’ve given. If I open the src of that iframe directly in a new Firefox tab (https://d4b20b08facdd5d2b1e411fc8f807397.emf.sandcats.io/), then the editor works correctly.

So, the problem is evidently introduced by the Sandstorm toolbar. The next step would be to experiment to see if the bug occurs when TW5 is hosted in any iframe, or just in this specific configuration.

I tested locally, outside Sandstorm, the problem occurs when TW5 (node.js mode) is embedded inside an iframe


Sandstorm is a terrific system, and I’d love to see it working well with TiddlyWiki.

I agree

regards

Thierry

Thierry Pasquier

unread,
Aug 25, 2016, 1:42:44 PM8/25/16
to TiddlyWiki
Hi Mark


Le jeudi 25 août 2016 16:48:37 UTC+2, Mark S. a écrit :
What is the advantage of using TW5 on sandstorm, as opposed to using it on a small local web server?

IMHO the main advantages are that users can generate as many as he wishes TW5 and other documents / applications quickly and easily share them.

Cf all apps
https://apps.sandstorm.io/

You can try a quick demo on Sandstorm site
https://sandstorm.io/


thierry

Thierry Pasquier

unread,
Aug 26, 2016, 9:16:30 AM8/26/16
to TiddlyWiki
Jeremy

Le jeudi 25 août 2016 16:16:03 UTC+2, Jeremy Ruston a écrit :
I can confirm seeing the problem you describe. I did some digging and it seems that TW5 is being displayed in an iframe at the URL you’ve given. If I open the src of that iframe directly in a new Firefox tab (https://d4b20b08facdd5d2b1e411fc8f807397.emf.sandcats.io/), then the editor works correctly.

So, the problem is evidently introduced by the Sandstorm toolbar. The next step would be to experiment to see if the bug occurs when TW5 is hosted in any iframe, or just in this specific configuration.

There's a similar bug, but only inside Sandstorm with export (one tiddler or all). With Firefox, the "Save as" box doesn't appear, however, the tooltip "Saved wiki" is visible a few seconds at the top right.

thierry

Jeremy Ruston

unread,
Aug 26, 2016, 9:45:55 AM8/26/16
to tiddl...@googlegroups.com
Hi Thierry

There's a similar bug, but only inside Sandstorm with export (one tiddler or all). With Firefox, the "Save as" box doesn't appear, however, the tooltip "Saved wiki" is visible a few seconds at the top right.

Does this bug appear when hosting tiddlywiki in a regular iframe?

Best wishes

Jeremy


thierry

--
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 tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Thierry Pasquier

unread,
Aug 26, 2016, 10:01:32 AM8/26/16
to TiddlyWiki
Jeremy


Le vendredi 26 août 2016 15:45:55 UTC+2, Jeremy Ruston a écrit :

There's a similar bug, but only inside Sandstorm with export (one tiddler or all). With Firefox, the "Save as" box doesn't appear, however, the tooltip "Saved wiki" is visible a few seconds at the top right.

Does this bug appear when hosting tiddlywiki in a regular iframe?
 
no, only in Sandtorm,
but, again the same way that for editor bug, it works correctly if I open the content of that iframe directly in a new Firefox tab  

regards
Thierry
 

Thierry Pasquier

unread,
Aug 30, 2016, 5:21:42 PM8/30/16
to TiddlyWiki

Hi

With Joonas which began this work in early summer, we continued packaging TiddlyWiki5 as a sandstorm.io app.

I invite you to consult the discussions about the issues raised by the need to maintain the application synced with the development of TW5 in Sandstorm marketplace here :  https://github.com/jeau/tiddlywiki-sandstorm/issues/1

Joonas and me are not very familiar to sign with pgp tu publish this app in Sandstorm marketplace. Although Joonas feels to understand the publishing process, we believe that the proposal of Tony late last year on the Google Group TiddlyWiki is interesting :

After TiddlyWiki is packaged as an app, I think Jeremy or another TW representative developer can sign off as the upstream author as Sandstorm is open to adding additional licenses like BSD3.

https://groups.google.com/d/msg/tiddlywiki/JArRJpuYWkI/SUkqBM2VBAAJ
Before reading this proposal, I have chosen Apache3 (and not BSD3) which seems is the Sandstorm dev's choice.

You can test again this instance of TiddlyWiki :
https://emf.sandcats.io/shared/pDY8n-NhQdo_7RoFK_Lvdg00HXUVB1YLbTf5o086ZoB

Even download the last TW5 package to install on you own Sandstorm server here :
https://emf.sandcats.io/shared/mYBYMCE6E3IyyfPKTtT99lzavLngN5_g6qQM5I2irA8

Code and issues available here : https://github.com/jeau/tiddlywiki-sandstorm

Feel free to test and correct this work

Best regards

Thierry

Ste Wilson

unread,
Oct 25, 2016, 12:55:16 PM10/25/16
to TiddlyWiki
Was any progress made on this? It seems like a really easy way to use servers. For example I can easily play around with Jupiter without having to crash my pi every week or so and I've given up trying modems for now but if it was as easy logging into sandstorm.. G

Stephen

stephenteacher.tiddlyspot.com

Ste Wilson

unread,
Oct 25, 2016, 1:26:50 PM10/25/16
to TiddlyWiki
Nodejs not modems. Stupid auto correct..
Reply all
Reply to author
Forward
0 new messages