[twdev] Re: New plugin to help with server-side multi-user collaboration

2010-04-09 Thread gkdev
Thanks for the responses! I'll take another look at TiddlyWeb when I get the chance because all of this sounds extremely useful. I guess my motivation for writing the plugin came after reading this: http://tiddlywiki.org/wiki/Can_I_use_TiddlyWiki_as_a_multi-user/collaborative/server_based_wiki%3F.

[twdev] Re: New plugin to help with server-side multi-user collaboration

2010-04-08 Thread gkdev
On Apr 7, 2:12 am, FND wrote: > > the plugin works well for small groups where members trust each other > > (no one would intentionally hog the wiki). With large numbers of > > anonymous users, a different solution would be required. > > Right, I hadn't considered that. A live demo would probabl

[twdev] Re: New plugin to help with server-side multi-user collaboration

2010-04-06 Thread gkdev
I forgot to mention that I just added the plugin to http://tiddlywiki.org/wiki/Server-Side_Implementations (thanks!) On Apr 6, 10:50 pm, gkdev wrote: > On Apr 6, 3:44 am, FND wrote: > > > Nice, thanks for sharing! > > Is there a live demo available somewhere? > > I'

[twdev] Re: New plugin to help with server-side multi-user collaboration

2010-04-06 Thread gkdev
On Apr 6, 3:44 am, FND wrote: > Nice, thanks for sharing! > Is there a live demo available somewhere? I'll try to set this up if time permits. I would need every user to open a tiddlywiki with a unique name for this to work, otherwise the first user to open the demo wiki would lock it and preve

[twdev] New plugin to help with server-side multi-user collaboration

2010-04-05 Thread gkdev
Hi Everyone, After deciding against using an existing server-side implementation of Tiddlywiki, my organization decided to create a simple solution that allows users to work on a single TW document without overwriting each other's edits. At this point, only one person at a time can edit the wiki (

[twdev] Re: readOnly not setting correctly

2010-03-23 Thread gkdev
I'm sorry that I could not reply earlier. Because of circumstances I was away from my work for a while. I just tried using FND's method (refreshAll() and refreshDisplay()) and everything worked. I will post the plugin that uses this a bit later. Thank you all for your help! --I On Mar 13, 5:23 am

[twdev] Re: readOnly not setting correctly

2010-03-12 Thread gkdev
expected effect does not happen. Is there a way to prevent editing after TW has initialized? On Mar 12, 8:17 pm, gkdev wrote: > Hi Mario, > > I tried with a vanilla TW and have the same problem (I don't have any > plugins that change readOnly). I also tried using displayMessage

[twdev] Re: readOnly not setting correctly

2010-03-12 Thread gkdev
be readOnly is set somewhere else > again. > > Have you tried displayMessage() instead of alert(). > Or console.log() if available. > > What is, if data is not equal to value1 nor to value2? > > regards Mario > > On Mar 12, 1:34 pm, gkdev wrote: > > > Hi, > &

[twdev] readOnly not setting correctly

2010-03-12 Thread gkdev
Hi, I'm a new tiddlywiki user and developer trying to write my first plugin. I'm serving the tiddlywiki over http and the plugin needs to fetch a value from the server which if it is equal to "value1" causes the plugin to set readOnly = true and if it is equal to "value2" causes readOnly = false. T