[tw5] Re: Tidgraph

2019-04-26 Thread Damon Pritchett
Thanks Stephan,

I was hoping and thinking that was the case.

It's such a great tool. It's a shame that there hasn't been any activity on 
updating it in quite a long time.

Have you (or anyone else for that matter) made any adjustments or tweaks to 
it? I've changed a couple of stylesheet things, but that's about it. I've 
noticed that the "E" version seems to work a lot better than the "S" 
version as far as placement goes. What I mean by that is that if the graph 
gets large, then I've noticed a lot of funky crossing of lines in the "S" 
version which doesn't happen in the "E" version. This is probably due to 
space constraints, but it seems that it could be handled better than it 
does.

I was also wondering about modifying the arrows to either have none or have 
them in the opposite direction. Haven't even started fiddling with this, 
but am wondering if anyone else has taken a look at it.

I'm also thinking this would be a great tool for family historians. I've 
noticed some posts about this in the past. Has anyone tried to tackle the 
"parent" problem?

I'm thinking about tinkering with it, but my JavaScript skills are very 
basic so haven't even tried yet. Anyone tried this or have suggestions?

Damon

On Friday, April 26, 2019 at 8:26:44 AM UTC-7, Ste Wilson wrote:
>
> It's a tidgraph thing.
> If you look in your adress bar tidgraph works by putting the permalink to 
> the tiddler you want up there.
> When you click the same one again it dosn't scroll to it because the link 
> hasn't changed.
>
> At least I think thats whats happening.
>
> Stephen
>
>

-- 
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/a56917ae-1938-4f03-a5dd-166757f4cbe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Create a temporary or arbitrary doorway into TW with input from the URL.

2019-04-26 Thread h0p3
Wonderful! Thank you!

On Friday, April 26, 2019 at 1:52:50 PM UTC-4, Mark S. wrote:
>
> What is the FOOBAR in your item descriptions? You can pretty much pass 
> anything that you would pass in a filter:
>
> ** Opens in story river. Note the day notation has to be without dots for 
> "sameday" to work:
>
> https://philosopher.life/#:[sameday[20190421]]
>
> ** Search for python : 
>
> https://philosopher.life/#:[search[Python]]
>
>
> ** Link to a filter expression based search for all Prompted 
> Introspections which mention "Vacation":  
>
> Note that you have to convert spaces to %20 in order to pass them as 
> URL's. This could be done in a macro, possibly, using the url-encode filter.
>
>
> https://philosopher.life/#:[search:title[Prompted%20Introspection]search:text[Vacation]]
>
> You can select tiddlers that contain mode settings, but I would be 
> surprised if you could set them with a url. That would require a on-open 
> action tiddler, I think. Is there such a thing?
>
> Good luck!
> -- Mark
>

-- 
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/89554a73-b678-4240-92cf-0070dc8de320%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: iframes, X-Frame-Options, and TiddlyWiki clients

2019-04-26 Thread j
Ok! I figured out what was going on.

My domain administrator actually disabled certain Chrome extensions from 
being able to be used. So the extensions would normally work, but they 
won't work on Chrome when I'm signed into my work account.

For future readers, here is the chrome extension code that worked for me. 
But warning - this disables a very large security feature of chrome for 
clickjacking, so be careful! You may want to update "all_urls". I haven't 
figured out how to get this to apply to *just* tiddlywiki files.

Create a folder named my_frame_extension.

Create a file in my_frame_extension named background.js with the following:

chrome.webRequest.onHeadersReceived.addListener(
> function (details) {
>   return {
> responseHeaders: details.responseHeaders.filter(function(header) {
>   return (header.name.toLowerCase() !== 'x-frame-options'
>   && header.name.toLowerCase() !== 'content-security-policy');
> })
>   };
> }, {
>   urls: [""]
> }, ["blocking", "responseHeaders"]);
>
Then create a manifest.json in the same folder like so:

{
>   "background": {
> "scripts": [ "background.js" ]
>   },
>   "description": "Personal iframe tiddlywiki extension.",
>   "manifest_version": 1,
>   "name": "Fix iFrames For TiddlyWiki",
>   "permissions": [ "webRequest", "webRequestBlocking", "" ],
>   "update_url": "http://clients2.google.com/service/update2/crx;,
>   "version": "1.0"
> }


 Then go into your extensions, and click "load unpacked extension", and 
choose the folder you created.

Voila! Now external iframes will work very easily in your tiddlers.

  //  codemac

On Friday, April 26, 2019 at 10:37:01 AM UTC-7, cod...@gmail.com wrote:
>
> Hi!
>
>
> *tl;dr - including iframes from any well configured server leads to them 
> not working. Any workarounds with chrome / firefox / TiddlyDesktop?*
>
>
> TiddlyWiki is amazing, and I've been thinking about setting it up to 
> reflect my current org-mode workflow to see if it could either replace it, 
> or become a better storage place for my larger notes & research.
>
>
> One use case I was very excited about was creating one tiddler for each 
> external ticket I had at work with iframes. Then I would add my personal 
> notes & work within the tiddler, and at the top I would have an iframe of 
> the ticket's webpage so I could submit updates or read updates from others.
>
>
> However, these iframes get blocked by chrome / chromium / firefox 
> attempting to help protect me from click jacking 
>  via X-Frame-Options: deny or 
> sameorigin. So nothing is displayed :(
>
>
> I have yet to figure out how to get a browser to ignore these settings for 
> tiddlywiki, localhost, or anything really. Wondering if anyone else has had 
> this issue.
>
> Thanks!
>
>   //  codemac
>

-- 
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/019153f3-8796-4d3e-8d2c-4e88f1bbcd12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] BobEXE for testing, version 1.2.3

2019-04-26 Thread @TiddlyTweeter
Ciao Jed

BobEXE: TiddlyWiki version 5.1.19 with Bob version 1.2.3
> Windows 10 64bit, tablet. Latest Firefox & Chrome.


*Minor issues with deletion ...*

--- Under "Delete Wikis". Select a Wiki to delete, check "Delete children"; 
click "Delete Wiki."

-- Result: The wiki *is* deleted on disk and disappears from the "Wiki 
Listing".

-- The settings however are not cleared of the stub entry ... For instance 
I have this left in Manual Settings (in yellow) that is redundant ...


"wikis": {

"test_new_things": {
"__path": "test_new_things"


} ,
"tw_prep": {

} ,
"tw_reggie": { 

"__path": "tw_reggie"


}

} , 

Best wishes
Josiah

On Tuesday, 23 April 2019 13:18:16 UTC+2, Jed Carty wrote:
>
> I will be handling any bug report that contains the appropriate 
> information before looking into any others.
>
> This thread is specifically about version 1.2.3, any bugs that are 
> uniquely related to previous versions are not going to be addressed here.
>

-- 
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/12f28e6d-f641-48d8-a91e-8d0bad71e344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Save directly Tiddlywiki 5 file to GitHub

2019-04-26 Thread Jeremy Ruston
Hi Bimlas

Apologies for the late response, I’ll respond on the GitHub ticket,

Best wishes

Jeremy

> On 22 Apr 2019, at 15:30, bimlas  wrote:
> 
> Jeremy,
> 
> Sorry for the late reply. I've modified the saver to work with GitLab, please 
> check it out: https://github.com/Jermolene/TiddlyWiki5/pull/3931 
> 
> 
> I would like to ask the others to try out the GitHub/GitLab saver to find out 
> the possible problems as soon as possible.
> 
> 2019. április 15., hétfő 22:32:13 UTC+2 időpontban Jeremy Ruston a következőt 
> írta:
> 
>> On 10 Apr 2019, at 08:31, Jeremy Ruston > wrote:
>> 
>> It looks like the API for GitLab is almost identical to that of GitHub. I'll 
>> expose the API endpoint as a configuration parameter and then you can 
>> experiment with it more easily.
> 
> I’ve made an update so that the API URL is configurable in the control panel:
> 
> https://github.com/Jermolene/TiddlyWiki5/commit/25c0ebb5231d17844ad70be435fe7987da71de80
>  
> 
> 
>  If I’m reading GitLab’s docs correctly, the value you’ll need is:
> 
> https://gitlab.example.com/api/v4 
> 
> The update should be at https://tiddlywiki.com/prerelease 
>  in about 6 minutes,
> 
> Best wishes
> 
> Jeremy
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+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/abce8fe1-7241-41a4-9f95-cdf18fb471f9%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/D9347AF5-5DD3-4060-A0E7-690F35764DA4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Rendering hard line breaks from any field

2019-04-26 Thread Reece Shaw
Ah! That makes sense. I'll continue to pass with the triple quotations in
the field. Thanks Jeremy!

-Reece

On Fri, Apr 26, 2019, 1:08 PM Jeremy Ruston  wrote:

> Hi Reece
>
> I'm working on a macro currently that displays the contents of a field as
> markdown text that "Picks up" hard line breaks.
>
> From the documentation on hard line breaks, the site shows that you can
> enclose text with triple quotes for it to capture:
>
> """
> Some
> short lines
> together
> """
>
>
> The hard line break support in TW5 is implemented as a parser rule that
> replaces line breaks with  tags. So the above example is exactly
> equivalent to typing:
>
> Some
> short lines
> together
>
> This renders as "Some short lines together" as expected. In my case I'm
> utilizing an $edit-text widget to edit a field that is NOT the text field
> so that the data can all be retained in a single tiddler. From the
> $edit-text my "skill" field can be edited with hard line breaks but I still
> have to wrap the selection with triple quotes to get it to render as I
> want.
>
> Is there any way to pass the need for the triple quotes into a macro? I
> would like to not have to perform this manual edit when attempting to get
> line breaks as I expect. Ideally I would like to call < "skill">> and have the text render with the hard line breaks from any
> field, instead of quoting out every field. Is this possible?
>
> I've tried a few variations on placing the quotes outside/inside the
> wikify and I have yet to figure it out.
>
>
> Here’s one way of approaching it. Given a toddler “New Tiddler” containing
> the text above (without the triple double quotes):
>
> <$wikify name="output" output="html" text={{{ [[New
> Tiddler]get[text]addprefix["""]addsuffix["""]] }}}>
> <>
> 
>
> The disadvantage of this approach is that by using the wikify widget we
> “flatten” the contents of the field to plain HTML. So you won’t be able to
> include TW features that don’t exist in HTML (eg reveal or list widgets).
>
> Best wishes
>
> Jeremy.
>
>
>
> \define con-display-block($field$)
> <$wikify type="text/x-markdown" output="html" mode="block">
>
> {{!!$field$}}
>
> 
> \end
>
>
>
> Thanks,
>
> -Reece
>
> --
> 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/b8574cab-6469-417c-976a-3a09e2279162%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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/jTFOIlN8A-E/unsubscribe.
> To unsubscribe from this group and all its topics, 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/4D1AC7ED-0A2F-4AE0-8026-0500E522F927%40gmail.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/CAE0y%2BmcOXXGsRwOoEghg-dsvEBXMSeMzuf1_MNSXg7LDr8NU3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Create a temporary or arbitrary doorway into TW with input from the URL.

2019-04-26 Thread 'Mark S.' via TiddlyWiki
What is the FOOBAR in your item descriptions? You can pretty much pass 
anything that you would pass in a filter:

** Opens in story river. Note the day notation has to be without dots for 
"sameday" to work:

https://philosopher.life/#:[sameday[20190421]]

** Search for python : 

https://philosopher.life/#:[search[Python]]


** Link to a filter expression based search for all Prompted Introspections 
which mention "Vacation":  

Note that you have to convert spaces to %20 in order to pass them as URL's. 
This could be done in a macro, possibly, using the url-encode filter.

https://philosopher.life/#:[search:title[Prompted%20Introspection]search:text[Vacation]]

You can select tiddlers that contain mode settings, but I would be 
surprised if you could set them with a url. That would require a on-open 
action tiddler, I think. Is there such a thing?

Good luck!
-- Mark

-- 
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/43d5c2c8-bbe2-4f4e-b55b-88ef965261a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] iframes, X-Frame-Options, and TiddlyWiki clients

2019-04-26 Thread j


Hi!


*tl;dr - including iframes from any well configured server leads to them 
not working. Any workarounds with chrome / firefox / TiddlyDesktop?*


TiddlyWiki is amazing, and I've been thinking about setting it up to 
reflect my current org-mode workflow to see if it could either replace it, 
or become a better storage place for my larger notes & research.


One use case I was very excited about was creating one tiddler for each 
external ticket I had at work with iframes. Then I would add my personal 
notes & work within the tiddler, and at the top I would have an iframe of 
the ticket's webpage so I could submit updates or read updates from others.


However, these iframes get blocked by chrome / chromium / firefox 
attempting to help protect me from click jacking 
 via X-Frame-Options: deny or 
sameorigin. So nothing is displayed :(


I have yet to figure out how to get a browser to ignore these settings for 
tiddlywiki, localhost, or anything really. Wondering if anyone else has had 
this issue.

Thanks!

  //  codemac

-- 
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/77ab6523-17e4-44f3-b2fe-37589c180b56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Procedure: Nginx as a reverse proxy to mutiple tiddlywiki servers running on nodejs

2019-04-26 Thread 'Mark S.' via TiddlyWiki
Looks useful.

Noted in tiddlywiki toolmap under "node.js".

-- 
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/19a3af22-6c7a-4094-b400-d1a9c8d3a26e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Rendering hard line breaks from any field

2019-04-26 Thread Jeremy Ruston
Hi Reece

> I'm working on a macro currently that displays the contents of a field as 
> markdown text that "Picks up" hard line breaks.
> 
> From the documentation on hard line breaks, the site shows that you can 
> enclose text with triple quotes for it to capture:
> 
> """
> Some
> short lines
> together
> """
> 

The hard line break support in TW5 is implemented as a parser rule that 
replaces line breaks with  tags. So the above example is exactly equivalent 
to typing:

Some
short lines
together

> This renders as "Some short lines together" as expected. In my case I'm 
> utilizing an $edit-text widget to edit a field that is NOT the text field so 
> that the data can all be retained in a single tiddler. From the $edit-text my 
> "skill" field can be edited with hard line breaks but I still have to wrap 
> the selection with triple quotes to get it to render as I want. 
> 
> Is there any way to pass the need for the triple quotes into a macro? I would 
> like to not have to perform this manual edit when attempting to get line 
> breaks as I expect. Ideally I would like to call <> and 
> have the text render with the hard line breaks from any field, instead of 
> quoting out every field. Is this possible?
> 
> I've tried a few variations on placing the quotes outside/inside the wikify 
> and I have yet to figure it out.

Here’s one way of approaching it. Given a toddler “New Tiddler” containing the 
text above (without the triple double quotes):

<$wikify name="output" output="html" text={{{ [[New 
Tiddler]get[text]addprefix["""]addsuffix["""]] }}}>
<>


The disadvantage of this approach is that by using the wikify widget we 
“flatten” the contents of the field to plain HTML. So you won’t be able to 
include TW features that don’t exist in HTML (eg reveal or list widgets).

Best wishes

Jeremy.


> 
> \define con-display-block($field$)
> <$wikify type="text/x-markdown" output="html" mode="block">
> 
> {{!!$field$}}
> 
> 
> \end
> 
> 
> 
> Thanks,
> 
> -Reece
> 
> -- 
> 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/b8574cab-6469-417c-976a-3a09e2279162%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/4D1AC7ED-0A2F-4AE0-8026-0500E522F927%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Create a temporary or arbitrary doorway into TW with input from the URL.

2019-04-26 Thread h0p3
I'm sorry that I don't even know how to ask this question correctly. Is 
there a way to create a temporary or arbitrary doorway into TW with "input" 
from the URL? I have no idea if this is possible, but perhaps it may be 
something most people already know how to do. I'm clueless.

* I would like to embed a search term or filter expression into a link to 
my wiki which would show the results.
** Here's a link to a list of everything I wrote on 2019.04.21:
*** https://philosopher.life/#:FOOBAR?2019.04.21
** Here's a link to everything I wrote on 2019.04.21 opened in the 
storyriver:
*** https://philosopher.life/#:FOOBAR?OPENINSTORYRIVER?2019.04.21
** Here's a link to a search for python on my wiki: 
*** https://philosopher.life/#:FOOBAR?Python
** Here's a link to a filter expression based search for all Prompted 
Introspections which mention "Vacation": 
*** https://philosopher.life/#:FOOBAR?[search:title[Prompted 
Introspection]search:text[Vacation]]

* I want to select a look or mode from the URL.
** https://philosopher.life/#:FOOBAR?Nightmode
** https://philosopher.life/#:FOOBAR?Dyslexicmode
** https://philosopher.life/#:FOOBAR?Fontsize=15,Mentat=On,HideSwearWords=On

-- 
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/55bea4dd-6ce1-4243-a2b7-d601f27df9af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] BobEXE for testing, version 1.2.3

2019-04-26 Thread @TiddlyTweeter
Thanks Jed,

I'm hitting some issues but need test further to pin them down before I 
reply.

FYI, one tech point regarding Windows Bob for debugging is that Bob can 
exit the command processor taking its closing message with it.

Windows uses can ensure they get that message by launching Bob from a batch 
or cmd file that will return Bob's swan song ... I use a batch file to 
launch it with these lines in it ...

echo --- Launch BobEXE server --
> echo:
> title BobEXE: TiddlyWiki Server
> cmd /K "BobWin.exe"
>

Best wishes
Josiah


On Monday, 22 April 2019 10:06:13 UTC+2, Jed Carty wrote:
>
> I updated the executables in the dropbox folder.
>

-- 
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/520acae5-fe10-4e0e-9c67-810255fca836%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Procedure: Nginx as a reverse proxy to mutiple tiddlywiki servers running on nodejs

2019-04-26 Thread vpl


Find below a procedure to deploy a Nginx reverse proxy in front of 2 
tiddlywiki servers (one accessible through a /wiki/.The other one through  
/wiki/  paths. 

This is a need that emerged to avoid opening and configuring a number of 
ports on my cloud server. The below procedure give indications for

   - configuring the basic reverse proxy to point to the 2 tiddlywiki 
   servers
   - augment the configuration with Basic Auth
   - augment the configuration with SSL (self signed certificate ... basic 
   approach)

Certainly not optimal bu may be useful to anybody facing the same problem


Other options exist like the tiddlyServer that certainly bring other added 
values


Basic Nginx configuration (No Auth)config tiddlywiki
   
   - We assume here that we have 2 tiddlywiki (nodejs based) running on 
   port 4013 & 4014 on 127.0.0.1
   - Add on each of them a tiddler with the title: $:/config/tiddlyweb/host and 
   content 
  - $protocol$//$host$/wiki/ for the first one
  - $protocol$//$host$/sub/ for the second one
  - 
   
config nginx

events {
worker_connections 768;
# multi_accept on;
}

http {
server {
  listen80;

  location /wiki/ {
proxy_pass http://127.0.0.1:4014/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For  $proxy_add_x_forwarded_for;
  }

  location /sub/ {
proxy_pass http://127.0.0.1:4013/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For  $proxy_add_x_forwarded_for;
  }
}
}


   - restart nginx: sudo service nginx restart

Access
   
   - http://192.168.0.101/wiki/
   - http://192.168.0.101/sub/

Nginx Basi Auth
   
   - sudo apt-get install apache2-utils
   - Create a password for the user userName:
  - sudo htpasswd -c /etc/nginx/.htpasswd userName
   - update the nginx.conf

events {
worker_connections 768;
# multi_accept on;
}

http {
server {
  listen80;

  location /wiki/ {
proxy_pass http://127.0.0.1:4014/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For  $proxy_add_x_forwarded_for;
auth_basic "Private Property";
auth_basic_user_file /etc/nginx/.htpasswd;
  }

  location /sub/ {
proxy_pass http://127.0.0.1:4013/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For  $proxy_add_x_forwarded_for;
auth_basic "Private Property";
auth_basic_user_file /etc/nginx/.htpasswd;
  }
}
}


   - restart nginx: sudo service nginx restart
   - you should be challenged on
  - http://192.168.0.101/wiki/
  - http://192.168.0.101/sub/
   
Nginx SSL
   
   - We assume that we will create and store our certificate into the 
   directory /home/pi/tiddly-wiki/certif_ssl
   - cd /home/pi/tiddly-wiki/certif_ssl
   - create the private key: openssl genrsa -out vpl_nginx.pk 2048
   - create certificate request: openssl req -new -key vpl_nginx.pk -out 
   vpl_nginx.csr . Take care about *Common Name*. I've used here the IP@ as 
   it is the way I access my server. Need to put the Common Name used for 
   acessing the proxy from the browser.

Country Name (2 letter code) [AU]:FR
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:82.165.251.188
Email Address []:x...@.com

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:cat name
An optional company name []:


   - generate signed certificate: openssl x509 -req -days 365 -in 
   vpl_nginx.csr -signkey vpl_nginx.pk -out vpl_nginx.crt
   - update nginx.conf

events {
worker_connections 768;
# multi_accept on;
}

http {
server {
  listen443 ssl;
  #server_name 192.168.0.101

ssl  on;
ssl_certificate  /home/pi/tiddly-wiki/certif_ssl/vpl_nginx.crt;
ssl_certificate_key  /home/pi/tiddly-wiki/certif_ssl/vpl_nginx.pk;

  location /wiki/ {
proxy_pass http://127.0.0.1:4014/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For  $proxy_add_x_forwarded_for;
auth_basic "Private Property";
auth_basic_user_file /etc/nginx/.htpasswd;
  }

  location /sub/ {
proxy_pass http://127.0.0.1:4013/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For  $proxy_add_x_forwarded_for;
auth_basic "Private Property";
auth_basic_user_file 

[tw5] Tidgraph

2019-04-26 Thread Ste Wilson
It's a tidgraph thing.
If you look in your adress bar tidgraph works by putting the permalink to the 
tiddler you want up there.
When you click the same one again it dosn't scroll to it because the link 
hasn't changed.

At least I think thats whats happening.

Stephen

-- 
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/f2b99348-0b4c-4041-8205-84ef9f292ad6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Codemirror syntax for new languages and creating a new Content Types

2019-04-26 Thread N P
Thank you very much @BurningTreeC

I found it my questions were all answered here:

thread https://groups.google.com/forum/#!topic/tiddlywiki/aOxmaJL_qbc
instructions https://hoelz.ro/files/highlighter-example.html

On Friday, April 26, 2019 at 8:25:24 AM UTC-4, N P wrote:
>
> Thank you.  I didnt realize the highlight plugin accomplished this.  
>
> The only issue is the highlight plugin when incorporated into TiddlyWiki 
> only supports a select number of languages.  Powershell is not on the 
> list.  Any idea how to add additional languages?
>
> On Saturday, October 27, 2018 at 1:10:11 AM UTC-4, BurningTreeC wrote:
>>
>> Hi @N P
>>
>> take a look at https://tiddlywiki.com/plugins/tiddlywiki/highlight/
>>
>> it describes how to make codeblocks with the correct highlighting for the 
>> different languages
>>
>>

-- 
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/2488a304-cfb3-41f6-aacf-0cf2260f94f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Codemirror syntax for new languages and creating a new Content Types

2019-04-26 Thread N P
Thank you.  I didnt realize the highlight plugin accomplished this.  

The only issue is the highlight plugin when incorporated into TiddlyWiki 
only supports a select number of languages.  Powershell is not on the 
list.  Any idea how to add additional languages?

On Saturday, October 27, 2018 at 1:10:11 AM UTC-4, BurningTreeC wrote:
>
> Hi @N P
>
> take a look at https://tiddlywiki.com/plugins/tiddlywiki/highlight/
>
> it describes how to make codeblocks with the correct highlighting for the 
> different languages
>
>

-- 
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/5ba0bf55-83a7-46e2-b9e4-e0c6bd173fe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Seeking way to *enlist* but with duplicate preservation

2019-04-26 Thread David Nebauer
I've been looking further into this feature. The alteration to $tw.utils.
parseStringArray to enable it to return a list *with* duplicate items was a 
contribution from inmysocks, aka Jed Carty, in October 2018 (see TW github pull 
request 2027 ). This 
change was part of 5.1.18 and is mentioned in its release notes 
 as a developer improvement.

Thanks, Jed, for providing this functionality that I could use to solve a 
very frustrating problem.

Regards,
David.

-- 
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/3c9ba017-7f2f-4ccb-a4a1-7b41f86a796b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Should tobibeer's split:list remove duplicates?

2019-04-26 Thread David Nebauer
For anyone in the future who stumbles across this topic, I eventually found 
a solution to my need for an enlist replacement that allows duplicates. See 
this 
topic  for 
details.

Regards,
David.

-- 
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/36380b4e-5da2-4095-993f-36ba7cd4fac5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.