[tw5] Weird issue with plugin

2018-10-25 Thread ILYA Khlopotov
Hello,

I am very new to plugin development. I tried to convert metaTabs (
http://slidesnstories.tiddlyspot.com/#About%20MetaTabs) to plugin but
encounter a weird problem.

- code https://github.com/khia/MetaTabs/tree/wip
- demo https://khia.github.io/MetaTabs/

The problem is when you just install the plugin save and reload your wiki
you would see two buttons at the bottom of every tiddler `+` and `x`. When
you click `+` nothing happen. If you then go to
$:/plugins/jr/MetaTabs/newIdea
 tiddler
and add new tag to it (any tag). You would see `Idea` tab after wiki
reload. If you do the same for $:/plugins/jr/MetaTabs/newNote
 you
would see `Note` tab.

Am I missing something?

Best regards,
iilyak

-- 
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/CAP2DrbT-asOi9f5XXK8%2B_Sxfr66Cn9hmvNZ%3D%2B%2B4ro2kUX%2BjDLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Install Tiddlymap Plugin

2018-10-25 Thread Felix Küppers
Hi Peter, please check my description here: 

I did the following steps and installed everything *completely* from 
scratch and everything went fine and the map is displayed

I 
https://github.com/felixhayashi/TW5-TiddlyMap/issues/257#issuecomment-433181434

Best regards
Felix


On Friday, 19 October 2018 12:43:26 UTC+2, Peter Petersky wrote:
>
> Hi,
>
> I'm currently having the same issue. But it didn't work for me. I even 
> tried with a new installation. Nothing. Any ideas?
>
> On Tuesday, March 13, 2018 at 1:29:44 PM UTC+1, BurningTreeC wrote:
>>
>> I tried it and it works for me
>>
>> I've downloaded all the tiddlymap things.. hotzone, vis, topstoryview and 
>> tiddlymap itself
>>
>> I made a folder "felixhayashi" inside plugins/tiddlywiki - this is 
>> different to what you did, maybe this solves the problem
>> Inside that folder I moved all the folders from the 4 plugins
>>
>> The felixhayashi folder then looks like: 
>>
>> hotzone
>> tiddlymap
>> topstoryview
>> vis
>>
>> The tiddlywiki.info file looks like
>>
>> ...
>>"plugins": [
>> "tiddlywiki/tiddlyweb",
>> "tiddlywiki/filesystem",
>> "tiddlywiki/highlight",
>> "tiddlywiki/felixhayashi/topstoryview",
>> "tiddlywiki/felixhayashi/vis",
>> "tiddlywiki/felixhayashi/hotzone",
>> "tiddlywiki/felixhayashi/tiddlymap"
>> ],
>> ...
>>
>> Here I put vis before tiddlymap, I don't know if that changes something, 
>> but I know that tiddlymap depends on vis, and if the order here has 
>> something to say (if!) then this would be right
>>
>>
>> Now I am running a tiddlywiki with the tiddlymap plugin working
>>
>> If you follow these steps it should work for you
>> If it doesn't, then you should probably check where your tiddlywiki 
>> folder is, and if you've edited the correct tiddlywiki.info file
>>
>> BTC
>>
>

-- 
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/b6ae588a-4046-4fa0-aa6b-a3a5c1513ba0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread 'Mark S.' via TiddlyWiki


On Thursday, October 25, 2018 at 10:36:26 AM UTC-7, Jed Carty wrote:
>
> The server Bob uses a web server that can serve multiple wikis, when the 
> server gets a request it has to determine what the url is supposed to point 
> to, if you don't have a prefix for files than requests to the server can be 
> ambiguous about if they are supposed to be a served file or a wiki and you 
> get inconsistent behaviour. When you have inconsistent behaviour is almost 
> always a security risk.
>
>
>
I don't get what you mean by "a served file or a wiki". Isn't there a world 
of difference between the two? 

And why couldn't it be the other way around -- have the "file/" prefix 
associated with the Wikis, while the served files can have any prefix (but 
only served from below the file root path). Having the prefix on the Wiki 
name would not cause the consternation that having it on the image path 
name.

As it is, the image paths for Bob will be totally incompatible with 
standalone, TiddlyDesktop, and tiddlyserver file paths.

Thanks,
-- 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/5c29c71b-e327-4103-b010-f55b6099bf24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Tiddlywiki clearing username for signing edits

2018-10-25 Thread Reaktor Blue
I'm running Tiddlywiki 5.1.17 on node.js and noticed that the username for 
signing edits continuously loses it's setting. I did see on the release 
notes that this was fixed. Am I doing something wrong or is this the 
intended behavior?

My apologies if I sound goofy, lack of sleep is the culprit.

-- 
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/cbd37cdc-d937-4630-8649-6fa0b29a2128%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread Jed Carty
The reasons are the same as why until 5.1.18 comes out the node version 
didn't have a static file server and that the static file server with the 
server in 5.1.18 does the same thing:

1) engineers that make things have an obligation to make sure that the 
things that they make are safe to use
2) it is a webserver, not a local file. The paths aren't virtual paths or 
anything like that, they are urls. A url doesn't necessarily have any 
relation to the file system location of what it points to, but it does have 
meaning to the server.

The server Bob uses a web server that can serve multiple wikis, when the 
server gets a request it has to determine what the url is supposed to point 
to, if you don't have a prefix for files than requests to the server can be 
ambiguous about if they are supposed to be a served file or a wiki and you 
get inconsistent behaviour. When you have inconsistent behaviour is almost 
always a security risk.

To prevent Bob from exposing everything on your hard drive to anyone who 
wants it there are a number of safeguards. When serving a wiki the wiki has 
to be listed in the settings and the tiddlywiki.info file has to exist, 
because of how tiddlywiki is structured there is relatively little risk 
involved there. There is far more risk when serving arbitrary files off of 
your computer. If you are not very careful with it than there are ways to 
ask for a file located somewhere like ../../../../.ssh and then get all the 
private keys or passwords on a computer.

And furthermore, Because Bob lets you have wikis hosted on paths like 
localhost:8080/Wiki1 and localhost:8080/Wiki1/Wiki2 it becomes ambiguous 
how to handle something like localhost:8080/Wiki1/foo.jpg, it could be a 
wiki called foo.jpg or it could be the file foo.jpg. Exploiting edge cases 
like that is one method of gaining unauthorised access to systems.

Putting all the static file serving on localhost:8080/files and using a 
defined mimeMap to filter requests helps with those problems.

-- 
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/6e3d893d-4e0b-47cb-9ab5-754680e9a7b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread 'Mark S.' via TiddlyWiki
Oddly enough, I assumed that "Bob documentation" was the actual 
documentation. 

Bob wouldn't serve images until I added fileURLPrefix. At first I thought 
it might be the missing mime type that was the problem, but after 
fileURLPrefix I could remove the manual mime types. 

Thanks
-- Mark

On Thursday, October 25, 2018 at 9:57:26 AM UTC-7, Jed Carty wrote:
>
> The fileURLPrefix is not undocumented, it is listed with everything else 
> https://github.com/OokTech/TW5-Bob/blob/master/Configuration.md
>
> I have not run into any troubles where I had to set the fireURLPrefix 
> before it works, if following the steps as I listed them does not work for 
> you than there is some other problem that we should find and fix.
>

-- 
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/1f475806-0fec-4d51-ba83-a9babbf40f36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread @TiddlyTweeter
Mark S. wrote ...
 

> I  don't understand why it needs fileURLPrefix . It means automatically 
> that any existing media tiddlers you have will have to have their path 
> names changed.
>

I have no idea why. All paths to files served right need a path 
prefix--that would be redundant for stand alone TW. I guess its something 
to do with its node history? The naming is a bit strange. And on export to 
single file its kinda the sand in the ointment of an otherwise brilliant 
system.

Just thoughts
Josiah

-- 
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/ee6d156d-fda0-4e07-a539-233be4005312%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread @TiddlyTweeter
Jed

https://github.com/OokTech/TW5-Bob/blob/master/Configuration.md

.. is very good. But I can't find it in BobEXE on Windows? I go to GitHub 
for it. Its a kind of Bible Of Bob.

-- 
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/0cf8c0b4-71e2-4582-904e-99caa61faab2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread 'Mark S.' via TiddlyWiki


On Thursday, October 25, 2018 at 9:40:39 AM UTC-7, @TiddlyTweeter wrote:
>
>
> On the other hand Bob scripts can ameliorate the issue somewhat (like 
> quite easy "copy" via OS from and to). But the "virtual" addressing in the 
> wiki itself still needs fixing (i.e. "./f/img/fred.jpg" -> 
> "./img/fred.jpg") when you export to singular.
>
>
> I  don't understand why it needs  fileURLPrefix . It means automatically 
that any existing media tiddlers you have will have to have their path 
names changed.

-- 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/320297d0-1ddb-4efd-ad3f-11e9ecc7927b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread Jed Carty
The fileURLPrefix is not undocumented, it is listed with everything 
else https://github.com/OokTech/TW5-Bob/blob/master/Configuration.md

I have not run into any troubles where I had to set the fireURLPrefix 
before it works, if following the steps as I listed them does not work for 
you than there is some other problem that we should find and fix.

-- 
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/373f5cb4-b1b1-431f-9d5d-da3cf62d9c7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: how to run bash script from Bob TW

2018-10-25 Thread Jed Carty
Are you running it as a plugin or using BobEXE? Like I said, the packaging 
does weird things. If you are running it as the plugin than things should 
work exactly as expected with paths relative to where you started 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/57b5bdea-b074-4613-bc14-27c984b306c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread @TiddlyTweeter

>
> @TiddlyTweeter wrote:
>> It's semi-documented. It was documented enough for me to know it was 
>> important.
>>
>  
Mask S. asked ... 

> Where exactly is it "semi-documented" ? 
>

When someone asks "exactly" I know I need to come to attention :-).  

I tend to use 
https://github.com/OokTech/TW5-Bob/blob/master/Configuration.md which does 
include it. Its a kind of Bible of Bob.

But having to have all your images in one location, no matter how you divvy 
> that location up, is what's limiting. 
>

I agree. My take is its about making the best of that. I think its a limit 
on node derivation? 

With plain TW, or TW with tiddlyserver, your files can be somewhere in 
> respect to your TW location, no matter where it is. That way you can zip up 
> the contents of a directory and have all the information that's required to 
> make a complete TW-eco system.


I agree. The files "in the other place" is awkward on export from Bob. It 
requires clear planning in advance or you can get in a mess. You can't just 
press a button and do it auto. 

On the other hand Bob scripts can ameliorate the issue somewhat (like quite 
easy "copy" via OS from and to). But the "virtual" addressing in the wiki 
itself still needs fixing (i.e. "./f/img/fred.jpg" -> "./img/fred.jpg") 
when you export to singular.

Josiah

-- 
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/d5c15579-bb10-4db5-853a-34cafbd42fa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: how to run bash script from Bob TW

2018-10-25 Thread 'Mark S.' via TiddlyWiki
Perhaps there is some net safety stuff going on. In this:

  "scripts": {
"test": "/bin/ls > /home/mark/Bob/findme.tid",
"test2": "/home/mark/Bob/dothis.sh MYSTUFF"
  },

The first doesn't work even though all paths are hard-coded. So maybe the 
redirect isn't transmitted?

The 2nd line does work.

But, it had to be /home/mark/Bob/dothis.sh and not ~/Bob/dothis.sh . So the 
tilde seems to get zapped or ignored. I'm wondering if special (but 
standard in Linux) characters are being sanitized away.

-- Mark

On Thursday, October 25, 2018 at 7:25:56 AM UTC-7, Mark S. wrote:
>
> Here's my configuration entry:
>
>  "scripts": {
> "test": "ls > ~/Bob/findme.tid"
>   },
>
> Is this allowed? Doing it this way, all paths are known. Unfortunately, no 
> file was created.
>
> Thanks,
> Mark
>
> On Thursday, October 25, 2018 at 2:40:32 AM UTC-7, Jed Carty wrote:
>>
>> To run a script you:
>>
>> 1) Open the $:/ControlPanel
>> 2) Open the Bob Settings tab
>> 3) Open the Manual Settings tab under Bob Settings
>> 4) If there is no scripts section already defined make one by clicking on 
>> the + button nearest the bottom, selecting `Object` with the radio button 
>> and putting scripts into the text field, then clicking on the check button.
>> 5) In the scripts section click the + button, leave the radio button on 
>> field. Enter the name you want for the script as the key (the smaller text 
>> field) and enter the command you want to run in the value (the longer text 
>> field) then click the check button below it.
>> 6) Click the Update Settings button under the manual settings
>> 7) Open a tiddler, put in a button like this (I am assuming that you 
>> called your script DOOM and don't have any parameters to replace):
>>
>> <$button>
>> Run Script of DOOM
>> <$action-websocketmessage $type='DOOM'/>
>> 
>>
>>
>> the documentation is here 
>> https://github.com/OokTech/TW5-Bob/blob/master/Documentation/WebSocketMessages/WebSocketMessage-runScript.tid
>>
>> If you are running BobEXE on linux than there is no terminal visible as 
>> the stdout so you would have to handle that somehow. The packaging does 
>> weird things so I suggest that you use the plugin version if you want to do 
>> a lot of scripting because I have no idea where it would create files.
>>
>

-- 
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/2cf870a2-e91c-49b0-9d6d-dcdfe8731b34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread 'Mark S.' via TiddlyWiki


On Thursday, October 25, 2018 at 8:03:01 AM UTC-7, @TiddlyTweeter wrote:
>
> Mark S. wrote:
>>
>> I had to add the fileURLPrefix (undocumented) before it would work.  
>>
>
> It's semi-documented. It was documented enough for me to know it was 
> important.
>


Where exactly is it "semi-documented" ? 



> Having to serve images from one location is a bit limiting, when you may 
>> have Wikis in multiple locations.
>>
>
> Its easy to create subordinate levels within the "files" folder so that 
> files can be segregated as needed. 
>
>
But having to have all your images in one location, no matter how you divvy 
that location up, is what's limiting. With plain TW, or TW with 
tiddlyserver, your files can be somewhere in respect to your TW location, 
no matter where it is. That way you can zip up the contents of a directory 
and have all the information that's required to make a complete TW-eco 
system.

-- 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/39d4e089-99fd-4eeb-b340-019cd92c3daf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread agedlace
@Josiah

You just caused me to see that what I did may not be the 'best' way! I'm 
still very new to TW5 and do not yetl always appreciate the future proofing 
actions many of you have come to understand.  

I did name the sub-folder the current wiki's name ... now I see that should 
I ever change the wiki's name in the future, all those links will end up 
being broken.  NOT A GOOD SCENARIO!  

I like your suggestion of using some sort of ID or prefix code to name the 
sub-folders.  Also, an ID or prefix-code potentially keeps the links 
shorter as well, as some of my wiki's names [which is what I used for the 
subfolder names] are a little longish at the moment.

Thank you for pointing this out - much easier to fix now than later on down 
the line!

On Thursday, October 25, 2018 at 11:17:14 AM UTC-4, @TiddlyTweeter wrote:
>
> Dear aged ... yes!
>
>> I just created sub-folders inside the folder I identified as my filePath 
>> so that I can keep the images for a given wiki separate from the others.  
>>
>
> FWIW I suggested elsewhere that it might be a good idea that when you 
> create a new wiki you can also assign a "files ID" (just two letters that 
> indicate the sub-directory). I reasoned like this ...
>
> What I am wondering is whether when you create a new Wiki you can be 
>> prompted to define a "shorthand ID" for it to ensure you never forget the 
>> base address you need for files so you don't get in a mess? This comes from 
>> concern some of my wiki have many images associated with them. 
>>
>
>  Why is setting a "shorthand ID" useful? You can use it as a variable that 
>> is invoked in a Bob script passed to the OS that tells its where to copy 
>> the files from and where to. Also a problem arises if you don't because, if 
>> you change the name of the wiki, it becomes unclear where to find them. 
>> Basically I (personally) think a set shorthand ID could be useful. 
>
>
> Josiah 
>

-- 
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/aa5c5388-89bd-44f6-a75d-257821adcc39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread @TiddlyTweeter
Dear aged ... yes!

> I just created sub-folders inside the folder I identified as my filePath 
> so that I can keep the images for a given wiki separate from the others.  
>

FWIW I suggested elsewhere that it might be a good idea that when you 
create a new wiki you can also assign a "files ID" (just two letters that 
indicate the sub-directory). I reasoned like this ...

What I am wondering is whether when you create a new Wiki you can be 
> prompted to define a "shorthand ID" for it to ensure you never forget the 
> base address you need for files so you don't get in a mess? This comes from 
> concern some of my wiki have many images associated with them. 
>

 Why is setting a "shorthand ID" useful? You can use it as a variable that 
> is invoked in a Bob script passed to the OS that tells its where to copy 
> the files from and where to. Also a problem arises if you don't because, if 
> you change the name of the wiki, it becomes unclear where to find them. 
> Basically I (personally) think a set shorthand ID could be useful. 


Josiah 

-- 
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/01975034-43ef-423a-8c6f-c3d8949472d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread @TiddlyTweeter
Mark S. wrote:
>
> I had to add the fileURLPrefix (undocumented) before it would work.  
>

It's semi-documented. It was documented enough for me to know it was 
important.
 

> Having to serve images from one location is a bit limiting, when you may 
> have Wikis in multiple locations.
>

Its easy to create subordinate levels within the "files" folder so that 
files can be segregated as needed. 

Its just slightly problematic on export methodology to create single-file 
wiki that exports their specific files to them. This is something I 
commented on before but I don't want to lumber Jed's thread with my 
personal interests too much. 

Josiah

-- 
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/3951e82f-facd-4c50-88f8-a3aba9419682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread agedlace
Mark,

I don't know if this would work for you, but I just created sub-folders 
inside the folder I identified as my filePath so that I can keep the images 
for a given wiki separate from the others.  You just need to make sure you 
add the subfolder to the image's address in the tiddler you're putting it 
in.

I hope that made sense, and was helpful.


On Thursday, October 25, 2018 at 10:23:41 AM UTC-4, Mark S. wrote:
>
> I had to add the fileURLPrefix (undocumented) before it would work.  
>
> Having to serve images from one location is a bit limiting, when you may 
> have Wikis in multiple locations.
>
> Thanks
> -- Mark
>
> On Thursday, October 25, 2018 at 2:22:19 AM UTC-7, Jed Carty wrote:
>>
>> Mark,
>>
>> I am not sure what you mean by 'at the top' and 'at the bottom', but 
>> there is a known bug with the port numbers that can happen when you allow 
>> it to auto-increment ports https://github.com/OokTech/TW5-Bob/issues/24
>>
>> To make images serve you have to set the filePathRoot which is the root 
>> path served by the static file server. The default mime is listed in the 
>> serving files documentation 
>> https://github.com/OokTech/TW5-Bob/blob/master/Documentation/Serving%20Files.tid
>>  
>> but that was just updated to fix some errors, it had an incomplete listing 
>> for the mimeMap and it said the default url prefix was file instead of 
>> files.
>>
>> And if there isn't a filePathRoot entry than serving files doesn't work, 
>> it has to be enabled by setting a filePathRoot.
>>
>> I have no idea what 'virtual addresses' are supposed to be, the files are 
>> served in the normal way by a webserver.
>>
>> Here are the steps that I just did to make the file server work:
>>
>> 1) Download BobEXE for your system (or set up the plugin version, it 
>> makes no difference but this is faster for testing)
>> 2) Start it and open up the root wiki
>> 3) Go to the $:/ControlPanel
>> 4) Go to the Bob Settings tab in the control panel
>> 5) Go to the Manual Settings tab in the Bob Settings tab
>> 6) At the bottom of where the settings are listed click the last + 
>> button, name the key (the smaller text entry field) filePathRoot and give 
>> it the value (the longer text entry field) that is where you have the files 
>> you want to serve (in my case /home/inmysocks/pictures)
>> 7) Click the check button under the text entry fields
>> 8) Click the Update Settings button
>> 9) Under the Server Actions tab click Shutdown Wiki
>> 10) Restart the wiki
>> 11) Make a new tiddler and put in [img[./files/01.jpg]] (assuming you 
>> have a picture called 01.jpg in the folder listed in the filePathRoot)
>>
>> it does look like there is a bug here where if you do something that 
>> saves the manual settings again it may stop serving files until the server 
>> is restarted again.
>>
>

-- 
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/e71d6973-7c12-4d51-804f-3830dc2527a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: how to run bash script from Bob TW

2018-10-25 Thread 'Mark S.' via TiddlyWiki
Here's my configuration entry:

 "scripts": {
"test": "ls > ~/Bob/findme.tid"
  },

Is this allowed? Doing it this way, all paths are known. Unfortunately, no 
file was created.

Thanks,
Mark

On Thursday, October 25, 2018 at 2:40:32 AM UTC-7, Jed Carty wrote:
>
> To run a script you:
>
> 1) Open the $:/ControlPanel
> 2) Open the Bob Settings tab
> 3) Open the Manual Settings tab under Bob Settings
> 4) If there is no scripts section already defined make one by clicking on 
> the + button nearest the bottom, selecting `Object` with the radio button 
> and putting scripts into the text field, then clicking on the check button.
> 5) In the scripts section click the + button, leave the radio button on 
> field. Enter the name you want for the script as the key (the smaller text 
> field) and enter the command you want to run in the value (the longer text 
> field) then click the check button below it.
> 6) Click the Update Settings button under the manual settings
> 7) Open a tiddler, put in a button like this (I am assuming that you 
> called your script DOOM and don't have any parameters to replace):
>
> <$button>
> Run Script of DOOM
> <$action-websocketmessage $type='DOOM'/>
> 
>
>
> the documentation is here 
> https://github.com/OokTech/TW5-Bob/blob/master/Documentation/WebSocketMessages/WebSocketMessage-runScript.tid
>
> If you are running BobEXE on linux than there is no terminal visible as 
> the stdout so you would have to handle that somehow. The packaging does 
> weird things so I suggest that you use the plugin version if you want to do 
> a lot of scripting because I have no idea where it would create files.
>

-- 
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/34fd34ea-a0a1-41e9-876a-0cdda754835d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread 'Mark S.' via TiddlyWiki
I had to add the fileURLPrefix (undocumented) before it would work.  

Having to serve images from one location is a bit limiting, when you may 
have Wikis in multiple locations.

Thanks
-- Mark

On Thursday, October 25, 2018 at 2:22:19 AM UTC-7, Jed Carty wrote:
>
> Mark,
>
> I am not sure what you mean by 'at the top' and 'at the bottom', but there 
> is a known bug with the port numbers that can happen when you allow it to 
> auto-increment ports https://github.com/OokTech/TW5-Bob/issues/24
>
> To make images serve you have to set the filePathRoot which is the root 
> path served by the static file server. The default mime is listed in the 
> serving files documentation 
> https://github.com/OokTech/TW5-Bob/blob/master/Documentation/Serving%20Files.tid
>  
> but that was just updated to fix some errors, it had an incomplete listing 
> for the mimeMap and it said the default url prefix was file instead of 
> files.
>
> And if there isn't a filePathRoot entry than serving files doesn't work, 
> it has to be enabled by setting a filePathRoot.
>
> I have no idea what 'virtual addresses' are supposed to be, the files are 
> served in the normal way by a webserver.
>
> Here are the steps that I just did to make the file server work:
>
> 1) Download BobEXE for your system (or set up the plugin version, it makes 
> no difference but this is faster for testing)
> 2) Start it and open up the root wiki
> 3) Go to the $:/ControlPanel
> 4) Go to the Bob Settings tab in the control panel
> 5) Go to the Manual Settings tab in the Bob Settings tab
> 6) At the bottom of where the settings are listed click the last + button, 
> name the key (the smaller text entry field) filePathRoot and give it the 
> value (the longer text entry field) that is where you have the files you 
> want to serve (in my case /home/inmysocks/pictures)
> 7) Click the check button under the text entry fields
> 8) Click the Update Settings button
> 9) Under the Server Actions tab click Shutdown Wiki
> 10) Restart the wiki
> 11) Make a new tiddler and put in [img[./files/01.jpg]] (assuming you have 
> a picture called 01.jpg in the folder listed in the filePathRoot)
>
> it does look like there is a bug here where if you do something that saves 
> the manual settings again it may stop serving files until the server is 
> restarted again.
>

-- 
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/709aa2cb-4fc4-458a-91f3-2e049d0a38c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: formatting changes 2 dashes to single long dash

2018-10-25 Thread Matthew Lauber
You might consider using the following formatting.  Tiddlywiki has a built 
in "code" block that's good for these types of commands, because it turns 
off most of the formatting inside them.  Three backticks signals the 
start/end of a code block, like 
below.  https://tiddlywiki.com/#Code%20Blocks%20in%20WikiText

```
configure --prefix=/usr/local
```

Matt


On Wednesday, October 24, 2018 at 11:16:58 PM UTC-4, chri...@caruthers.me 
wrote:
>
> If I have the following code in a tiddler:
>
> 
> configure --prefix=/usr/local
> 
>
> The resulting displayed tiddler will show the code in a grey box in 
> monospace font, but it will display the "--" as "–".  This may not 
> translate well in the forum. The best description I can give is when you 
> enter 2 dashes followed by text in something like Word or Outlook, it will 
> change the 2 dashes to a single, slightly longer than normal dash.
>

-- 
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/724d5ab3-8e4a-48f8-9641-19ff925e6bdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread agedlace
This is exactly what I was looking for yesterday!  

Thank you for this precise step-by-step ... I had read the documentation 
but didn't "get it" ... this worked perfectly for me!


On Thursday, October 25, 2018 at 5:22:19 AM UTC-4, Jed Carty wrote:
>
> Mark,
>
> I am not sure what you mean by 'at the top' and 'at the bottom', but there 
> is a known bug with the port numbers that can happen when you allow it to 
> auto-increment ports https://github.com/OokTech/TW5-Bob/issues/24
>
> To make images serve you have to set the filePathRoot which is the root 
> path served by the static file server. The default mime is listed in the 
> serving files documentation 
> https://github.com/OokTech/TW5-Bob/blob/master/Documentation/Serving%20Files.tid
>  
> but that was just updated to fix some errors, it had an incomplete listing 
> for the mimeMap and it said the default url prefix was file instead of 
> files.
>
> And if there isn't a filePathRoot entry than serving files doesn't work, 
> it has to be enabled by setting a filePathRoot.
>
> I have no idea what 'virtual addresses' are supposed to be, the files are 
> served in the normal way by a webserver.
>
> Here are the steps that I just did to make the file server work:
>
> 1) Download BobEXE for your system (or set up the plugin version, it makes 
> no difference but this is faster for testing)
> 2) Start it and open up the root wiki
> 3) Go to the $:/ControlPanel
> 4) Go to the Bob Settings tab in the control panel
> 5) Go to the Manual Settings tab in the Bob Settings tab
> 6) At the bottom of where the settings are listed click the last + button, 
> name the key (the smaller text entry field) filePathRoot and give it the 
> value (the longer text entry field) that is where you have the files you 
> want to serve (in my case /home/inmysocks/pictures)
> 7) Click the check button under the text entry fields
> 8) Click the Update Settings button
> 9) Under the Server Actions tab click Shutdown Wiki
> 10) Restart the wiki
> 11) Make a new tiddler and put in [img[./files/01.jpg]] (assuming you have 
> a picture called 01.jpg in the folder listed in the filePathRoot)
>
> it does look like there is a bug here where if you do something that saves 
> the manual settings again it may stop serving files until the server is 
> restarted again.
>

-- 
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/843155f7-a713-4830-ad7d-9b26817b7c3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread @TiddlyTweeter
Jed wrote  

> I have no idea what 'virtual addresses' are supposed to be ...


My settings are ...



By "Virtual" I meant that an image is addressed in a Bob TW tiddler like 
this ...

[img[./f/bm/img/Funny-Sheep-Facts.jpg]]

The on disk address of the file is actually ...

C:\bag\PortableApps\twBOB\ext\bm\img\Funny-Sheep-Facts.jpg

The "virtual" bit is the "f" //that doesn't actually exist on disk// we 
need in the tiddler. Well that is my current understanding that seems to 
work well.

Best wishes
Josiah

-- 
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/e8a1e2ac-f0e3-4637-9ce9-7eff511f6f97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: how to run bash script from Bob TW

2018-10-25 Thread @TiddlyTweeter
Jed Carty wrote:

> If you are running BobEXE on linux than there is no terminal visible as 
> the stdout so you would have to handle that somehow. The packaging does 
> weird things so I suggest that you use the plugin version if you want to do 
> a lot of scripting because I have no idea where it would create files.
>

I agree. 

I think the issue here is mainly that once you hand over to the OS pathing 
may get determined by the application handed to. In Bob the execution 
(under BobEXE Win) happens in the directory where its executable is, but 
the program invoked may have other ideas where it wants to run from.

For instance, on Windows, invoking a file browser usually means it runs 
from the directory of its executable rather than the directory of the Bob 
executable. In this case paths to directories you want to see (in any 
parameters) need to be relative to the directory of the program's 
executable, not the Bob executable's directory. 

But text file editors in Windows normally run from where you invoke them 
and in these cases pathing to files you want to edit can be relative to the 
Bob executable. 

Its trial & error I think.

Best wishes
Josiah

-- 
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/9c795bb8-f2cf-4e7e-8031-e9e7cd68c597%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: how to run bash script from Bob TW

2018-10-25 Thread Jed Carty
To run a script you:

1) Open the $:/ControlPanel
2) Open the Bob Settings tab
3) Open the Manual Settings tab under Bob Settings
4) If there is no scripts section already defined make one by clicking on 
the + button nearest the bottom, selecting `Object` with the radio button 
and putting scripts into the text field, then clicking on the check button.
5) In the scripts section click the + button, leave the radio button on 
field. Enter the name you want for the script as the key (the smaller text 
field) and enter the command you want to run in the value (the longer text 
field) then click the check button below it.
6) Click the Update Settings button under the manual settings
7) Open a tiddler, put in a button like this (I am assuming that you called 
your script DOOM and don't have any parameters to replace):

<$button>
Run Script of DOOM
<$action-websocketmessage $type='DOOM'/>



the documentation is 
here 
https://github.com/OokTech/TW5-Bob/blob/master/Documentation/WebSocketMessages/WebSocketMessage-runScript.tid

If you are running BobEXE on linux than there is no terminal visible as the 
stdout so you would have to handle that somehow. The packaging does weird 
things so I suggest that you use the plugin version if you want to do a lot 
of scripting because I have no idea where it would create files.

-- 
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/9f9fceba-08e0-47bb-8e4d-c47024bab94d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread Jed Carty
It looks like the bug isn't caused by any changes to the manual settings, 
just to adding a new wiki. There is probably something about how the new 
wiki updates the server paths that doesn't play well with the file server 
component. This is why I have a separate server component for the online 
version.

-- 
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/4f84a4a3-e1be-47c7-887f-7080d451b8c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread Jed Carty
Mark,

I am not sure what you mean by 'at the top' and 'at the bottom', but there 
is a known bug with the port numbers that can happen when you allow it to 
auto-increment ports https://github.com/OokTech/TW5-Bob/issues/24

To make images serve you have to set the filePathRoot which is the root 
path served by the static file server. The default mime is listed in the 
serving files documentation 
https://github.com/OokTech/TW5-Bob/blob/master/Documentation/Serving%20Files.tid
 
but that was just updated to fix some errors, it had an incomplete listing 
for the mimeMap and it said the default url prefix was file instead of 
files.

And if there isn't a filePathRoot entry than serving files doesn't work, it 
has to be enabled by setting a filePathRoot.

I have no idea what 'virtual addresses' are supposed to be, the files are 
served in the normal way by a webserver.

Here are the steps that I just did to make the file server work:

1) Download BobEXE for your system (or set up the plugin version, it makes 
no difference but this is faster for testing)
2) Start it and open up the root wiki
3) Go to the $:/ControlPanel
4) Go to the Bob Settings tab in the control panel
5) Go to the Manual Settings tab in the Bob Settings tab
6) At the bottom of where the settings are listed click the last + button, 
name the key (the smaller text entry field) filePathRoot and give it the 
value (the longer text entry field) that is where you have the files you 
want to serve (in my case /home/inmysocks/pictures)
7) Click the check button under the text entry fields
8) Click the Update Settings button
9) Under the Server Actions tab click Shutdown Wiki
10) Restart the wiki
11) Make a new tiddler and put in [img[./files/01.jpg]] (assuming you have 
a picture called 01.jpg in the folder listed in the filePathRoot)

it does look like there is a bug here where if you do something that saves 
the manual settings again it may stop serving files until the server is 
restarted again.

-- 
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/3f7a69f3-315b-4433-bad6-bd2cce9b93af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: how to run bash script from Bob TW

2018-10-25 Thread @TiddlyTweeter
Dave

I use Windows so I can't help you precisely for Unix. However, I can say 
the scripting works well for me now (likely for stuff similar to what you'd 
do through bash) that I do through Windows batch files: I also run full 
executables you can easily pass parameters to.

I encountered initial issues on Windows to do with whether the "script" was 
running as a child process or as a process that took over Bob where it 
could terminate *Bob* on completion. I solved this using "batch" files. I 
describe the issues here for Windows: 
https://groups.google.com/d/msg/tiddlywiki/lBqVhw-M3ds/7jlcBVqTCAAJ

I'm guessing, broadly, that some of it also applies to Unix too?

One thing worth noting is that scripts execute in the directory where the 
Bob executable is (for BobEXE and on node the level above the 
IndexWiki/RootWiki) which you need to take into account in getting the 
addressing right for where exactly you need the command to run.

Maybe a bit of help?
Josiah

On Thursday, 25 October 2018 04:26:53 UTC+2, Dave wrote:
>
> How do you execute a local file system bash script from within a Bob TW?
>
> I recall reading somewhere that that is possible, but my google skills 
> aren't advanced enough to figure it out...
>
>
> thanks,
> - Dave
>

-- 
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/349f9286-b136-4f42-9ec2-f6e60d3a7438%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread @TiddlyTweeter
Ciao Mark

Yeah, you need (1) have the "filePathRoot" set in Manual Settings. Also (2) 
optionally "fileURLPrefix". (3) Ensure that the "mimeMap" is active (I 
found, 2 Bob versions back, I had to set it manually despite docs saying 
they were on by default. I haven't checked if I can remove those manual 
settings on the latest).

Here is an example of my settings ...






I wrote a brief note on my broad take on it for managing files for export: 
https://groups.google.com/forum/#!msg/tiddlywiki/XsVzEJBDd9Q/6svo1i_BAwAJ

Not being familiar with the node style of serving external files I found 
the "virtual"address of "files" initially somewhat confusing. Now I'm a bit 
clearer.

Once up and running the serving is robust.

HTH
J

On Thursday, 25 October 2018 06:29:03 UTC+2, Mark S. wrote:
>
> So far no luck getting images to serve. But there wasn't an existing 
> filePathRoot entry, so perhaps I am setting it up wrong? 
>
> -- 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/712062b4-3816-48d7-8b77-ccec1b8b532d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.1.0 Actually Garlic Bagels prerelease

2018-10-25 Thread Peter Merel
My head's been out of TW for several months so all this Bob stuff is new to 
me. Well done Jed and and everyone involved! 

But I have a question about a statement on the Multi-User TW5 plugin github 
site  where you say "*a git plugin is currently being developed*”. I see 
this as critical to multi-use TW on the open web and very keen to hear 
about its status. 

I should explain why.


20 years ago I spent a lot of time on the original c2 wiki. I ran one of 
its sister sites, GreenCheese, edited about 2000 pages of the original 
WardsWiki, and built the first open source clone of it, “CvWiki". So I saw 
most of the heat-death of c2 up close and personal. I was one of the dozen 
folk Ward picked as stewards to try to defend it form the trolls … 
unsuccessfully …


Right now I'm running the “free and open source agile” community at 
http://xscalealliance.org . We have a TW at http://xscale.wiki but most of 
our communications are going via slack. I see slack as very inferior to the 
wiki way and I’m keen to open up xscale.wiki to multiple users. But given 
the broad potential community I think I need git integration to do it.


I had been thinking that we’d just let practitioners use TW's single user 
node.js server to edit, and then submit pull requests in the usual git way. 
I probably don’t need to tell you that’s clunky …


What I’m hoping for is a multi-user mode where users are able to make a 
number of local edits on their local copy of the wiki, then when they press 
"save" we would have a pull-request generated automagically along with a 
little form for them to fill in the purpose of their edits. After that, 
normal github-flow should be sufficient for the community to police its own 
development. 


Though I think we might also want the “Recents” tab to be improved to 
change the river to reflect the recently changed tiddlers. RecentChanges 
was the beating pulse of c2 … to the point that back in the day many of us 
made it our browser’s homepage. We called ourselves "RecentChangesJunkies" 
...


No worries if you meant something completely different by this but I 
thought it might save us a lot of duplicated effort if you’re going down 
this path and I'm enormously impressed with the progress you've made on Bob 
to date!

Cheers,

Pete

On Tuesday, 16 October 2018 03:03:32 UTC+11, Jed Carty wrote:
>
> I ended up doing some things on the back-end of Bob that would break 
> backwards compatibility if anyone modified the server components of Bob. I 
> am not aware of anyone who has but this gets a minor version bump anyway. I 
> never got through testing version 1.0.7 before getting distracted so those 
> changes got rolled into this.
>
> This is a prerelease for now because there have been a lot of changes and 
> while I am not aware of any new bugs from them, there may be some I have 
> missed. As always, back up your wikis!! The easiest way is to just make an 
> archive of your Wikis folder and the IndexWiki.
>
> The big changes from the perspective of using Bob are:
> - you can now build html wikis that take tiddlers from any of the wikis 
> served by Bob instead of just building an html version of an existing wiki.
> - You can select which plugins from the server should be used in the 
> current wiki
> - Custom tiddler paths using $:/config/FileSystemPaths should work now
>
> The plugin version of Bob is on GitHub here: 
> https://github.com/OokTech/TW5-Bob
> The newest version of BobEXE is available here: 
> https://github.com/OokTech/TW5-BobEXE/releases
>
> If you want to support the development OokTech has a patreon page here
> https://www.patreon.com/OokTech
> or if you prefer there  is a link for PayPal here
>
> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick_button_id=ZG94CTLHTKYRE
>
>
> Here is the current changelog for version 1.1.0
>
> !! Version 1.1.0 (ongoing)
>
> - Add `savePluginFolder` web socket message to save packaged plugins as 
> folders on a server. These plugins can then be available to other served 
> wikis and in the plugin library, if it is enabled.
> - Add the `import` browser message handler to make fetching nicer
> - Add options for how to handle conflicts for `internalFetch`
> - `internalFetch` now displays a list of imported tiddlers
> - Added a way to change which plugins a wiki uses from inside the wiki
>- In the Bob Settings tab there is a Manage Plugins tab
> - Added an interface to save plugins to the server and to select which 
> plugins from the server should be used in the current wiki
> - Change the internals to make one $tw.Wiki object for each wiki instead 
> of having them all in $tw.wiki
>- There are lots of internal changes to make this work
>- $tw.boot.files still uses the prefixed name
> - Streamlined and simplified the file system monitor
>- It should now watch new subfolders inside the tiddlers folder
> - Environment variables are now set from the plugin, themes, and languages 
> paths given in the settings.
>- This is 

[tw5] Re: formatting changes 2 dashes to single long dash

2018-10-25 Thread TonyM
Hi,

Yes this is part of wiki text standards, I am not sure why, see documented 
here https://tiddlywiki.com/#Dashes%20in%20WikiText

You don't need  wrapping it to make it happen.

It does not happen if you make it a link
[[configure --prefix=/usr/local]]

or if you wrap it as follows
https://tiddlywiki.com/#Code%20Blocks%20in%20WikiText

```
configure --prefix=/usr/local
```


`configure --prefix=/usr/local`

Incidentally

``double backticks allows `embedded` backticks``


and see what---does on a newline, its 
https://tiddlywiki.com/#Formatting%20in%20WikiText


Tobias has a 
"solution" http://tobibeer.github.io/tb5/#Preventing%20Wikification 
and http://tobibeer.github.io/tb5/#Literal%20Text

<$text text="configure --prefix=/usr/local"/>
Attributed to Eric


Of course I think you could create your own css to alter this.

Also in ControlPanel > Info > Advanced > Parsing
you can uncheck Dash and it will not longer do it! (after a save and reload)

Don't uncheck transcludeinline, I am still trying to fix it, be carful, 
make a backup

Enjoy
tony


On Thursday, October 25, 2018 at 2:16:58 PM UTC+11, chri...@caruthers.me 
wrote:
>
> If I have the following code in a tiddler:
>
> 
> configure --prefix=/usr/local
> 
>
> The resulting displayed tiddler will show the code in a grey box in 
> monospace font, but it will display the "--" as "–".  This may not 
> translate well in the forum. The best description I can give is when you 
> enter 2 dashes followed by text in something like Word or Outlook, it will 
> change the 2 dashes to a single, slightly longer than normal dash.
>

-- 
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/1f50451f-47f9-47a4-a61a-0bf0b6877879%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.