[tw] Re: How to fold/unfold filter tipped lists by date

2010-09-23 Thread Tobias Beer
Hi Kolya,

That's a neat site. I like those gifs!

On the other hand, I find trees pretty annoying.

What would you think of a kind of filter? The first row would provide
year-buttons, when - if clicked - only those results of that year are
being displayed. The second row would be an equivalent month filter.
One more button to reset the lot and you're set.

The buttons could actually have two functions...
1) single select
2) range select

What do you think? Other than that, you could try and implement
something like this...
http://bassistance.de/jquery-plugins/jquery-plugin-treeview

...provided that you have a macro that outputs the lists in the
required format and loaded
* jquery.treeview.min.js (tagged systemConfig)
* jquery.treeview.css (included by your StyleSheet)

...into TiddlyWiki.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: User roles

2010-09-23 Thread Tobias Beer
Hi whatever,

Some answers...
1) Is the EvalifyPlugin required?
No, not unless you want to display the user role on TiddlySpace as I
did. In a Non-TiddlySpace-TiddlyWiki you can use the tiddler macro
like so...
Tiddler:GetRole
<>/%
!OUT
$1
!END%/

2) Because I keep getting errors.
Where, when, which?

3)  Also, I'm not clear on how to assign roles.
Simply put the user-names into the corresponding sections of your
SimpleRolesConfig tiddler.

4) Do I need to use something like <>? And
where do I put that?
Of course not, or do you want your users to choose their own role?
Again, you assign roles to users in SimpleRolesConfig.

5) And how do I define, to which tiddlers a User has access as opposed
to an Admin or PowerUser?
You would have to use conditional templating as in the example. You
could also define different restrictions for search with
YourSearchPlugin or GotoPlugin... and then include those
conditionally.

As an example using HideWhenPlugin...







The same way you could hide the entire tiddler content.

6) Do I need to create tiddlers with usernames?
Not when it comes to roles, no.

You could, however, tag tiddlers with a role - like "Admin" - and then
use a conditional statement to check if the role is assigned to the
current tiddler AND the current user.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: NEW: BulletGraphMacro

2010-09-23 Thread Tobias Beer
Hi Jon,

Dunno if that goes too far but may I suggest we'd rather create a
seperate g.bullet for http://charts.tiddlyspace.com or raphael in
general?

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: NEW: BulletGraphMacro

2010-09-23 Thread Tobias Beer
Hi Jon,

I'll create a space for it...

How would you want that table to look?
The data comes in multiple dimensions:
- the primary value
- the target or comparative value
- the scales (bad, fair, good, very good)

Something like this?
|primary|value|
|comparative|value|
|scales|level_1,level_2,...,level_n|

What about the label option?

In general, what is the benefit of such a table, since it would quite
significantly increase the code?

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: User roles

2010-09-23 Thread Tobias Beer
Hi whatever,

Some answers...
1) Is the EvalifyPlugin required?
No, not unless you want to display the user role on TiddlySpace as I
did. In a Non-TiddlySpace-TiddlyWiki you can use the tiddler macro
like so...
Tiddler:GetRole
<>/%
!OUT
$1
!END%/

2) Because I keep getting errors.
Where, when, which?

3)  Also, I'm not clear on how to assign roles.
Simply put the user-names into the corresponding sections of your
SimpleRolesConfig tiddler.

4) Do I need to use something like <>? And
where do I put that?
Of course not, or do you want your users to choose their own rules?
Again, you assign roles to users in SimpleRolesConfig.

5) And how do I define, to which tiddlers a User has access as opposed
to an Admin or PowerUser?
You would have to use conditional templating as in the example. You
could also define different restrictions for search with
YourSearchPlugin or GotoPlugin... and then include those
conditionally.

As an example using HideWhenPlugin...







The same way you could hide the entire tiddler content.

6) Do I need to create tiddlers with usernames?
Not when it comes to roles, no.

You could, however, tag tiddlers with a role - like "Admin" and then
use a conditional statement to check if the role is assigned to the
current tiddler AND the current user.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: unknown error in script

2010-09-23 Thread Tobias Beer
Hi Seba,

Add force='true' to your PageTemplate...



Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] How to fold/unfold filter tipped lists by date

2010-09-23 Thread Kolya33
I'm using filter-tipped lists on my site to present content types by
tags, eg all tiddlers containing a music-video, ordered by creation
date. (see: http://www.schwarzsilber.de/#[[Music%20Videos]])

Now this list is bound to get very long and I would like to see it
fold and indented by years and months. Like this:

- 2011
  - February
 tiddler
  + January
+ 2010
+ 2009

So you would click on a year node to unfold the months, then a month
to unfold the tiddlers from that period, then the tiddler you actually
want to open.
Preferably it emulate the windows explorer behaviour of closing sister
nodes when opening a node but that's not too important.

Maybe  you can point me in the direction of a plugin, or better yet:
How to integrate this function with the filter-tipped lists I have?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Problems formatting images

2010-09-23 Thread Bauwe Bijl
Hi

>No,mass renaming across a number of machines is not an alternative.
In that case you need the full path to the images/folders

>As for resizing, when I google I only find that needs a specific new
>tiddler. http://www.tiddlytools.com/#ImageSizePlugin
> Isn't is built in somehow?  I'm surprised.

The http://www.tiddlytools.com/#ImageSizePlugin would have been my
next tip (after your feedback).you found it already. :)

> Isn't is built in somehow?  I'm surprised.

Tiddlywiki's are very flexible and very expandablewith the plugins
you can create endless! variety's of applications for different
purposes.
The basic (empty.html) tiddlywiki is a primary platform, plugins give
it more weight (someone else might not need the imagesize
pluginand some other plugins might be less useful for your
purpose).

Bauwe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: NEW: BulletGraphMacro

2010-09-23 Thread rakugo
Cool.
Could you auto generate bullet graphs from tables of data? eg. like in
http://charts.tiddlyspace.com/

Could you separate it into a space? If so I could link to it from the
charts space.
Jon

On 23 Sep, 21:38, PMario  wrote:
> Looks beautyfull
> -m
>
> On Sep 23, 5:34 pm, Tobias Beer  wrote:
>
>
>
> > Hi everyone,
>
> > For fun's sake and inspired by this thread [1] about using a jQuery
> > charting library and my contributions to the ProgressBarMacro from
> > this thread [2], I created a macro the render bullet graphs (w/o
> > jQuery)...
>
> >http://tobibeer.tiddlyspace.com/#BulletGraph
>
> > Maybe it will be of use to someone.
>
> > Cheers, Tobias.
>
> > [1]http://groups.google.com/group/tiddlywiki/browse_frm/thread/327c49148...
> > [2]http://groups.google.com/group/tiddlywiki/browse_frm/thread/df4f3aec6...

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: User roles

2010-09-23 Thread whatever
You're awesome!
However, I do have some questions. Is the EvalifyPlugin required?
Because I keep getting errors. Also, I'm not clear on how to assign
roles. Do I need to use something like <>? And
where do I put that? And how do I define, to which tiddlers a User has
access as opposed to an Admin or PowerUser? Do I need to create
tiddlers with usernames?

w

On Sep 23, 7:55 pm, Tobias Beer  wrote:
> Hi whatever,
>
> If all you do is authenticate by setting a UserName, then here's
> something (I just created) for you...
>
> http://tobibeer.tiddlyspace.com/#SimpleRoles
>
> Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: Unable to add a custom field

2010-09-23 Thread Ken Girard
Where are you trying to add it?

Ken Girard

On Sep 17, 10:57 am, Hans  wrote:
> I have been trying for while to add a custom field.
>
> All the solutions that I have found run along the lines of:
>
> (1) adding to the ViewTemplate tiddler:
> My Thing: 
> and
> (2) adding to the EditTemplate tiddler:
> My Thing: 
>
> with no luck.

-- 
You received this message because you are subscribed to the Google Groups "GTD 
TiddlyWiki" group.
To post to this group, send email to gtd-tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



[tw] Re: NEW: BulletGraphMacro

2010-09-23 Thread PMario
Looks beautyfull
-m

On Sep 23, 5:34 pm, Tobias Beer  wrote:
> Hi everyone,
>
> For fun's sake and inspired by this thread [1] about using a jQuery
> charting library and my contributions to the ProgressBarMacro from
> this thread [2], I created a macro the render bullet graphs (w/o
> jQuery)...
>
> http://tobibeer.tiddlyspace.com/#BulletGraph
>
> Maybe it will be of use to someone.
>
> Cheers, Tobias.
>
> [1]http://groups.google.com/group/tiddlywiki/browse_frm/thread/327c49148...
> [2]http://groups.google.com/group/tiddlywiki/browse_frm/thread/df4f3aec6...

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: unknown error in script

2010-09-23 Thread Seba
One more thing and since its about the same tool, I didn't want to
post new.

Main menu will not refresh even-though I've put autorefresh in
viewtemplate and I tried puting it in main menu as well.
When I create a new character it is not displayed in main menu untill
I refresh the page. However autorefresh works fine on other tiddlers.

Any thoughts?

regards
seba

On 23 sep., 22:27, Seba  wrote:
> ...worked like a charm:)
>
> thx a lot
> regards,
> seba
>
> On 23 sep., 14:04, Tobias Beer  wrote:
>
> > I guess what you want is not a return statement on it's own but
> > instead a...
>
> > if(!p)return;
>
> > Other than that, you could put the entire script in another tiddler
> > and call it "NewQuest" then transclude it in your games with...
>
> > <>
>
> > Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: unknown error in script

2010-09-23 Thread Seba
...worked like a charm:)

thx a lot
regards,
seba

On 23 sep., 14:04, Tobias Beer  wrote:
> I guess what you want is not a return statement on it's own but
> instead a...
>
> if(!p)return;
>
> Other than that, you could put the entire script in another tiddler
> and call it "NewQuest" then transclude it in your games with...
>
> <>
>
> Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: Problems formatting images

2010-09-23 Thread Anton.Aylward
Bauwe Bijl said the following on 09/23/2010 02:29 PM:
> hi Anton
> 
> 1.)
> local files work similar as the server "/"
> the folder that contains your tw acts similar as root
  ^

That's what I was after!

> 2.)
> I alway's try to avoid these broken links but: 
> [img[images/samplecopy.png]] just works

So I don't need the "file://" prefix?

OK, now I've been using

|  |

so that I
a) have the file name in quotes so spaces don't matter
b) can specify resizing.

>> I'm concerned that escaped spaces don't seem to work, and
>> quoting the whole filename doesn't seem to work either.

It seems spaces aren't an issue

[img[path to images directory/name of the sample copy.png]]

works OK.

> I suggest you test some and then look for the best solution. (think
> about mass-replace all space with something in an editor)

No,mass renaming across a number of machines is not an alternative.

As for resizing, when I google I only find that needs a specific new
tiddler. http://www.tiddlytools.com/#ImageSizePlugin

 Isn't is built in somehow?  I'm surprised.

-- 
It is not that power corrupts but that it is magnetic to the corruptible.
  -- Frank Herbert,

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-23 Thread Tobias Beer
Good to know that putting...

config.evaluateMacroParameters = "full";

...in a zzConfig tiddler is all that is needed (for now).

Thanks for the info, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-23 Thread FND
> Create a space called EvaluatedParameters which one can include to
> ones own space, which reactivates parameter evaluation

Here's all that's necessary for that:
http://sandbox.tiddlyspace.com/#EvaluatedMacroParameters
(Note the Requires slice and systemConfigDisable tag.)

I'm uncomfortable maintaining such a space myself though, as I don't
want to encourage the use of evaluated parameters.

> you might want to make sure that including another space will not
> auto-include this or any other subspaces

That's currently not possible.


-- F.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Problems formatting images

2010-09-23 Thread Bauwe Bijl
hi Anton

1.)
local files work similar as the server "/"the folder that contains
your tw acts similar as root
create a folder ''images" in the folder that contains your tw (and the
backupfile)
and construct the link like this: [img[images/sample.png]]
2.)
I alway's try to avoid these broken links but: [img[images/sample
copy.png]] just works

>This has to be portable between Linux and
> Windows.
That's the beautyTiddlywiki runs in a browserand is
crosscompatible
>I'm concerned that escaped spaces don't seem to work, and
> quoting the whole filename doesn't seem to work either.
I suggest you test some and then look for the best solution. (think
about mass-replace all space with something in an editor)

Bauwe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-23 Thread Tobias Beer
Hi Jeremy,

Since parameter evaluation seems a client-side issue, here's what I
suggest (the official TiddlySpace crew to provide) for now...

Create a space called EvaluatedParameters which one can include to
ones own space, which reactivates parameter evaluation and thus the
use of (mostly Eric's) transclusions.

I think this should be somewhat easy to implement and allows users to
get back this much desired functionality (at their own risk). Before
that, however, you might want to make sure that including another
space will not auto-include this or any other subspaces.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: User roles

2010-09-23 Thread Tobias Beer
Hi whatever,

If all you do is authenticate by setting a UserName, then here's
something (I just created) for you...

http://tobibeer.tiddlyspace.com/#SimpleRoles

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Problems formatting images

2010-09-23 Thread Anton.Aylward
This is in two parts ...

All the examples I see at twhelp.tiddlyspot.com of inserting images make
use of external URLS.

I'm trying to use a local file.
My problem is in two parts.

The tiddly file and the images are on a USB stick.
The image in in a subdirectory relative to the tiddly file.
This is for 'portability'.   I'm concerned.
Do I begin

   file:///./path to file.png


The second is that there are spaces in the path

"Path To Directory/Name Of The File.png"

How is that to be expressed?  This has to be portable between Linux and
Windows.  I'm concerned that escaped spaces don't seem to work, and
quoting the whole filename doesn't seem to work either.

-- 
The saddest life is that of a political aspirant under democracy. His
failure is ignominious and his success is disgraceful.
-- H.L. Mencken

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] NEW: BulletGraphMacro

2010-09-23 Thread Tobias Beer
Hi everyone,

For fun's sake and inspired by this thread [1] about using a jQuery
charting library and my contributions to the ProgressBarMacro from
this thread [2], I created a macro the render bullet graphs (w/o
jQuery)...

http://tobibeer.tiddlyspace.com/#BulletGraph

Maybe it will be of use to someone.

Cheers, Tobias.

[1] http://groups.google.com/group/tiddlywiki/browse_frm/thread/327c491480852227
[2] http://groups.google.com/group/tiddlywiki/browse_frm/thread/df4f3aec6c45d11d

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: jQuery plugin and passing an Array of data values

2010-09-23 Thread Tobias Beer
Hi MidGe,

Inspired by this and for fun's sake (and in the context of this
discussion about a ProgressBarMacro [1]) I just created an individual
macro to create bullet graphs...

http://tobibeer.tiddlyspace.com/#BulletGraph

Cheers, Tobias.

[1] http://groups.google.com/group/tiddlywiki/browse_frm/thread/df4f3aec6c45d11d


On 23 Sep., 16:04, MidGe  wrote:
> Correct, the plugin is from omnipotent as per your link. I didn't even
> use the minified version, since I am developing.
>
> The install was really as simple as you suggested.
>
> It is a great plugin!
>
> If you are interested, In a similar vein and as easy to install, is
> raphaeljs athttp://raphaeljs.com/and from there to  g.Raphael for
> chart, if chart are specifically what is wanted.
>
> Of course, with jQuery in core, I had to favor omnipotent's as a
> solution for charting.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Using Tiddlyspace for song writing collaboration

2010-09-23 Thread frankfurtkid
HI all - Frederik suggested I post this to show what we are doing with
Tiddlyspace - its a developing idea where song writers have the
opportunity to collaborate on songs, share media and also publish
songs to the web.  I did an introductory video to help my non-
tiddlywiki savvy friend start to use it - which is here:

Youtube version (loads quicker)
http://www.youtube.com/watch?v=83QkVaHK5Cg

Original version (looks better)
http://www.risk4hisglory.com/songs.mov

I would also be really interested in seeing what other people are
doing with Tiddlyspace - especially around collaboration. Let me know

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: jQuery plugin and passing an Array of data values

2010-09-23 Thread MidGe

Correct, the plugin is from omnipotent as per your link. I didn't even
use the minified version, since I am developing.

The install was really as simple as you suggested.

It is a great plugin!

If you are interested, In a similar vein and as easy to install, is
raphaeljs at http://raphaeljs.com/ and from there to  g.Raphael for
chart, if chart are specifically what is wanted.

Of course, with jQuery in core, I had to favor omnipotent's as a
solution for charting.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] User roles

2010-09-23 Thread whatever
Hi!
I was wondering whether limiting user access by roles was possible.
For example, I have three roles: Admin, PowerUser and User. I want the
Users to only be able to access tiddlers tagged with their names. The
PowerUsers can access additional tiddlers and Admin can access all
tiddlers. Obviously any tiddly-savy person can get around the
restrictions, but my users aren't tiddly-savy. As Eric put it in his
TiddlerPasswordPlugin, I want the roles to be "latches", not "locks",
the intent is to prevent accidental opening. Is this possible?

w

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: unknown error in script

2010-09-23 Thread Tobias Beer
I guess what you want is not a return statement on it's own but
instead a...

if(!p)return;

Other than that, you could put the entire script in another tiddler
and call it "NewQuest" then transclude it in your games with...

<>

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: Having a hard time with my progressbar layout...

2010-09-23 Thread Rafael Carrasco
The idea that the progress bar list the next next is also really cool!
Didn't thought of that. Also, Ithought it was finished, and still so much
work to do I really underestimated it.

-- 
*Rafael da Silva Carrasco*
*Mestrando em Ciência da Computação*
*Universidade Federal de Viçosa*

Facebook 
LinkedIn

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] unknown error in script

2010-09-23 Thread Seba
Hi,

I have problem which I can't really determine:(

I've created a tool for a game which helps keep track of things to do
and so on.
I want to share it with anyone who would like to use it as an
unofficial addon to the game. For that purpose I've set it up in a way
all one needs to do is point and click without ever having to enter
the edit mode.

However, there is a problem:)

For creating a new tiddler from a button inside a tiddler which adds
the title of source tiddler as a tag I have this:


var alwaysTag="quest";
var tid=story.findContainingTiddler(place);
tid=tid?tid.getAttribute('tiddler'):'';
var charTag=(tid).toLowerCase();
var p=prompt("Enter the quest name","");
//return
var title=(p);
var tags=(alwaysTag+" "+charTag);
store.saveTiddler(
title,
title,
store.getTiddlerText('questTemplate'),
config.options.txtUserName,
new Date(),
tags);
story.displayTiddler(null,title);

-
Please look at the //return if I remove the // the button doesn't
work. However I need the return function so that user can abort the
creation of a new tiddler without affecting the entire tiddly.

Please have a look at the tool:

http://users.volja.net/adonis25/estiah.html

Go to Kuharcek->New quest or just select edit while in Kuharcek.

I hope this wasn't to confusing.

thx

regards,
seba

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: jQuery plugin and passing an Array of data values

2010-09-23 Thread Tobias Beer
This could be a neat little plugin to go along with statistics or even
polls (pie-chart).

Consider a feature-wishlist and people voting on a feature while
seeing the pie-chart of its popularity right next to it à la
http://www.theskinnyscoop.com

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: jQuery plugin and passing an Array of data values

2010-09-23 Thread Tobias Beer
That's a neat little plugin.

I guess you took...

http://omnipotent.net/jquery.sparkline

...and simply copied the minified version into your TiddlyWiki tagging
it "systemConfig", right?

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Having a hard time with my progressbar layout...

2010-09-23 Thread Tobias Beer
I also took out that one jQuery statement as it really wasn't
necessary. That way, the macro might even work in legacy versions of
TiddlyWiki.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Having a hard time with my progressbar layout...

2010-09-23 Thread Tobias Beer
Made the changes to the code, such that showVal and showPct are now
named parameters and thus to be specified as...

<>

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-23 Thread Jeremy Ruston
> I also think, that erics transclusions should be treated like plugins.
> And I also think, this can be achieved.

That's a good insight: what we're dealing with here is best treated as
a new kind of plugin, one that is evaluated at the point of reference,
rather than at startup. I really like that idea.

I'd think of it as a tiddler tagged "systemScript" that contains
javascript that is executed when the tiddler is referenced through
<> (or perhaps some new syntax like [[[tiddler
title]]]). The JavaScript code would be invoked with the roughly same
context as macro handlers, plus the with: parameters on the
<> macro.

> 1) But "server side".

You're meaning that the verification for safety of systemScript
tiddlers would happen on the server? If so, I would agree.

> 2) As you can see that  "not executing" evaluated parameters
> clientside doesn't add any security to tiddlyspace. As Tobias has
> shown with his quick eval hack.

Changing the implementation of evaluated parameters doesn't add
security on it's own, but it is one of the necessary components for us
to implement safe filtering on space inclusions in the future. Tobias'
quick eval hack is a systemConfig tiddler and so would be filtered out
of a safe inclusion. That's the whole point: forcing javascript code
up out of invisible {{blocks}} and into manageable plugins.

The motivation for bringing up the change early is to minimise
disruption; as the service grows, more spaces would be affected by any
change we make in the future.

> Some thoughts about 1)
> Hash the content, and compare against a "plugin whitelist", when the
> tiddler is saved.
> If it doesn't pass the test, it can be _private_ only.
> So I can use and test it until it passes the test.

That is also one of my motivations in being interested in the hashing
mechanism being added to the server.

> A private malicious tiddler can only effect space members. But as a
> owner of a space I'd only make someone a member, if I trust her or
> him. The server could tag a private tiddler "test not passed". So
> members can easily find them and togehter make them pass the "approved
> for public use" tests.
>
> There is the question. How to get a "plugin white listed"
> I think this should be discussed at TiddlyWeb or Dev group.

I was thinking of the hashing more for blacklisting plugins that have
known vulnerabilities. For example, a trusted member of the community
may write a plugin that unwittingly parses and processes some piece of
user input as HTML. Then, a mischievous person discovers that
vulnerability, and publishes a specially crafted tiddler that if
included in spaces that include the original plugin would cause data
loss. Note that the mischievous person there is only publishing "safe"
content, but is exploiting a flaw in trusted code. In that situation a
blacklist would be a good way to pick up people who have copied and
pasted the plugin into their spaces. I'm sure there are other measures
that need looking at too, but this fingerprinting seems pretty
fundamental.

In terms of whitelisting, I was thinking of letting users have a list
of spaces they trust, and optionally to also trust the spaces that
those spaces trust. Everyone would start by trusting tiddlyspace,
which would trust the established developers. As a user I would want
to know how many other people trust or actively mistrust a space.

As you say, the way that we establish all this deserves deep
discusion. It's possible that UnaMesa might have a role in this,
maintaining the register of the highest grade of trust for people who
have, say, been through a legal notarisation process so that the
community can have some confidence in who they are.

> 
> There has been some dicussion about the target group, that uses/should
> use TiddlySpace.
>
> a) As a default user (80%) I'd want to write text.
> Make it public.
> Done.
>
> b) As an advanced user (15%) I'd want to write something like:
> <> or
> <>
> I think some server side white list filter can see that this should be
> allowed.
> Done.

You mean the whitelist filter combined with having the tiddler tagged
systemScript because it contains JavaScript?

> c) As a programmer (5%) I should be able to write code, that can be
> "approved for public use".
> And how to get "white listed" should imho be discussed at TiddlyWeb or
> TiddlyWikiDev group

Agreed, as above.

Cheers

Jeremy

> d) may be there is a better solution for b) so it can be added to a)
>
> -mario
>
> On Sep 22, 6:08 pm, Tobias Beer  wrote:
>> Hi Martin,
>>
>> I think Eric's transclusions provide awill fairly good benchmark as to
>> what others might as well (want to) accomplish and thus require
>> parameter evaluation.
>>
>> As I said, these transclusions essentially are like plugins and  from
>> my point of view should be treated in the context of security measures
>> on TiddlySpace just like anything tagged systemConfig ...in the case
>> that parameter evaluation is being used in a transclusion.
>>
>> Che

[tw] Re: Having a hard time with my progressbar layout...

2010-09-23 Thread Tobias Beer
I have added some more information to the example tiddler as for
parameters and StyleSheet...

Thinking of some computed progress based on a todo-list it might be
cool if one could define a function that retrieves the next todo when
clicked on the progressbar... that however is just one use-case for a
progress bar. Possibly named parameters also work better. The first
two may remain fixed but at least showVal and showPct should be named
parameters... that way one could more easily add parameters to the
params array later.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: startup problems with tiddler macro output

2010-09-23 Thread Tobias Beer
Here's an MTC... http://startuptransclusions.tiddlyspot.com

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-23 Thread PMario
I also think, that erics transclusions should be treated like plugins.
And I also think, this can be achieved.
1) But "server side".

2) As you can see that  "not executing" evaluated parameters
clientside doesn't add any security to tiddlyspace. As Tobias has
shown with his quick eval hack.


Some thoughts about 1)
Hash the content, and compare against a "plugin whitelist", when the
tiddler is saved.
If it doesn't pass the test, it can be _private_ only.
So I can use and test it until it passes the test.

A private malicious tiddler can only effect space members. But as a
owner of a space I'd only make someone a member, if I trust her or
him. The server could tag a private tiddler "test not passed". So
members can easily find them and togehter make them pass the "approved
for public use" tests.

There is the question. How to get a "plugin white listed"
I think this should be discussed at TiddlyWeb or Dev group.


There has been some dicussion about the target group, that uses/should
use TiddlySpace.

a) As a default user (80%) I'd want to write text.
Make it public.
Done.

b) As an advanced user (15%) I'd want to write something like:
<> or
<>
I think some server side white list filter can see that this should be
allowed.
Done.

c) As a programmer (5%) I should be able to write code, that can be
"approved for public use".
And how to get "white listed" should imho be discussed at TiddlyWeb or
TiddlyWikiDev group

d) may be there is a better solution for b) so it can be added to a)

-mario

On Sep 22, 6:08 pm, Tobias Beer  wrote:
> Hi Martin,
>
> I think Eric's transclusions provide awill fairly good benchmark as to
> what others might as well (want to) accomplish and thus require
> parameter evaluation.
>
> As I said, these transclusions essentially are like plugins and  from
> my point of view should be treated in the context of security measures
> on TiddlySpace just like anything tagged systemConfig ...in the case
> that parameter evaluation is being used in a transclusion.
>
> Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.