On Saturday, September 26, 2020 at 4:03:54 PM UTC-7, Sean Hankins wrote: > > Hi! I'm having an interesting problem with my TW5 installation having to > do with the use of multiple anonymous users and a single editing user. > Whether logged in or using anonymously, when a user opens a Tiddly on their > local web browser, it opens the same one in all other users' instances as > well. This also happens when logged in as an editing user and editing; an > anonymous user (read-only) will get an editable Tiddly opened in their > browser, although any changes aren't saved permanently.
Caveat: *I don't use the nodeJS server setup, so most of what I say below is just a guess...* Nearly every activity in TiddlyWiki has some effect on one or more underlying system tiddlers, used to track the current "state" of the interface. For example, whenever you view or edit a tiddler, the "list" field in $:/StoryList is updated. When using nodeJS, all tiddler changes are synced to the corresponding .tid files stored on your server. Then, because those .tid files have been updated, they are being pushed to any other users that are connected to the same nodeJS server. To work around this, try disabling the default "Autosave" setting to prevent your activities from being actively synced to the server. To turn off this setting, go to $:/ControlPanel, Saving, General tab and choose "Do not save changes automatically". If this works, then nothing you change in your instance of TiddlyWiki will be written to the server until you use the "Save changes" button in the Sidebar. Let me know how it goes... -e > > I have TW5 on my little Linux server that I'm hosting some other node > services on. It's configured to run on port 8080, whereas my other services > occupy port 80. I've poked the appropriate port holes through my router and > I can access the TW5 from anywhere with my IP (e.g., > http://xx.xx.xx.xx:8080). While testing I was on a computer on a home > network 10 miles from the server. I've tested multiple computers on the > same internal network accessing my remote TW5 server, all experience cross > client requests. I also tested using my phone on the data network (not on > the same IP or home network, WiFi off). Opening a Tiddly (or more) on the > phone will also open on other computers. > > The installation is vanilla with just the following start up parameters: > >> tiddlywiki World --listen port=8080 host=10.0.0.2 > credentials=worldUsers.csv anon-username="Adventurer" "readers=(anon)" > writers=admin > The creds file (worldUsers.csv): > >>username,password > >>admin,pswrd > > > This issue baffled someone in the TW5 unofficial Discord, and they > suggested I come here, but I still don't know if this is a configuration > issue, installation issue, bug or working as designed. My idea is to have > multiple people use it in a read-only fashion and have only one editing > user, but if it's going disrupt one user having another user browse, maybe > it's just not the right tool, which is too bad, because I love this tool. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a2035964-4724-4d5b-997c-e2b6b52c6fcco%40googlegroups.com.

