[tw5] Re: TiddlyServer

2023-05-12 Thread Ross Table
OH, and one other thing I found the hard way, turn off the auto save. I 
found that the constant saving was causing problems and I was much better 
off with the manual save. And Thankyou Télumire! I didnt know you could do 
that!

On Thursday, May 11, 2023 at 10:12:15 PM UTC+1 Télumire wrote:

> And for a better experience using GitHub I suggest you use the external 
> core setup, that way saving will be very fast (as long as the wiki is not 
> too big of course): 
> https://talk.tiddlywiki.org/t/how-to-reduce-the-size-of-your-tiddlywiki/5364
>
> On Thursday, 11 May 2023 at 23:09:58 UTC+2 Télumire wrote:
>
>> FYI you can create a token easily with this link: 
>> https://github.com/settings/tokens/new?scopes=repo&description=tw
>>
>> On Thursday, 11 May 2023 at 15:38:00 UTC+2 Ross Table wrote:
>>
>>> no, you have to generate a PAT (
>>> https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token),
>>>  
>>> its sort of like a password then on the wiki you have to click the cog and 
>>> find the github settings and paste it in there along with the github 
>>> account name and other stuff, that field is then saved locally (I think as 
>>> a cookie but not sure) so you have to do it the first time you time you try 
>>> and make a change from that device/browser. (IF you don't have the PAT in, 
>>> it will "download" a copy to your downloads folder)
>>>
>>> One thing you can do to limit the risk of the PAT is to create a new 
>>> github account that has just your tiddlywiki's as this reduces the reach of 
>>> the PAT and treat it like a password.
>>>
>>> A PAT will be about this length and contain "random" characters, 
>>> letters, numbers etc, MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiA (please note this 
>>> is not actually a PAT)
>>>
>>> It all depends where you want to access it from. From a personal 
>>> security POV, I would not recommend making an IP and port in your home 
>>> reachable from anywhere unless you really know exactly what you are doing 
>>> and the security risks that are involved in doing that.
>>>
>>> On Thursday, May 11, 2023 at 2:25:44 PM UTC+1 Joan Forn wrote:
>>>
 Thanks for the fast response,

 I did tried to add a tiddly in your page and was not saved (wich is 
 nice). ¿Do you have to enter your GitHub password everytime you do want to 
 save changes?

 I found this solution that works too:

 1) start a LXC container or VM in your proxmox server.
 2) inside the LXC, type:
2.1)  "npm install -g tiddlywiki"
2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
 "192.168.4.71"
2.3) "mkdir /home/tiddlywiki"
2.4) "tiddlywiki mywiki --init server"
2.5) "mywiki --listen host=192.168.4.71 port=8080"
 3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any 
 web browser from a device located in the same LAN
 4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding 
 it to your domain via cloudflare tunnel.

 El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:

> I have had great success integrating with github. I purchased a domain 
> and have setup subdomains, each of which points to a different wiki that 
> I 
> am using for something different. There is no hosting fee as its hosted 
> on 
> github, the down side to this is it is technically public for anyone to 
> view. If that works for you I highly recommend it. If you go that route, 
> feel free to PM me or checkout the public repo's I have 
> https://github.com/aquilaRoss?tab=repositories
>
> This biggest gotcha was main vs master and finding where on github 
> they have hidden the PAT generation stuff.
>
>
> On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:
>
>> Hello everyone,
>>
>> I am looking for some guidance regarding editing tiddlers on my 
>> iPhone. I would like to have a similar behavior as Notion, where any 
>> edited 
>> HTML is automatically synced across all devices and users who have 
>> access 
>> to the page.
>>
>> Recently, I came across TiddlyServer, which seems promising, but 
>> there doesn't seem to be much documentation about it.
>>
>> ¿Any advise me on whether this is possible or any suggestions on how 
>> to achieve it?
>>
>> Many thanks
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/f3d29555-2eb2-4742-bfa4-854182ef1edan%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Télumire
And for a better experience using GitHub I suggest you use the external 
core setup, that way saving will be very fast (as long as the wiki is not 
too big of course): 
https://talk.tiddlywiki.org/t/how-to-reduce-the-size-of-your-tiddlywiki/5364

On Thursday, 11 May 2023 at 23:09:58 UTC+2 Télumire wrote:

> FYI you can create a token easily with this link: 
> https://github.com/settings/tokens/new?scopes=repo&description=tw
>
> On Thursday, 11 May 2023 at 15:38:00 UTC+2 Ross Table wrote:
>
>> no, you have to generate a PAT (
>> https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token),
>>  
>> its sort of like a password then on the wiki you have to click the cog and 
>> find the github settings and paste it in there along with the github 
>> account name and other stuff, that field is then saved locally (I think as 
>> a cookie but not sure) so you have to do it the first time you time you try 
>> and make a change from that device/browser. (IF you don't have the PAT in, 
>> it will "download" a copy to your downloads folder)
>>
>> One thing you can do to limit the risk of the PAT is to create a new 
>> github account that has just your tiddlywiki's as this reduces the reach of 
>> the PAT and treat it like a password.
>>
>> A PAT will be about this length and contain "random" characters, letters, 
>> numbers etc, MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiA (please note this is not 
>> actually a PAT)
>>
>> It all depends where you want to access it from. From a personal security 
>> POV, I would not recommend making an IP and port in your home reachable 
>> from anywhere unless you really know exactly what you are doing and the 
>> security risks that are involved in doing that.
>>
>> On Thursday, May 11, 2023 at 2:25:44 PM UTC+1 Joan Forn wrote:
>>
>>> Thanks for the fast response,
>>>
>>> I did tried to add a tiddly in your page and was not saved (wich is 
>>> nice). ¿Do you have to enter your GitHub password everytime you do want to 
>>> save changes?
>>>
>>> I found this solution that works too:
>>>
>>> 1) start a LXC container or VM in your proxmox server.
>>> 2) inside the LXC, type:
>>>2.1)  "npm install -g tiddlywiki"
>>>2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
>>> "192.168.4.71"
>>>2.3) "mkdir /home/tiddlywiki"
>>>2.4) "tiddlywiki mywiki --init server"
>>>2.5) "mywiki --listen host=192.168.4.71 port=8080"
>>> 3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
>>> browser from a device located in the same LAN
>>> 4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding 
>>> it to your domain via cloudflare tunnel.
>>>
>>> El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:
>>>
 I have had great success integrating with github. I purchased a domain 
 and have setup subdomains, each of which points to a different wiki that I 
 am using for something different. There is no hosting fee as its hosted on 
 github, the down side to this is it is technically public for anyone to 
 view. If that works for you I highly recommend it. If you go that route, 
 feel free to PM me or checkout the public repo's I have 
 https://github.com/aquilaRoss?tab=repositories

 This biggest gotcha was main vs master and finding where on github they 
 have hidden the PAT generation stuff.


 On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:

> Hello everyone,
>
> I am looking for some guidance regarding editing tiddlers on my 
> iPhone. I would like to have a similar behavior as Notion, where any 
> edited 
> HTML is automatically synced across all devices and users who have access 
> to the page.
>
> Recently, I came across TiddlyServer, which seems promising, but there 
> doesn't seem to be much documentation about it.
>
> ¿Any advise me on whether this is possible or any suggestions on how 
> to achieve it?
>
> Many thanks
>


-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/44a7fbe3-0f1f-4ea7-8ad4-573d5bacd475n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Télumire
FYI you can create a token easily with this link: 
https://github.com/settings/tokens/new?scopes=repo&description=tw

On Thursday, 11 May 2023 at 15:38:00 UTC+2 Ross Table wrote:

> no, you have to generate a PAT (
> https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token),
>  
> its sort of like a password then on the wiki you have to click the cog and 
> find the github settings and paste it in there along with the github 
> account name and other stuff, that field is then saved locally (I think as 
> a cookie but not sure) so you have to do it the first time you time you try 
> and make a change from that device/browser. (IF you don't have the PAT in, 
> it will "download" a copy to your downloads folder)
>
> One thing you can do to limit the risk of the PAT is to create a new 
> github account that has just your tiddlywiki's as this reduces the reach of 
> the PAT and treat it like a password.
>
> A PAT will be about this length and contain "random" characters, letters, 
> numbers etc, MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiA (please note this is not 
> actually a PAT)
>
> It all depends where you want to access it from. From a personal security 
> POV, I would not recommend making an IP and port in your home reachable 
> from anywhere unless you really know exactly what you are doing and the 
> security risks that are involved in doing that.
>
> On Thursday, May 11, 2023 at 2:25:44 PM UTC+1 Joan Forn wrote:
>
>> Thanks for the fast response,
>>
>> I did tried to add a tiddly in your page and was not saved (wich is 
>> nice). ¿Do you have to enter your GitHub password everytime you do want to 
>> save changes?
>>
>> I found this solution that works too:
>>
>> 1) start a LXC container or VM in your proxmox server.
>> 2) inside the LXC, type:
>>2.1)  "npm install -g tiddlywiki"
>>2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
>> "192.168.4.71"
>>2.3) "mkdir /home/tiddlywiki"
>>2.4) "tiddlywiki mywiki --init server"
>>2.5) "mywiki --listen host=192.168.4.71 port=8080"
>> 3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
>> browser from a device located in the same LAN
>> 4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding 
>> it to your domain via cloudflare tunnel.
>>
>> El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:
>>
>>> I have had great success integrating with github. I purchased a domain 
>>> and have setup subdomains, each of which points to a different wiki that I 
>>> am using for something different. There is no hosting fee as its hosted on 
>>> github, the down side to this is it is technically public for anyone to 
>>> view. If that works for you I highly recommend it. If you go that route, 
>>> feel free to PM me or checkout the public repo's I have 
>>> https://github.com/aquilaRoss?tab=repositories
>>>
>>> This biggest gotcha was main vs master and finding where on github they 
>>> have hidden the PAT generation stuff.
>>>
>>>
>>> On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:
>>>
 Hello everyone,

 I am looking for some guidance regarding editing tiddlers on my iPhone. 
 I would like to have a similar behavior as Notion, where any edited HTML 
 is 
 automatically synced across all devices and users who have access to the 
 page.

 Recently, I came across TiddlyServer, which seems promising, but there 
 doesn't seem to be much documentation about it.

 ¿Any advise me on whether this is possible or any suggestions on how to 
 achieve it?

 Many thanks

>>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/e5b6e143-9463-48b8-8f21-f125a012df70n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Joan Forn
GitHub, it's working well! 

Noticed a 1 min delay on re-deployment since the moment you hit save, since 
I have an inmediate sync alternative in place I will stick with it. 

Help appreciated :)


El jueves, 11 de mayo de 2023 a las 17:25:42 UTC+2, Scott Sauyet escribió:

> Ross Table wrote:
>
> > click the cog and find the github settings and paste it in there along 
> with the github account
> > name and other stuff, that field is then saved locally (I think as a 
> cookie but not sure) 
>
> I'm pretty sure that the Git Savers save the Personal Access Token (PAT) 
> in localStorage, which is probably more secure than a cookie, but slightly 
> less convenient, and you will either need a separate PAT for every 
> user/machine/browser, or you will need to find some (often insecure) way of 
> sharing this across them.  I know that GitHub is experimenting with 
> fine-grained tokens, so -- if that's working well -- then there should be 
> little need for a separate account.  But I don't know where that stands.
>
>   -- Scott
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/c109289a-cb74-4f1c-b7ed-ea48de206bf2n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Scott Sauyet
Ross Table wrote:

> click the cog and find the github settings and paste it in there along 
with the github account
> name and other stuff, that field is then saved locally (I think as a 
cookie but not sure) 

I'm pretty sure that the Git Savers save the Personal Access Token (PAT) in 
localStorage, which is probably more secure than a cookie, but slightly 
less convenient, and you will either need a separate PAT for every 
user/machine/browser, or you will need to find some (often insecure) way of 
sharing this across them.  I know that GitHub is experimenting with 
fine-grained tokens, so -- if that's working well -- then there should be 
little need for a separate account.  But I don't know where that stands.

  -- Scott

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/a1ea0bc6-d223-451d-b6dd-8c37d13bd712n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Ross Table
no, you have to generate a PAT 
(https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token),
 
its sort of like a password then on the wiki you have to click the cog and 
find the github settings and paste it in there along with the github 
account name and other stuff, that field is then saved locally (I think as 
a cookie but not sure) so you have to do it the first time you time you try 
and make a change from that device/browser. (IF you don't have the PAT in, 
it will "download" a copy to your downloads folder)

One thing you can do to limit the risk of the PAT is to create a new github 
account that has just your tiddlywiki's as this reduces the reach of the 
PAT and treat it like a password.

A PAT will be about this length and contain "random" characters, letters, 
numbers etc, MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiA (please note this is not 
actually a PAT)

It all depends where you want to access it from. From a personal security 
POV, I would not recommend making an IP and port in your home reachable 
from anywhere unless you really know exactly what you are doing and the 
security risks that are involved in doing that.

On Thursday, May 11, 2023 at 2:25:44 PM UTC+1 Joan Forn wrote:

> Thanks for the fast response,
>
> I did tried to add a tiddly in your page and was not saved (wich is nice). 
> ¿Do you have to enter your GitHub password everytime you do want to save 
> changes?
>
> I found this solution that works too:
>
> 1) start a LXC container or VM in your proxmox server.
> 2) inside the LXC, type:
>2.1)  "npm install -g tiddlywiki"
>2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
> "192.168.4.71"
>2.3) "mkdir /home/tiddlywiki"
>2.4) "tiddlywiki mywiki --init server"
>2.5) "mywiki --listen host=192.168.4.71 port=8080"
> 3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
> browser from a device located in the same LAN
> 4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding it 
> to your domain via cloudflare tunnel.
>
> El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:
>
>> I have had great success integrating with github. I purchased a domain 
>> and have setup subdomains, each of which points to a different wiki that I 
>> am using for something different. There is no hosting fee as its hosted on 
>> github, the down side to this is it is technically public for anyone to 
>> view. If that works for you I highly recommend it. If you go that route, 
>> feel free to PM me or checkout the public repo's I have 
>> https://github.com/aquilaRoss?tab=repositories
>>
>> This biggest gotcha was main vs master and finding where on github they 
>> have hidden the PAT generation stuff.
>>
>>
>> On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:
>>
>>> Hello everyone,
>>>
>>> I am looking for some guidance regarding editing tiddlers on my iPhone. 
>>> I would like to have a similar behavior as Notion, where any edited HTML is 
>>> automatically synced across all devices and users who have access to the 
>>> page.
>>>
>>> Recently, I came across TiddlyServer, which seems promising, but there 
>>> doesn't seem to be much documentation about it.
>>>
>>> ¿Any advise me on whether this is possible or any suggestions on how to 
>>> achieve it?
>>>
>>> Many thanks
>>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/dab72912-819c-44f2-baae-51592b51c636n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Joan Forn
Thanks for the fast response,

I did tried to add a tiddly in your page and was not saved (wich is nice). 
¿Do you have to enter your GitHub password everytime you do want to save 
changes?

I found this solution that works too:

1) start a LXC container or VM in your proxmox server.
2) inside the LXC, type:
   2.1)  "npm install -g tiddlywiki"
   2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
"192.168.4.71"
   2.3) "mkdir /home/tiddlywiki"
   2.4) "tiddlywiki mywiki --init server"
   2.5) "mywiki --listen host=192.168.4.71 port=8080"
3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
browser from a device located in the same LAN
4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding it 
to your domain via cloudflare tunnel.

El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:

> I have had great success integrating with github. I purchased a domain and 
> have setup subdomains, each of which points to a different wiki that I am 
> using for something different. There is no hosting fee as its hosted on 
> github, the down side to this is it is technically public for anyone to 
> view. If that works for you I highly recommend it. If you go that route, 
> feel free to PM me or checkout the public repo's I have 
> https://github.com/aquilaRoss?tab=repositories
>
> This biggest gotcha was main vs master and finding where on github they 
> have hidden the PAT generation stuff.
>
>
> On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:
>
>> Hello everyone,
>>
>> I am looking for some guidance regarding editing tiddlers on my iPhone. I 
>> would like to have a similar behavior as Notion, where any edited HTML is 
>> automatically synced across all devices and users who have access to the 
>> page.
>>
>> Recently, I came across TiddlyServer, which seems promising, but there 
>> doesn't seem to be much documentation about it.
>>
>> ¿Any advise me on whether this is possible or any suggestions on how to 
>> achieve it?
>>
>> Many thanks
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/ec4823d2-5632-4379-97b2-c579e94ec73en%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Ross Table
I have had great success integrating with github. I purchased a domain and 
have setup subdomains, each of which points to a different wiki that I am 
using for something different. There is no hosting fee as its hosted on 
github, the down side to this is it is technically public for anyone to 
view. If that works for you I highly recommend it. If you go that route, 
feel free to PM me or checkout the public repo's I 
have https://github.com/aquilaRoss?tab=repositories

This biggest gotcha was main vs master and finding where on github they 
have hidden the PAT generation stuff.


On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:

> Hello everyone,
>
> I am looking for some guidance regarding editing tiddlers on my iPhone. I 
> would like to have a similar behavior as Notion, where any edited HTML is 
> automatically synced across all devices and users who have access to the 
> page.
>
> Recently, I came across TiddlyServer, which seems promising, but there 
> doesn't seem to be much documentation about it.
>
> ¿Any advise me on whether this is possible or any suggestions on how to 
> achieve it?
>
> Many thanks
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/21cb8857-ad98-47db-95cc-2ca2a7fdaf4cn%40googlegroups.com.


Re: [tw5] Re: Tiddlyserver portable install

2020-08-31 Thread Robert Jopling
Thanks mark

That is helpful. Will try out your suggestions.

Rob

On Mon, 31 Aug 2020 at 23:14, 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> When you download and/or extract the node package (I'm pretty sure it's
> unzippable), there is a file (node.exe, I think) that does the heavy
> lifting. You can copy it into the same directory as your tiddly server
> files so that you don't need to install node.js on some other PC you might
> visit. So that makes it more portable.
>
> However, PC executables won't run on Android.
>
> For Android, you need another approach. Typically you would install termux
> on android, and then from within android install node.js. Then I think you
> can install and run tiddlyserver files. You might need to understand unix
> pathing.
>
> I use this approach on Android 5. But it works with the older version of
> Tiddlyserver. The newer version of ts needs the newer version of node.js,
> and I'm not sure if that happens under Termux. I guess you'll find out ;-)
>
>
>
> On Monday, August 31, 2020 at 2:26:01 PM UTC-7, Rob Jopling wrote:
>>
>> I now have a portable version of Tiddlyserver working on my Win10
>> pc, although it is not truly portable.
>>
>> Arlen's instructions say: "You can also copy the Node executable into the
>> folder for a truly portable install."
>>
>> I am not sure what is meant by "the Node executable". I have visited the
>> Node.js download site but do not know which package to download, bearing in
>> mind I ultimately want to run this on an Android tablet using Dory.
>>
>> Also when it says "into the folder" which folder does this mean?
>>
>> Any help would be appreciated.
>>
>> Rob
>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
>
>
>
> --
>
>
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/d8a520c2-41a7-4544-81e2-d77f1f974191o%40googlegroups.com
> 
> .
>
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFwdqKGjn1KAAua_QhhPb-X%3Dt-yYOu9ztcwB6cYVn9J3vCyWpg%40mail.gmail.com.


Re: [tw5] Re: Tiddlyserver portable install

2020-08-31 Thread 'Mark S.' via TiddlyWiki
When you download and/or extract the node package (I'm pretty sure it's 
unzippable), there is a file (node.exe, I think) that does the heavy 
lifting. You can copy it into the same directory as your tiddly server 
files so that you don't need to install node.js on some other PC you might 
visit. So that makes it more portable. 

However, PC executables won't run on Android.

For Android, you need another approach. Typically you would install termux 
on android, and then from within android install node.js. Then I think you 
can install and run tiddlyserver files. You might need to understand unix 
pathing.

I use this approach on Android 5. But it works with the older version of 
Tiddlyserver. The newer version of ts needs the newer version of node.js, 
and I'm not sure if that happens under Termux. I guess you'll find out ;-)



On Monday, August 31, 2020 at 2:26:01 PM UTC-7, Rob Jopling wrote:
>
> I now have a portable version of Tiddlyserver working on my Win10 
> pc, although it is not truly portable.
>
> Arlen's instructions say: "You can also copy the Node executable into the 
> folder for a truly portable install."
>
> I am not sure what is meant by "the Node executable". I have visited the 
> Node.js download site but do not know which package to download, bearing in 
> mind I ultimately want to run this on an Android tablet using Dory.
>
> Also when it says "into the folder" which folder does this mean?
>
> Any help would be appreciated.
>
> Rob
>
>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/d8a520c2-41a7-4544-81e2-d77f1f974191o%40googlegroups.com.


Re: [tw5] Re: Tiddlyserver portable install

2020-08-31 Thread Robert Jopling
I now have a portable version of Tiddlyserver working on my Win10
pc, although it is not truly portable.

Arlen's instructions say: "You can also copy the Node executable into the
folder for a truly portable install."

I am not sure what is meant by "the Node executable". I have visited the
Node.js download site but do not know which package to download, bearing in
mind I ultimately want to run this on an Android tablet using Dory.

Also when it says "into the folder" which folder does this mean?

Any help would be appreciated.

Rob

On Sat, 15 Aug 2020 at 16:15, Rob Jopling  wrote:

> Scott
>
> Thank you for getting back to me.
>
> The settings.json file has the following content but only because I copies
> it off Arlen's instructions. However, I have no idea why the 'tree' is as
> it is or how I should restructure it to suit my needs.
>
>
> {
>   //The JSON5 parser allows comments!
>   //All relative paths are relative to this file.
>   //The user directory prefix ~ is allowed.
>
>
>   //remove one of these
>
>   "tree": { //this tree is going to mount a group containing folders and
> another group
> "myfolder": "../personal",
> "workstuff": "../work",
> "user": "~/Desktop/random",
> "projects_group": {
>   "tiddlyserver": "~/Desktop/Github/TiddlyServer",
>   "material-theme": "~/Dropbox/Material Theme"
> }
>   },
>
>
>   "bindInfo": {
> // V V V V Uncomment one of the following V V V V
>
>
> //bind to localhost only (you can specify any other ip address in
> this array, and it will bind to all available addresses)
> "bindAddress": ["127.0.0.1"],
>
>
> //bind to 0.0.0.0
> // "bindWildcard": true
>
>
> //workaround for android devices (bind to all available private ip
> addresses on startup)
> // "bindWildcard": false, "bindAddress": ["192.168.0.0/16", "
> 10.0.0.0/8", "172.31.0.0/16"], "filterBindAddress": true,
>   },
>   "putsaver": {
> //single file wikis will backup to this directory on every save
> "backupFolder": "../backups" // comment out or set to "" to disable
> backups
>   },
>   "$schema": "./settings-2-2.schema.json"
> }
>
> Since making my original post I have created folders called personal and
> work one levl above the Tiddlyserver folder and in each of them I have
> created a mydatafolder and in that I have put a wiki.
>
> IT ALL WORKS! on Windows 10. But as i said above I do not know why it is
> working!
>
> I will now see if it works on my android device.
>
> Rob
>
>
>
>
>
> Rob
>
> On Saturday, 15 August 2020 00:32:08 UTC+1, Scott Kingery wrote:
>>
>> Rob,
>> Probably should make sure it works on Win10 first. I'm no expert but can
>> you post your settings.json? The wiki files and folders can be anywhere as
>> long as you get the "tree" syntax right in the settings.json.
>>
>> Scott
>>
>>
>> On Thursday, August 13, 2020 at 9:07:53 AM UTC-7 Rob Jopling wrote:
>>
>>> Apologies if this has been covered in previous posts. I have tried to
>>> find the answers.
>>>
>>> I am trying to create a portable install of Tiddlyserver that I can use
>>> on my Android tablet.
>>>
>>> I have followed Arlen's instructions and have a created a portable
>>> install in a folder called Tiddlyserver on my Windows 10 pc. I have used
>>> the settings.json template that has been suggested and placed it in the
>>> Tiddlyserver folder. I have also created folders within the Tiddlyserver
>>> folder called  myfolder, workstuff, user and projects_group and have placed
>>> a test wiki in myfolder. After running the batch file I can access
>>> Tiddlyserver in Chrome at 127.0.0.1:8080 and I can see the folder tree.
>>> However, when I try to open any of the folders I get an HTTP ERROR 404.
>>>
>>> Can anyone advise what I need to do to access the wiki? Have I put the
>>> wiki in the correct place?
>>>
>>> Any suggesting about porting this to my Andoid tablet?
>>>
>>> Many thanks in anticipation.
>>>
>> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/4b7c2485-fc12-41e4-86b7-b84255ff53cco%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFwdqKHVorimOFkQujybrOxAn6wUj-0a-5VU_v_n_u08Fv_B2w%40mail.gmail.com.


[tw5] Re: Tiddlyserver portable install

2020-08-15 Thread Rob Jopling
Scott

Thank you for getting back to me.

The settings.json file has the following content but only because I copies 
it off Arlen's instructions. However, I have no idea why the 'tree' is as 
it is or how I should restructure it to suit my needs.


{
  //The JSON5 parser allows comments!
  //All relative paths are relative to this file.
  //The user directory prefix ~ is allowed.


  //remove one of these
   
  "tree": { //this tree is going to mount a group containing folders and 
another group
"myfolder": "../personal",
"workstuff": "../work",
"user": "~/Desktop/random",
"projects_group": {
  "tiddlyserver": "~/Desktop/Github/TiddlyServer",
  "material-theme": "~/Dropbox/Material Theme"
}
  },


  "bindInfo": {
// V V V V Uncomment one of the following V V V V 


//bind to localhost only (you can specify any other ip address in this 
array, and it will bind to all available addresses)
"bindAddress": ["127.0.0.1"],


//bind to 0.0.0.0
// "bindWildcard": true


//workaround for android devices (bind to all available private ip 
addresses on startup)
// "bindWildcard": false, "bindAddress": ["192.168.0.0/16", 
"10.0.0.0/8", "172.31.0.0/16"], "filterBindAddress": true,
  },
  "putsaver": {
//single file wikis will backup to this directory on every save
"backupFolder": "../backups" // comment out or set to "" to disable 
backups
  },
  "$schema": "./settings-2-2.schema.json"
}

Since making my original post I have created folders called personal and 
work one levl above the Tiddlyserver folder and in each of them I have 
created a mydatafolder and in that I have put a wiki.

IT ALL WORKS! on Windows 10. But as i said above I do not know why it is 
working!

I will now see if it works on my android device.

Rob





Rob

On Saturday, 15 August 2020 00:32:08 UTC+1, Scott Kingery wrote:
>
> Rob,
> Probably should make sure it works on Win10 first. I'm no expert but can 
> you post your settings.json? The wiki files and folders can be anywhere as 
> long as you get the "tree" syntax right in the settings.json.
>
> Scott
>
>
> On Thursday, August 13, 2020 at 9:07:53 AM UTC-7 Rob Jopling wrote:
>
>> Apologies if this has been covered in previous posts. I have tried to 
>> find the answers.
>>
>> I am trying to create a portable install of Tiddlyserver that I can use 
>> on my Android tablet.
>>
>> I have followed Arlen's instructions and have a created a portable 
>> install in a folder called Tiddlyserver on my Windows 10 pc. I have used 
>> the settings.json template that has been suggested and placed it in the 
>> Tiddlyserver folder. I have also created folders within the Tiddlyserver 
>> folder called  myfolder, workstuff, user and projects_group and have placed 
>> a test wiki in myfolder. After running the batch file I can access 
>> Tiddlyserver in Chrome at 127.0.0.1:8080 and I can see the folder tree. 
>> However, when I try to open any of the folders I get an HTTP ERROR 404.
>>
>> Can anyone advise what I need to do to access the wiki? Have I put the 
>> wiki in the correct place?
>>
>> Any suggesting about porting this to my Andoid tablet?
>>
>> Many thanks in anticipation.
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/4b7c2485-fc12-41e4-86b7-b84255ff53cco%40googlegroups.com.


[tw5] Re: Tiddlyserver portable install

2020-08-14 Thread Scott Kingery
Rob,
Probably should make sure it works on Win10 first. I'm no expert but can 
you post your settings.json? The wiki files and folders can be anywhere as 
long as you get the "tree" syntax right in the settings.json.

Scott


On Thursday, August 13, 2020 at 9:07:53 AM UTC-7 Rob Jopling wrote:

> Apologies if this has been covered in previous posts. I have tried to find 
> the answers.
>
> I am trying to create a portable install of Tiddlyserver that I can use on 
> my Android tablet.
>
> I have followed Arlen's instructions and have a created a portable install 
> in a folder called Tiddlyserver on my Windows 10 pc. I have used the 
> settings.json template that has been suggested and placed it in the 
> Tiddlyserver folder. I have also created folders within the Tiddlyserver 
> folder called  myfolder, workstuff, user and projects_group and have placed 
> a test wiki in myfolder. After running the batch file I can access 
> Tiddlyserver in Chrome at 127.0.0.1:8080 and I can see the folder tree. 
> However, when I try to open any of the folders I get an HTTP ERROR 404.
>
> Can anyone advise what I need to do to access the wiki? Have I put the 
> wiki in the correct place?
>
> Any suggesting about porting this to my Andoid tablet?
>
> Many thanks in anticipation.
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/4c2b50bc-0494-4dbe-862c-995b3f5c5512n%40googlegroups.com.


[tw5] Re: TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread oha...@gmail.com
Solved! Adding Etag required got it working in an Incognito, and it turned 
out one of my extensions ClearUrls 

 
was removing Etag too! Double issue, but ll fixed now. 

Thanks for the help you wonderful gentlemen. 

On Tuesday, 7 July 2020 at 06:58:18 UTC+2 saq.i...@gmail.com wrote:

> Have a look at the etag settings mentioned at 
> https://arlen22.github.io/tiddlyserver/docs/serverconfig.html
>
> (A browser search on that page is helpful)
>
>
> On Tuesday, July 7, 2020 at 6:41:07 AM UTC+2, oha...@gmail.com wrote:
>>
>> Hello,
>>
>> Jordan here.
>>
>> That sounds like a good path to go down, how do I go about it?
>>
>> On Tuesday, 7 July 2020 at 01:32:50 UTC+2 TW Tones wrote:
>>
>>> Hi - whats your name?
>>>
>>> I do not have the skills to help you as I have not gone this way 
>>> previously. 
>>>
>>> I do recall however configuring etag settings in TiddlyServers 
>>> settings.json in the past, primarily to stop the passing of time giving 
>>> rise to failed saves.
>>>
>>> Perhaps this is a clue that could lead you to resolution?
>>>
>>> Regards
>>> Tony
>>>
>>>
>>> On Tuesday, July 7, 2020 at 6:02:50 AM UTC+10, oha...@gmail.com wrote:

 Hi all,

 I'm at the end of my rope here, trying to fix this. I am running an 
 instance of TiddlyServer on my Raspberry Pi running behind an Nginx 
 reverse 
 proxy and SSL from Let's Encrypt. Some combination of all of these factors 
 causes the Etag header to be missing on the responses, and my server 
 cannot 
 save because of it. Viewing the localhost works fine. 

 I came across this old thread with similar issues 
 https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ 
 but 
 saw no answers in there.

 Any help at all would be greatly appreciated. You can find my 
 TiddlyServer setup in the original issue here 
 https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config 
 is as follows:

 server {
   server_name mydomain.com www.mydomain.com;

   error_log /var/log/nginx/mydomain.com.log;
   access_log /var/log/nginx/mydomain.com.access.log combined;

   location / {
 proxy_pass http://192.168.0.109:8080/;
 proxy_set_header Host $host;
 proxy_set_header X-Real-IP $remote_addr;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
   }

 listen [::]:443 ssl ipv6only=on;
 listen 443 ssl;

 ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; 
 # managed by Certbot
 ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; 
 # managed by Certbot
 ssl_trusted_certificate /etc/letsencrypt/live/
 mydomain.com/chain.pem;
 include /etc/letsencrypt/options-ssl-nginx.conf; # managed by 
 Certbot
 ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot



 }server {
 if ($host = mydomain.com) {
 return 301 https://$host$request_uri;
 } # managed by Certbot

 if ($host = www.mydomain.com) {
 return 301 https://$host$request_uri;
 } # managed by Certbot


   listen 80;
   listen [::]:80;
   server_name mydomain.com www.mydomain.com;
 return 404; # managed by Certbot
 }

>>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/99db0a0f-6474-4d08-87fc-cf47f9de7492n%40googlegroups.com.


[tw5] Re: TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread Saq Imtiaz
Have a look at the etag settings mentioned at 
https://arlen22.github.io/tiddlyserver/docs/serverconfig.html

(A browser search on that page is helpful)

On Tuesday, July 7, 2020 at 6:41:07 AM UTC+2, oha...@gmail.com wrote:
>
> Hello,
>
> Jordan here.
>
> That sounds like a good path to go down, how do I go about it?
>
> On Tuesday, 7 July 2020 at 01:32:50 UTC+2 TW Tones wrote:
>
>> Hi - whats your name?
>>
>> I do not have the skills to help you as I have not gone this way 
>> previously. 
>>
>> I do recall however configuring etag settings in TiddlyServers 
>> settings.json in the past, primarily to stop the passing of time giving 
>> rise to failed saves.
>>
>> Perhaps this is a clue that could lead you to resolution?
>>
>> Regards
>> Tony
>>
>>
>> On Tuesday, July 7, 2020 at 6:02:50 AM UTC+10, oha...@gmail.com wrote:
>>>
>>> Hi all,
>>>
>>> I'm at the end of my rope here, trying to fix this. I am running an 
>>> instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
>>> proxy and SSL from Let's Encrypt. Some combination of all of these factors 
>>> causes the Etag header to be missing on the responses, and my server cannot 
>>> save because of it. Viewing the localhost works fine. 
>>>
>>> I came across this old thread with similar issues 
>>> https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
>>> saw no answers in there.
>>>
>>> Any help at all would be greatly appreciated. You can find my 
>>> TiddlyServer setup in the original issue here 
>>> https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config 
>>> is as follows:
>>>
>>> server {
>>>   server_name mydomain.com www.mydomain.com;
>>>
>>>   error_log /var/log/nginx/mydomain.com.log;
>>>   access_log /var/log/nginx/mydomain.com.access.log combined;
>>>
>>>   location / {
>>> proxy_pass http://192.168.0.109:8080/;
>>> proxy_set_header Host $host;
>>> proxy_set_header X-Real-IP $remote_addr;
>>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
>>>   }
>>>
>>> listen [::]:443 ssl ipv6only=on;
>>> listen 443 ssl;
>>>
>>> ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
>>> managed by Certbot
>>> ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; 
>>> # managed by Certbot
>>> ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem
>>> ;
>>> include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
>>> ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
>>>
>>>
>>>
>>> }server {
>>> if ($host = mydomain.com) {
>>> return 301 https://$host$request_uri;
>>> } # managed by Certbot
>>>
>>> if ($host = www.mydomain.com) {
>>> return 301 https://$host$request_uri;
>>> } # managed by Certbot
>>>
>>>
>>>   listen 80;
>>>   listen [::]:80;
>>>   server_name mydomain.com www.mydomain.com;
>>> return 404; # managed by Certbot
>>> }
>>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/8d34722d-2229-44b9-af55-223ea7914cdfo%40googlegroups.com.


[tw5] Re: TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread oha...@gmail.com
Hello,

Jordan here.

That sounds like a good path to go down, how do I go about it?

On Tuesday, 7 July 2020 at 01:32:50 UTC+2 TW Tones wrote:

> Hi - whats your name?
>
> I do not have the skills to help you as I have not gone this way 
> previously. 
>
> I do recall however configuring etag settings in TiddlyServers 
> settings.json in the past, primarily to stop the passing of time giving 
> rise to failed saves.
>
> Perhaps this is a clue that could lead you to resolution?
>
> Regards
> Tony
>
>
> On Tuesday, July 7, 2020 at 6:02:50 AM UTC+10, oha...@gmail.com wrote:
>>
>> Hi all,
>>
>> I'm at the end of my rope here, trying to fix this. I am running an 
>> instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
>> proxy and SSL from Let's Encrypt. Some combination of all of these factors 
>> causes the Etag header to be missing on the responses, and my server cannot 
>> save because of it. Viewing the localhost works fine. 
>>
>> I came across this old thread with similar issues 
>> https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
>> saw no answers in there.
>>
>> Any help at all would be greatly appreciated. You can find my 
>> TiddlyServer setup in the original issue here 
>> https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config is 
>> as follows:
>>
>> server {
>>   server_name mydomain.com www.mydomain.com;
>>
>>   error_log /var/log/nginx/mydomain.com.log;
>>   access_log /var/log/nginx/mydomain.com.access.log combined;
>>
>>   location / {
>> proxy_pass http://192.168.0.109:8080/;
>> proxy_set_header Host $host;
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
>>   }
>>
>> listen [::]:443 ssl ipv6only=on;
>> listen 443 ssl;
>>
>> ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
>> managed by Certbot
>> ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; 
>> # managed by Certbot
>> ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem;
>> include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
>> ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
>>
>>
>>
>> }server {
>> if ($host = mydomain.com) {
>> return 301 https://$host$request_uri;
>> } # managed by Certbot
>>
>> if ($host = www.mydomain.com) {
>> return 301 https://$host$request_uri;
>> } # managed by Certbot
>>
>>
>>   listen 80;
>>   listen [::]:80;
>>   server_name mydomain.com www.mydomain.com;
>> return 404; # managed by Certbot
>> }
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/1e334f0d-bfe2-410a-8466-46f3fae750a9n%40googlegroups.com.


[tw5] Re: TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread TW Tones
Hi - whats your name?

I do not have the skills to help you as I have not gone this way 
previously. 

I do recall however configuring etag settings in TiddlyServers 
settings.json in the past, primarily to stop the passing of time giving 
rise to failed saves.

Perhaps this is a clue that could lead you to resolution?

Regards
Tony


On Tuesday, July 7, 2020 at 6:02:50 AM UTC+10, oha...@gmail.com wrote:
>
> Hi all,
>
> I'm at the end of my rope here, trying to fix this. I am running an 
> instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
> proxy and SSL from Let's Encrypt. Some combination of all of these factors 
> causes the Etag header to be missing on the responses, and my server cannot 
> save because of it. Viewing the localhost works fine. 
>
> I came across this old thread with similar issues 
> https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
> saw no answers in there.
>
> Any help at all would be greatly appreciated. You can find my TiddlyServer 
> setup in the original issue here 
> https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config is 
> as follows:
>
> server {
>   server_name mydomain.com www.mydomain.com;
>
>   error_log /var/log/nginx/mydomain.com.log;
>   access_log /var/log/nginx/mydomain.com.access.log combined;
>
>   location / {
> proxy_pass http://192.168.0.109:8080/;
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
>   }
>
> listen [::]:443 ssl ipv6only=on;
> listen 443 ssl;
>
> ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
> managed by Certbot
> ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # 
> managed by Certbot
> ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem;
> include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
> ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
>
>
>
> }server {
> if ($host = mydomain.com) {
> return 301 https://$host$request_uri;
> } # managed by Certbot
>
> if ($host = www.mydomain.com) {
> return 301 https://$host$request_uri;
> } # managed by Certbot
>
>
>   listen 80;
>   listen [::]:80;
>   server_name mydomain.com www.mydomain.com;
> return 404; # managed by Certbot
> }
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/71644be1-563c-4091-8eff-9ee3f347022bo%40googlegroups.com.


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 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 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 O'Herne 
>> wrote:
>>
>>> 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
>>>
>>> On Friday, April 24, 2020 at 2:39:44 PM UTC-6, 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 install it by running

  npm install -g tiddlyserver

 This will install it globally, which also puts it in your PATH, so you
 can run it directly using

  tiddlyserver --config /path/to/settings.json

 Windows should also work just fine. You can use the tilde (~) if your
 shell supports it. I forgot to include tilde support for the config
 parameter (if the shell passes it through). I'll add that in the future.

 If you don't have npm installed or you want to do a portable install,
 you'll find the archives listed at
 https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
 downloaded the tgz files from npm, and the zip files are the same archive
 converted to a zip file.

 I've separated out the tiddlywiki bundle into a separate npm package.
 If you're familiar with that it's still the same idea. I will add more info
 to the readme, but for now it's ready to use. It also includes the
 client-side .js files for adding in an html page, which probably nobody
 uses yet. I'm still working on the use cases and so forth for that, so
 that's just a little teaser.

 https://www.npmjs.com/package/tiddlywiki-production

 As always, remember to create backups before upgrading.

 Enjoy,
 Arlen

>>> --
>>> 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 visit
>>> https://groups.google.com/d/msgid/tiddlywiki/50e75052-985f-44a8-a5a6-a638b1fef40f%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/mF_3uxbth0g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR1m%3DXfqCv_MX%2BHXPUTPs8xsEPeWmRbNr7MMqqn3Z-Hkg%40mail.gmail.com
>> 
>> .
>>
> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/CABVjSOF3SLf2tKsqnTHQQNC3_BUqWPSJBBBTdYAgR-nkp-oLgg%40mail.gmail.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSThXxfp7d7wfRJCCCMy3oWMSSrSHySwnvoC1xkcKqOhzA%40mail.gmail.com.


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 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 O'Herne 
> wrote:
>
>> 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
>>
>> On Friday, April 24, 2020 at 2:39:44 PM UTC-6, 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 install it by running
>>>
>>>  npm install -g tiddlyserver
>>>
>>> This will install it globally, which also puts it in your PATH, so you
>>> can run it directly using
>>>
>>>  tiddlyserver --config /path/to/settings.json
>>>
>>> Windows should also work just fine. You can use the tilde (~) if your
>>> shell supports it. I forgot to include tilde support for the config
>>> parameter (if the shell passes it through). I'll add that in the future.
>>>
>>> If you don't have npm installed or you want to do a portable install,
>>> you'll find the archives listed at
>>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>>> downloaded the tgz files from npm, and the zip files are the same archive
>>> converted to a zip file.
>>>
>>> I've separated out the tiddlywiki bundle into a separate npm package. If
>>> you're familiar with that it's still the same idea. I will add more info to
>>> the readme, but for now it's ready to use. It also includes the client-side
>>> .js files for adding in an html page, which probably nobody uses yet. I'm
>>> still working on the use cases and so forth for that, so that's just a
>>> little teaser.
>>>
>>> https://www.npmjs.com/package/tiddlywiki-production
>>>
>>> As always, remember to create backups before upgrading.
>>>
>>> Enjoy,
>>> Arlen
>>>
>> --
>> 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 visit
>> https://groups.google.com/d/msgid/tiddlywiki/50e75052-985f-44a8-a5a6-a638b1fef40f%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/mF_3uxbth0g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR1m%3DXfqCv_MX%2BHXPUTPs8xsEPeWmRbNr7MMqqn3Z-Hkg%40mail.gmail.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CABVjSOF3SLf2tKsqnTHQQNC3_BUqWPSJBBBTdYAgR-nkp-oLgg%40mail.gmail.com.


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 O'Herne 
wrote:

> 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
>
> On Friday, April 24, 2020 at 2:39:44 PM UTC-6, 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 install it by running
>>
>>  npm install -g tiddlyserver
>>
>> This will install it globally, which also puts it in your PATH, so you
>> can run it directly using
>>
>>  tiddlyserver --config /path/to/settings.json
>>
>> Windows should also work just fine. You can use the tilde (~) if your
>> shell supports it. I forgot to include tilde support for the config
>> parameter (if the shell passes it through). I'll add that in the future.
>>
>> If you don't have npm installed or you want to do a portable install,
>> you'll find the archives listed at
>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>> downloaded the tgz files from npm, and the zip files are the same archive
>> converted to a zip file.
>>
>> I've separated out the tiddlywiki bundle into a separate npm package. If
>> you're familiar with that it's still the same idea. I will add more info to
>> the readme, but for now it's ready to use. It also includes the client-side
>> .js files for adding in an html page, which probably nobody uses yet. I'm
>> still working on the use cases and so forth for that, so that's just a
>> little teaser.
>>
>> https://www.npmjs.com/package/tiddlywiki-production
>>
>> As always, remember to create backups before upgrading.
>>
>> Enjoy,
>> Arlen
>>
> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/50e75052-985f-44a8-a5a6-a638b1fef40f%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR1m%3DXfqCv_MX%2BHXPUTPs8xsEPeWmRbNr7MMqqn3Z-Hkg%40mail.gmail.com.


[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

On Friday, April 24, 2020 at 2:39:44 PM UTC-6, 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 
> install it by running 
>
>  npm install -g tiddlyserver
>
> This will install it globally, which also puts it in your PATH, so you can 
> run it directly using 
>
>  tiddlyserver --config /path/to/settings.json
>
> Windows should also work just fine. You can use the tilde (~) if your 
> shell supports it. I forgot to include tilde support for the config 
> parameter (if the shell passes it through). I'll add that in the future. 
>
> If you don't have npm installed or you want to do a portable install, 
> you'll find the archives listed at 
> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I 
> downloaded the tgz files from npm, and the zip files are the same archive 
> converted to a zip file. 
>
> I've separated out the tiddlywiki bundle into a separate npm package. If 
> you're familiar with that it's still the same idea. I will add more info to 
> the readme, but for now it's ready to use. It also includes the client-side 
> .js files for adding in an html page, which probably nobody uses yet. I'm 
> still working on the use cases and so forth for that, so that's just a 
> little teaser. 
>
> https://www.npmjs.com/package/tiddlywiki-production
>
> As always, remember to create backups before upgrading.
>
> Enjoy, 
> Arlen
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/50e75052-985f-44a8-a5a6-a638b1fef40f%40googlegroups.com.


[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 and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/deeb9fee-1e2d-4567-b1cb-f83a2653761a%40googlegroups.com.


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 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 loading mode, nothing displayed.
>
> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/ab4869ef-4b80-4f1e-97f2-66ea3d939ff3%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR7GN9OQwgHHDgHz_hSnriVkESUuY1K%3DuyMhbPtHTqkWA%40mail.gmail.com.


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 
loading mode, nothing displayed.

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/ab4869ef-4b80-4f1e-97f2-66ea3d939ff3%40googlegroups.com.


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 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 can browse the
> file with either TS or http-server, I couldn't load it as a library with
> either server. So apparently the url-encoded name structure is important
> for some reason.
>
> Is there any reason that TS wouldn't be able to load files with
> url-encoded names?
>
> Thanks!
>
> On Friday, May 1, 2020 at 11:45:20 AM UTC-7, Mark S. wrote:
>>
>> 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 node, but that
>> means I have to have two servers running (TS and http-server). It would be
>> convenient if I could just run TS. I set a virtual "library" in
>> settings.json that points to the directory containing the index.html file.
>> I put this path into the url field of a tiddler tagged
>> $:/tags/PluginLibrary. Now I can go into the plugins under control panel
>> and click on "Get More Plugins". It opens up and shows my new, personal
>> library. But when I attempt to install a plugin, it fails.
>>
>> Ok, I just ran a test. It appears that TS won't serve up JSON files. So
>> maybe my question is, how do I enable TS to serve JSON files?
>>
>> Thanks!
>>
>> On Friday, May 1, 2020 at 11:26:01 AM UTC-7, Arlen Beiler wrote:
>>>
>>> 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@googlegroups.com> wrote:
>>>

 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 level deep?

 Thanks!


 --
 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 visit
 https://groups.google.com/d/msgid/tiddlywiki/21a0177e-4165-48a4-b1b4-1db59caba7b9%40googlegroups.com
 
 .

>>> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/6d9e4ae1-70a7-422b-bc0e-54505f332b66%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRS85m%2Ba0FCVBE5R1SRRt%3DfZGz0wYHxORXQp_COSqwgdg%40mail.gmail.com.


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 can browse the 
file with either TS or http-server, I couldn't load it as a library with 
either server. So apparently the url-encoded name structure is important 
for some reason.

Is there any reason that TS wouldn't be able to load files with url-encoded 
names?

Thanks!

On Friday, May 1, 2020 at 11:45:20 AM UTC-7, Mark S. wrote:
>
> 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 node, but that 
> means I have to have two servers running (TS and http-server). It would be 
> convenient if I could just run TS. I set a virtual "library" in 
> settings.json that points to the directory containing the index.html file. 
> I put this path into the url field of a tiddler tagged 
> $:/tags/PluginLibrary. Now I can go into the plugins under control panel 
> and click on "Get More Plugins". It opens up and shows my new, personal 
> library. But when I attempt to install a plugin, it fails. 
>
> Ok, I just ran a test. It appears that TS won't serve up JSON files. So 
> maybe my question is, how do I enable TS to serve JSON files?
>
> Thanks!
>
> On Friday, May 1, 2020 at 11:26:01 AM UTC-7, Arlen Beiler wrote:
>>
>> 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@googlegroups.com> wrote:
>>
>>>
>>> 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 level deep?
>>>
>>> Thanks!
>>>
>>>
>>> -- 
>>> 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 visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/21a0177e-4165-48a4-b1b4-1db59caba7b9%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/6d9e4ae1-70a7-422b-bc0e-54505f332b66%40googlegroups.com.


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 node, but that 
means I have to have two servers running (TS and http-server). It would be 
convenient if I could just run TS. I set a virtual "library" in 
settings.json that points to the directory containing the index.html file. 
I put this path into the url field of a tiddler tagged 
$:/tags/PluginLibrary. Now I can go into the plugins under control panel 
and click on "Get More Plugins". It opens up and shows my new, personal 
library. But when I attempt to install a plugin, it fails. 

Ok, I just ran a test. It appears that TS won't serve up JSON files. So 
maybe my question is, how do I enable TS to serve JSON files?

Thanks!

On Friday, May 1, 2020 at 11:26:01 AM UTC-7, Arlen Beiler wrote:
>
> 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@googlegroups.com> wrote:
>
>>
>> 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 level deep?
>>
>> Thanks!
>>
>>
>> -- 
>> 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 visit 
>> https://groups.google.com/d/msgid/tiddlywiki/21a0177e-4165-48a4-b1b4-1db59caba7b9%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/504054d2-96f5-4e18-9b88-9eeeae963616%40googlegroups.com.


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@googlegroups.com> wrote:

>
> 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 level deep?
>
> Thanks!
>
>
> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/21a0177e-4165-48a4-b1b4-1db59caba7b9%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSSEMF3q%3DeQNBMGK3QfVbz98x9XumeHeoXN81mLLg1VLCA%40mail.gmail.com.


[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 level deep?

Thanks!


-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/21a0177e-4165-48a4-b1b4-1db59caba7b9%40googlegroups.com.


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 the official library. Also, if the library was served up 
on the network, than even TW files that were not being served up (local 
file) could access the library. There's a way to specify additional plugin 
paths either for standard node.js on the command line or by using 
environmental variables. But I don't which, if any, approach TS can use.

Thanks!

On Thursday, April 30, 2020 at 4:52:16 PM UTC-7, Arlen Beiler wrote:
>
> 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/Arlen22/TiddlyServer/issues/94#issuecomment-622179126
>
> On Thu, Apr 30, 2020 at 7:47 PM 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, otherwise you will 
>> end up running into compatibility issues between core and the official 
>> plugins. 
>>
>> In any case, this would be a TiddlyWiki data folder question. It's not 
>> specific to TiddlyServer. 
>>
>> Apparently you can also drag in the plugin library config tiddler. 
>> https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672
>>
>> On Thu, Apr 30, 2020 at 6:45 PM 'Mark S.' via TiddlyWiki <
>> tiddlywiki@googlegroups.com> wrote:
>>
>>> 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 process, resulting in a 
 clean production build. So, I've now published TiddlyServer to npm and you 
 can install it by running 

  npm install -g tiddlyserver

 This will install it globally, which also puts it in your PATH, so you 
 can run it directly using 

  tiddlyserver --config /path/to/settings.json

 Windows should also work just fine. You can use the tilde (~) if your 
 shell supports it. I forgot to include tilde support for the config 
 parameter (if the shell passes it through). I'll add that in the future. 

 If you don't have npm installed or you want to do a portable install, 
 you'll find the archives listed at 
 https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I 
 downloaded the tgz files from npm, and the zip files are the same archive 
 converted to a zip file. 

 I've separated out the tiddlywiki bundle into a separate npm package. 
 If you're familiar with that it's still the same idea. I will add more 
 info 
 to the readme, but for now it's ready to use. It also includes the 
 client-side .js files for adding in an html page, which probably nobody 
 uses yet. I'm still working on the use cases and so forth for that, so 
 that's just a little teaser. 

 https://www.npmjs.com/package/tiddlywiki-production

 As always, remember to create backups before upgrading.

 Enjoy, 
 Arlen

>>> -- 
>>> 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 visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/5ec84934-3e6c-454c-802e-4e06abd22b01%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/d13c6a86-87e9-4d85-aa01-01de495b6681%40googlegroups.com.


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/Arlen22/TiddlyServer/issues/94#issuecomment-622179126

On Thu, Apr 30, 2020 at 7:47 PM Arlen Beiler  wrote:

> 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, otherwise you will
> end up running into compatibility issues between core and the official
> plugins.
>
> In any case, this would be a TiddlyWiki data folder question. It's not
> specific to TiddlyServer.
>
> Apparently you can also drag in the plugin library config tiddler.
> https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672
>
> On Thu, Apr 30, 2020 at 6:45 PM 'Mark S.' via TiddlyWiki <
> tiddlywiki@googlegroups.com> wrote:
>
>> 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 process, resulting in a
>>> clean production build. So, I've now published TiddlyServer to npm and you
>>> can install it by running
>>>
>>>  npm install -g tiddlyserver
>>>
>>> This will install it globally, which also puts it in your PATH, so you
>>> can run it directly using
>>>
>>>  tiddlyserver --config /path/to/settings.json
>>>
>>> Windows should also work just fine. You can use the tilde (~) if your
>>> shell supports it. I forgot to include tilde support for the config
>>> parameter (if the shell passes it through). I'll add that in the future.
>>>
>>> If you don't have npm installed or you want to do a portable install,
>>> you'll find the archives listed at
>>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>>> downloaded the tgz files from npm, and the zip files are the same archive
>>> converted to a zip file.
>>>
>>> I've separated out the tiddlywiki bundle into a separate npm package. If
>>> you're familiar with that it's still the same idea. I will add more info to
>>> the readme, but for now it's ready to use. It also includes the client-side
>>> .js files for adding in an html page, which probably nobody uses yet. I'm
>>> still working on the use cases and so forth for that, so that's just a
>>> little teaser.
>>>
>>> https://www.npmjs.com/package/tiddlywiki-production
>>>
>>> As always, remember to create backups before upgrading.
>>>
>>> Enjoy,
>>> Arlen
>>>
>> --
>> 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 visit
>> https://groups.google.com/d/msgid/tiddlywiki/5ec84934-3e6c-454c-802e-4e06abd22b01%40googlegroups.com
>> 
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQKc4R5%3Dwc_%3DEk1C2qEQL3eiErqWLVwwGh%3DSJ%3D%3DVUCO%3Dw%40mail.gmail.com.


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, otherwise you will
end up running into compatibility issues between core and the official
plugins.

In any case, this would be a TiddlyWiki data folder question. It's not
specific to TiddlyServer.

Apparently you can also drag in the plugin library config tiddler.
https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672

On Thu, Apr 30, 2020 at 6:45 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> 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 process, resulting in a
>> clean production build. So, I've now published TiddlyServer to npm and you
>> can install it by running
>>
>>  npm install -g tiddlyserver
>>
>> This will install it globally, which also puts it in your PATH, so you
>> can run it directly using
>>
>>  tiddlyserver --config /path/to/settings.json
>>
>> Windows should also work just fine. You can use the tilde (~) if your
>> shell supports it. I forgot to include tilde support for the config
>> parameter (if the shell passes it through). I'll add that in the future.
>>
>> If you don't have npm installed or you want to do a portable install,
>> you'll find the archives listed at
>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>> downloaded the tgz files from npm, and the zip files are the same archive
>> converted to a zip file.
>>
>> I've separated out the tiddlywiki bundle into a separate npm package. If
>> you're familiar with that it's still the same idea. I will add more info to
>> the readme, but for now it's ready to use. It also includes the client-side
>> .js files for adding in an html page, which probably nobody uses yet. I'm
>> still working on the use cases and so forth for that, so that's just a
>> little teaser.
>>
>> https://www.npmjs.com/package/tiddlywiki-production
>>
>> As always, remember to create backups before upgrading.
>>
>> Enjoy,
>> Arlen
>>
> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/5ec84934-3e6c-454c-802e-4e06abd22b01%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdST9t%3DY62qox4zpLU7D4HbZG2SF%2BqAf_0n1A%3DiRewckW_g%40mail.gmail.com.


[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 process, resulting in a clean 
> production build. So, I've now published TiddlyServer to npm and you can 
> install it by running 
>
>  npm install -g tiddlyserver
>
> This will install it globally, which also puts it in your PATH, so you can 
> run it directly using 
>
>  tiddlyserver --config /path/to/settings.json
>
> Windows should also work just fine. You can use the tilde (~) if your 
> shell supports it. I forgot to include tilde support for the config 
> parameter (if the shell passes it through). I'll add that in the future. 
>
> If you don't have npm installed or you want to do a portable install, 
> you'll find the archives listed at 
> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I 
> downloaded the tgz files from npm, and the zip files are the same archive 
> converted to a zip file. 
>
> I've separated out the tiddlywiki bundle into a separate npm package. If 
> you're familiar with that it's still the same idea. I will add more info to 
> the readme, but for now it's ready to use. It also includes the client-side 
> .js files for adding in an html page, which probably nobody uses yet. I'm 
> still working on the use cases and so forth for that, so that's just a 
> little teaser. 
>
> https://www.npmjs.com/package/tiddlywiki-production
>
> As always, remember to create backups before upgrading.
>
> Enjoy, 
> Arlen
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/5ec84934-3e6c-454c-802e-4e06abd22b01%40googlegroups.com.


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 wrote:
>
> 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 windows and macos mostly consistently. Perhaps specifying the 
> __dirname equivelant in bash would be another idea.  
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/11b5806b-237a-4f7e-b090-c17ec0514146%40googlegroups.com.


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 visit 
https://groups.google.com/d/msgid/tiddlywiki/b31a00d0-23b7-4c38-af9d-70ae6a8bd228%40googlegroups.com.


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
windows and macos mostly consistently. Perhaps specifying the __dirname
equivelant in bash would be another idea.

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR-qdF_NM_D3zBj%2BgbwL5-SBhy5PAj9wSP9BW%2Bhw9ZtAw%40mail.gmail.com.


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 Node executable and put in in the 
>directory. If using bash, you need to add ./ (dot slash) to the beginning 
>of the command.
>
>
Minor comment: it is better to use the full path for index.js


Tested on Windows 10 works!

--Mohammad 

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/3f2a7d0c-29ad-4c1c-b080-99bf672963be%40googlegroups.com.


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
  - "node node_modules/tiddlyserver/index.js --config settings.json"
   - You can also download the Node executable and put in in the directory.
   If using bash, you need to add ./ (dot slash) to the beginning of the
   command.

That's it! Easy! There are some more changes coming to the NPM dependencies
that TiddlyServer uses so this option makes it easy to update as well. Just
run "npm install tiddlyserver@latest" on any computer that has NPM
installed on it, and you're updated. TiddlyServer specifies the exact
TiddlyWiki version so updating TiddlyServer will update the TiddlyWiki
dependencies as well.


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
> 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. download tiddlywiki-production-5.1.22.zip and unzip in a separate
> folder
> 3. unzipping both in separate folders, both creates *package* folder
> 4. create a folder called TiddlyServer and put the content of package
> folder from step 1
> 5. create folder node_modulus in TiddlyServer folder
> 6. create folder tiddlywiki-production under  node_modulus
> 7. copy and paste the content of package folder from step 2 in
> tiddlywiki-production
> 8. create a setting.json as described in
> https://github.com/Arlen22/TiddlyServer/
> 
> 9. open terminal
> 10. run:  node index.js --config settings.json
>
> That is all!
>
> [image: Slide-42.png]
>
>
>
> NOTE: You can put your *settings.json* everywhere you like and create a
> batch file to run TiddlyServer
> example
>
> *startServer.cmd*
> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler  wrote:
>
>> 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-production
>>  This is the package folder from tiddlywiki-production-*
>> TiddlyServer/index.js
>>  This is the executable bundle, run "node index.js"
>>
>> Arlen
>>
>> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
>> wrote:
>>
>>> 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:
>>> TiddlyServer-2.2.0-alpha-3.zip
>>> tiddlywiki-production-5.1.22.zip
>>>
>>> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
>>> unzipped tiddlywiki-production-5.1.22.zip
>>>
>>> I believe I am supposed to rename the "package" folder that is in
>>> tiddlywiki-production-5.1.22.zip
>>> It is unclear to me whether package should be renamed tiddlywiki and
>>> simply put into my twserver folder OR if I should first create a folder
>>> called node_modules in twserver, rename package to tiddlywiki-production
>>> and put it into node_modules.
>>>
>>> Either way, your source currently does not have a server.js file nor can
>>> I find an index.js file.
>>>
>>> I decided to go the npm route because I have it available as well and
>>> was able to get things working with my old setting.json file. Things look
>>> pretty good with one exception. Unless I missed something, your plugins are
>>> still v5.1.21.
>>>
>>> Thanks for building this.
>>> Scott
>>>
>>>
>>>
>>> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:

 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 at 4:02 PM 'Mark S.' via TiddlyWiki <
 tiddl...@googlegroups.com> wrote:

> 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

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
separate JS or JSON file for the tree (which does need to have the correct
extension, lol).

On Tue, Apr 28, 2020 at 2:48 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

>
>
> 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) you mention that you can use
> an xml file. There is (or was) even a small snippet that used XML. But
> there were no directions that I could find that told how to invoke an xml
> file. Is the XML still in there, and if so, how is it invoked?
>
> I swap off between different saving techniques so that I can understand
> what other people are experiencing. So it's been awhile since I last used
> tiddlyserver. I feel that this time it is a little faster than before. Is
> that possible? Or a false memory? ;-)
>
> Thanks!
>
> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/411051a3-f850-457b-baed-dc3e2f89f0c1%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQaBKY5%3DmuBGu-z661jWboKezsdNbiZtNAHNSCE5S9Tiw%40mail.gmail.com.


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) you mention that you can use 
an xml file. There is (or was) even a small snippet that used XML. But 
there were no directions that I could find that told how to invoke an xml 
file. Is the XML still in there, and if so, how is it invoked?

I swap off between different saving techniques so that I can understand 
what other people are experiencing. So it's been awhile since I last used 
tiddlyserver. I feel that this time it is a little faster than before. Is 
that possible? Or a false memory? ;-)

Thanks!

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/411051a3-f850-457b-baed-dc3e2f89f0c1%40googlegroups.com.


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 your machine, follow this setup:
>
> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate 
> folder 
> 3. unzipping both in separate folders, both creates *package* folder
> 4. create a folder called TiddlyServer and put the content of package 
> folder from step 1
> 5. create folder node_modulus in TiddlyServer folder
> 6. create folder tiddlywiki-production under  node_modulus 
> 7. copy and paste the content of package folder from step 2 in  
> tiddlywiki-production 
> 8. create a setting.json as described in 
> https://github.com/Arlen22/TiddlyServer/ 
> 
> 9. open terminal
> 10. run:  node index.js --config settings.json
>
> That is all!
>
> [image: Slide-42.png]
>
>
>
> NOTE: You can put your *settings.json* everywhere you like and create a 
> batch file to run TiddlyServer
> example
>
> *startServer.cmd*
> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>
>
> Best wishes
> Mohammad
>
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/3950bdc4-78e4-467a-af61-e005bed3c4ff%40googlegroups.com.


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 emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8f47261d-4d93-492c-b286-19024d71727f%40googlegroups.com.


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 Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani  > 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 your machine, follow this setup:
>>
>> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
>> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate 
>> folder 
>> 3. unzipping both in separate folders, both creates *package* folder
>> 4. create a folder called TiddlyServer and put the content of package 
>> folder from step 1
>> 5. create folder node_modulus in TiddlyServer folder
>> 6. create folder tiddlywiki-production under  node_modulus 
>> 7. copy and paste the content of package folder from step 2 in  
>> tiddlywiki-production 
>> 8. create a setting.json as described in 
>> https://github.com/Arlen22/TiddlyServer/ 
>> 
>> 9. open terminal
>> 10. run:  node index.js --config settings.json
>>
>> That is all!
>>
>> [image: Slide-42.png]
>>
>>
>>
>> NOTE: You can put your *settings.json* everywhere you like and create a 
>> batch file to run TiddlyServer
>> example
>>
>> *startServer.cmd*
>> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler > > wrote:
>>
>>> 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-production 
>>>  This is the package folder from tiddlywiki-production-*
>>> TiddlyServer/index.js 
>>>  This is the executable bundle, run "node index.js"
>>>
>>> Arlen
>>>
>>> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery >> > wrote:
>>>
 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:
 TiddlyServer-2.2.0-alpha-3.zip
 tiddlywiki-production-5.1.22.zip

 unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
 unzipped tiddlywiki-production-5.1.22.zip 

 I believe I am supposed to rename the "package" folder that is in 
 tiddlywiki-production-5.1.22.zip 
 It is unclear to me whether package should be renamed tiddlywiki and 
 simply put into my twserver folder OR if I should first create a folder 
 called node_modules in twserver, rename package to tiddlywiki-production 
 and put it into node_modules.

 Either way, your source currently does not have a server.js file nor 
 can I find an index.js file.

 I decided to go the npm route because I have it available as well and 
 was able to get things working with my old setting.json file. Things look 
 pretty good with one exception. Unless I missed something, your plugins 
 are 
 still v5.1.21.

 Thanks for building this.
 Scott



 On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>
> 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 at 4:02 PM 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com> wrote:
>
>> 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 Beiler wrote:
>>>
>>> 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_modules/tiddlywiki-production. In other words, 
>>> create th

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 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!
>>>  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. download tiddlywiki-production-5.1.22.zip and unzip in a separate
>>> folder
>>> 3. unzipping both in separate folders, both creates *package* folder
>>> 4. create a folder called TiddlyServer and put the content of package
>>> folder from step 1
>>> 5. create folder node_modulus in TiddlyServer folder
>>> 6. create folder tiddlywiki-production under  node_modulus
>>> 7. copy and paste the content of package folder from step 2 in
>>> tiddlywiki-production
>>> 8. create a setting.json as described in
>>> https://github.com/Arlen22/TiddlyServer/
>>> 
>>> 9. open terminal
>>> 10. run:  node index.js --config settings.json
>>>
>>> That is all!
>>>
>>> [image: Slide-42.png]
>>>
>>>
>>>
>>> NOTE: You can put your *settings.json* everywhere you like and create a
>>> batch file to run TiddlyServer
>>> example
>>>
>>> *startServer.cmd*
>>> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/41176131-ce88-4e90-82fc-71840d096436%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdST5wUqXhDgnKSUkXtZUvJOf-qhW1gXZCgvRpgPc6dCrKw%40mail.gmail.com.


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!
>>  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. download tiddlywiki-production-5.1.22.zip and unzip in a separate 
>> folder 
>> 3. unzipping both in separate folders, both creates *package* folder
>> 4. create a folder called TiddlyServer and put the content of package 
>> folder from step 1
>> 5. create folder node_modulus in TiddlyServer folder
>> 6. create folder tiddlywiki-production under  node_modulus 
>> 7. copy and paste the content of package folder from step 2 in  
>> tiddlywiki-production 
>> 8. create a setting.json as described in 
>> https://github.com/Arlen22/TiddlyServer/ 
>> 
>> 9. open terminal
>> 10. run:  node index.js --config settings.json
>>
>> That is all!
>>
>> [image: Slide-42.png]
>>
>>
>>
>> NOTE: You can put your *settings.json* everywhere you like and create a 
>> batch file to run TiddlyServer
>> example
>>
>> *startServer.cmd*
>> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/41176131-ce88-4e90-82fc-71840d096436%40googlegroups.com.


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
> 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. download tiddlywiki-production-5.1.22.zip and unzip in a separate
> folder
> 3. unzipping both in separate folders, both creates *package* folder
> 4. create a folder called TiddlyServer and put the content of package
> folder from step 1
> 5. create folder node_modulus in TiddlyServer folder
> 6. create folder tiddlywiki-production under  node_modulus
> 7. copy and paste the content of package folder from step 2 in
> tiddlywiki-production
> 8. create a setting.json as described in
> https://github.com/Arlen22/TiddlyServer/
> 
> 9. open terminal
> 10. run:  node index.js --config settings.json
>
> That is all!
>
> [image: Slide-42.png]
>
>
>
> NOTE: You can put your *settings.json* everywhere you like and create a
> batch file to run TiddlyServer
> example
>
> *startServer.cmd*
> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler  wrote:
>
>> 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-production
>>  This is the package folder from tiddlywiki-production-*
>> TiddlyServer/index.js
>>  This is the executable bundle, run "node index.js"
>>
>> Arlen
>>
>> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
>> wrote:
>>
>>> 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:
>>> TiddlyServer-2.2.0-alpha-3.zip
>>> tiddlywiki-production-5.1.22.zip
>>>
>>> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
>>> unzipped tiddlywiki-production-5.1.22.zip
>>>
>>> I believe I am supposed to rename the "package" folder that is in
>>> tiddlywiki-production-5.1.22.zip
>>> It is unclear to me whether package should be renamed tiddlywiki and
>>> simply put into my twserver folder OR if I should first create a folder
>>> called node_modules in twserver, rename package to tiddlywiki-production
>>> and put it into node_modules.
>>>
>>> Either way, your source currently does not have a server.js file nor can
>>> I find an index.js file.
>>>
>>> I decided to go the npm route because I have it available as well and
>>> was able to get things working with my old setting.json file. Things look
>>> pretty good with one exception. Unless I missed something, your plugins are
>>> still v5.1.21.
>>>
>>> Thanks for building this.
>>> Scott
>>>
>>>
>>>
>>> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:

 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 at 4:02 PM 'Mark S.' via TiddlyWiki <
 tiddl...@googlegroups.com> wrote:

> 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 Beiler wrote:
>>
>> 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_modules/tiddlywiki-production. In other words, create 
>> the
>> node_modules folder, and put the tiddlywiki-production package folder
>> inside that and rename it tiddlywiki-production.
>>
>> TiddlyServer
>> This is the package folder from tiddlyserver-*
>> TiddlyServer/node_modules
>>  This is a folder you create
>> TiddlyServer/node_modules/tiddlywiki-production
>>  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. download tiddlywiki-production-5.1.22.zip and unzip in a separate folder
3. unzipping both in separate folders, both creates *package* folder
4. create a folder called TiddlyServer and put the content of package
folder from step 1
5. create folder node_modulus in TiddlyServer folder
6. create folder tiddlywiki-production under  node_modulus
7. copy and paste the content of package folder from step 2 in
tiddlywiki-production
8. create a setting.json as described in
https://github.com/Arlen22/TiddlyServer/

9. open terminal
10. run:  node index.js --config settings.json

That is all!

[image: Slide-42.png]



NOTE: You can put your *settings.json* everywhere you like and create a
batch file to run TiddlyServer
example

*startServer.cmd*
*node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*


Best wishes
Mohammad


On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler  wrote:

> 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-production
>  This is the package folder from tiddlywiki-production-*
> TiddlyServer/index.js
>  This is the executable bundle, run "node index.js"
>
> Arlen
>
> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
> wrote:
>
>> 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:
>> TiddlyServer-2.2.0-alpha-3.zip
>> tiddlywiki-production-5.1.22.zip
>>
>> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
>> unzipped tiddlywiki-production-5.1.22.zip
>>
>> I believe I am supposed to rename the "package" folder that is in
>> tiddlywiki-production-5.1.22.zip
>> It is unclear to me whether package should be renamed tiddlywiki and
>> simply put into my twserver folder OR if I should first create a folder
>> called node_modules in twserver, rename package to tiddlywiki-production
>> and put it into node_modules.
>>
>> Either way, your source currently does not have a server.js file nor can
>> I find an index.js file.
>>
>> I decided to go the npm route because I have it available as well and was
>> able to get things working with my old setting.json file. Things look
>> pretty good with one exception. Unless I missed something, your plugins are
>> still v5.1.21.
>>
>> Thanks for building this.
>> Scott
>>
>>
>>
>> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>>>
>>> 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 at 4:02 PM 'Mark S.' via TiddlyWiki <
>>> tiddl...@googlegroups.com> wrote:
>>>
 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 Beiler wrote:
>
> 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_modules/tiddlywiki-production. In other words, create 
> the
> node_modules folder, and put the tiddlywiki-production package folder
> inside that and rename it tiddlywiki-production.
>
> TiddlyServer
> This is the package folder from tiddlyserver-*
> TiddlyServer/node_modules
>  This is a folder you create
> TiddlyServer/node_modules/tiddlywiki-production
>  This is the package folder from tiddlywiki-production-*
> TiddlyServer/index.js
>  This is the executable bundle, run "node index.js"
>
> Hope that helps. Let me know if it is still unclear.
>
> I do appreciate you all's feedback, thanks,
> Arlen
>
> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' v

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-production
 This is the package folder from tiddlywiki-production-*
TiddlyServer/index.js
 This is the executable bundle, run "node index.js"

Arlen

On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
wrote:

> 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:
> TiddlyServer-2.2.0-alpha-3.zip
> tiddlywiki-production-5.1.22.zip
>
> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
> unzipped tiddlywiki-production-5.1.22.zip
>
> I believe I am supposed to rename the "package" folder that is in
> tiddlywiki-production-5.1.22.zip
> It is unclear to me whether package should be renamed tiddlywiki and
> simply put into my twserver folder OR if I should first create a folder
> called node_modules in twserver, rename package to tiddlywiki-production
> and put it into node_modules.
>
> Either way, your source currently does not have a server.js file nor can I
> find an index.js file.
>
> I decided to go the npm route because I have it available as well and was
> able to get things working with my old setting.json file. Things look
> pretty good with one exception. Unless I missed something, your plugins are
> still v5.1.21.
>
> Thanks for building this.
> Scott
>
>
>
> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>>
>> 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 at 4:02 PM 'Mark S.' via TiddlyWiki <
>> tiddl...@googlegroups.com> wrote:
>>
>>> 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 Beiler wrote:

 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_modules/tiddlywiki-production. In other words, create the
 node_modules folder, and put the tiddlywiki-production package folder
 inside that and rename it tiddlywiki-production.

 TiddlyServer
 This is the package folder from tiddlyserver-*
 TiddlyServer/node_modules
  This is a folder you create
 TiddlyServer/node_modules/tiddlywiki-production
  This is the package folder from tiddlywiki-production-*
 TiddlyServer/index.js
  This is the executable bundle, run "node index.js"

 Hope that helps. Let me know if it is still unclear.

 I do appreciate you all's feedback, thanks,
 Arlen

 On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
 tiddl...@googlegroups.com> wrote:

> 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 from this group and stop receiving emails from it, send
> an email to tiddl...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com
> 
> .
>
 --
>>> 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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com
>>> 
>>> .
>>>
>> --

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:
TiddlyServer-2.2.0-alpha-3.zip
tiddlywiki-production-5.1.22.zip

unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
unzipped tiddlywiki-production-5.1.22.zip 

I believe I am supposed to rename the "package" folder that is in 
tiddlywiki-production-5.1.22.zip 
It is unclear to me whether package should be renamed tiddlywiki and simply 
put into my twserver folder OR if I should first create a folder called 
node_modules in twserver, rename package to tiddlywiki-production and put 
it into node_modules.

Either way, your source currently does not have a server.js file nor can I 
find an index.js file.

I decided to go the npm route because I have it available as well and was 
able to get things working with my old setting.json file. Things look 
pretty good with one exception. Unless I missed something, your plugins are 
still v5.1.21.

Thanks for building this.
Scott



On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>
> 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 at 4:02 PM 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com > wrote:
>
>> 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 Beiler wrote:
>>>
>>> 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_modules/tiddlywiki-production. In other words, create the 
>>> node_modules folder, and put the tiddlywiki-production package folder 
>>> inside that and rename it tiddlywiki-production. 
>>>
>>> TiddlyServer 
>>> This is the package folder from tiddlyserver-*
>>> TiddlyServer/node_modules 
>>>  This is a folder you create
>>> TiddlyServer/node_modules/tiddlywiki-production 
>>>  This is the package folder from tiddlywiki-production-*
>>> TiddlyServer/index.js 
>>>  This is the executable bundle, run "node index.js"
>>>
>>> Hope that helps. Let me know if it is still unclear.
>>>
>>> I do appreciate you all's feedback, thanks,
>>> Arlen
>>>
>>> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
>>> tiddl...@googlegroups.com > wrote:
>>>
 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 from this group and stop receiving emails from it, send 
 an email to tiddl...@googlegroups.com .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com
  
 
 .

>>> -- 
>> 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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/66a63833-c4f2-4bdd-b86e-5e26044c1c43%40googlegroups.com.


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 at 4:02 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> 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 Beiler wrote:
>>
>> 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_modules/tiddlywiki-production. In other words, create the
>> node_modules folder, and put the tiddlywiki-production package folder
>> inside that and rename it tiddlywiki-production.
>>
>> TiddlyServer
>> This is the package folder from tiddlyserver-*
>> TiddlyServer/node_modules
>>  This is a folder you create
>> TiddlyServer/node_modules/tiddlywiki-production
>>  This is the package folder from tiddlywiki-production-*
>> TiddlyServer/index.js
>>  This is the executable bundle, run "node index.js"
>>
>> Hope that helps. Let me know if it is still unclear.
>>
>> I do appreciate you all's feedback, thanks,
>> Arlen
>>
>> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
>> tiddlywiki@googlegroups.com> wrote:
>>
>>> 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 from this group and stop receiving emails from it, send
>>> an email to tiddlywiki+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQqeBxobPXfmP%2Bdu2cm37xRbgo9dKAwbYwD5Sneo25_Kg%40mail.gmail.com.


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 Beiler wrote:
>
> 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_modules/tiddlywiki-production. In other words, create the 
> node_modules folder, and put the tiddlywiki-production package folder 
> inside that and rename it tiddlywiki-production. 
>
> TiddlyServer 
> This is the package folder from tiddlyserver-*
> TiddlyServer/node_modules 
>  This is a folder you create
> TiddlyServer/node_modules/tiddlywiki-production 
>  This is the package folder from tiddlywiki-production-*
> TiddlyServer/index.js 
>  This is the executable bundle, run "node index.js"
>
> Hope that helps. Let me know if it is still unclear.
>
> I do appreciate you all's feedback, thanks,
> Arlen
>
> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
> tiddlywiki@googlegroups.com> wrote:
>
>> 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 from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com.


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_modules/tiddlywiki-production. In other words, create the
node_modules folder, and put the tiddlywiki-production package folder
inside that and rename it tiddlywiki-production.

TiddlyServer
This is the package folder from tiddlyserver-*
TiddlyServer/node_modules
 This is a folder you create
TiddlyServer/node_modules/tiddlywiki-production
 This is the package folder from tiddlywiki-production-*
TiddlyServer/index.js
 This is the executable bundle, run "node index.js"

Hope that helps. Let me know if it is still unclear.

I do appreciate you all's feedback, thanks,
Arlen

On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> 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 from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSSfLVpyfeP7L9fcTx3Riyofz68PYR1sKo9L8a37X5Epfw%40mail.gmail.com.


[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 from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com.


[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/

or ???

I kind of lose track of which directory you mean by "it" in your release 
instructions.

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 process, resulting in a clean 
> production build. So, I've now published TiddlyServer to npm and you can 
> install it by running 
>
>  npm install -g tiddlyserver
>
> This will install it globally, which also puts it in your PATH, so you can 
> run it directly using 
>
>  tiddlyserver --config /path/to/settings.json
>
> Windows should also work just fine. You can use the tilde (~) if your 
> shell supports it. I forgot to include tilde support for the config 
> parameter (if the shell passes it through). I'll add that in the future. 
>
> If you don't have npm installed or you want to do a portable install, 
> you'll find the archives listed at 
> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I 
> downloaded the tgz files from npm, and the zip files are the same archive 
> converted to a zip file. 
>
> I've separated out the tiddlywiki bundle into a separate npm package. If 
> you're familiar with that it's still the same idea. I will add more info to 
> the readme, but for now it's ready to use. It also includes the client-side 
> .js files for adding in an html page, which probably nobody uses yet. I'm 
> still working on the use cases and so forth for that, so that's just a 
> little teaser. 
>
> https://www.npmjs.com/package/tiddlywiki-production
>
> As always, remember to create backups before upgrading.
>
> Enjoy, 
> Arlen
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/4fd73c56-ba45-4af1-94a8-50a140b7fada%40googlegroups.com.


[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 
> install it by running 
>
>  npm install -g tiddlyserver
>
> This will install it globally, which also puts it in your PATH, so you can 
> run it directly using 
>
>  tiddlyserver --config /path/to/settings.json
>
> Windows should also work just fine. You can use the tilde (~) if your 
> shell supports it. I forgot to include tilde support for the config 
> parameter (if the shell passes it through). I'll add that in the future. 
>
> If you don't have npm installed or you want to do a portable install, 
> you'll find the archives listed at 
> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I 
> downloaded the tgz files from npm, and the zip files are the same archive 
> converted to a zip file. 
>

Arlen,
I downloaded the zip file on Windows 10 with node 12 installed! I cannot 
see any tiddlyserver.cmd server.js ...?
 How can I run and use Tiddlyserver using Portable install?

--Mohammad
 

>
> I've separated out the tiddlywiki bundle into a separate npm package. If 
> you're familiar with that it's still the same idea. I will add more info to 
> the readme, but for now it's ready to use. It also includes the client-side 
> .js files for adding in an html page, which probably nobody uses yet. I'm 
> still working on the use cases and so forth for that, so that's just a 
> little teaser. 
>
> https://www.npmjs.com/package/tiddlywiki-production
>
> As always, remember to create backups before upgrading.
>
> Enjoy, 
> Arlen
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/36f3dfaf-5a77-47b8-be25-dea1fe3805c4%40googlegroups.com.


[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 rearrange the build process, resulting in a clean 
> production build. So, I've now published TiddlyServer to npm and you can 
> install it by running 
>
>  npm install -g tiddlyserver
>
> This will install it globally, which also puts it in your PATH, so you can 
> run it directly using 
>
>  tiddlyserver --config /path/to/settings.json
>
> Windows should also work just fine. You can use the tilde (~) if your 
> shell supports it. I forgot to include tilde support for the config 
> parameter (if the shell passes it through). I'll add that in the future. 
>
> If you don't have npm installed or you want to do a portable install, 
> you'll find the archives listed at 
> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I 
> downloaded the tgz files from npm, and the zip files are the same archive 
> converted to a zip file. 
>
> I've separated out the tiddlywiki bundle into a separate npm package. If 
> you're familiar with that it's still the same idea. I will add more info to 
> the readme, but for now it's ready to use. It also includes the client-side 
> .js files for adding in an html page, which probably nobody uses yet. I'm 
> still working on the use cases and so forth for that, so that's just a 
> little teaser. 
>
> https://www.npmjs.com/package/tiddlywiki-production
>
> As always, remember to create backups before upgrading.
>
> Enjoy, 
> Arlen
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/b8f26329-3148-4f90-b54d-bf7de25b080e%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-11 Thread jwd
So maybe I am missing something obvious but when I visit the above link or 
its home page https://arlen22.github.io/tiddlyserver/ I see no link to the 
actual current download location.

You might want to include a Download section or a prominent link to 
https://github.com/Arlen22/TiddlyServer/releases/ in the Getting Started 
steps. 

Similarly with the README at https://github.com/Arlen22/TiddlyServer - 
where the Tiddlywiki site links. It does not seem apparent to this visitor 
where one goes to get the goods without finding the link in the original 
post above.

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/a9a6e858-dc8d-4bdc-afec-e2c360e70a06%40googlegroups.com.


[tw5] Re: TiddlyServer create directory security bug

2019-10-08 Thread TonyM
Arlen

Thanks for being responsible for potential risks.

Love your work
Tony

On Tuesday, October 8, 2019 at 12:24:03 PM UTC+11, Arlen Beiler wrote:
>
> Hi Everyone,
>
> I've fixed it in master and I'll publish a fix tomorrow, but I just 
> realized that the create directory function in the directory index page 
> does not check the folder name before creating it, which means that any 
> relative path will create a folder as long as it doesn't exist. So it's not 
> much of a security risk, because it will fail if the folder already exists, 
> but I thought I should mention it. I'm assuming no one has this feature 
> enabled for the public anyway, so it shouldn't be much of an issue. 
>
> Also, a week ago I discovered that I had not sufficiently checked the 
> login cookie suffix and an empty suffix would have slipped through, but as 
> no one has really been using this feature yet I don't think that would have 
> affected anyone. Just use at least 2.1.5 and you'll be fine. I'm glad I'm 
> catching bugs. Just thought I should let everyone know since these slipped 
> through. 
>
> Arlen
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/f0d68b05-b6ee-4fb2-a9b2-e0800f396dd8%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-04 Thread Arlen Beiler
I've add some JSON snippets to
https://arlen22.github.io/tiddlyserver/docs/serverconfig.html to hopefully
make it more clear what the entire configuration looks like.

On Fri, Oct 4, 2019 at 9:45 AM Arlen Beiler  wrote:

> Mime types can now be added by specifying them under { "directoryIndex: {
> mimetypes: { "text/html": ["tw"] } } }
>
> On Fri, Oct 4, 2019 at 9:42 AM Arlen Beiler  wrote:
>
>> export interface ServerConfig_TiddlyServer {
>>   /**
>>
>>* Backup folder to store backups in. Multiple folder paths can backup to 
>> the same folder if desired.
>>*/
>>   backupFolder?: string,
>>   /**
>>
>>* GZip backup file to save disk space. Good for larger wikis. Turn this 
>> off for experimental wikis that you often need to restore from a backup 
>> because of a bad line of code (I speak from experience).
>>*/
>>   gzipBackups?: boolean,
>>   /**
>>
>>* Reject an etag with a modified time that is different than the file on 
>> disk by this many seconds.
>>
>>* Sometimes sync or antivirus sofware will "touch" a file and update the 
>> modified time without changing anything.
>>* Size difference will still cause the request to be rejected.
>>*/
>>   etagAge?: number,
>>   /**
>>
>>* Whether to use the etag field -- if not specified then it will check it 
>> if presented.
>>
>>* This does not affect the backup etagAge option, as the saving mechanism 
>> will still
>>* send etags back to the browser, regardless of this option.
>>*/
>>   etag?: "required" | "disabled" | "optional"
>> }
>>
>> On Fri, Oct 4, 2019 at 9:40 AM Arlen Beiler  wrote:
>>
>>> The description on etagAge is not correct. It has nothing to do with
>>> backups. I'm not sure why I wrote that, but backups are always saved no
>>> matter what. I must have been tired that day!
>>>
>>> On Fri, Oct 4, 2019 at 9:37 AM Arlen Beiler  wrote:
>>>
 Here is the TypeScript interface for the putsaver property, which is a
 top-level property (in other words, put it beside the tree property).

 So
 "putsaver": {
 "backupFolder": "",
 "etag": "optional",
 // etc.
 }

 export interface ServerConfig_TiddlyServer {
   /**

* Backup folder to store backups in. Multiple folder paths can backup 
 to the same folder if desired.
*/
   backupFolder?: string,
   /**

* GZip backup file to save disk space. Good for larger wikis. Turn this 
 off for experimental wikis that you often need to restore from a backup 
 because of a bad line of code (I speak from experience).
*/
   gzipBackups?: boolean,
   /**

* Save a backup only if the disk copy is older than this many seconds. 
 If the file on disk is only a few minutes old it can be assumed that very 
 little has changed since the last save. So if this is set to 10 minutes, 
 and your wiki gets saved every 9 minutes, only the first save will trigger 
 a backup. This is a useful option for large wikis that see a lot of daily 
 work but not useful for experimental wikis which might crash at any time 
 and need to be reloaded from the last backup.
*/
   etagAge?: number,
   /**

* Whether to use the etag field -- if not specified then it will check 
 it if presented.

* This does not affect the backup etagAge option, as the saving 
 mechanism will still
* send etags back to the browser, regardless of this option.
*/
   etag?: "required" | "disabled" | "optional"
 }

 On Fri, Oct 4, 2019 at 9:11 AM Adrian Holbrook <
 adrian.holbr...@gmail.com> wrote:

> Just out of curiosity as I have not been able to get the backup to
> work on the previous installation I notice that you have "backupDirectory"
> but in the Settinggs example files oin Version 2.1.3 it had 
> "backupFolder".
> Is this important?
>
> Adrian
>
> On Friday, October 4, 2019 at 5:06:58 AM UTC+1, TonyM wrote:
>>
>> Arlen,
>>
>> Thanks for maintaining and enhancing this wonderful solution. I
>> notice the settings.json seems to have changed a lot. I copied my tree 
>> into
>> the new settings.json
>>
>> But these settings were in my old settings.json
>> "types":{
>> "htmlfile": ["htm", "html", "hta", "png", "tw"]
>> },
>> "username": "",
>> "password": "",
>> "host": "192.168.1.81",
>> "port": 80,
>> "backupDirectory": "C:\\Data\\TW5\\backups",
>> "etagWindow": 10,
>> "etag": "",
>>  "_disableLocalHost": "true",
>> "useTW5path" : false
>>
>> Have these being deprecated?
>>
>> I believe I will still need
>>  "etag": "required",
>>  "etagWindow": 10,
>>
>> But the setting the port is Port is  not documented here
>> https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#port-numb

Re: [tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-04 Thread Arlen Beiler
Mime types can now be added by specifying them under { "directoryIndex: {
mimetypes: { "text/html": ["tw"] } } }

On Fri, Oct 4, 2019 at 9:42 AM Arlen Beiler  wrote:

> export interface ServerConfig_TiddlyServer {
>   /**
>
>* Backup folder to store backups in. Multiple folder paths can backup to 
> the same folder if desired.
>*/
>   backupFolder?: string,
>   /**
>
>* GZip backup file to save disk space. Good for larger wikis. Turn this 
> off for experimental wikis that you often need to restore from a backup 
> because of a bad line of code (I speak from experience).
>*/
>   gzipBackups?: boolean,
>   /**
>
>* Reject an etag with a modified time that is different than the file on 
> disk by this many seconds.
>
>* Sometimes sync or antivirus sofware will "touch" a file and update the 
> modified time without changing anything.
>* Size difference will still cause the request to be rejected.
>*/
>   etagAge?: number,
>   /**
>
>* Whether to use the etag field -- if not specified then it will check it 
> if presented.
>
>* This does not affect the backup etagAge option, as the saving mechanism 
> will still
>* send etags back to the browser, regardless of this option.
>*/
>   etag?: "required" | "disabled" | "optional"
> }
>
> On Fri, Oct 4, 2019 at 9:40 AM Arlen Beiler  wrote:
>
>> The description on etagAge is not correct. It has nothing to do with
>> backups. I'm not sure why I wrote that, but backups are always saved no
>> matter what. I must have been tired that day!
>>
>> On Fri, Oct 4, 2019 at 9:37 AM Arlen Beiler  wrote:
>>
>>> Here is the TypeScript interface for the putsaver property, which is a
>>> top-level property (in other words, put it beside the tree property).
>>>
>>> So
>>> "putsaver": {
>>> "backupFolder": "",
>>> "etag": "optional",
>>> // etc.
>>> }
>>>
>>> export interface ServerConfig_TiddlyServer {
>>>   /**
>>>
>>>* Backup folder to store backups in. Multiple folder paths can backup to 
>>> the same folder if desired.
>>>*/
>>>   backupFolder?: string,
>>>   /**
>>>
>>>* GZip backup file to save disk space. Good for larger wikis. Turn this 
>>> off for experimental wikis that you often need to restore from a backup 
>>> because of a bad line of code (I speak from experience).
>>>*/
>>>   gzipBackups?: boolean,
>>>   /**
>>>
>>>* Save a backup only if the disk copy is older than this many seconds. 
>>> If the file on disk is only a few minutes old it can be assumed that very 
>>> little has changed since the last save. So if this is set to 10 minutes, 
>>> and your wiki gets saved every 9 minutes, only the first save will trigger 
>>> a backup. This is a useful option for large wikis that see a lot of daily 
>>> work but not useful for experimental wikis which might crash at any time 
>>> and need to be reloaded from the last backup.
>>>*/
>>>   etagAge?: number,
>>>   /**
>>>
>>>* Whether to use the etag field -- if not specified then it will check 
>>> it if presented.
>>>
>>>* This does not affect the backup etagAge option, as the saving 
>>> mechanism will still
>>>* send etags back to the browser, regardless of this option.
>>>*/
>>>   etag?: "required" | "disabled" | "optional"
>>> }
>>>
>>> On Fri, Oct 4, 2019 at 9:11 AM Adrian Holbrook <
>>> adrian.holbr...@gmail.com> wrote:
>>>
 Just out of curiosity as I have not been able to get the backup to work
 on the previous installation I notice that you have "backupDirectory" but
 in the Settinggs example files oin Version 2.1.3 it had "backupFolder". Is
 this important?

 Adrian

 On Friday, October 4, 2019 at 5:06:58 AM UTC+1, TonyM wrote:
>
> Arlen,
>
> Thanks for maintaining and enhancing this wonderful solution. I notice
> the settings.json seems to have changed a lot. I copied my tree into the
> new settings.json
>
> But these settings were in my old settings.json
> "types":{
> "htmlfile": ["htm", "html", "hta", "png", "tw"]
> },
> "username": "",
> "password": "",
> "host": "192.168.1.81",
> "port": 80,
> "backupDirectory": "C:\\Data\\TW5\\backups",
> "etagWindow": 10,
> "etag": "",
>  "_disableLocalHost": "true",
> "useTW5path" : false
>
> Have these being deprecated?
>
> I believe I will still need
>  "etag": "required",
>  "etagWindow": 10,
>
> But the setting the port is Port is  not documented here
> https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#port-number
>
> And
> "types":{
> "htmlfile": ["htm", "html", "hta", "png", "tw"]
> },
>
> Is desirable because I now have .tw files.
>
> Please let me know!
>
> Thanks
> Tony
>
>
> On Friday, October 4, 2019 at 12:56:46 PM UTC+10, Arlen Beiler wrote:
>>
>> Hi everyone,
>>
>> I've upgraded T

Re: [tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-04 Thread Arlen Beiler
export interface ServerConfig_TiddlyServer {
  /**
   * Backup folder to store backups in. Multiple folder paths can
backup to the same folder if desired.
   */
  backupFolder?: string,
  /**
   * GZip backup file to save disk space. Good for larger wikis. Turn
this off for experimental wikis that you often need to restore from a
backup because of a bad line of code (I speak from experience).
   */
  gzipBackups?: boolean,
  /**
   * Reject an etag with a modified time that is different than the
file on disk by this many seconds.
   * Sometimes sync or antivirus sofware will "touch" a file and
update the modified time without changing anything.
   * Size difference will still cause the request to be rejected.
   */
  etagAge?: number,
  /**
   * Whether to use the etag field -- if not specified then it will
check it if presented.
   * This does not affect the backup etagAge option, as the saving
mechanism will still
   * send etags back to the browser, regardless of this option.
   */
  etag?: "required" | "disabled" | "optional"
}

On Fri, Oct 4, 2019 at 9:40 AM Arlen Beiler  wrote:

> The description on etagAge is not correct. It has nothing to do with
> backups. I'm not sure why I wrote that, but backups are always saved no
> matter what. I must have been tired that day!
>
> On Fri, Oct 4, 2019 at 9:37 AM Arlen Beiler  wrote:
>
>> Here is the TypeScript interface for the putsaver property, which is a
>> top-level property (in other words, put it beside the tree property).
>>
>> So
>> "putsaver": {
>> "backupFolder": "",
>> "etag": "optional",
>> // etc.
>> }
>>
>> export interface ServerConfig_TiddlyServer {
>>   /**
>>
>>* Backup folder to store backups in. Multiple folder paths can backup to 
>> the same folder if desired.
>>*/
>>   backupFolder?: string,
>>   /**
>>
>>* GZip backup file to save disk space. Good for larger wikis. Turn this 
>> off for experimental wikis that you often need to restore from a backup 
>> because of a bad line of code (I speak from experience).
>>*/
>>   gzipBackups?: boolean,
>>   /**
>>
>>* Save a backup only if the disk copy is older than this many seconds. If 
>> the file on disk is only a few minutes old it can be assumed that very 
>> little has changed since the last save. So if this is set to 10 minutes, and 
>> your wiki gets saved every 9 minutes, only the first save will trigger a 
>> backup. This is a useful option for large wikis that see a lot of daily work 
>> but not useful for experimental wikis which might crash at any time and need 
>> to be reloaded from the last backup.
>>*/
>>   etagAge?: number,
>>   /**
>>
>>* Whether to use the etag field -- if not specified then it will check it 
>> if presented.
>>
>>* This does not affect the backup etagAge option, as the saving mechanism 
>> will still
>>* send etags back to the browser, regardless of this option.
>>*/
>>   etag?: "required" | "disabled" | "optional"
>> }
>>
>> On Fri, Oct 4, 2019 at 9:11 AM Adrian Holbrook 
>> wrote:
>>
>>> Just out of curiosity as I have not been able to get the backup to work
>>> on the previous installation I notice that you have "backupDirectory" but
>>> in the Settinggs example files oin Version 2.1.3 it had "backupFolder". Is
>>> this important?
>>>
>>> Adrian
>>>
>>> On Friday, October 4, 2019 at 5:06:58 AM UTC+1, TonyM wrote:

 Arlen,

 Thanks for maintaining and enhancing this wonderful solution. I notice
 the settings.json seems to have changed a lot. I copied my tree into the
 new settings.json

 But these settings were in my old settings.json
 "types":{
 "htmlfile": ["htm", "html", "hta", "png", "tw"]
 },
 "username": "",
 "password": "",
 "host": "192.168.1.81",
 "port": 80,
 "backupDirectory": "C:\\Data\\TW5\\backups",
 "etagWindow": 10,
 "etag": "",
  "_disableLocalHost": "true",
 "useTW5path" : false

 Have these being deprecated?

 I believe I will still need
  "etag": "required",
  "etagWindow": 10,

 But the setting the port is Port is  not documented here
 https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#port-number

 And
 "types":{
 "htmlfile": ["htm", "html", "hta", "png", "tw"]
 },

 Is desirable because I now have .tw files.

 Please let me know!

 Thanks
 Tony


 On Friday, October 4, 2019 at 12:56:46 PM UTC+10, Arlen Beiler wrote:
>
> Hi everyone,
>
> I've upgraded TiddlyServer to TW5.1.21.
>
> This release also adds /assets/tiddlywiki which serves the tiddlywiki
> folder the server is using to mount data folders. It's mainly for
> convenience, but it has some really great use-cases such as loading 
> plugins
> as external javascript instead of in the HTML file, which of course get
> cached across your entire site, not 

Re: [tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-04 Thread Arlen Beiler
The description on etagAge is not correct. It has nothing to do with
backups. I'm not sure why I wrote that, but backups are always saved no
matter what. I must have been tired that day!

On Fri, Oct 4, 2019 at 9:37 AM Arlen Beiler  wrote:

> Here is the TypeScript interface for the putsaver property, which is a
> top-level property (in other words, put it beside the tree property).
>
> So
> "putsaver": {
> "backupFolder": "",
> "etag": "optional",
> // etc.
> }
>
> export interface ServerConfig_TiddlyServer {
>   /**
>
>* Backup folder to store backups in. Multiple folder paths can backup to 
> the same folder if desired.
>*/
>   backupFolder?: string,
>   /**
>
>* GZip backup file to save disk space. Good for larger wikis. Turn this 
> off for experimental wikis that you often need to restore from a backup 
> because of a bad line of code (I speak from experience).
>*/
>   gzipBackups?: boolean,
>   /**
>
>* Save a backup only if the disk copy is older than this many seconds. If 
> the file on disk is only a few minutes old it can be assumed that very little 
> has changed since the last save. So if this is set to 10 minutes, and your 
> wiki gets saved every 9 minutes, only the first save will trigger a backup. 
> This is a useful option for large wikis that see a lot of daily work but not 
> useful for experimental wikis which might crash at any time and need to be 
> reloaded from the last backup.
>*/
>   etagAge?: number,
>   /**
>
>* Whether to use the etag field -- if not specified then it will check it 
> if presented.
>
>* This does not affect the backup etagAge option, as the saving mechanism 
> will still
>* send etags back to the browser, regardless of this option.
>*/
>   etag?: "required" | "disabled" | "optional"
> }
>
> On Fri, Oct 4, 2019 at 9:11 AM Adrian Holbrook 
> wrote:
>
>> Just out of curiosity as I have not been able to get the backup to work
>> on the previous installation I notice that you have "backupDirectory" but
>> in the Settinggs example files oin Version 2.1.3 it had "backupFolder". Is
>> this important?
>>
>> Adrian
>>
>> On Friday, October 4, 2019 at 5:06:58 AM UTC+1, TonyM wrote:
>>>
>>> Arlen,
>>>
>>> Thanks for maintaining and enhancing this wonderful solution. I notice
>>> the settings.json seems to have changed a lot. I copied my tree into the
>>> new settings.json
>>>
>>> But these settings were in my old settings.json
>>> "types":{
>>> "htmlfile": ["htm", "html", "hta", "png", "tw"]
>>> },
>>> "username": "",
>>> "password": "",
>>> "host": "192.168.1.81",
>>> "port": 80,
>>> "backupDirectory": "C:\\Data\\TW5\\backups",
>>> "etagWindow": 10,
>>> "etag": "",
>>>  "_disableLocalHost": "true",
>>> "useTW5path" : false
>>>
>>> Have these being deprecated?
>>>
>>> I believe I will still need
>>>  "etag": "required",
>>>  "etagWindow": 10,
>>>
>>> But the setting the port is Port is  not documented here
>>> https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#port-number
>>>
>>> And
>>> "types":{
>>> "htmlfile": ["htm", "html", "hta", "png", "tw"]
>>> },
>>>
>>> Is desirable because I now have .tw files.
>>>
>>> Please let me know!
>>>
>>> Thanks
>>> Tony
>>>
>>>
>>> On Friday, October 4, 2019 at 12:56:46 PM UTC+10, Arlen Beiler wrote:

 Hi everyone,

 I've upgraded TiddlyServer to TW5.1.21.

 This release also adds /assets/tiddlywiki which serves the tiddlywiki
 folder the server is using to mount data folders. It's mainly for
 convenience, but it has some really great use-cases such as loading plugins
 as external javascript instead of in the HTML file, which of course get
 cached across your entire site, not just for that page.

 https://github.com/Arlen22/TiddlyServer/releases/tag/v2.1.5

 Enjoy
 Arlen

>>> --
>> 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 visit
>> https://groups.google.com/d/msgid/tiddlywiki/0484ce6b-e4d4-43b6-b343-ac28515f1616%40googlegroups.com
>> 
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSROzOShHK1aLKi0HPsAFt98TJZbQiQbkJTMEs6FF5UOdA%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-04 Thread Arlen Beiler
Here is the TypeScript interface for the putsaver property, which is a
top-level property (in other words, put it beside the tree property).

So
"putsaver": {
"backupFolder": "",
"etag": "optional",
// etc.
}

export interface ServerConfig_TiddlyServer {
  /**
   * Backup folder to store backups in. Multiple folder paths can
backup to the same folder if desired.
   */
  backupFolder?: string,
  /**
   * GZip backup file to save disk space. Good for larger wikis. Turn
this off for experimental wikis that you often need to restore from a
backup because of a bad line of code (I speak from experience).
   */
  gzipBackups?: boolean,
  /**
   * Save a backup only if the disk copy is older than this many
seconds. If the file on disk is only a few minutes old it can be
assumed that very little has changed since the last save. So if this
is set to 10 minutes, and your wiki gets saved every 9 minutes, only
the first save will trigger a backup. This is a useful option for
large wikis that see a lot of daily work but not useful for
experimental wikis which might crash at any time and need to be
reloaded from the last backup.
   */
  etagAge?: number,
  /**
   * Whether to use the etag field -- if not specified then it will
check it if presented.
   * This does not affect the backup etagAge option, as the saving
mechanism will still
   * send etags back to the browser, regardless of this option.
   */
  etag?: "required" | "disabled" | "optional"
}

On Fri, Oct 4, 2019 at 9:11 AM Adrian Holbrook 
wrote:

> Just out of curiosity as I have not been able to get the backup to work on
> the previous installation I notice that you have "backupDirectory" but in
> the Settinggs example files oin Version 2.1.3 it had "backupFolder". Is
> this important?
>
> Adrian
>
> On Friday, October 4, 2019 at 5:06:58 AM UTC+1, TonyM wrote:
>>
>> Arlen,
>>
>> Thanks for maintaining and enhancing this wonderful solution. I notice
>> the settings.json seems to have changed a lot. I copied my tree into the
>> new settings.json
>>
>> But these settings were in my old settings.json
>> "types":{
>> "htmlfile": ["htm", "html", "hta", "png", "tw"]
>> },
>> "username": "",
>> "password": "",
>> "host": "192.168.1.81",
>> "port": 80,
>> "backupDirectory": "C:\\Data\\TW5\\backups",
>> "etagWindow": 10,
>> "etag": "",
>>  "_disableLocalHost": "true",
>> "useTW5path" : false
>>
>> Have these being deprecated?
>>
>> I believe I will still need
>>  "etag": "required",
>>  "etagWindow": 10,
>>
>> But the setting the port is Port is  not documented here
>> https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#port-number
>>
>> And
>> "types":{
>> "htmlfile": ["htm", "html", "hta", "png", "tw"]
>> },
>>
>> Is desirable because I now have .tw files.
>>
>> Please let me know!
>>
>> Thanks
>> Tony
>>
>>
>> On Friday, October 4, 2019 at 12:56:46 PM UTC+10, Arlen Beiler wrote:
>>>
>>> Hi everyone,
>>>
>>> I've upgraded TiddlyServer to TW5.1.21.
>>>
>>> This release also adds /assets/tiddlywiki which serves the tiddlywiki
>>> folder the server is using to mount data folders. It's mainly for
>>> convenience, but it has some really great use-cases such as loading plugins
>>> as external javascript instead of in the HTML file, which of course get
>>> cached across your entire site, not just for that page.
>>>
>>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.1.5
>>>
>>> Enjoy
>>> Arlen
>>>
>> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/0484ce6b-e4d4-43b6-b343-ac28515f1616%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSTeHf_XrxsgFrrxCXJaU1bLcu5i8eai1q_%3DO5UBRS7Lcw%40mail.gmail.com.


[tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-04 Thread Adrian Holbrook
Just out of curiosity as I have not been able to get the backup to work on 
the previous installation I notice that you have "backupDirectory" but in 
the Settinggs example files oin Version 2.1.3 it had "backupFolder". Is 
this important?

Adrian

On Friday, October 4, 2019 at 5:06:58 AM UTC+1, TonyM wrote:
>
> Arlen,
>
> Thanks for maintaining and enhancing this wonderful solution. I notice the 
> settings.json seems to have changed a lot. I copied my tree into the new 
> settings.json 
>
> But these settings were in my old settings.json
> "types":{
> "htmlfile": ["htm", "html", "hta", "png", "tw"]
> },
> "username": "",
> "password": "",
> "host": "192.168.1.81",
> "port": 80,
> "backupDirectory": "C:\\Data\\TW5\\backups", 
> "etagWindow": 10,
> "etag": "",
>  "_disableLocalHost": "true",
> "useTW5path" : false
>
> Have these being deprecated?
>
> I believe I will still need
>  "etag": "required",
>  "etagWindow": 10,
>
> But the setting the port is Port is  not documented here 
> https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#port-number
>
> And 
> "types":{
> "htmlfile": ["htm", "html", "hta", "png", "tw"]
> },
>
> Is desirable because I now have .tw files.
>
> Please let me know!
>
> Thanks
> Tony
>
>
> On Friday, October 4, 2019 at 12:56:46 PM UTC+10, Arlen Beiler wrote:
>>
>> Hi everyone,
>>
>> I've upgraded TiddlyServer to TW5.1.21. 
>>
>> This release also adds /assets/tiddlywiki which serves the tiddlywiki 
>> folder the server is using to mount data folders. It's mainly for 
>> convenience, but it has some really great use-cases such as loading plugins 
>> as external javascript instead of in the HTML file, which of course get 
>> cached across your entire site, not just for that page. 
>>
>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.1.5
>>
>> Enjoy
>> Arlen
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/0484ce6b-e4d4-43b6-b343-ac28515f1616%40googlegroups.com.


[tw5] Re: TiddlyServer upgraded to TiddlyWiki 5.1.21

2019-10-03 Thread TonyM
Arlen,

Thanks for maintaining and enhancing this wonderful solution. I notice the 
settings.json seems to have changed a lot. I copied my tree into the new 
settings.json 

But these settings were in my old settings.json
"types":{
"htmlfile": ["htm", "html", "hta", "png", "tw"]
},
"username": "",
"password": "",
"host": "192.168.1.81",
"port": 80,
"backupDirectory": "C:\\Data\\TW5\\backups", 
"etagWindow": 10,
"etag": "",
 "_disableLocalHost": "true",
"useTW5path" : false

Have these being deprecated?

I believe I will still need
 "etag": "required",
 "etagWindow": 10,

But the setting the port is Port is  not documented here 
https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#port-number

And 
"types":{
"htmlfile": ["htm", "html", "hta", "png", "tw"]
},

Is desirable because I now have .tw files.

Please let me know!

Thanks
Tony


On Friday, October 4, 2019 at 12:56:46 PM UTC+10, Arlen Beiler wrote:
>
> Hi everyone,
>
> I've upgraded TiddlyServer to TW5.1.21. 
>
> This release also adds /assets/tiddlywiki which serves the tiddlywiki 
> folder the server is using to mount data folders. It's mainly for 
> convenience, but it has some really great use-cases such as loading plugins 
> as external javascript instead of in the HTML file, which of course get 
> cached across your entire site, not just for that page. 
>
> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.1.5
>
> Enjoy
> Arlen
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/5f4a8eae-4c1f-402e-9f74-6d35ba26e495%40googlegroups.com.


Re: [tw5] Re: TiddlyServer 2.1.2 beta

2019-08-28 Thread mauloop
Thanks for your replies. I started with a carbon copy of my 2.1.1 setting. 
Despite some warnings it started and seems to work fine.

Following are the warnings, raised while starting up. They are not 
blocking. I will take time to investigate them further before eventually 
open an issue on your Github repo. They look like syntax errors, not server 
bugs.

Regards, )+(

Settings file: K:\MK\opt64\TiddlyServer-2.1.2-beta\settings.json
Check server config result: {
  "putsaver": {
"expected": "expected an object with keys 
\"backupFolder\"?,\"etag\"?,\"etagAge\"?,\"gzipBackups\"?, , ",
"union_result": [
  {
"etag": "expected one string of 
[\"optional\",\"required\",\"disabled\"]"
  },
  false
]
  }
}
32 32 64 16
Check server config result: {
  "putsaver": {
"expected": "expected an object with keys 
\"backupFolder\"?,\"etag\"?,\"etagAge\"?,\"gzipBackups\"?, , ",
"union_result": [
  {
"etag": "expected one string of 
[\"optional\",\"required\",\"disabled\"]"
  },
  false
]
  }
}
Creating servers as http
 SERVER  2019-08-28 18:10:23 server 127.0.0.1 listening
Open your browser and type in one of the following:
http://127.0.0.1:6100



-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/535d4057-2cd5-4ad3-891d-b8642691f93a%40googlegroups.com.


Re: [tw5] Re: TiddlyServer 2.1.2 beta

2019-08-27 Thread Arlen Beiler
You can also just create a new settings.json file using
example-settings.json and then copy the tree over from your old file.

On Tue, Aug 27, 2019 at 8:19 PM Arlen Beiler  wrote:

> Yes, you can just copy settings.json over and if it doesn't complain then
> you're good.
> Yes, datafolder-template.json is a tiddlywiki.info template. It is the
> tiddlywiki.info file from the server edition and is used when you create
> a data folder from a directory index page.
> Yes, TiddlyServer 2.1 is all set for future updates. I expect to support
> the latest version of TiddlyWiki for a long time.
>
> On Tue, Aug 27, 2019 at 4:16 PM mauloop  wrote:
>
>> Dear Arlen,
>>
>> I ran my wikis on 2.1.1 in the last four months with satisfaction. I was
>> eager to update it to TW 5.1.20 (I was planning to do it by myself), hence
>> TiddlyServer 2.1.2 is welcome. Just some questions:
>>
>>- can I simply copy settings.json from 2.1.1 to 2.1.2 (that I hardly
>>converted from 2.0 format to the new one) or should I revert it to the old
>>format?
>>- what's the use of datafolder-template.json? It looks like a
>>tiddlywiki.info template
>>- TW 5.1.21 is around the corner with some 5.1.20 bugs fixed. Is
>>TiddlyServer ready for a further TW update?
>>
>> Best regards,
>>
>> )+(auloop
>>
>> --
>> 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 visit
>> https://groups.google.com/d/msgid/tiddlywiki/0ff2005a-ad14-4779-9cdf-8805f500ceab%40googlegroups.com
>> 
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQZkGs6Q-OnedySp0b9oXAuqV%2B5TMhaqkgMr5XUjYFbsQ%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer 2.1.2 beta

2019-08-27 Thread Arlen Beiler
Yes, you can just copy settings.json over and if it doesn't complain then
you're good.
Yes, datafolder-template.json is a tiddlywiki.info template. It is the
tiddlywiki.info file from the server edition and is used when you create a
data folder from a directory index page.
Yes, TiddlyServer 2.1 is all set for future updates. I expect to support
the latest version of TiddlyWiki for a long time.

On Tue, Aug 27, 2019 at 4:16 PM mauloop  wrote:

> Dear Arlen,
>
> I ran my wikis on 2.1.1 in the last four months with satisfaction. I was
> eager to update it to TW 5.1.20 (I was planning to do it by myself), hence
> TiddlyServer 2.1.2 is welcome. Just some questions:
>
>- can I simply copy settings.json from 2.1.1 to 2.1.2 (that I hardly
>converted from 2.0 format to the new one) or should I revert it to the old
>format?
>- what's the use of datafolder-template.json? It looks like a
>tiddlywiki.info template
>- TW 5.1.21 is around the corner with some 5.1.20 bugs fixed. Is
>TiddlyServer ready for a further TW update?
>
> Best regards,
>
> )+(auloop
>
> --
> 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 visit
> https://groups.google.com/d/msgid/tiddlywiki/0ff2005a-ad14-4779-9cdf-8805f500ceab%40googlegroups.com
> 
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSSZMjpr_VvzaLpszDAi%3DygoNDSMv_Pqvunujwm4zuS8Kw%40mail.gmail.com.


[tw5] Re: TiddlyServer 2.1.2 beta

2019-08-27 Thread mauloop
Dear Arlen,

I ran my wikis on 2.1.1 in the last four months with satisfaction. I was 
eager to update it to TW 5.1.20 (I was planning to do it by myself), hence 
TiddlyServer 2.1.2 is welcome. Just some questions:

   - can I simply copy settings.json from 2.1.1 to 2.1.2 (that I hardly 
   converted from 2.0 format to the new one) or should I revert it to the old 
   format?
   - what's the use of datafolder-template.json? It looks like a 
   tiddlywiki.info template
   - TW 5.1.21 is around the corner with some 5.1.20 bugs fixed. Is 
   TiddlyServer ready for a further TW update?

Best regards,

)+(auloop

-- 
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 visit 
https://groups.google.com/d/msgid/tiddlywiki/0ff2005a-ad14-4779-9cdf-8805f500ceab%40googlegroups.com.