Re: [tw] Re: TW development best practices question

2015-09-28 Thread Tobias Beer
Hi Erwan,
 

> In the CommunitySearch wiki this is done simply by renaming any tiddler 
> X from wiki Y as $:/Y/X.


Thanks for the input ...I was aware of that. :-)
The ultimate goal with my above day-dreaming exercise
would be for all internal linking as well as tagging, etc.. to eventually
aggregate the data into one big network,
rather than break the whole as well as each subnetwork (aka edition),
more or less, since everything got renamed.
 

> But of course this option requires calling an external script, so some 
> might say it's like cheating ;)


So, it's not only cheating but rather has,
in fact, severe limitations.

You might well be the first for TW5
to try and remove some of them,
if you ever decided to try and do that.

I think it would be cool if your search results list
could show some popup when hovering a link,
context-search-highlighting the search term.
Or the whole lot being expandable by some button,
not rendered output, but only a source extract.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/066ac115-7b22-4a9a-aa00-2f7e0a0a8242%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-28 Thread Tobias Beer
Hi Jonathan,
 

> ·  allow a user to read a special tagged tiddler, but …
> · prevent him from editing this tiddler by


This leads me to think that you do want people to edit your wiki. 
So, how do you manage that multi-user workflow?

I’m looking for a behaviour just like the „Encrypt single tiddler“ plugin, 
> with the only exception that one can read a „encrypted“ tiddler without a 
> password – but have to enter the password to enable editing.
>

Interesting idea, but sounds like it needs core modifications,
to prevent people from editing ...through whichever means.
(There's more to it than just an edit button.)

Although, you can surely do the very same procedure 

with the edit button in the tiddler toolbar.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85c05c9c-8467-457f-90d5-dc3247433b61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Firefox crash leaves tiddlywiki empty

2015-09-28 Thread Tobias Beer
Hi Konono,
 

> How about a mechanism that creates a backup or lets say 'shadow' copy of 
> your wiki, and overwrites it every time your wiki is saved. Soemthing like 
> '.mytiddlywiki.html'. Your folder doesn't get flooded with timestamped 
> copies, but you still have a recent backup.
>>
>>
I have always hoped to see LessBackupsPlugin ported to TW5,
which would possibly only work with TiddlyFox these days.
Might very well be on the ToDo list for that extension.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c09ae606-872a-4837-9640-3444f9f43eb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: CsvParser

2015-09-28 Thread Tobias Beer
Hi Stevesuny,
 

> Is there a way to access individual cells in a tiddler created through csv 
> import? 
>
(as in, treat each cell as a field, or something like that?)
>>
>>  
What are you (eventually) trying to achieve with that?

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f3447aa8-8971-47d3-a928-c461c2508183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Document dirty even without committing any changes

2015-09-28 Thread Tobias Beer
Hi Hegart, @Jeremy,
 

> After all, I would have thought that the history list, by its very 
> existence, is part of the state of the wiki.
>

I tend to agree that it would be much more sensible
to have to be explicit about wanting to save any of those state tiddlers
rather than having to be explicit about not wanting that.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ee30df0c-f295-481d-a994-96bc7b006f35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-28 Thread Tobias Beer
Hi Dave,
 

> What I'm gathering is that Node.js is the way to go and mainly I have to 
> decide whether to have it in different wikis or one big wiki.  Isn't the 
> main point (or one of them) of TW using Node.js that size is irrelevant? 
>  Or would a single TW with thousands of patients each with thousands of 
> tiddlers become unwieldy even with node.js?
>

I'm inclined to believe your anticipations are wee bit exaggerated. :D
Maybe not, and eventually you will have a million
patient related snippets flying about over time.
At that load, if something might bend over backwards,
it will probably be the standalone version.

With node you can start with one of those and later on,
if things should become unmanageable
you can render your patient data into more fine-grained wiki's,
if onl alphabetically. I would probably have
a "patients" in my structure and,
in anticipation of your above amounts
one subfolder per letter in the alphabet.

Also, lets say that was the case and I chose to go with individual wikis: 
>  would it be easier to just grep information (I know bash better than 
> javascript, ha ha) for multi-patient reports, or is it conceivable to have 
> a separate "Admin" wiki that, although slower, would be able to include the 
> whole mass of them (that would be preferrable).  I'm pretty sure that is 
> what some of you have said or at least implied.
>

It really depends on the complexity of what
you want to achieve with your aggregations.
I'm sure you'll come around with questions
once you hit a dead end on that.

Also, isn't there a way to variably load subsets (patients) of tiddlers 
> into the single TW, and just "purge and reload" the next one when needed, 
> so it would behave like single multiple wikis, but it would still be just 
> the one.  Is that what you were getting at Mario when you mentioned 
> tiddlywiki.info files? That way if you wanted to look at all patients 
> with a certain diagnosis or demographic profile you could load just them...
>
 
You can basically "build" your wiki anyway you want in node,
you're not bound to have an all-or-nothing wiki.
In fact, you're served wiki is an on-the fly view
of whatever you told the server to serve from the tiddler store.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f014a6ee-54e6-41ab-8130-6ec4b0113a26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Creating an alternative Edit template

2015-09-28 Thread Tobias Beer
Hi Danielo,

I believe you may have copy-pasted that from somewhere.
Remove the *listItem* variable and have your list iteration
always point to the list item as the *currentTiddler*.
Then you can also just do this and your view widget
knows what tiddler you're actually talking about...

<$tiddler tiddler={{$:/state/OTW/editedTiddler}}>
<$list filter="[all[shadows+tiddlers]tag[$:/OTW/Editor]!has[draft.of]]">
<$transclude/>



Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc0bbbef-2cce-4a0a-a374-571540f14625%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-28 Thread jonathanhaug
Hi Tobias,

 

thanks for your detailed explanations. I do learn a lot in hacking tw5 by 
reading your comments.

 

But… with your approach I would allow editing – but prevent saving.

 

IMHO this is one step too late. Why would I allow editing a tiddler if i knew 
already that the user is not allow to save his editing?

 

Thus, once again my question:

How would I 

*   allow a user to read a special tagged tiddler, but …

*   prevent him from editing this tiddler by …

*   asking for a password when he clicks the edit button, but still keep …

*   the normal behaviour with un-tagged tiddlers.

 

I’m looking for a behaviour just like the „Encrypt single tiddler“ plugin, with 
the only exception that one can read a „encrypted“ tiddler without a password – 
but have to enter the password to enable editing.

 

Hoping for help and thanks  again

 

Jonathan



-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/006f01d0fa24%24dff868f0%249fe93ad0%24%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-28 Thread Dave
Which OS?

I'm using Linux


It'll mainly be text in tiny chunks like [ tiddler:RightCervicalRotation, 
fieldname:2015-09-28.11:40:19 AM, field content: 47 ] amalgamated into 
lists and summary tiddlers, but probably hundreds of them per visit, and 
over a patient's lifetime they can have up to hundreds of visits.  It will 
be mainly me updating the data, but if I ever get it good enough to 
distribute to other docs, there are often multiple people accessing it in 
bigger clinics, although not usually at the same time.  Id imagine you 
could keep it all behind a firewall of some sort, backups like any other 
file structure I suppose.



What I'm gathering is that Node.js is the way to go and mainly I have to 
decide whether to have it in different wikis or one big wiki.  Isn't the 
main point (or one of them) of TW using Node.js that size is irrelevant? 
 Or would a single TW with thousands of patients each with thousands of 
tiddlers become unwieldy even with node.js?

Also, lets say that was the case and I chose to go with individual wikis: 
 would it be easier to just grep information (I know bash better than 
javascript, ha ha) for multi-patient reports, or is it conceivable to have 
a separate "Admin" wiki that, although slower, would be able to include the 
whole mass of them (that would be preferrable).  I'm pretty sure that is 
what some of you have said or at least implied.


Also, isn't there a way to variably load subsets (patients) of tiddlers 
into the single TW, and just "purge and reload" the next one when needed, 
so it would behave like single multiple wikis, but it would still be just 
the one.  Is that what you were getting at Mario when you mentioned 
tiddlywiki.info files?  That way if you wanted to look at all patients with 
a certain diagnosis or demographic profile you could load just them...

anyway, thanks for all of your input!

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bacb94f5-83ca-4f7b-8470-bb4f96f1a31e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Problem with macros and default values

2015-09-28 Thread FrD
Hi,

Still exploring macros and default values.
I've got a problem in a macro calling a second macro. The first macro has 
some arguments with default values.

Here's an MTC. 
Create a tiddler (say TestMacros) with a field "foo" with value "bar".
Put this code in the tiddler :

\define testmacro1(alpha:{{!!title}} beta gamma:{{!!foo}})
<>
\end

\define testmacro2(alpha beta gamma)
alpha = $alpha$

beta = $beta$

gamma = $gamma$
\end

<>

The result is :

alpha = TestMacros
beta = bar 
gamma = 

Seems to me that beta should'nt hold any value and gamma should hold "bar" 
as its value.
Could someone explain this behaviour ?

Thanks

FrD

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a21ed836-2926-4468-bc9b-aae7de4f5a80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: CsvParser

2015-09-28 Thread stevesuny
Hello all, 

Pulling on an oldt hread here: 

Is there a way to access individual cells in a tiddler created through csv 
import? (as in, treat each cell as a field, or something like that?)

Thanks!

//steve.


On Monday, April 7, 2014 at 4:09:42 AM UTC-4, Jeremy Ruston wrote:
>
> Hi cb
>
> The CSV parser is only present in the prerelease version of TiddlyWiki on 
> GitHub, it's not yet made it's way through to tiddlywiki.com.
>
> The functionality is very basic at present: just the ability to display 
> CSV data in a table. There is no capability to access individual cells yet, 
> but that is coming.
>
> Best wishes
>
> Jeremy.
>
>
>
> On Mon, Apr 7, 2014 at 3:27 AM, cb <24x7...@gmail.com > 
> wrote:
>
>> Sorry, forgot to add that [TW5] to the header :(
>>
>>
>> On Sunday, April 6, 2014 7:25:33 PM UTC-7, cb wrote:
>>>
>>> I was just browsing the TiddlyWiki5 code and came across the CsvParser.  I 
>>> expected that if a tiddler contained CSV data, that CSV data would be 
>>> rendered as a Table. However, I couldn't figure out how to view my tiddler 
>>> with CSV data as an html table. Any ideas?
>>>
>>> I also noticed comments to the checkin suggesting an enhancement that 
>>> each individual cell  value can be retrieved, for processing. I think this 
>>> is an excellent idea.
>>>
>>> Thanks,
>>> cb
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7bf03c58-058a-4dd3-932d-f591cf75fb9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] class tagged and special characters

2015-09-28 Thread Danielo Rodríguez
Hello,

thanks to the bad search of Google Groups, I am forced to open a new thread 
to ask this.

How can I create CSS rules for tiddlers which tag contains special 
characters such $ or / ? I tried using the character encoding like %2F in 
the stylesheet, but it does not work.

Any idea?

Many thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea26ee6f-d1ae-41d3-84bb-e2318e65fc1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] class tagged and special characters

2015-09-28 Thread Jeremy Ruston
Hi Danielo

You need to URL encode the tag name, and then apply CSS escaping rules;
there's a good discussion here:

https://mathiasbynens.be/notes/css-escapes

The rules basically boil down to preceding each of these characters with a
backslash:  !, ", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?,
@, [, \, ], ^, `, {, |, }, and ~.

There are some docs at the bottom of this tiddler:

http://tiddlywiki.com/How%20to%20apply%20custom%20styles%20by%20tag

Here's a quick JS function that will apply both rules:

(function(s) {return
"tc-tagged-"+encodeURIComponent(s).replace(/[!"#$%&'()*+,\-./:;<=>?@[\\\]^`{\|}~,]/mg,function(c){return
"\\" + c;});})("Put your tag here")

It's quite useful, so I've included it in the core for 5.1.0 here:

https://github.com/Jermolene/TiddlyWiki5/commit/7b8928886bf101b0cf4a8cc2d2dd2e576ec1c8d8

Best wishes

Jeremy.



On Mon, Sep 28, 2015 at 8:04 PM, Danielo Rodríguez 
wrote:

> Hello,
>
> thanks to the bad search of Google Groups, I am forced to open a new
> thread to ask this.
>
> How can I create CSS rules for tiddlers which tag contains special
> characters such $ or / ? I tried using the character encoding like %2F in
> the stylesheet, but it does not work.
>
> Any idea?
>
> Many thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/ea26ee6f-d1ae-41d3-84bb-e2318e65fc1f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJb8QbwgUnfuc2OjYeCA2P10EGtWOYd-SE6GCUsjQvN9Gw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with macros and default values

2015-09-28 Thread Jeremy Ruston
Hi FrD

There are a couple of things going on:

* Parameters in a macro definition are separated with commas. It is
unfortunate that this is different than the white space separator used when
invoking macros
* In your example, the macro invocation of testmacro2 is unpacking to
<>. The missing value for the beta
parameter comes out blank, causing the value you've specified with $gamma$
to be passed as the parameter "beta" to testmacro2. The workaround is to
use named parameters and quotes:

Here's a corrected version:

\define testmacro1(alpha:"{{!!title}}",beta,gamma:"{{!!foo}}")
<>
\end

\define testmacro2(alpha,beta,gamma)
alpha = $alpha$

beta = $beta$

gamma = $gamma$
\end

<>

Best wishes

Jeremy


On Mon, Sep 28, 2015 at 6:03 PM, FrD  wrote:

> Hi,
>
> Still exploring macros and default values.
> I've got a problem in a macro calling a second macro. The first macro has
> some arguments with default values.
>
> Here's an MTC.
> Create a tiddler (say TestMacros) with a field "foo" with value "bar".
> Put this code in the tiddler :
>
> \define testmacro1(alpha:{{!!title}} beta gamma:{{!!foo}})
> <>
> \end
>
> \define testmacro2(alpha beta gamma)
> alpha = $alpha$
> 
> beta = $beta$
> 
> gamma = $gamma$
> \end
>
> <>
>
> The result is :
>
> alpha = TestMacros
> beta = bar
> gamma =
>
> Seems to me that beta should'nt hold any value and gamma should hold "bar"
> as its value.
> Could someone explain this behaviour ?
>
> Thanks
>
> FrD
>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a21ed836-2926-4468-bc9b-aae7de4f5a80%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbcMA-tC2Bmkr_62JY-AzT2ppx5R7zDj-SWFmSJ%3D%2BxfPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with macros and default values

2015-09-28 Thread FrD
Hi Jeremy,

Thanks for the quick answer !
I did'nt know these details.
I think the documentation on tiddlywiki.com should be updated : the example 
in the tiddler "Macro Definitions in WikiText" doesn't use commas to 
separate the parameters.

FrD

Le lundi 28 septembre 2015 19:20:38 UTC+2, Jeremy Ruston a écrit :
>
> Hi FrD
>
> There are a couple of things going on:
>
> * Parameters in a macro definition are separated with commas. It is 
> unfortunate that this is different than the white space separator used when 
> invoking macros
> * In your example, the macro invocation of testmacro2 is unpacking to 
> <>. The missing value for the beta 
> parameter comes out blank, causing the value you've specified with $gamma$ 
> to be passed as the parameter "beta" to testmacro2. The workaround is to 
> use named parameters and quotes:
>
> Here's a corrected version:
>
> \define testmacro1(alpha:"{{!!title}}",beta,gamma:"{{!!foo}}")
> <>
> \end
>
> \define testmacro2(alpha,beta,gamma)
> alpha = $alpha$
> 
> beta = $beta$
> 
> gamma = $gamma$
> \end
>
> <>
>
> 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bbc80931-26e3-457d-b716-b5923fe33347%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with macros and default values

2015-09-28 Thread Jeremy Ruston
Hi FrD

Thanks for the quick answer !
> I did'nt know these details.
> I think the documentation on tiddlywiki.com should be updated : the
> example in the tiddler "Macro Definitions in WikiText" doesn't use commas
> to separate the parameters.
>

Oops, you're quite right, or rather my past self was correct: macro
definitions can use spaces or commas to separate parameters. As the
documentation says: "The parameter separator (sep) is any sequence of
characters that does not match a param-name. Among other things, this
includes commas, spaces and linefeeds":

http://tiddlywiki.com/Macro%20Definition%20Syntax

Best wishes

Jeremy.



>
>
> FrD
>
> Le lundi 28 septembre 2015 19:20:38 UTC+2, Jeremy Ruston a écrit :
>>
>> Hi FrD
>>
>> There are a couple of things going on:
>>
>> * Parameters in a macro definition are separated with commas. It is
>> unfortunate that this is different than the white space separator used when
>> invoking macros
>> * In your example, the macro invocation of testmacro2 is unpacking to
>> <>. The missing value for the beta
>> parameter comes out blank, causing the value you've specified with $gamma$
>> to be passed as the parameter "beta" to testmacro2. The workaround is to
>> use named parameters and quotes:
>>
>> Here's a corrected version:
>>
>> \define testmacro1(alpha:"{{!!title}}",beta,gamma:"{{!!foo}}")
>> <>
>> \end
>>
>> \define testmacro2(alpha,beta,gamma)
>> alpha = $alpha$
>> 
>> beta = $beta$
>> 
>> gamma = $gamma$
>> \end
>>
>> <>
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>


-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJZTChTvvXXwZ1x6Q4giDbeAGcbSmAQkZY5q0fCwW7jf-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-28 Thread BJ
One way would be to  overload the edit-text widget, The 'new' version would 
check for the tag on the to-be edited tiddler and ask for the password. - 
it would call the original edit-text widget for actual editing.

kind regards
BJ 

On Monday, September 28, 2015 at 8:38:30 PM UTC+1, jonath...@wolke7.net 
wrote:
>
> Hi Tobias,
>
>  
>
> thanks for your detailed explanations. I do learn a lot in hacking tw5 by 
> reading your comments.
>
>  
>
> But… with your approach I would allow editing – but prevent saving.
>
>  
>
> IMHO this is one step too late. Why would I allow editing a tiddler if i 
> knew already that the user is not allow to save his editing?
>
>  
>
> Thus, once again my question:
>
> How would I 
>
> ·   allow a user to read a special tagged tiddler, but …
>
> ·   prevent him from editing this tiddler by …
>
> ·   asking for a password when he clicks the edit button, but still 
> keep …
>
> ·   the normal behaviour with un-tagged tiddlers.
>
>  
>
> I’m looking for a behaviour just like the „Encrypt single tiddler“ plugin, 
> with the only exception that one can read a „encrypted“ tiddler without a 
> password – but have to enter the password to enable editing.
>
>  
>
> Hoping for help and thanks  again
>
>  
>
> Jonathan
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dfe54f82-3018-4834-971c-77c2f7a5a381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] class tagged and special characters

2015-09-28 Thread Danielo Rodríguez


El lunes, 28 de septiembre de 2015, 22:43:54 (UTC+2), Jeremy Ruston 
escribió:
>
> Hi Danielo
>
> Are you missing a space in between the two class selectors?
>
> Best wishes
>

Yes! I was going to post that I am stupid and dumb, but you realized first. 
:D

Many thanks! 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/19e388f0-8b98-4220-80f2-e0b203186e31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] class tagged and special characters

2015-09-28 Thread Jeremy Ruston
Hi Danielo




You're missing out the URL encoding step,


Best wishes




Jeremy








—
jeremy.rus...@gmail.com

On Mon, Sep 28, 2015 at 9:39 PM, Danielo Rodríguez 
wrote:

> Hello Jeremy,
> I have tried also escaping the characters like this without any luck
> .tagged-\$\:\/OTW\/UI.tc-tiddler-title {
> display: none;
> }
> As you suppose, the tiddler is tagged 
> $:/OTW/UI
> Many thanks

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1443472855384.eb5b7c2e%40Nodemailer.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] class tagged and special characters

2015-09-28 Thread Danielo Rodríguez
Hello Jeremy,

I have tried also escaping the characters like this without any luck

.tagged-\$\:\/OTW\/UI.tc-tiddler-title {
display: none;
}


As you suppose, the tiddler is tagged 

$:/OTW/UI


Many thanks

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11958bd0-b66f-4511-b7f8-6b7569ea8940%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] class tagged and special characters

2015-09-28 Thread Danielo Rodríguez
Ok, trying your funciton I got a different encoding:


.tc-tagged-\%24\%3A\%2FOTW\%2FUI.tc-tiddler-title {
display: none;
}


But it is still not working... I'm getting crazy. I'm using this rule in a 
stylesheet tiddler. Does that make any difference?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2814ead9-4749-485f-bb9a-750139a980b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] class tagged and special characters

2015-09-28 Thread Jeremy Ruston
Hi Danielo




Are you missing a space in between the two class selectors?




Best wishes




Jeremy



—
jeremy.rus...@gmail.com

On Mon, Sep 28, 2015 at 9:42 PM, Danielo Rodríguez 
wrote:

> Ok, trying your funciton I got a different encoding:
> .tc-tagged-\%24\%3A\%2FOTW\%2FUI.tc-tiddler-title {
> display: none;
> }
> But it is still not working... I'm getting crazy. I'm using this rule in a 
> stylesheet tiddler. Does that make any difference?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1443473028010.36a3562a%40Nodemailer.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Bug? <$set> widget with filter does not trigger refresh

2015-09-28 Thread Spangenhelm
Congratulations apparently it works great ! Hope the pull request will be 
accepted for the next version!

-S

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3456ce22-6a03-4d71-a73f-51705bf2105b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Need some help with $set or $reveal widgets

2015-09-28 Thread Spangenhelm
Ok this is what i have used in my case with the advices of Evolena:

<$edit-text tiddler="Temp Tiddler" placeholder="Title" field="draft.title" 
tag="input" type="text"/>

This is a input where i can enter any title for a new tiddler, then aside 
of it:

<$set name="myVariable" filter="[{Temp Tiddler!!draft.title}is[tiddler]]" 
value="exist" emptyValue="">
<$text text=<>/>


which allow me to display a message if the name is already taken (i was 
having trouble to find the right number of brackets and braces in the 
filter attribute)

first we need to modify a shadow tiddler before use (because of a refresh 
issue, discussed here: https://github.com/Jermolene/TiddlyWiki5/issues/1937)

Due to Tobias a PR is pending to correct this for the next tw version 
(5.1.10)

Thank you both for your help! Btw Tobias no big deal but it's a "L" at the 
end of "Spangenhelm" not a "i" ;-)

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e5c29d1-d20c-432e-90fa-c71bb30d4d32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Document dirty even without committing any changes

2015-09-28 Thread Evolena


Le lundi 28 septembre 2015 16:48:27 UTC+2, Hegart Dmishiv a écrit :
>
> Thanks for explaining that, *Evolena*. I would have thought that clicking 
> the "discard changes to this tiddler" button would have deleted the "Draft 
> of..." tiddler, thus returning the TW wiki instance to the state it was in 
> prior to entering edit mode, with no changes having been made at all. Are 
> you saying that I'll have a whole heap of random "Draft of..." tiddlers 
> somewhere in my wiki then? Because it still seems to think the document is 
> dirty, even after clicking the "discard changes to this tiddler" button.
>

No, they aren't existing tiddlers, the draft are discarded. But their name 
remain in the $:/HistoryList tiddler (and not $:/StoryList as I said 
before, sorry). Open this HistoyList tiddler, use your TW, and see what 
happens.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4d3ea7be-5bee-44af-a3e2-fdcace11fb89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Bob Flandard
Hello tb,

I'm using Firefox with Windows 7. I don't see the check mark either. I 
think I'll just leave the first  as an empty string as suggested 
above.

All the best, 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5fe67891-6958-4260-a66a-70a06213358b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Document dirty even without committing any changes

2015-09-28 Thread Evolena
As soon as you open the edit mode of a tiddler, the tiddler "Draft of 
tiddler" is added in the StoryList. Evenif you discard your change, the 
StoryList tiddler has been changed, and thus your TW "needs" saving.

Le lundi 28 septembre 2015 15:40:36 UTC+2, Hegart Dmishiv a écrit :
>
> I've noticed that the "save changes" icon in the sidebar changes colour, 
> to indicate that changes have been made to my TW wiki, even when I haven't 
> committed any changes. If I open a tiddler in edit mode just to see the 
> underlying code, then click the "discard changes to this tiddler" button, 
> the "save changes" button remains lit, indicating that the document is 
> dirty (something has changed) and the committed changes therefore need to 
> be saved. Even though nothing actually was changed. I think this might be a 
> bug. Is this the normal behaviour for TiddlyWiki?
>
> I have been able to reproduce this effect on both my local (*live*) 
> offline instance, and my online (*dev*) instance hosted on GitHub.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb7618d2-22c2-4d95-9a60-a8277762d9c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Include tiddlers based on text filter

2015-09-28 Thread Eric Shulman
On Monday, September 28, 2015 at 6:21:07 AM UTC-7, julien23 wrote:
>
> I use
> http://yakovl.bplaced.net/TW/STP/STP.html#SharedTiddlersPlugin
> to include data from remote projetcs
>
> I would like to Include tiddlers based on text filter, but I can't find 
> the right syntax
>
> <>
>
> Can you please help me ?
>
>
TiddlyWiki Classic filters are very limited.  Unfortunately, there is no 
[text[...]] operator.  The only operators that are supported (by the TWC 
core) are [tag[...]] and [sort[...]].

-e

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cb03a5cb-228d-4d18-bacc-6a550aeebca9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Document dirty even without committing any changes

2015-09-28 Thread Jeremy Ruston
Hi Hegart

There has been some discussion of this point before:

https://github.com/Jermolene/TiddlyWiki5/issues/740

I think the source of the confusion is the logic I discuss at the end of
the thread: the wiki is considered dirty if any change has been made to it,
without regard for whether those changes cancel one another out.

Best wishes

Jeremy.


On Mon, Sep 28, 2015 at 4:11 PM, Hegart Dmishiv 
wrote:

> Ah, I see now, so the only thing that is keeping the document dirty is
> $:/HistoryList itself then? That seems a bit silly to me. If I didn't
> commit the changes then TW should treat the "Draft of..." as if it never
> had existed, and delete that entry from the history list, IMHO.
>
> On Tuesday, 29 September 2015 03:53:13 UTC+13, Evolena wrote:
>>
>>
>>
>> Le lundi 28 septembre 2015 16:48:27 UTC+2, Hegart Dmishiv a écrit :
>>>
>>> Thanks for explaining that, *Evolena*. I would have thought that
>>> clicking the "discard changes to this tiddler" button would have deleted
>>> the "Draft of..." tiddler, thus returning the TW wiki instance to the state
>>> it was in prior to entering edit mode, with no changes having been made at
>>> all. Are you saying that I'll have a whole heap of random "Draft of..."
>>> tiddlers somewhere in my wiki then? Because it still seems to think the
>>> document is dirty, even after clicking the "discard changes to this
>>> tiddler" button.
>>>
>>
>> No, they aren't existing tiddlers, the draft are discarded. But their
>> name remain in the $:/HistoryList tiddler (and not $:/StoryList as I
>> said before, sorry). Open this HistoyList tiddler, use your TW, and see
>> what happens.
>>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a919d675-7801-44f4-b990-cdca36d8803c%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbZHoryNCbFmjNU8Vse5MbX7EkEpS%2BqZdYPMjL7dAA9cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-28 Thread 'Andreas Hahn' via TiddlyWiki

Hi Danielo,

yes there are to the best of my knowledge two things that will 
accomplish that: I think Jed extended his Trigger action daemon to the 
point where a navigation event (i.e. a change to the Story tiddler) can 
trigger actions. The other thing I know of is a widget contained in my 
unibar plugin called fireonrender.


I am not sure about the details of Jed's work, you can take a look at 
the widget I mentioned in the old unibar wiki that I once posted here: 
http://twguides.org/wiki/unibar.html (take a look at 
$:/plugins/ahahn/unibar/fireonrender.js which is also used in the rename 
mechanics, so try renaming a few tiddlers with redirection to test it out).


About Jed's work, you might learn something here: 
http://inmysocks.tiddlyspot.com/#TriggerActions%20Plugin and here: 
https://github.com/Jermolene/TW5-TriggerActions although I am unsure 
about the current status of the project.



/Andreas



Am 28.09.2015 um 11:57 schrieb Danielo Rodríguez:

Hello.

Did I dream about it, or is it possible to "execute" action widgets 
contained in a particular tiddler when that tiddler opens? This would 
be specially useful if a certain configuration is required for a 
particular tiddler.

I think I have read about it, but I am not sure.

Many thanks
--
You received this message because you are subscribed to the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to tiddlywiki+unsubscr...@googlegroups.com 
.
To post to this group, send email to tiddlywiki@googlegroups.com 
.

Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb083ede-e976-4547-a7af-c47da8108eb1%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5609511B.4070105%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Document dirty even without committing any changes

2015-09-28 Thread Hegart Dmishiv
Thanks for explaining that, *Evolena*. I would have thought that clicking 
the "discard changes to this tiddler" button would have deleted the "Draft 
of..." tiddler, thus returning the TW wiki instance to the state it was in 
prior to entering edit mode, with no changes having been made at all. Are 
you saying that I'll have a whole heap of random "Draft of..." tiddlers 
somewhere in my wiki then? Because it still seems to think the document is 
dirty, even after clicking the "discard changes to this tiddler" button.


On Tuesday, 29 September 2015 03:37:24 UTC+13, Evolena wrote:
>
> As soon as you open the edit mode of a tiddler, the tiddler "Draft of 
> tiddler" is added in the StoryList. Evenif you discard your change, the 
> StoryList tiddler has been changed, and thus your TW "needs" saving.
>
> Le lundi 28 septembre 2015 15:40:36 UTC+2, Hegart Dmishiv a écrit :
>>
>> I've noticed that the "save changes" icon in the sidebar changes colour, 
>> to indicate that changes have been made to my TW wiki, even when I haven't 
>> committed any changes. If I open a tiddler in edit mode just to see the 
>> underlying code, then click the "discard changes to this tiddler" button, 
>> the "save changes" button remains lit, indicating that the document is 
>> dirty (something has changed) and the committed changes therefore need to 
>> be saved. Even though nothing actually was changed. I think this might be a 
>> bug. Is this the normal behaviour for TiddlyWiki?
>>
>> I have been able to reproduce this effect on both my local (*live*) 
>> offline instance, and my online (*dev*) instance hosted on GitHub.
>>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6fbfe361-6e58-4195-b427-8319a61f5f62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Document dirty even without committing any changes

2015-09-28 Thread Hegart Dmishiv
Ah, I see now, so the only thing that is keeping the document dirty is 
$:/HistoryList itself then? That seems a bit silly to me. If I didn't 
commit the changes then TW should treat the "Draft of..." as if it never 
had existed, and delete that entry from the history list, IMHO.

On Tuesday, 29 September 2015 03:53:13 UTC+13, Evolena wrote:
>
>
>
> Le lundi 28 septembre 2015 16:48:27 UTC+2, Hegart Dmishiv a écrit :
>>
>> Thanks for explaining that, *Evolena*. I would have thought that 
>> clicking the "discard changes to this tiddler" button would have deleted 
>> the "Draft of..." tiddler, thus returning the TW wiki instance to the state 
>> it was in prior to entering edit mode, with no changes having been made at 
>> all. Are you saying that I'll have a whole heap of random "Draft of..." 
>> tiddlers somewhere in my wiki then? Because it still seems to think the 
>> document is dirty, even after clicking the "discard changes to this 
>> tiddler" button.
>>
>
> No, they aren't existing tiddlers, the draft are discarded. But their name 
> remain in the $:/HistoryList tiddler (and not $:/StoryList as I said 
> before, sorry). Open this HistoyList tiddler, use your TW, and see what 
> happens.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a919d675-7801-44f4-b990-cdca36d8803c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Trying to set BrowserTabTitle as per @Eric's example

2015-09-28 Thread Jeremy Ruston
Hi Hegart

Thanks for explaining that. Doesn't having the core as a plugin contradict
> the very nature of a plugin, which you describe in the official docs as 
> *"Plugins
> are used to distribute optional, custom components for TiddlyWiki
> "*, (emphasis mine). I would have
> thought that the core itself is not optional, thus it shouldn't be
> described as a plugin. It seems confusing to me.
>

Perhaps it should say "plugins can be used to distribute optional, custom
components" to make it clearer that not all plugins are for that purpose.

Plugins are a general purpose mechanism for packing multiple tiddlers into
the same container tiddler.  They are used for a number of different
purposes around the system, but their behaviour is always the same: when
activated, their payload tiddlers become visible as shadow tiddlers.

Best wishes

Jeremy.



>
> Kind regards,
>
> Hegart.
>
>
> On Monday, 28 September 2015 11:15:20 UTC+13, Jeremy Ruston wrote:
>>
>> Hi Hegart
>>
>> The missing piece is that there is a plugin called $:/core that contains
>> the main core code of TiddlyWiki. It is always present, and it is the
>> source of the shadow tiddlers you are seeing. You can see it listed in the
>> "Plugins" tab of the control panel.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>> On Sun, Sep 27, 2015 at 10:50 PM, Hegart Dmishiv 
>> wrote:
>>
>>> I've been looking back over ShadowTiddlers
>>>  again in the official TW5 docs,
>>> trying to get a handle on all of this. It says *"ShadowTiddlers
>>>  are tiddlers that are loaded from
>>> within Plugins ."* Looking at the
>>> Plugins tiddler in the docs, I see a list of available plugins. From the
>>> description of *"Plugins are used to distribute optional, custom
>>> components for TiddlyWiki ."* I
>>> assume I have to install a plugin myself for it to work, right? A bit like
>>> the extensions  for
>>> MediaWiki. As far as I know, I haven't installed any plugins for TW5. Haha,
>>> I wouldn't even know how to yet! So where do these Shadow Tiddlers come
>>> from, from which plugins, if I haven't installed any plugins yet?
>>>
>>> I see a huge list of *"current shadow tiddlers"* listed on the
>>> ShadowTiddlers tiddler in the official docs. At first I assumed that these
>>> are only the shadow tiddlers for plugins which are installed in the TW wiki
>>> instance at tiddlywiki.com, but then I copied the <$list> filter from
>>> the code on that page, into a new tiddler in my own instance of TW5 and got
>>> the same results (or near enough, a huge long list) as what I saw on
>>> tiddlywiki.com.
>>>
>>> So now I'm even more confused:
>>>
>>>1. The docs say that shadow tiddlers come from plugins.
>>>2. I haven't installed any plugins.
>>>3. I have shadow tiddlers anyway.
>>>
>>> Can anyone explain this to me better, and maybe we can get the official
>>> docs updated, or maybe there needs to be a "TiddlyWiki for Dummies" book. I
>>> saw *@Eric*'s IndieGoGo page
>>> ,
>>> but that campaign had closed long before I had even heard about TiddlyWiki.
>>> Not that I could have afforded to contribute much, anyway, sorry.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/be9563c7-45ad-472e-9ad4-0f275c59b71e%40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:jeremy...@gmail.com
>>
>


-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJabqRU1%3DNJmsPVvy--tkK1FJGn7ZXdE4FdzdmY-yFzEww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] How to protect single tiddlers from editing by password

2015-09-28 Thread Tobias Beer
Here's one way to prevent saving changes...

1) Disable auto-saving the wiki.

2) Edit the core shadow tiddler for the save wiki button, e.g. 
$:/core/ui/Buttons/save-wiki 
:

<$reveal type="match" state="$:/_secret" text="my-secret">



Now the save button should be gone from the page-controls.

3) Read States And Temporary Tiddlers @ tb5 
 and 
then add...

 -[[$:/_secret]]

...to the filter expression to make sure it never gets saved. I would also 
recommend modifying the filter to what you see on tb5 to not persist any 
states of sidebar tabs, etc.

4) Create *$:/_secret* and enter the text *my-secret*.

Now the save button should be visible again... and you can click it to save 
the wiki.

5) To easily enter your password, create and permalink 
 a tiddler called *Login* containing...

<$edit-text
tiddler="$:/_secret"
default=""
tag="input"
type="password"
placeholder="enter secret here..."/>

When you tag it *$:/tags/ControlPanel* it will show up as a *Login* tab in 
the *ControlPanel*.

~

As probably noticed, your "password" is entirely visible in plain text, so 
be aware that this should not be any fancy password but just a barrier to 
enable saving. Also, if anyone activated auto-save, they won't even need a 
save button to trigger saving changes. So, anyone playful enough or with 
malicious intent will be able to screw up your wiki. Hence, do frequent 
backups.

Best wishes,

–tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a4a4a2e-369c-4d95-a397-7c5a8e739b7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Host on github for free without any git knowledge or software installation

2015-09-28 Thread Danielo Rodríguez
Hello Matabele,

I have a solution for your problem  creating new wikis, and, as I have 
promised, without any software installation or Git knowledge. let me know 
if this set of images is enough:

https://cloud.githubusercontent.com/assets/2270425/10129098/b868c0bc-65ba-11e5-9c07-8bd6cdb0d133.PNG;
 
width="90%"> https://cloud.githubusercontent.com/assets/2270425/10129100/bba83e60-65ba-11e5-9c13-6b72a3fbad8c.PNG;
 
width="90%"> https://cloud.githubusercontent.com/assets/2270425/10129103/be782f1a-65ba-11e5-995a-25dd852454ff.PNG;
 
width="90%"> https://cloud.githubusercontent.com/assets/2270425/10129107/c272b982-65ba-11e5-800a-2891fc536f6b.PNG;
 
width="90%"> https://cloud.githubusercontent.com/assets/2270425/10129109/c5401768-65ba-11e5-988d-dc6aa19b5c7b.PNG;
 
width="90%"> 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aa1f0777-79cc-401f-9bb2-d24c8c2d4841%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Host on github for free without any git knowledge or software installation

2015-09-28 Thread Tobias Beer
Hi Danielo
 

> I have a solution for your problem  creating new wikis, and, as I have 
> promised, without any software installation or Git knowledge. let me know 
> if this set of images is enough:
>

Looks good, the first image would benefit from the headline saying we're 
creating a repo.
Other than that, this should be the workflow being used.

Best wishes,

–tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/259a9908-cac7-4e6e-a9a9-218afdf42244%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Need some help with $set or $reveal widgets

2015-09-28 Thread Evolena
For a similar use-case, I've used a simple list widget with a filter 
testing if the new title is an existing tiddler:

@@.tc-alert-highlight <$list filter="[{Temp Test!!draft.title}is[tiddler]]">
Caution, <$link><> already exists!@@

I assume here that the "Temp Test" tiddler is always used for storing the 
entries of your form (with the new title in the draft.title field of this 
tiddler). If it i not the case, please provide more precise indications of 
how you've really don your form.



Le lundi 28 septembre 2015 01:42:40 UTC+2, Spangenhelm a écrit :
>
> Hi everybody,
> i have created a form where i can enter a title (and several other fields 
> at the same time) that allows me to create a new tiddler but i need to be 
> sure that the name of the new tiddler does not already exist otherwise it 
> will be replaced without warning when i will create it so i have tried to 
> use the $set widget with a value and emptyvalue attributes to display a 
> message wether the name is taken or not by another tiddler but i am having 
> troubles to set it, same thing with the $reveal widget.
> In this case the value to test (the new name) is located in a field called 
> "draft.title" in a tiddler called "Temp Test" (any name with a space)
>
> Thank you for your help and time, much appreciated ;-)
> Ps: i have no obligation on what to use so if you have another idea i'm 
> open to suggestions.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3bf8de92-0c09-4ba5-b010-a15fa476fd08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Tag dependant fields

2015-09-28 Thread Bob Flandard
Hello,

Is this possible?

When a tiddler is tagged with "some tag" and opened in edit mode, there 
will automatically be defined some fields with default values and each 
field value has a drop-down list of allowed values which can be chosen from.

Thanks, 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4492296b-8f23-46fb-b5f6-e6fd2ba6b7a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Tobias Beer
Hi Bob,
 

> By "go back" I mean that if the first item in the  list was the 
> value required for the field, and you select it from the drop-down list, no 
> new field is created. You have to assign one of the other  values 
> first (this then creates the field and its value) and then select the first 
> item from drop-down list (go-back to the list and select it).
>

In what browser / os would you be experiencing this?
I just tested on chrome / mac so far
and here there's nothing selected by default.
When I click on the select, it shows all the options
and displays a checkmark at the first option,
which ain't true, so you have to chose it.

Same on firefox / mac,
however not showing that checkmark.

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/52d9322e-ba14-434b-97fc-5a624fa62398%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Tobias Beer
Hi Evolena,
 

> I've reverted to what I originally used : an empty value. Less confusing 
> indeed.
>

Yes, that's much better.

I think the SelectWidget should actually remove the field
when an option with an undefined value is selected.

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45cdcdd2-3a6e-4165-8770-3047cad65a02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Bob Flandard
Hello tb,

By "go back" I mean that if the first item in the  list was the 
value required for the field, and you select it from the drop-down list, no 
new field is created. You have to assign one of the other  values 
first (this then creates the field and its value) and then select the first 
item from drop-down list (go-back to the list and select it).

Thanks to both, 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cda4f269-baa4-4a94-b6c7-3593c5db0022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Host on github for free without any git knowledge or software installation

2015-09-28 Thread Danielo Rodríguez


El lunes, 28 de septiembre de 2015, 12:57:26 (UTC+2), Matabele escribió:
>
> Hi Danielo
>
> Many thanks -- makes perfect sense -- even easier than your first method
>

You're welcome
 

> (I hadn't noticed the 'Import Code' button.) 
>

Me neither. Looks like our brains just "ignore" those features that we 
don't need at the moment we see them. By the way, github has a lot of 
hidden tricks, like the "secret" license generator.


 

> For your instructions, I suggest setting up Travis management immediately 
> after creating the repository but before importing your codebase -- that 
> way the first build gets triggered during the setup. 
>
A user may then visit their new wiki on Github pages immediately after 
> completing setup - a little less room for confusion. 
>

That is a great idea! Thank you for your feedback.


Again, as I said, I'm going to announce another, even better soution soon. 
Stay tuned!

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01a2618d-5915-4680-9cf9-e8a7f28b6b43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Evolena
Le lundi 28 septembre 2015 10:51:43 UTC+2, Tobias Beer a écrit :
>
> Hi Evolena,
>
> That was a worthy exercise,
> and you were quicker to reply. :-)
>

It was something I only had to copy-paste (and adapt) from one of my own 
TW, hence the quick reply!

The only difference being,
> I'd use more line-breaks
> to make it more easily readable.
>

You're right, I've corrected it (not verified, hope there is no side 
effect). I don't remember why I haven't done it in my TW. 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74b4019c-ad6d-450e-91ad-c06507571931%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Tobias Beer
Hi Bob,

It seems that the select widget doesn't create a field for the first 
>  even if it's explicitly chosen from the list, you have to pick one 
> of the other  values first and then go back and select it. But I 
> can live with that.
>

I don't quite understand what you mean with "go back".

A field is only being created or modified after a value has been selected.

In order to set a field's value, you need to actively select an option from 
the list, even if your browser happens to already show it as selected.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1c360c5-09cd-408d-9793-76bd5b283076%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Evolena


Le lundi 28 septembre 2015 12:25:19 UTC+2, Tobias Beer a écrit :
>
> Hi Evolena,
>
> Could you please correct the above code
> so as to use *valid* field names?
>
Ah yes, I've not paid attention to my placeholder names.
 

> By the way, what you call "default" options
> really are no default options,
> so I would not call them that.
>
I've reverted to what I originally used : an empty value. Less confusing 
indeed.

Le lundi 28 septembre 2015 12:28:12 UTC+2, Tobias Beer a écrit :
>
> Hi Bob,
>
> It seems that the select widget doesn't create a field for the first 
>>  even if it's explicitly chosen from the list, you have to pick one 
>> of the other  values first and then go back and select it. But I 
>> can live with that.
>>
>
> I don't quite understand what you mean with "go back".
>
> A field is only being created or modified after a value has been selected.
>
> In order to set a field's value, you need to actively select an option 
> from the list, even if your browser happens to already show it as selected.
>

When the field affected by the select widget doesn't exist, the imput area 
displays the first option value, but it is not the real value, and thus it 
is not directly selectable in the dropdown... it's quite annoying, maybe 
the empty default value (see my edited code) is less confusing.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b41da6ec-54cf-4ec3-b784-14fbc8f4c574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Host on github for free without any git knowledge or software installation

2015-09-28 Thread Danielo Rodríguez


El domingo, 27 de septiembre de 2015, 3:54:29 (UTC+2), Hegart Dmishiv 
escribió:
>
> Once again, with my ignorance of all things Git, does cloning vs forking 
> have any bearing on future updates from *@Jermolene*'s Master?
>

Hello Hegart,

As Matabele said, the way your repository is configured has nothing to do 
with the TiddlyWiki version used for the build. Each time a built is 
triggered, the latest tiddlywiki version is installed on Travis, so you 
will allways have the latest version, even if you don't want it :P 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/675c7b95-c025-43b3-b0c9-90ee0b03fc41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Bob Flandard
Hello Evolena,

Thank you very much for your excellent and clever solution. The code above 
works as expected.

It seems that the select widget doesn't create a field for the first 
 even if it's explicitly chosen from the list, you have to pick one 
of the other  values first and then go back and select it. But I 
can live with that.

Thanks again, 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9f88a2a8-2cab-4ce5-878b-704964120f85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Tobias Beer
Hi Evolena,

That was a worthy exercise,
and you were quicker to reply. :-)

The only difference being,
I'd use more line-breaks
to make it more easily readable.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e09a8ea-f370-4c89-9aab-afafc02b5468%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: OT: ubuntu touch

2015-09-28 Thread Spangenhelm
Thanks i have just tried and as i expected i can open (but not directly i 
have to enter its path manually in my browser) and edit a tw but not save 
(on the Aquaris at least) because it tries to "open with" when we hit the 
download button then a message appear saying that there are no applications 
adapted to handle this kind of content..

I suppose that saving on tiddlyspot might work though.

-s

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91fdf83f-5813-4021-8d8f-dcc5c18fa59e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Host on github for free without any git knowledge or software installation

2015-09-28 Thread Danielo Rodríguez


El lunes, 28 de septiembre de 2015, 8:36:43 (UTC+2), Tobias Beer escribió:
>
> Hi Danielo
>  
>
>> I have a solution for your problem  creating new wikis, and, as I have 
>> promised, without any software installation or Git knowledge. let me know 
>> if this set of images is enough:
>>
>
> Looks good, the first image would benefit from the headline saying we're 
> creating a repo.
>

Indeet. That is in fact the intention, and I will update the Repository 
readme to explain the new flow. I just wanted to see how well do the 
screenshots work
 

> Other than that, this should be the workflow being used.
>

Expect an even better solution SOON 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7adf3903-1cd3-4018-9168-22413c550fee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Tobias Beer
Hi Evolena,

Could you please correct the above code
so as to use *valid* field names?

By the way, what you call "default" options
really are no default options,
so I would not call them that.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0631ab80-241c-4beb-a741-16615cc544e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag dependant fields

2015-09-28 Thread Evolena
You can define a custom editTemplate element triggered by the tag.

Create a new (system) tiddler tagged with "$:/tags/EditTemplate". You can 
give it a field "list-after" set to "$:/core/ui/EditTemplate/body" (the 
fields you want with dropdown will be located after the body editing 
window, before the dropdown for the type field).
This tiddler will contain something like that (see the SelectWidget 
 documentation for the options of the 
dropdown):

<$list filter="[all[current]tag[some tag]]">

Field name 1: <$select field="field name 1">default value
value 1value 2value 3


Field name 2: <$select field="field name 2">default value
<$list filter='[...(filter that selects the 
values)...]'><$view 
field='title'/>




Le lundi 28 septembre 2015 10:24:03 UTC+2, Bob Flandard a écrit :
>
> Hello,
>
> Is this possible?
>
> When a tiddler is tagged with "some tag" and opened in edit mode, there 
> will automatically be defined some fields with default values and each 
> field value has a drop-down list of allowed values which can be chosen from.
>
> Thanks, 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/694b8c70-2c99-40e6-9b48-9fc87e4a390f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-28 Thread BJ
Hi Dave,
what system you need depends on how much data you will have (is it just 
text?, how many patients), how it is to be updated (do different people 
need to update the data, are there emails ) and how it is kept secure 
(encryption, backups, will to be viewed in the browser).

kind regards
BJ 

On Sunday, September 27, 2015 at 3:42:25 PM UTC+1, Dave wrote:
>
> I have a project I'm thinking of starting in TW5 having made some progress 
> in the past with TWclassic, but I think most of the cool developement is 
> happening now and in the future with TW5.
>
> So I'll be kind of starting from scratch.  I have a best practices 
> question:
>
> <<
> (having decided that I'll be using TW5 with nodejs) Would it be better to 
> make one TW per client and import any design changes from a "master" TW 
> file (that was the plan with the TWc version), or would it be better to 
> have one single TW5 (synced between computers) and access the multiple 
> client "files" by unique tag in the one system?  And if that were the case 
> would it be better to develop it in tiddyweb (accessible only through 
> intranet)?<<
>
> Here's the use case: I'm a chiropractor seeing multiple patients a day, 
> keeping track of various symptoms and test results that change gradually 
> over time and depending on progress generates the need for various 
> modifications of treatment modalities, e.g. exercises, etc, as well as 
> running suggested prioritized diagnosis suggestion lists and plans of 
> management options.
>
> Although it would be nice and tidy to have one file per patient, I also at 
> one point in the future want to be able to compare findings between 
> patients, like for research (how many patients that I treated by method X 
> got better by Y points over timespan Z; or, what's the average first 
> measurement of neck range of motion between age 30 and 50?)), mainly using 
> fields and tags.
>
> Any time I describe what I want, most people just say I should build a 
> database program, but a) I have no experience with them and b) I just 
> really like tiddlywiki because its so flexible.
>
> Lastly, I'm an intermediate level user with no formal computer programming 
> training, slow but steady learner. I've modified plugins (TW classic) but 
> never made one from scratch.
>
>
> Any suggestions for a scenario like this?
>
> Oh, one last thing... if I ever actually achieve what I'm dreaming of, 
> what are the monetization implications given the current licence?  Could I 
> sell this to other chiropractors/ companies?  If not, that's fine - I'm 
> going to proceed anyway and may just eventually just release it if it 
> passes muster.
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7cb72c38-993b-437e-871f-637d2437ddaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Action widget execution on tiddler open

2015-09-28 Thread Danielo Rodríguez
Hello.

Did I dream about it, or is it possible to "execute" action widgets 
contained in a particular tiddler when that tiddler opens? This would be 
specially useful if a certain configuration is required for a particular 
tiddler.
I think I have read about it, but I am not sure.

Many thanks

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb083ede-e976-4547-a7af-c47da8108eb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: OT: ubuntu touch

2015-09-28 Thread Danielo Rodríguez


El lunes, 28 de septiembre de 2015, 11:11:57 (UTC+2), Spangenhelm escribió:
>
> Thanks i have just tried and as i expected i can open (but not directly i 
> have to enter its path manually in my browser) and edit a tw but not save 
> (on the Aquaris at least) because it tries to "open with" when we hit the 
> download button then a message appear saying that there are no applications 
> adapted to handle this kind of content..
>
> I suppose that saving on tiddlyspot might work though.
>

If there is a Firefox version for Ubuntu touch, then you can use tiddlyfox 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/025c5eec-2a43-4701-859f-c7ac91184adc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Host on github for free without any git knowledge or software installation

2015-09-28 Thread Matabele
Hi Danielo

Many thanks -- makes perfect sense -- even easier than your first method (I 
hadn't noticed the 'Import Code' button.) 

For your instructions, I suggest setting up Travis management immediately 
after creating the repository but before importing your codebase -- that 
way the first build gets triggered during the setup.

A user may then visit their new wiki on Github pages immediately after 
completing setup - a little less room for confusion.

regards

On Monday, 28 September 2015 08:29:26 UTC+2, Danielo Rodríguez wrote:
>
> Hello Matabele,
>
> I have a solution for your problem  creating new wikis, and, as I have 
> promised, without any software installation or Git knowledge. let me know 
> if this set of images is enough:
>
> [image: gh_newrepo]
> [image: gh_importcode]
> [image: gh_importurl]
> [image: gh_importing]
> [image: gh_importing_end]
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3afbb3b5-3328-4b7f-954c-a36e52253d98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Creating an alternative Edit template

2015-09-28 Thread Danielo Rodríguez
Hello Everyone,

I'm trying to build an alternative Edit template, and I'm having the same 
kind of issues that I always have: transclusions.

I want to have a "main" tiddler that transcludes all the parts. The "main" 
tiddler looks like this:

<$tiddler tiddler={{$:/state/OTW/editedTiddler}}>
<$list filter="[all[shadows+tiddlers]tag[$:/OTW/Editor]!has[draft.of]]" 
variable="listItem">
<$transclude tiddler=<>/>




Then, on one of the transcluded tiddlers I have this code:



   

 <$view field="otw-alias"/>
   




What I want is to "point" one state tiddler to a tiddler title and then 
edit that "pointed" tiddler.

I don't understand why, but the view field is not showing any value. Other 
similar tiddlers are working well, but not for "custom" fields but for 
standard fields like title. Could it be related?
I have to admit that transclusions on TW can be tricky and frustrating, 
even for someone with some experience with TW. I tried testing the 
<> variable on the transcluded tiddler and it has the 
expected value.

Any help would be appreciated.
Many thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/48066b17-ccf1-4366-b405-1e6917edc7ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Transclude tiddler on list empty

2015-09-28 Thread Jeremy Ruston
Hi Danielo

The content of the emptyMessage attribute is wikified. Try something like:

<$list filter="[tag[mytag]]" emptyMessage="""<$transclude
tiddler="MyTitle"/>""" template="MyTemplate"/>

Best wishes

Jeremy.


On Mon, Sep 28, 2015 at 11:35 PM, Danielo Rodríguez 
wrote:

> Hello, yes, again,
>
> I was wondering if there is possible to use the "empty message" of the
> list widget to set a transclusion.
>
> This can be useful to show a meaningful message (with icons, and some long
> text) in case the list is empty.
>
> Many thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/c71506d1-46da-453a-a2a6-498e41f013bb%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJZZHGExkVzjSu%3D7OEimC4CN6e_byr-vP0cEokFpp797gw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Document dirty even without committing any changes

2015-09-28 Thread Hegart Dmishiv
Hi *@Jeremy*,

Thanks for pointing me to that issue on GitHub. I understand what you're 
saying about two actions canceling each other out, sure. But you also 
replied in that issue to *@giffmex*, to the effect that, if a tiddler is a 
state tiddler in $:/state then the core will "exclude it from the dirty 
handling". Why not move $:/HistoryList to $:/state/HistoryList to give it 
the same exclusion? After all, I would have thought that the history list, 
by its very existence, is part of the state of the wiki.

Kind regards,

Hegart.


On Tuesday, 29 September 2015 05:03:01 UTC+13, Jeremy Ruston wrote:
>
> Hi Hegart
>
> There has been some discussion of this point before:
>
> https://github.com/Jermolene/TiddlyWiki5/issues/740
>
> I think the source of the confusion is the logic I discuss at the end of 
> the thread: the wiki is considered dirty if any change has been made to it, 
> without regard for whether those changes cancel one another out.
>
> Best wishes
>
> Jeremy.
>
>
> On Mon, Sep 28, 2015 at 4:11 PM, Hegart Dmishiv  > wrote:
>
>> Ah, I see now, so the only thing that is keeping the document dirty is 
>> $:/HistoryList itself then? That seems a bit silly to me. If I didn't 
>> commit the changes then TW should treat the "Draft of..." as if it never 
>> had existed, and delete that entry from the history list, IMHO.
>>
>> On Tuesday, 29 September 2015 03:53:13 UTC+13, Evolena wrote:
>>>
>>>
>>>
>>> Le lundi 28 septembre 2015 16:48:27 UTC+2, Hegart Dmishiv a écrit :

 Thanks for explaining that, *Evolena*. I would have thought that 
 clicking the "discard changes to this tiddler" button would have deleted 
 the "Draft of..." tiddler, thus returning the TW wiki instance to the 
 state 
 it was in prior to entering edit mode, with no changes having been made at 
 all. Are you saying that I'll have a whole heap of random "Draft of..." 
 tiddlers somewhere in my wiki then? Because it still seems to think the 
 document is dirty, even after clicking the "discard changes to this 
 tiddler" button.

>>>
>>> No, they aren't existing tiddlers, the draft are discarded. But their 
>>> name remain in the $:/HistoryList tiddler (and not $:/StoryList as I 
>>> said before, sorry). Open this HistoyList tiddler, use your TW, and see 
>>> what happens.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/a919d675-7801-44f4-b990-cdca36d8803c%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/53d071cd-8aaf-4034-bd0f-6eb2abe9ae95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Trying to set BrowserTabTitle as per @Eric's example

2015-09-28 Thread Hegart Dmishiv
Hi *Jeremy*,

Yes, thanks, that simple change of wording in the official docs would make 
a lot more sense of this to me. I won't go making a pull request just for 
that though. But the next time I do, if I remember, I'll add it to the PR 
if it hasn't been done already.

Thanks,

Hegart.


On Tuesday, 29 September 2015 04:56:03 UTC+13, Jeremy Ruston wrote:
>
> Hi Hegart
>
> Thanks for explaining that. Doesn't having the core as a plugin contradict 
>> the very nature of a plugin, which you describe in the official docs as 
>> *"Plugins 
>> are used to distribute optional, custom components for TiddlyWiki 
>> "*, (emphasis mine). I would have 
>> thought that the core itself is not optional, thus it shouldn't be 
>> described as a plugin. It seems confusing to me.
>>
>
> Perhaps it should say "plugins can be used to distribute optional, custom 
> components" to make it clearer that not all plugins are for that purpose.
>
> Plugins are a general purpose mechanism for packing multiple tiddlers into 
> the same container tiddler.  They are used for a number of different 
> purposes around the system, but their behaviour is always the same: when 
> activated, their payload tiddlers become visible as shadow tiddlers.
>
> Best wishes
>
> Jeremy.
>
>  
>
>>
>> Kind regards,
>>
>> Hegart.
>>
>>
>> On Monday, 28 September 2015 11:15:20 UTC+13, Jeremy Ruston wrote:
>>>
>>> Hi Hegart
>>>
>>> The missing piece is that there is a plugin called $:/core that contains 
>>> the main core code of TiddlyWiki. It is always present, and it is the 
>>> source of the shadow tiddlers you are seeing. You can see it listed in the 
>>> "Plugins" tab of the control panel.
>>>
>>> Best wishes
>>>
>>> Jeremy.
>>>
>>>
>>> On Sun, Sep 27, 2015 at 10:50 PM, Hegart Dmishiv  
>>> wrote:
>>>
 I've been looking back over ShadowTiddlers 
  again in the official TW5 
 docs, trying to get a handle on all of this. It says *"ShadowTiddlers 
  are tiddlers that are loaded from 
 within Plugins ."* Looking at the 
 Plugins tiddler in the docs, I see a list of available plugins. From the 
 description of *"Plugins are used to distribute optional, custom 
 components for TiddlyWiki ."* I 
 assume I have to install a plugin myself for it to work, right? A bit like 
 the extensions  for 
 MediaWiki. As far as I know, I haven't installed any plugins for TW5. 
 Haha, 
 I wouldn't even know how to yet! So where do these Shadow Tiddlers come 
 from, from which plugins, if I haven't installed any plugins yet?

 I see a huge list of *"current shadow tiddlers"* listed on the 
 ShadowTiddlers tiddler in the official docs. At first I assumed that these 
 are only the shadow tiddlers for plugins which are installed in the TW 
 wiki 
 instance at tiddlywiki.com, but then I copied the <$list> filter from 
 the code on that page, into a new tiddler in my own instance of TW5 and 
 got 
 the same results (or near enough, a huge long list) as what I saw on 
 tiddlywiki.com. 

 So now I'm even more confused:

1. The docs say that shadow tiddlers come from plugins.
2. I haven't installed any plugins.
3. I have shadow tiddlers anyway.

 Can anyone explain this to me better, and maybe we can get the official 
 docs updated, or maybe there needs to be a "TiddlyWiki for Dummies" book. 
 I 
 saw *@Eric*'s IndieGoGo page 
 ,
  
 but that campaign had closed long before I had even heard about 
 TiddlyWiki. 
 Not that I could have afforded to contribute much, anyway, sorry.

 -- 
 You received this message because you are subscribed to the Google 
 Groups "TiddlyWiki" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to tiddlywiki+...@googlegroups.com.
 To post to this group, send email to tiddl...@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/be9563c7-45ad-472e-9ad4-0f275c59b71e%40googlegroups.com
  
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>> Jeremy Ruston
>>> mailto:jeremy...@gmail.com
>>>
>>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group 

[tw] [TW5] Transclude tiddler on list empty

2015-09-28 Thread Danielo Rodríguez
Hello, yes, again,

I was wondering if there is possible to use the "empty message" of the list 
widget to set a transclusion.

This can be useful to show a meaningful message (with icons, and some long 
text) in case the list is empty.

Many thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c71506d1-46da-453a-a2a6-498e41f013bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Firefox crash leaves tiddlywiki empty

2015-09-28 Thread konono#9

Thanks for all the sympathy but that's not what I was looking for. I think 
fears of data loss can keep people from using tw and that would be too bad 
for this great tool.
In older 'classic' tw versions you could set an option that made a 
timestamped copy every time your  tiddlywiki was saved. That led to 
numerous files, which ultimately led you to shut off this feature.
How about a mechanism that creates a backup or lets say 'shadow' copy of 
your wiki, and overwrites it every time your wiki is saved. Soemthing like 
'.mytiddlywiki.html'. Your folder doesn't get flooded with timestamped 
copies, but you still have a recent backup.
Doesn't matter whose fault it is, if you loose data. Sure, probably 
Firefoxs crashes are to blame. The wise developer will protect his users 
from others f-ups.

Thanks and that's it from me. Keep on truckin!

On Saturday, September 26, 2015 at 6:41:12 PM UTC+2, Jeremy Ruston wrote:
>
> Hi Konono
>
> I'm sorry to hear what's happened. I'm sure that any of us who have 
> experienced such a catastrophe can only sympathise. Thanks for sharing, 
> too; it does help to keep our minds focused on the importance of improving 
> TiddlyWiki's robustness and reliability.
>
> Best wishes
>
> Jeremy.
>
> On Sat, Sep 26, 2015 at 10:26 AM, konono#9  > wrote:
>
>> Lost all my data in a tiddlywiki - something that doesn't happen all too 
>> often nowadays.
>>
>> I have a large number of tabs open in Firefox, and switch between a 
>> number of tabgroups, each with numerous tabs.
>> I was adding text and images (via external links) to my wiki. Added a map 
>> link 
>>
>> http://umap.openstreetmap.fr/en/map/our-new-york-2015_54132?scaleControl=false=false=false=true=false=true=true=none=false
>> ">http://umap.openstreetmap.fr/en/map/our-new-york-2015_54132;>See full 
>> screen
>>
>> The link worked fine, except that the map was opened in the same tab 
>> instead of in a new tab, which I would have preferred.
>> At some point Firefox crashed. After restoring, my tiddlywiki was still 
>> there, but with 0 bytes! 
>> This shouldn't ever happen.
>>
>> Involved: 
>>   Firefox 41.0, 
>>   TiddlyFox extension for Firefox 1.0alpha18.1-signed,
>>   TiddlyWiki 5.1.9
>>
>> Certainly an uncommon result, but no matter who or what constellation is 
>> the culprit: TiddlyWiki should protect itself against losing everything.
>>
>>
>> Ubuntu Gnome 15.04, Firefox 41.0, TiddlyFox extension for Firefox 
>> 1.0alpha18.1-signed
>>
>> Hope you can improve on an otherwise fantastic tool. Using Tiddlywiki 
>> from the very beginnings - thanks to all contributors.
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/fe1390b4-5655-4960-b785-9b2636415392%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/28b3a5ad-f469-429d-97ec-0e71791eb0f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TW development best practices question

2015-09-28 Thread Erwan


Hi Tobias,

On 28/09/15 06:48, Tobias Beer wrote:
I know it sounds like a stretch, but I couldn't help but before 
falling asleep yesterday try and refactor aspirations for allowing 
TiddlyWiki to load a number of editions into one wiki while handling 
multiple instances of tiddlers with the same name gracefully. 
Eventually, I just fell asleep. ^_^


In the CommunitySearch wiki this is done simply by renaming any tiddler 
X from wiki Y as $:/Y/X. The original title and source wiki are also 
stored as fields to speed up filtering, which means that actually the 
tiddler could be given any unique name. Then it would be fairly easy to 
generate a tiddler X in the resulting wiki which would contain a 
drop-down list from which the user can select which edition (source 
wiki) they want to see.
But of course this option requires calling an external script, so some 
might say it's like cheating ;)


Cheers
Erwan

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5609E7DD.6010108%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TW development best practices question

2015-09-28 Thread Erwan


Hi Dave,

Sorry I haven't followed exactly what you need, but you got my attention 
when you mentioned that you know Bash better than Javascript ;)


If using external scripts to manage your wikis is an option that you 
would consider for your workflow, in my opinion this is what gives you 
the most flexibility: you can convert back and forth between node.js and 
standalone html wikis, do any kind of batch processing with the .tid 
files, aggregate multiple wikis into one or split a big wiki into 
subwikis, use cron to perform automatic tasks, etc. The only 
disadvantage is that it's done offline, i.e. you can't have a script 
doing something with your wiki and you working on it at the same time.


I use Bash scripts for the CommunitySearch wiki, if you are interested 
in some examples: https://github.com/erwanm/tw-aggregator. Actually, the 
process that the aggregator does might share some similarities with your 
use case: typically if you want to generate a "meta-wiki" on some aspect 
of your data only once in a while (that is, you don't need the 
"meta-wiki" to be always synchronized), you could "aggregate" all the 
relevant tiddlers from the relevant wikis with a Bash script that you 
call only when you need it.


Hope this helps!
Erwan


On 28/09/15 19:08, Dave wrote:

Which OS?

I'm using Linux


It'll mainly be text in tiny chunks like [ 
tiddler:RightCervicalRotation, fieldname:2015-09-28.11:40:19 AM, field 
content: 47 ] amalgamated into lists and summary tiddlers, but 
probably hundreds of them per visit, and over a patient's lifetime 
they can have up to hundreds of visits.  It will be mainly me updating 
the data, but if I ever get it good enough to distribute to other 
docs, there are often multiple people accessing it in bigger clinics, 
although not usually at the same time.  Id imagine you could keep it 
all behind a firewall of some sort, backups like any other file 
structure I suppose.




What I'm gathering is that Node.js is the way to go and mainly I have 
to decide whether to have it in different wikis or one big wiki. 
 Isn't the main point (or one of them) of TW using Node.js that size 
is irrelevant?  Or would a single TW with thousands of patients each 
with thousands of tiddlers become unwieldy even with node.js?


Also, lets say that was the case and I chose to go with individual 
wikis:  would it be easier to just grep information (I know bash 
better than javascript, ha ha) for multi-patient reports, or is it 
conceivable to have a separate "Admin" wiki that, although slower, 
would be able to include the whole mass of them (that would be 
preferrable).  I'm pretty sure that is what some of you have said or 
at least implied.



Also, isn't there a way to variably load subsets (patients) of 
tiddlers into the single TW, and just "purge and reload" the next one 
when needed, so it would behave like single multiple wikis, but it 
would still be just the one.  Is that what you were getting at Mario 
when you mentioned tiddlywiki.info files?  That way if you wanted to 
look at all patients with a certain diagnosis or demographic profile 
you could load just them...


anyway, thanks for all of your input!

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bacb94f5-83ca-4f7b-8470-bb4f96f1a31e%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5609E403.60305%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Trying to set BrowserTabTitle as per @Eric's example

2015-09-28 Thread Hegart Dmishiv
Hi *@Jeremy*,

Thanks for explaining that. Doesn't having the core as a plugin contradict 
the very nature of a plugin, which you describe in the official docs as 
*"Plugins 
are used to distribute optional, custom components for TiddlyWiki 
"*, (emphasis mine). I would have 
thought that the core itself is not optional, thus it shouldn't be 
described as a plugin. It seems confusing to me.

Kind regards,

Hegart.


On Monday, 28 September 2015 11:15:20 UTC+13, Jeremy Ruston wrote:
>
> Hi Hegart
>
> The missing piece is that there is a plugin called $:/core that contains 
> the main core code of TiddlyWiki. It is always present, and it is the 
> source of the shadow tiddlers you are seeing. You can see it listed in the 
> "Plugins" tab of the control panel.
>
> Best wishes
>
> Jeremy.
>
>
> On Sun, Sep 27, 2015 at 10:50 PM, Hegart Dmishiv  > wrote:
>
>> I've been looking back over ShadowTiddlers 
>>  again in the official TW5 docs, 
>> trying to get a handle on all of this. It says *"ShadowTiddlers 
>>  are tiddlers that are loaded from 
>> within Plugins ."* Looking at the 
>> Plugins tiddler in the docs, I see a list of available plugins. From the 
>> description of *"Plugins are used to distribute optional, custom 
>> components for TiddlyWiki ."* I 
>> assume I have to install a plugin myself for it to work, right? A bit like 
>> the extensions  for 
>> MediaWiki. As far as I know, I haven't installed any plugins for TW5. Haha, 
>> I wouldn't even know how to yet! So where do these Shadow Tiddlers come 
>> from, from which plugins, if I haven't installed any plugins yet?
>>
>> I see a huge list of *"current shadow tiddlers"* listed on the 
>> ShadowTiddlers tiddler in the official docs. At first I assumed that these 
>> are only the shadow tiddlers for plugins which are installed in the TW wiki 
>> instance at tiddlywiki.com, but then I copied the <$list> filter from 
>> the code on that page, into a new tiddler in my own instance of TW5 and got 
>> the same results (or near enough, a huge long list) as what I saw on 
>> tiddlywiki.com. 
>>
>> So now I'm even more confused:
>>
>>1. The docs say that shadow tiddlers come from plugins.
>>2. I haven't installed any plugins.
>>3. I have shadow tiddlers anyway.
>>
>> Can anyone explain this to me better, and maybe we can get the official 
>> docs updated, or maybe there needs to be a "TiddlyWiki for Dummies" book. I 
>> saw *@Eric*'s IndieGoGo page 
>> ,
>>  
>> but that campaign had closed long before I had even heard about TiddlyWiki. 
>> Not that I could have afforded to contribute much, anyway, sorry.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/be9563c7-45ad-472e-9ad4-0f275c59b71e%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9379322d-12c6-4a33-8775-b54f369b43a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TWC] Include tiddlers based on text filter

2015-09-28 Thread julien23
Hi all

I use
http://yakovl.bplaced.net/TW/STP/STP.html#SharedTiddlersPlugin
to include data from remote projetcs

I would like to Include tiddlers based on text filter, but I can't find the 
right syntax

<>

Can you please help me ?

Regards

JBo


tw14/index.html 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/565b8fd8-6e47-474d-bb1e-22bbe5b1654d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Document dirty even without committing any changes

2015-09-28 Thread Hegart Dmishiv
I've noticed that the "save changes" icon in the sidebar changes colour, to 
indicate that changes have been made to my TW wiki, even when I haven't 
committed any changes. If I open a tiddler in edit mode just to see the 
underlying code, then click the "discard changes to this tiddler" button, 
the "save changes" button remains lit, indicating that the document is 
dirty (something has changed) and the committed changes therefore need to 
be saved. Even though nothing actually was changed. I think this might be a 
bug. Is this the normal behaviour for TiddlyWiki?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78b31bf4-f2a3-4e60-8f92-0a2dbbc2dc4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Document dirty even without committing any changes

2015-09-28 Thread Hegart Dmishiv
I've noticed that the "save changes" icon in the sidebar changes colour, to 
indicate that changes have been made to my TW wiki, even when I haven't 
committed any changes. If I open a tiddler in edit mode just to see the 
underlying code, then click the "discard changes to this tiddler" button, 
the "save changes" button remains lit, indicating that the document is 
dirty (something has changed) and the committed changes therefore need to 
be saved. Even though nothing actually was changed. I think this might be a 
bug. Is this the normal behaviour for TiddlyWiki?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2405ae2e-26f0-406a-9e86-7fefa6f83379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.