Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Arlen Beiler
What is the terminal (command line) output? If you can copy in the full logs (minus the names if it matters) that would be great. Also, is the checkmark red or grey? And can you verify that your wiki is at least 5.1.15? On Thu, May 21, 2020 at 10:24 PM Morgaine O'Herne wrote: > Yes, and that's e

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Morgaine O'Herne
Yes, and that's exactly what it isn't doing. When I refresh the page, the changes are gone. It is not saving. On Thu, May 21, 2020, 5:43 AM Arlen Beiler wrote: > I'm sorry, I'm not completely following. If you open an empty single file > wiki, clicking the check mark will download a copy of the

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Arlen Beiler
I'm sorry, I'm not completely following. If you open an empty single file wiki, clicking the check mark will download a copy of the wiki at that moment. but autosave is turned on by default so it should already be saving the file back to its original location. On Wed, May 20, 2020, 23:28 Morgaine

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-20 Thread Morgaine O'Herne
Arlen and Matt, thank you for the time and labor you've put into this. When I go to the link in my browser there is an empty wiki, but when I edit it and save it, it downloads a saved copy to my Downloads folder, but does not save the original. Any help is greatly appreciated. Morgaine O'Herne

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-06 Thread 'Mark S.' via TiddlyWiki
Reading the docs, it seems like there's supposed to be an upload menu somewhere?? I don't see one on any of the pages, but maybe I've understood something. Thanks! -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group a

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
I see. It should work the same with or without TiddlyServer, so it would be better to start a new thread for this because I'm not really as familiar with this part of it. On Fri, May 1, 2020 at 5:47 PM 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > When I try to access the JSON

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread 'Mark S.' via TiddlyWiki
When I try to access the JSON file, the terminal shows this: [2020-05-01T14:44:59.021-0700] GET - 127.0.0.1 /library/recipes/library/tiddlers/%2524%253A%252Fplugins%252FMAS%252FTEST.json - ms - - repeatedly (I guess every 2 or 3 minutes). But the browser page is stuck in lo

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
What is the request log in the terminal? Can you paste the request lines in here? On Fri, May 1, 2020 at 3:07 PM 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > More testing. I added "json" as mimetype. Not sure if that was necessary. > > But, when I navigate with TS down the dir

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread 'Mark S.' via TiddlyWiki
More testing. I added "json" as mimetype. Not sure if that was necessary. But, when I navigate with TS down the directory, I find that it can't load: %24%3A%2Fplugins%2FMAS%2FTEST.json So, maybe TS doesn't like these special characters? When I changed the name to TEST.json, then even though I c

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread 'Mark S.' via TiddlyWiki
I'm trying to serve up a plugin *library*. A library is an index.html file with specified directories below it, and some tid files in those directories. Data folders do not have to be involved at all. Just the static server part of TS. I can accomplish this already by running http-server on nod

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
TiddlyServer will not serve files within data folders, that is the data folder's job. But it doesn't make sense that you would be trying to serve plugin tiddlers from within a data folder, so I'm not quite sure what you're asking. On Fri, May 1, 2020, 11:57 'Mark S.' via TiddlyWiki < tiddlywiki@g

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread 'Mark S.' via TiddlyWiki
I'm trying to have TS serve up a plugin library. Everything seems to work, except TS doesn't actually serve up the plugin tiddlers. I think the problem is that TS isn't serving up static files from sub-directories. Is there a setting that will tell TS to serve up static files more than one le

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread 'Mark S.' via TiddlyWiki
Let me try again. I'm asking a bit of a different question. How do I tell TS where to look for additional plugin libraries? Keep in mind that TS can serve up individual TW files. I would like to make a library of plugins available to those files, the way they can currently load plugins from th

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread Arlen Beiler
Here is my reply in that issue. I also include an example tiddlywiki.info Like I said, it's not a good idea to use the plugin library with data folders because they won't get upgraded when you upgrade to a newer version of TiddlyWiki. So that's probably why it's not included. https://github.com/A

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread Arlen Beiler
You're the second person to ask that in the last few days. This must be a recent change in TiddlyWiki. Normally you specify the plugins by name in the tiddlywiki.info file so they get upgraded automatically when you upgrade to a new version of TiddlyWiki. This is definitely the better way to do it

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread 'Mark S.' via TiddlyWiki
How do I tell TS where my physical plugin library and/or where do I put a collection of plugins? Thanks! On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote: > > Hello Everyone, > > I've upgraded TiddlyServer to target 5.1.22. > > @someguynamedmatt helped rearrange the build proce

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad
Arlen, I mean you may keep wikis in different places in different machines with different settings.json! You are right portability needs relative path! So, please go with your own instruction and ignore my comment. --Mohammad On Wednesday, April 29, 2020 at 12:49:14 AM UTC+4:30, Arlen Beiler w

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Riz
Try adding "./" to node_modules too. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web v

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
> > Minor comment: it is better to use the full path for index.js > Interesting. Where did you run into this? I'm curious because it would seem preferable to have a relative path for portable installs, although if you don't need to specify a drive letter on windows, it should work on at least wind

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad
> > > > >- Create a new folder and cd into the folder. >- Run "npm install tiddlyserver". Notice there is no -g option there. >- Create your bash or batch file with the command > - "node node_modules/tiddlyserver/index.js --config settings.json" >- You can also download the N

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
After doing it myself, I just realized that it is going to be way easier to use NPM to create the portable install. - Create a new folder and cd into the folder. - Run "npm install tiddlyserver". Notice there is no -g option there. - Create your bash or batch file with the command

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
There are various changes under the hood, and I assume NodeJS is improving as well, so possibly. Using a separate XML file for the tree is a feature that I plan to implement but I have not yet. I just thought the semantics of XML would be less confusing than JSON. You can currently specify a separa

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread 'Mark S.' via TiddlyWiki
On Tuesday, April 28, 2020 at 11:39:17 AM UTC-7, Arlen Beiler wrote: > > I'm very sure that was a typo, but I left it since that was how Mohammad > wrote it. In any case, TiddlyServer doesn't care what the extension is, it > expects a JSON file. > In your directions (unless they were changed

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread 'Mark S.' via TiddlyWiki
Those are nice directions, Mohammad. On Tuesday, April 28, 2020 at 8:35:36 AM UTC-7, Mohammad wrote: > > Arlen > I tested on Windows 10. It works fine! > Just one issue, It cannot create the backups folder and requires to have > that folder in advance! > > Assume you have a working Node.js on y

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad
Hi Mark, Oops, It was a typo! hson --> json The correct one is node d:\TiddlyServer\index.js --config c:\mySandbox\settings.json --Mohammad -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving ema

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad
Arlen, Yes, node d:\TiddlyServer\index.js --config c:\mySandbox\settings.json is the correct one! Sorry for typo! --Mohammad On Tuesday, April 28, 2020 at 10:33:26 PM UTC+4:30, Arlen Beiler wrote: > > It should be *node d:\TiddlyServer\index.js --config > c:\mySandbox\settings.hson* > > On

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
I'm very sure that was a typo, but I left it since that was how Mohammad wrote it. In any case, TiddlyServer doesn't care what the extension is, it expects a JSON file. On Tue, Apr 28, 2020 at 2:37 PM 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > What is a hson file? > > On Tue

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread 'Mark S.' via TiddlyWiki
What is a hson file? On Tuesday, April 28, 2020 at 11:03:26 AM UTC-7, Arlen Beiler wrote: > > It should be *node d:\TiddlyServer\index.js --config > c:\mySandbox\settings.hson* > > On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani wrote: > >> Arlen >> I tested on Windows 10. It works fine! >> J

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
It should be *node d:\TiddlyServer\index.js --config c:\mySandbox\settings.hson* On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani < mohammad.rahm...@gmail.com> wrote: > Arlen > I tested on Windows 10. It works fine! > Just one issue, It cannot create the backups folder and requires to have > t

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad Rahmani
Arlen I tested on Windows 10. It works fine! Just one issue, It cannot create the backups folder and requires to have that folder in advance! Assume you have a working Node.js on your machine, follow this setup: 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder 2. downlo

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
Here is the folder structure. Hopefully this helps. Let me know if you have any further questions. TiddlyServer (you can rename this whatever you like) This is the package folder from tiddlyserver-* TiddlyServer/node_modules This is a folder you create TiddlyServer/node_modules/tiddlywiki

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-27 Thread Scott Kingery
Hi Arlen, I have Tiddlyserver working on a previous version and decided to do a fresh install. I like making it portable so I tried to do that again this time. Installing without NPM is a little wonky right now. I went here: https://github.com/Arlen22/TiddlyServer/releases/latest And grabbed: Ti

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread Arlen Beiler
I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is my getting started guide for 2.1 and up. https://arlen22.github.io/tiddlyserver/docs/gettingstarted You can just copy the tree property over, but the other settings are different for the most part. Arlen On Sun, Apr 26, 2020

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread 'Mark S.' via TiddlyWiki
The startup didn't like my old 2.0 settings file. The upgrade instructions say to use example-settings.json file as a starting point. But there are only two json files in the directories (package.json), and neither are example-settings.json. On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen B

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread Arlen Beiler
To run it portable, use "node index.js" instead of the "tiddlyserver" command. (sorry, forgot to mention the name change). tiddlyserver-* contains a package folder which should be renamed TiddlyServer. tiddlywiki-production-* contains a package folder which should become TiddlyServer/node_module

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-25 Thread 'Mark S.' via TiddlyWiki
I'm running Linux, but like Mohammad I don't see a server.js file in the unzipped packages. On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote: > > Hello Everyone, > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe f

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-25 Thread 'Mark S.' via TiddlyWiki
Because each zip file extracts with "package" dir, I'm lost what the final structure is supposed to be after the two packages are combined. Could you give a quick (text based) diagram of the structure? ~/TiddlyServer/node_modules/package/ or ~/TiddlyServer/node_modules/tiddlywiki-production/

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-25 Thread Mohammad
On Saturday, April 25, 2020 at 1:09:44 AM UTC+4:30, Arlen Beiler wrote: > > Hello Everyone, > > I've upgraded TiddlyServer to target 5.1.22. > > @someguynamedmatt helped rearrange the build process, resulting in a clean > production build. So, I've now published TiddlyServer to npm and you can

[tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-24 Thread Mohammad
Many thanks Arlen! I like the portable feature of Tiddlyserver. I go though and will let you know of any comment. --Mohammad On Saturday, April 25, 2020 at 1:09:44 AM UTC+4:30, Arlen Beiler wrote: > > Hello Everyone, > > I've upgraded TiddlyServer to target 5.1.22. > > @someguynamedmatt helped