Re: [tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-03 Thread Glenn D
Arlen and Richard - thank you both for your assistance. I now have 
TiddleyServer up and running after having figured out all Node update and 
syntax issues. Now to experiment!

On Tuesday, October 3, 2017 at 7:26:31 AM UTC-5, Arlen Beiler wrote:
>
> You could try https://jsonlint.com/ and see if that sheds any light.
>
> On Tue, Oct 3, 2017 at 8:17 AM, RichardWilliamSmith <
> richardwi...@gmail.com > wrote:
>
>> Hi Glenn,
>>
>> If you'd like more help, maybe you can post the error that you're 
>> getting. If the problem you're having is with Tiddlyserver, I'd wager it's 
>> the settings.json file that's not right, so post that too, or comb through 
>> it looking for a mismatched brace somewhere.
>>
>> JSON is hard to debug without a proper editor.
>>
>> Regards,
>> Richard
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc4583ac-20cd-4ce8-b445-40819305564b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-03 Thread Lost Admin
I've done some pretty thorough testing on this. Where it stands is this:

After you save to the Apache (or ISS) DAV, you need to reload the wiki 
(press browser reload) and you can continue just fine.

*Technical details:*

The TiddlyWiki DAV saver uses an HTTP header called eTag. This is a value 
that indicates the state of the "object" (in this case tiddlywiki file) 
when it was last received by the browser. When you perform a DAV save 
operation (a PUT method),  the file changed and so the eTag value changed 
as well. Apache does not set a new eTag value with the PUT operation 
because Apache cannot confirm that there was no post processing once the 
file was saved so it does not send an updated eTag until you issue another 
GET call.

This is documented and proper behavior. A PUT is only supposed to send an 
updated eTag in the response if the server knows that the browser version 
of the data is the same as the server version. While this can be done with 
a GET operation, Apache is unable to confirm this with a PUT since Apache 
is not aware of any post-processing that might happen server-side.

I'm still trying to figure out how to force Apache to send an eTag with the 
response to the PUT, but I haven't yet figured out how.


On Monday, October 2, 2017 at 1:31:59 PM UTC-4, Arlen Beiler wrote:
>
> If using DAV saver, TiddlyServer will prevent overwriting the server with 
> a stale copy if you are working on more than one device. Apache is supposed 
> to do this, but we were having trouble with it, so I'm not sure where it 
> stands.
>
> Here is the link to the discussion. 
> https://groups.google.com/d/msgid/tiddlywiki/3206b23b-d4e5-4fe3-8984-70b449b7218c%40googlegroups.com?utm_medium=email&utm_source=footer
>
>
> On Oct 2, 2017 12:57 PM, "Lost Admin" > 
> wrote:
>
>> If you are going to the extent of putting a server on a Raspberry Pi, why 
>> not setup a proper web server? Apache with either webdav (for the dav 
>> saver) or mod_php for the store.php used by tiddlyspot (it's on Github) 
>> will give you a lot more flexibility. 
>>
>> You can even have ssl/tls if you register a domain. You can use 
>> Letsencrypt for the certificate for free with readily available scripts.
>>
>> On Monday, October 2, 2017 at 11:39:44 AM UTC-4, Glenn D wrote:
>>>
>>> If I want to view and edit from multiple devices would the server be the 
>>> best implementation?
>>>
>>> If I install it on my Raspberry Pi, would I be able to edit using 
>>> TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f77e11a7-8a98-4b89-aa7b-4d41ae3b8a61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-03 Thread Arlen Beiler
You could try https://jsonlint.com/ and see if that sheds any light.

On Tue, Oct 3, 2017 at 8:17 AM, RichardWilliamSmith <
richardwilliamsm...@gmail.com> wrote:

> Hi Glenn,
>
> If you'd like more help, maybe you can post the error that you're getting.
> If the problem you're having is with Tiddlyserver, I'd wager it's the
> settings.json file that's not right, so post that too, or comb through it
> looking for a mismatched brace somewhere.
>
> JSON is hard to debug without a proper editor.
>
> Regards,
> Richard
>
> --
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRDKp3P4BtiFq%3DeREJEDPo2qwnkwfzMxvLCdO4EPPDgLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-03 Thread RichardWilliamSmith
Hi Glenn,

If you'd like more help, maybe you can post the error that you're getting. 
If the problem you're having is with Tiddlyserver, I'd wager it's the 
settings.json file that's not right, so post that too, or comb through it 
looking for a mismatched brace somewhere.

JSON is hard to debug without a proper editor.

Regards,
Richard

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-03 Thread Glenn D
getting a syntax error when running 'node server' command - an hour of 
troubleshooting hasn't fixed it. Got the tiddlywiki itself working, just 
not the server install

On Monday, October 2, 2017 at 5:18:59 PM UTC-5, RichardWilliamSmith wrote:
>
> I recently wrote up some notes about how I am running TiddlyServer on my 
> Raspberry Pi. First you install TW, which has a 'single instance per port' 
> server, then you install TS, which can serve lots of wikis. 
> https://www.didaxy.com/tiddlyserver-on-the-raspberry-pi
>
> Regards,
> Richard
>
> On Tuesday, October 3, 2017 at 7:15:24 AM UTC+11, Glenn D wrote:
>>
>> I may be a bit confused here, but -- what is the difference between a 
>> 'normal' tiddlywiki server and tiddlyserver?
>>
>> On Monday, October 2, 2017 at 2:57:17 PM UTC-5, Jed Carty wrote:
>>>
>>> It should run just fine on a raspberry pi. I haven't tried it with 
>>> tiddlyserver yet because I am trying to get everything configured on my 
>>> desktop first, but the normal tiddlywiki server runs just fine on a 
>>> raspberry pi and tiddlyserver shouldn't take much more power.
>>>
>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63d28208-f0fd-4110-8d9b-4891e8380ac5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread RichardWilliamSmith
I recently wrote up some notes about how I am running TiddlyServer on my 
Raspberry Pi. First you install TW, which has a 'single instance per port' 
server, then you install TS, which can serve lots of 
wikis. https://www.didaxy.com/tiddlyserver-on-the-raspberry-pi

Regards,
Richard

On Tuesday, October 3, 2017 at 7:15:24 AM UTC+11, Glenn D wrote:
>
> I may be a bit confused here, but -- what is the difference between a 
> 'normal' tiddlywiki server and tiddlyserver?
>
> On Monday, October 2, 2017 at 2:57:17 PM UTC-5, Jed Carty wrote:
>>
>> It should run just fine on a raspberry pi. I haven't tried it with 
>> tiddlyserver yet because I am trying to get everything configured on my 
>> desktop first, but the normal tiddlywiki server runs just fine on a 
>> raspberry pi and tiddlyserver shouldn't take much more power.
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de2e515f-b05b-4345-bbab-af2e580d9dd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Glenn D
I may be a bit confused here, but -- what is the difference between a 
'normal' tiddlywiki server and tiddlyserver?

On Monday, October 2, 2017 at 2:57:17 PM UTC-5, Jed Carty wrote:
>
> It should run just fine on a raspberry pi. I haven't tried it with 
> tiddlyserver yet because I am trying to get everything configured on my 
> desktop first, but the normal tiddlywiki server runs just fine on a 
> raspberry pi and tiddlyserver shouldn't take much more power.
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/307b7b85-0283-4b0e-b700-40c6f57a5c3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Jed Carty
It should run just fine on a raspberry pi. I haven't tried it with 
tiddlyserver yet because I am trying to get everything configured on my 
desktop first, but the normal tiddlywiki server runs just fine on a 
raspberry pi and tiddlyserver shouldn't take much more power.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/20c6cb4d-274e-4dc6-afcb-0c0954549ed5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Mat

>
> ...you are going to want is the Raspberry Pi running TiddlyServer 
> https://github.com/Arlen22/TiddlyServer
>

Off topic, but may I ask how well TW performs on standard Raspi? Loading 
time, editing tids, etc?

<:-)

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a71b0645-df43-4c4b-b41d-8a3330e2e235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Glenn D
I already have a Kirby blog, miniflux and wallabag running on my Pi via 
Apache and PHP. 

On Monday, October 2, 2017 at 11:57:22 AM UTC-5, Lost Admin wrote:
>
> If you are going to the extent of putting a server on a Raspberry Pi, why 
> not setup a proper web server? Apache with either webdav (for the dav 
> saver) or mod_php for the store.php used by tiddlyspot (it's on Github) 
> will give you a lot more flexibility. 
>
> You can even have ssl/tls if you register a domain. You can use 
> Letsencrypt for the certificate for free with readily available scripts.
>
> On Monday, October 2, 2017 at 11:39:44 AM UTC-4, Glenn D wrote:
>>
>> If I want to view and edit from multiple devices would the server be the 
>> best implementation?
>>
>> If I install it on my Raspberry Pi, would I be able to edit using 
>> TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1016cfc6-b55f-4f43-8584-4188e43f0ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Glenn D
What if one of my devices is my iPhone running Firefox?

On Monday, October 2, 2017 at 11:19:26 AM UTC-5, @TiddlyTweeter wrote:
>
> Do you want ONE TW that you can edit from different devices? In so, maybe 
> look to Noteself that handles the syncing well. 
> https://noteself.github.io/ 
>
> Best wishes
> Josiah 
>
> Glenn D wrote:
>>
>> If I want to view and edit from multiple devices
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c84d167-3cfe-4e37-8ac4-b924fa8869ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Arlen Beiler
If using DAV saver, TiddlyServer will prevent overwriting the server with a
stale copy if you are working on more than one device. Apache is supposed
to do this, but we were having trouble with it, so I'm not sure where it
stands.

Here is the link to the discussion. https://groups.google.com/d/
msgid/tiddlywiki/3206b23b-d4e5-4fe3-8984-70b449b7218c%
40googlegroups.com?utm_medium=email&utm_source=footer


On Oct 2, 2017 12:57 PM, "Lost Admin"  wrote:

> If you are going to the extent of putting a server on a Raspberry Pi, why
> not setup a proper web server? Apache with either webdav (for the dav
> saver) or mod_php for the store.php used by tiddlyspot (it's on Github)
> will give you a lot more flexibility.
>
> You can even have ssl/tls if you register a domain. You can use
> Letsencrypt for the certificate for free with readily available scripts.
>
> On Monday, October 2, 2017 at 11:39:44 AM UTC-4, Glenn D wrote:
>>
>> If I want to view and edit from multiple devices would the server be the
>> best implementation?
>>
>> If I install it on my Raspberry Pi, would I be able to edit using
>> TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
>>
> --
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQ%3DtCCgzbZ5E0rfhJsqZ0e%3DbK3oQYqa7%2BiMVLU3RPa2sA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Lost Admin
If you are going to the extent of putting a server on a Raspberry Pi, why 
not setup a proper web server? Apache with either webdav (for the dav 
saver) or mod_php for the store.php used by tiddlyspot (it's on Github) 
will give you a lot more flexibility. 

You can even have ssl/tls if you register a domain. You can use Letsencrypt 
for the certificate for free with readily available scripts.

On Monday, October 2, 2017 at 11:39:44 AM UTC-4, Glenn D wrote:
>
> If I want to view and edit from multiple devices would the server be the 
> best implementation?
>
> If I install it on my Raspberry Pi, would I be able to edit using 
> TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread @TiddlyTweeter
Do you want ONE TW that you can edit from different devices? In so, maybe 
look to Noteself that handles the syncing well. https://noteself.github.io/ 

Best wishes
Josiah 

Glenn D wrote:
>
> If I want to view and edit from multiple devices
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e16ddda-a79c-4d84-9d4a-19e7b023f7b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Jed Carty
If you are using TiddlyServer than you don't need anything like TiddlyFox 
or TiddlyDesktop, you just visit the URL for the server and saving is 
handled by the server.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7f83d1f8-cee4-49ed-a80b-2b362e3011a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Laptop + Mobile access = TiddlyServer?

2017-10-02 Thread Jed Carty
I am working on getting this set up right now.

>From what I have done so far the setup you are going to want is the 
Raspberry Pi running TiddlyServer https://github.com/Arlen22/TiddlyServer

At the moment setup is manual and ensuring that you don't try to edit the 
same wiki from two devices at the same time is up to you. I am exploring 
options for configuration and possibly a multi-user (or concurrent device) 
set-up.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4afdf367-a95c-474d-b590-6fc3a49fdde1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.