[TW5] IIS and SQL

108 views
Skip to first unread message

Juan Don

unread,
Sep 3, 2015, 4:32:12 AM9/3/15
to TiddlyWiki
Hey guys,

so I managed to implement my TiddlyWIki into an IIS, without really having a clue what I was doing.

But I have one Problem, I want TiddlyWiki to be editable by multiple Users at the same time, for example:

User 1 adds Tiddler 1
User 2 adds Tiddler 2
User 1 Saves File
User 2 Saves File

Usually User 2 Would overwrite Tiddler 1 since it's only saved by user 1 and not visible for user 2 at that time...

But there has to be a way right ? Do you have any suggestions on what to do there ? my first thought was creating a database and let it do like an incremental save...
so Tiddlers or Changes only get added. to the already existing ones....


My english isnt that great but I hope you can understand me without many issues.

Greetz Juan

Juan Don

unread,
Sep 3, 2015, 8:16:36 AM9/3/15
to TiddlyWiki

Multiple users can edit a document in a near-simultaneous fashion without their edits conflicting with one another. Users are automatically switched between “Editing,” “Reviewing,” and “Waiting” states. When the editing role is passed to a different user, the new editor is shown in the Collaborate window. 

When multiple users are working on a document at the same time, the Collaborate window shows which one (and only one) is actively editing, and which ones are reviewing the document or waiting for their chance to edit it. The active editor is always at the top of the list, and the “waiting” users are shown below in the order in which they’ll receive editing privileges. The editing role automatically switches to the next-in-line user when the current editor is inactive for 45 seconds. When this occurs, the new editor receives a brief notification message, and all users see a change in the Editing indicator.

If no one is in a waiting state and all current users are in Viewing mode, the first one who enters text or moves a diagram symbol will receive editing privileges. Editors can click on their status to Pass Control and return to reviewer mode, and reviewers can click on their status to Release Edit Request to return to reviewer mode and leave their place in line.


thats exactly what I want.  

Jeremy Ruston

unread,
Sep 3, 2015, 8:42:42 AM9/3/15
to TiddlyWiki
Hi Juan

I think the scenario you describe in your original post is satisfied by using TiddlyWiki running under Node.js in the client-server configuration; multiple users saving differently named tiddlers do not overwrite one another. However multiple users overwriting the same tiddler would lose data.

The client-server support is still somewhat rudimentary, without a notion of user authentication and authorisation, for example. Part of the rationale is to use the user authentication and authorisation features of an external server, such as IIS or Apache.

Can you show the configuration that you've got working?

Best wishes

Jeremy.



--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f57db037-5b76-4699-9101-fba317af277d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Juan Don

unread,
Sep 3, 2015, 8:48:14 AM9/3/15
to TiddlyWiki, jeremy...@gmail.com
I'm running Windows Server 2012 R2 (IIS).

To be honest, I didn't really do much. implementing SQL will take some time since I don't know where or how to start. I basically ask for a rough idea on how to Setup everything to work the way I want to...

Mark S.

unread,
Sep 3, 2015, 10:38:57 AM9/3/15
to TiddlyWiki
If you're using SQL and IIS, why not just use mediawiki or any of those other wikis meant for concurrent use?

With the old TWC you could, in theory with plugins, assign each person in a group their own TW. They could write to one TW. Then they could view everyone's tiddlers in one master TW that was able to view (but not edit)  the contents of the other TiddlyWikis.

Mark
Reply all
Reply to author
Forward
0 new messages