[TurboGears] Re: Website thumbnail genaration on Linux?

2006-12-06 Thread Richard (koorb)

Of course I use this on a mac http://www.paulhammond.org/webkit2png/


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~--~~~~--~~--~--~---



[TurboGears] Re: Website thumbnail genaration on Linux?

2006-12-06 Thread Richard (koorb)

I think this may be of some use to you http://khtml2png.sourceforge.net/


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~--~~~~--~~--~--~---



[TurboGears] Re: How to use tg.cycle() ?

2006-11-03 Thread Richard (koorb)

Ah I see! Thanks guys I might just stick with enumerator, it's no
longer hand than creating a cycle iterator from the looks of it.

On Nov 1, 5:15 pm, Karl Guertin [EMAIL PROTECTED] wrote:
 On 11/1/06, Richard (koorb) [EMAIL PROTECTED] wrote:

  I also tried ${tg.cycle(('odd','even'))} (without .value) But I only
  get None or odd ?You have to create it before you use it and call 
  next():

 ?python OddEven = tg.cycle(('odd','even')) ?
 tr py:for=item in item_list class=OddEven.next()
   td${item.name}/td
   td${OddEven}/td
 /tr

 The ${OddEven} in the td will print 'odd' or 'even' without advancing
 the iterator.


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~--~~~~--~~--~--~---



[TurboGears] How to use tg.cycle() ?

2006-11-01 Thread Richard (koorb)

I tried

  tr py:for=item in item_list
class=${tg.cycle(('odd','even')).value}
  td${item.name}/td
  /tr

I also tried ${tg.cycle(('odd','even'))} (without .value) But I only
get None or odd ?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TurboMail 1.0 released!

2006-10-04 Thread Richard (koorb)

Right on cue. Thank you. I think this will be very useful!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TG ultimate DVD questions...

2006-07-24 Thread Richard (koorb)


potens wrote:
 I think the DVD is very interesting but... if I don't understand
 anything,
 it won't be very usefull :'( (I know, it's sad to be a so bad english
 speaker)

Hey, that is unfortunate! I wonder if there is anyone that would be
prepared to do some translated versions? What language do you speak?
Would it be possible to include some transcripts on the DVD?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: dynamicly changing the template package

2006-06-23 Thread Richard (koorb)

Ah I forgot about sitetemplate! I think passing tg_template through the
dictionary is the best option as it stands at the moment


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] dynamicly changing the template package

2006-06-21 Thread Richard (koorb)

I am just starting a major new e-commerce project. The requirements
mean that I need to change to look and feel, content and layout
dynamically. Simply put if I visit the one TG application from
www.example.com it would have to use a different template package to
www.another-example.com.

Would it be possible to have a set up like this:

tg_app/
templates/
example.com_template_package/
another-example.com_template_package/

and switch between the sub-packages of templates on-the-fly, or what
would be the best way to do this?

TIA.
Rich


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: New site design is up!

2006-05-26 Thread Richard (koorb)


marcelo ametller wrote:
 it's ok?
 I see: http://koorb.co.uk/turbogears/preview/ and it's not equal to
 http://www.turbogears.org/

That one was an evolution I tried but the one on turbogears.org is the
one that was agreed on - Some elements of that preview will make there
way into the new site I think, also the preview on my site may be a way
we could take the default start up page for a quickstart?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] psycopg2.ProgrammingError

2006-05-02 Thread Richard (koorb)

Im using a pgsql database I started a new quickstart with 0.9a5 and
tried to do an sql create using just the existing model. and I get the
following error:

psycopg2.ProgrammingError: parser: parse error at or near user at
character 14

I have tried to upgrade psycopg2 but easy_install just gives me a 404
error. This is my info output:

TurboGears 0.9a5
nose 0.8.4
ConfigObj 4.3.1
RuleDispatch 0.5a0
setuptools 0.6a11
FormEncode 0.5.1
cElementTree 1.0.5-20051216
PasteScript 0.5.1
elementtree 1.2.6
simplejson 1.3
SQLObject 0.7.1dev-r1675
CherryPy 2.2.1
TurboKid 0.9.5
TurboJson 0.9.2
PyProtocols 1.0a0
Cheetah 1.0
PasteDeploy 0.3
Paste 0.3
FormEncode 0.5.1
kid 0.9.1
elementtree 1.2.6

Has anyone else seen this?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: psycopg2.ProgrammingError

2006-05-02 Thread Richard (koorb)

Specifying the the table name as tg_user works perfectly! Thanks so
much :-)

class User(SQLObject):
class sqlmeta:
table=tg_user

Michael Weiner wrote:
i wasnt aware there was a
psycopg egg available. And i thought easy_install really only worked
with
either eggs or the source, am i wrong in this assumption?

Well in ignorance I just tried it, should work only the file it finds
isn't actually on the web site it points to, other than that ...

iMacG5:~ richard$ sudo easy_install psycopg2
Password:
Searching for psycopg2
Reading http://www.python.org/pypi/psycopg2/
Reading http://initd.org/projects/psycopg2
Best match: psycopg2 2.0b6
Downloading http://initd.org/pub/software/psycopg/psycopg2-2.0b6.tar.gz
error: Can't download
http://initd.org/pub/software/psycopg/psycopg2-2.0b6.tar.gz: 404 Not
Found


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Fwd: [mochikit] UI4W 0.5 released

2006-04-29 Thread Richard (koorb)

 The tests run (1 failure), but the Table Demo under UI4W in Action
 crashes Safari (could be Saft).

I got that too


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: New TurboGears site and png alpha transparency

2006-03-29 Thread Richard (koorb)

Thanks for noting this. I did notice that the png fix is not working at
the moment. this will be fixed soon :-)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TurboGears 0.9a2 released!

2006-03-28 Thread Richard (koorb)

It's good to see things moving so quickly. (I will get moving on the
web site) How do we use the tgbig template for quickstart then? did I
miss that?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TurboGears 0.9a2 released!

2006-03-28 Thread Richard (koorb)

Michele Cella wrote:
 Can this help you Richard: http://tinyurl.com/hzm8j

Thanks Michele, so this is the basic syntax right:

 tg-admin quickstart -t tgbig

that's cool and works accept it doesn't ask me for a project name and I
end up with a directory called tgbig, which I don't want :-)

 PS
 Hey! Stop doing what you're being paid for and do the site! :P

hehe, not too far off now  ;-)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: fast track logo

2006-03-26 Thread Richard (koorb)

If you have any idea what you want let me know and I'll try to spend
some time on it. I can't say for sure that I'll have time yet so anyone
else please respond too :-)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TextMate Bundle?

2006-03-25 Thread Richard (koorb)

Also, I don't think you should use whitespace to align things like
that, I'm pretty sure the PEP8 style guide says to avoid doing that.

Kevin Dangoor wrote:
 Hi Jonathan,

 On 3/24/06, Jonathan LaCour [EMAIL PROTECTED] wrote:
 
  Jonathan LaCour wrote:
   Once I am relatively happy with this, I will probably put it in my
   public SVN repository, and let it gel for a month or two before
   trying to get it into TextMate proper.
 
  Okay, come and get it:
 
   http://cleverdevil.org/svn/main/TextMate/
 
  You can use the user and password anonymous to grab the bundle.
  Any enhancements would be greatly appreciated!

 I'm just starting to use this bundle. First thing I've noticed, I'd
 change the imports a bit. Currently:

 import turbogearsas tg
 import cherrypy  as http

 from turbogears  import expose, validate
 from turbogears  import identity, validators, url, flash

 from cherrypyimport HTTPRedirect

 I'd change it to:
 import turbogears

 from turbogears  import expose, validate, redirect, config
 from turbogears  import identity, validators, url, flash
 
 Kevin


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TextMate Bundle?

2006-03-25 Thread Richard (koorb)

This is great Jonathan. I kept thinking I should do something like
this. Hopefully we can all add to it. Makes a huge difference! Thanks
so much!

Jonathan LaCour wrote:
 Kevin Dangoor wrote:
  I'm just starting to use this bundle. First thing I've noticed, I'd
  change the imports a bit.

 Done, you are right that this is probably more common.  I just yanked
 the imports from one of my TG projects :)

 Richard (koorb) wrote:
  Also, I don't think you should use whitespace to align things like
  that, I'm pretty sure the PEP8 style guide says to avoid doing that.

 Done.  Its PEP8 compliant now, but I still think it looks better the
 other way ;)

 SVN update if you like.  Oh, and if you add anything to the bundle,
 please let me know!  I really like Jeff Watkins' JavaScript lint tool
 idea, and I have a Python syntax checker that I use called PyFlakes,
 but those may be outside the scope of TurboGears...

 How about some MochiKit snippets and templates?  Widgets?  I am not
 really an expert in either of these areas, so any help would be great.
 
 --
 Jonathan LaCour
 http://cleverdevil.org


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: What is it with Macs?

2006-03-24 Thread Richard (koorb)

We need to be careful not to turn this in to a mac vs
_put_your_preferred_platform_here_ flame thread.

There are many reasons why I chose Mac. But with regards to
development,you get the comfort of a powerful, user-friendly desktop
coupled with the everything unix is. I can use bash and have access to
all the unix development tools, even run any X11 apps if I need them.
OSX comes with Python, Ruby, PHP and more installed by default as well
as Apache that can be controlled from the system preferences.

Apple and OSX are so developer friendly the amount of documentation
available for developing OSX apps is staggering and they provide *free*
developer tools, including a powerful IDE and interface builder... ok
so I could go on.

Ultimately you should just use the platform that suits you best.
There's no real secret that makes Mac the best developer platform or
the one for TurboGears. But I think it's great that people are noticing
more folks using Macs, because I personally don't understand any reason
why you would use Windows. And I find linux desktops rather foreign (as
a designer too), I like the fact that Mac is commercially supported, I
have some one to go to when things don't work right :-)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TextMate Bundle?

2006-03-22 Thread Richard (koorb)


Jonathan LaCour wrote:
 I would just like the gauge the potential interest in a TurboGears
 TextMate bundle.  If you are interested, please let me know, and let
 me know what kinds of things you might like to see included.


That would be so great. the only thing I have at the moment is tgexp
expanded to @turbogears.expose...

We should probably have some kind on naming convention for the
shortcuts maybe?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Accessing identity

2006-03-22 Thread Richard (koorb)

Ahh! thank you very much guys suddenly the light dawns, that's great!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Accessing identity

2006-03-22 Thread Richard (koorb)

Thanks so much for your help, but ...

Kevin Dangoor wrote:
 options = lambda: [(group.id, group.displayName) for group in
 identity.current.groups]

I tried that, only got the same error. Also tried specially defining a
function:

def current_group_list():
return [(group.id, group.displayName) for group in
identity.current.user.groups]

(...)

group = widgets.SingleSelectField(name=group, label=Assign to
group,
options=current_group_list,
help_text=_(...))

just results in IdentityManagementNotEnabledException


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Accessing identity

2006-03-22 Thread Richard (koorb)


Michele Cella wrote:
 It's strange if you're really passing current_group_list and not
 current_group_list() this function will be called only at display time
 (when the request is available), when are you receiving this exception?
 when you click that page or before?

 Ciao
 Michele

actually I cant even start the server! It raises the exception when I
do ./start-project.py


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: SingleSelectField and option_attrs

2006-03-21 Thread Richard (koorb)

Nicky Ayoub wrote:
 I use something like this:

   options=[(group.id, group.displayName) for group in model.TG_Group.select
 ()]

That's exactly what I'm trying to do, thanks! So the basic idea is to
provide a list of tuples [(key, value)] like in Michele's example.

 options = [(1, First Group), (2, Second Group)] 

thanks much
Rich


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: SingleSelectField and option_attrs

2006-03-21 Thread Richard (koorb)

one more thing ...

specify the selected value? I have looked at the source but I'm none
the wiser. I think I will put together a page on the wiki about this
until more docs are available.

Thanks guys
Rich.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Accessing identity

2006-03-21 Thread Richard (koorb)

The project I am working on at the moment uses a controllers package,
the directory contains __init__.py controllers.py and
otherControllers.py

The login and logout controllers remain in controllers.py while the
otherControllers.py uses identity.require quite happily. So what's the
problem? I have another package called forms in which I declare my form
schema's. This works fine until I try to use identity in there:

import turbogears
from turbogears import identity, widgets
from myProject import model

then for a SingleSelectField I want to output a list of groups the
current user is in

options=[(group.id, group.displayName) for group in
identity.current.groups]

sadly this results in

turbogears.identity.exceptions.IdentityManagementNotEnabledException:
An attempt was made to use a facility of the TurboGears Identity
Management framework but identity management hasn't been enabled in the
config file [via identity.on].

It is and I have been using it successfully what is different about
using it in this package? is it a name space issue? I don't know. I
hope I'm not doing something stupid but if this is something other may
run into as well it's good to talk about it.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Accessing identity

2006-03-21 Thread Richard (koorb)

Hi Kevin,

I have literally just turned on the commented items in config.py

visit.on=True
(...)
identity.on=True
(...)
identity.failure_url=/login

And as I say it does work, correctly protects the methods even of the
mounted controller. It is only when I try to access it from
project/forms/my_forms.py that it raises an exception. If you want
the entire config I can send it but the only other thing that I did was
turn on tg.mochikit_all (which didn't seem to do anything incidentally)

thank you!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Storing Credit Cards in a db - Encryption Methods ?

2006-03-20 Thread Richard (koorb)

 the order placement and order processing will be shifted in
 time because order fulfillment will be a manual task.  In this work
 flow the card number must be kept somewhere between the time of receipt
 and processing

Can the payment not be taken in advance of the order being filled? I
would suggest that the order is placed and payment taken through a
payment service provider then the orders marked as paid can be
fulfilled. I suppose it depends on the types of goods and stock
management involved, but this is the flow I have used in the past.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] SingleSelectField and option_attrs

2006-03-20 Thread Richard (koorb)

I am desperately trying to work with widgets at the moment I am
creating a form using WidgetsDeclaration but when I add a
singleselectfield like this:

group = widgets.SingleSelectField(name=group, label=In group,
options=[group.displayName for group in
model.TG_Group.select()])


then I get this:


File
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a1-py2.4.egg/turbogears/widgets/forms.py,
line 333, in update_data
options.append((option[0], option[1], option_attrs))
UnboundLocalError: local variable 'option_attrs' referenced before
assignment


any help would be great!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: SingleSelectField and option_attrs

2006-03-20 Thread Richard (koorb)

Hey Michele, 

Thanks for that I will give it go tomorrow

Richard


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Storing Credit Cards in a db - Encryption Methods ?

2006-03-19 Thread Richard (koorb)


Jorge Godoy wrote:
 Do you really need to store the credit card numbers?  At least here it is
 illegal and not recommended.  After the transaction has been done, then you
 don't need the numbers anymore...

You would for reoccurring billing or like Amazon, so the customer does
not have to enter it every time.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Storing Credit Cards in a db - Encryption Methods ?

2006-03-19 Thread Richard (koorb)

Sorry, don't get me wrong I wasn't trying to be flippant about it,
certainly you need to be serious when dealing with card details, indeed
*any* personal details. Shared hosting is completely out of the
question! I wouldn't even think about storing sensitive information on
anything less than a dedicated unix box secured to the hilt. And indeed
as you say the best option is leave it to the people dedicated to such
tasks, such as worldpay etc.

Robin Haswell wrote:
 Richard (koorb) wrote:
 
  Jorge Godoy wrote:
  Do you really need to store the credit card numbers?  At least here it is
  illegal and not recommended.  After the transaction has been done, then you
  don't need the numbers anymore...
 
  You would for reoccurring billing or like Amazon, so the customer does
  not have to enter it every time.

 Not true. Many PSPs such as WorldPay and FuturePay provide repeat billing 
 options, where the
 customer's details are stored on their own servers.

 I have to agree with the parents though, you really must think hard about 
 storing CC details in a
 database. Especially if you need to ask how to do it. A big problem with this 
 is your app usually
 needs to be able to read the private key required to decrypt the database. 
 Are you on shared
 hosting? How can you be 100% sure that key would be kept secret? If CC 
 details are compromised your
 talking about a custodial sentence. If there is any conceivable way of 
 avoiding storing them, take
 it. Personally, even if a client demanded that I store CC details, I would 
 tell him to shove it or
 shell out for real consultancy. I don't want to go to jail.
 
 -Rob


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] PostgreSQL and dependancies

2006-03-15 Thread Richard (koorb)

Afternoon everyone,

I am trying to use a postgresql database, but it seems that due to it's
awareness of dependancies tables need to be created in a specific
order. on tg-admin sql create I am simply getting the error

 psycopg2.ProgrammingError: Relation tg_user does not exist

Because I am joining the tg_user from one of my own tables. After some
searching I understand it is possible to get SQLObject to specify the
order with something like soClasses or _so_classes but that's the limit
of my knowledge so far.

Has anyone else had this problem or know how to specify the order?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: PostgreSQL and dependancies

2006-03-15 Thread Richard (koorb)

Other than the external soprovider which is imported at the top of the
model.py I only have one file at the moment.

The interesting thing is the only table  that gets created is the
*last* one in model.py

I did look for docs but I couldn't find anything, now I know it's
_so_classes I'll have another look.

lazy question then: Where would I put that just at the start of
model.py? and can I do a partial list or do I have to specify every
class?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: need help

2006-03-15 Thread Richard (koorb)

I think you should be able to do

easy_install MySQLdb


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: PostgreSQL and dependancies

2006-03-15 Thread Richard (koorb)

ah ha! that worked, only it was soClasses so in model.py I did:

...
__connection__ = hub
soClasses = ['TG_User', 'TG_Group', 'TG_Permission', 'MyTable']

And it worked fine cheers Jorge


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: PostgreSQL and dependancies

2006-03-15 Thread Richard (koorb)

Jorge Vargas wrote:
 you did uncomment the
 from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
 line right?

hehe yes!

When I do tg-admin sql list it displays my own classes first:

myapp.model.MyTables
...
turbogears.identity.soprovider.TG_Group
turbogears.identity.soprovider.TG_Permission
turbogears.identity.soprovider.TG_User
turbogears.identity.soprovider.TG_VisitIdentity

so that is clearly the order it wants to create them. I don't know
about TG_VisitIdentity though, I included that in the soClasses list
and it said it didn't exist!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Trac down?

2006-03-15 Thread Richard (koorb)


Kevin Dangoor wrote:
 I broke something through the
 less-than-intuitive webmin interface

it don't make webmin perfect but a bit more bearable and usable
http://www.stress-free.co.nz/content/view/141/2/

I made a mod to open the AJAX module search with alt+space, speeds up
using it no end


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: another new web site preview

2006-03-14 Thread Richard (koorb)

 Specially the icons! :-)
thank you, I was quietly pleased with those :-) I made some others if I
find a use for them.

I agree, seeing it at work today on a smaller screen, it does look a
little ... over powering, I will look to shrinking it all down some.

 Since no one else has I looked at it in IE (6.0). It was not too
 pretty. The good news is your awesome fading feed display widget worked
 perfectly and was centered properly. Bad news is that just about
 everything else had problems

I do love internet explorer! I particularly like the fact that the menu
vanished entirely!

I will see what I can do with IE, I might have to invest in some kind
of virtual pc maybe ...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Trac down?

2006-03-14 Thread Richard (koorb)

Jorge Vargas wrote:
 and google cache doesn't has the page i'm looking for :(


It came through for me, luck of the draw I suppose! yay google cache!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: another new web site preview

2006-03-14 Thread Richard (koorb)

 are you running linux? you can run VMWare without charge now :)

nope! the on and only Mac OS X :-)

 I was under the impression that only VMware player was free - and seeing
 as Windows is certainly not free, I don't think that's a solution

I have a copy of windows XP, just nothing left to install it on! I seen
a couple of cheap virtual pc types around so, I will take a look at the
viability of these, but I'm on intel mac so adds to the complecations!

 Well we can still send you screen shots :)

well if your volunteering, you could send me a screenshot say, every 30
seconds ;-p

 For better or worst we should get TG main site working on all browsers

Indeed, I completely agree. As much as I dislike windows and IE, I
always try to get my sites working in it. I have a windows box at work
which I remote desktop to, so I take a look first thing in the morning
each day :-)

Anyway, if anyone has time to look over the html/css and can input some
IE debugging this would help me a great deal.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: another new web site preview

2006-03-14 Thread Richard (koorb)


Karl Guertin wrote:
 On 3/14/06, Richard (koorb)  I will see what I can do with IE, I
 might have to invest in some kind
  of virtual pc maybe ...

 I'm willing to take care of it once you finalize the design.

Hey Karl,

That would be magic. I'll email you tonight


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: another new web site preview

2006-03-14 Thread Richard (koorb)

 about the screenshots if you have the storage I could do that (i know it was
 a joke) but all I need is a screenshot module for python :D my PC at home is
 only 24/7 if it doesn't crash

hmm there's an idea. the best thing is kind of on demand screenshots,
but that would be tricker I suppose. Karl says he's happy to work on it
once we finalise the most.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: another new web site preview

2006-03-14 Thread Richard (koorb)

 As long as you're not using IE no-nos (complex float stuff, fixed
 positioning, etc), it's not that big of a deal to do the IE tweaks.

It is using floats, don't know if it would be considered complex usage
though!

 I find it necessary to have access to IE for testing, as I always forget
 something

I have a remote desktop at work, i'm for ever jumping in to tweak. I
was explaining to a client the other day that an element of there site
didn't look right because I hadn't tested it in IE fully. They didn't
seem to know there were other browsers, so I departed some w3c wisdom.
they though microsoft had invented the web!

Michele Cella wrote:
 I was searching for the same thing, this one is free dunno the final
 result anyway the site is enqueued:

You little gem! I had seen this site some time ago, but I lost it.
Shame it takes so long, trouble I have is the need to tweak, refresh,
repeat until not broken. This is certainly going into del.icio.us :-)

It's good to see IE7 makes some stunning improvements:

IE6  -  http://browsershots.org/job/845502/
IE7  -  http://browsershots.org/job/845503/

thank goodness for their groundbreaking idea of tabbed browsing
otherwise upgrading would be almost pointless! (sorry - I don't like
IE, you may have gathered!)

Thanks all. I will work on this during the week. must sleep now.
g-night!! z ...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TypeError: 'NoneType' object is not callable

2006-03-13 Thread Richard (koorb)

Did we get to the bottom of this? Because this it's happening to me!

Anyone got any advice, here my tg-admin info:

TurboGears 0.9a1
nose 0.8.4
RuleDispatch 0.5a0
setuptools 0.6a10
FormEncode 0.4
cElementTree 1.0.5-20051216
PasteScript 0.4.1
elementtree 1.2.6
simplejson 1.1
SQLObject 0.7.1dev-r1457
CherryPy 2.2.0-beta
TurboKid 0.9.0
PyProtocols 1.0a0
INITools 0.2dev-r1029
PasteDeploy 0.3
Paste 0.3
FormEncode 0.4
kid 0.8
elementtree 1.2.6


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Best way to modify my model?

2006-03-13 Thread Richard (koorb)

I often just do tg-admin sql create over the top, I may be wrong but I
think it has been updating the structure!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TypeError: 'NoneType' object is not callable

2006-03-13 Thread Richard (koorb)

oh hey, just tried easy_install -U to force upgrade 0.9.1 all seems
well!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] another new web site preview

2006-03-13 Thread Richard (koorb)

Hey guys,

In an attempt to improve the web site, I have another mock-up for you
to peruse [1]. Take into account there is some stuff missing, we need
to mention more about the screencasts and whatever, which I seem to
have omitted, but content can be shuffled, added and removed so
comments on the concept - please tell me it's not too influence by ror!
- I have NOT even touched this in internet explorer yet so any problems
there, please let me know and I will cry!

Thinking on the lines of consistent feel in toolbox too - the top bar
inspired by these shots [2] (thanks Ronald)

[1] http://koorb.co.uk/turbogears/preview/
[2] http://www.checkandshare.com/blog/?p=37


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: turbogears-future mailing list?

2006-03-09 Thread Richard (koorb)

+1 good plan


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: turbogears-future mailing list?

2006-03-09 Thread Richard (koorb)


Wolfgang wrote:
 Most people call such a list devel anyway.

 Why not call this list turbogears-devel as every other project does
 this ?

 Leave turbogears list as it is. No need to add  -users to the old one.

I don't think it would confuse anyone, seen as most people interested
in such a list would understand 'future' especially python developers
(from __future__ import amazing-features) Besides every other project
using devel seems like a good reason not to.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: bike shed #2: controllers.py vs. controllers directory

2006-03-08 Thread Richard (koorb)

+1 thumbs up to this idea.

Michele Cella wrote:
 Mike Pirnat wrote:
  +1 for a controllers directory/package, and +1 for doing the same with
  models.  This gives a symmetry to the layout of controllers, models,
  and templates that (at least to me) seems pleasant.
 

 +1.
 That's the first question I asked on this group back on October (IIRC).
 :-)

 If we go down this path IMHO it would also be nice to provide some
 basic conventions (over configuration, rails marketing hype :D), note
 that we should not enforce them, and use a tool like paster to add a
 new controller along with tests (like pylons) for example or a new
 template that extends master.kid and so on.

 IMHO good conventions are really helful to easily learn the best
 practise you should use to manage a project and it's layout while it
 grows up.
 
 Ciao
 Michele


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TG preview site problem

2006-03-08 Thread Richard (koorb)

Reading long lines (too wide) is
 potentially confusing.
I don't think so.

 one can't always please everybody...

That is very true!. It's generally accepted though that the longer a
line of text the harder it is to get to the next line. You need to
increase the leading, space between the lines, as the line get longer.
I believe 12 words per line is about normal. That's my major problem
with liquid layouts, but I also don't like to see wasted space. That
said, I work on a 20 imac, I don't know about other mac users but the
behaviour I adopted with os x was not using windows fully zoomed to the
screen, so my browser window is normally just over 1024 pixels wide
anyway, then I have other windows to the side. For example ... I
realise I am going of on a mind wonder here ... I sometimes use Firefox
with an auto-refresh extension and TextMate next to it, as I write html
Firefox gives me a live preview!

Anyway I am working on a new design, I may have it expandable
up-to-a-point (min-width, though I do not know what to do for IE)

The issue Mike started this thread about is the result of negative
margins I think


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Just to let you know...

2006-03-08 Thread Richard (koorb)

 TurboGears is mentioned at the top of
 the first page of http://www.python.org/
that's wicked - but ... um .. since when did the python web site look
so sexy?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: TG preview site problem

2006-03-07 Thread Richard (koorb)

Hey Mike,

Thanks for that, I did notice the same thing on one of my later
designs.

 This is one of the reasons why I prefer using liquid layout

Yeah, I am looking at liquid designs. There just a little bit harder
with standards ;) but thanks to many wisdomus people and that they like
to share, I may be able to do something nice and liquid!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Ajax library scorecard: Mochikit gets a B+ :-(

2006-03-06 Thread Richard (koorb)

Rico isn't very cross platform, doesn't work in safari!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Some direction on the website design

2006-02-22 Thread Richard (koorb)

 What do you think of something like an animated gif (or flash) that
 shows a snippet of code

as it happens this I had played with this long time ago, nothing to
show for it. I liked what TextMate once had on their home page, tiny
little gifs showing one or two features, I think Karl is right about a
framework being abstract, but some very simple steps showing tg-admin
quickstart and such could work


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Want to help with the new website?

2006-02-21 Thread Richard (koorb)

Hi folks,

This is not complete, but I thought I would throw it out for critics. I
have developed it in Safari and Firefox (Mac) but I believe there are
some bugs in IE. If some one with a windows box and a knowledge of
XHTML/CSS could have a look for me, I would be very much obliged!

All honest comments are welcome. Take a look at it without CSS too, I
would very much appreciate critique on accessibility, usability, and
standards-compliance. (heres looking at you nerkles!)

I hope this has more structure, I havn't done any internal pages yet
but they will have the same header, and some similar but much slimer
download / learning type boxes on the right.

http://koorb.co.uk/turbogears/preview/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: Want to help with the new website?

2006-02-21 Thread Richard (koorb)

Karl Guertin wrote:
 What was wrong with the design everybody agreed on?

Yeah, sorry this isn't meant to be definitive. Just a proposition to
everyone.
I probably should have explained more why I wanted to do something
different.

The design being used on the current /preview (the one we all agreed
on) looses almost all structure as you scroll away from the top, when
the side bar ends and your just sat in a white screen with text
slightly of centre. I know this can be addressed without such a drastic
change, but I started working on an inner page with a smaller header
and it just looked so bland and monochromatic [1] so I had a play
around got some terrible results [2], [3] I kind of missed the feel of
the early designs [4]. So I came up with that which I posted just now
[5].

 Why did the site have to get web 2.0 bandwagon-ified?

Sorry not really intentional - that is to say, I didn't sit there and
think, lets jump on that wagon to the tune of 2.0 but I am very
easily influenced. (be thankful it doen't look just like the rails
page).

If you can just see it for the header and menu. Any web 2.0 specifics
cover up with sticky notes or something. Of the top of my head I'm
thinking maybe the striped background and bright pink text? perhaps the
blank download box and icons, but I think that looks quite striking?

I can re-colour! but structurally don't you think it works better?
getting more of the important information higher up.

 I've got plenty of issues with this design, but I'd like to get those
 out of the way first.

hit me baby! :-)

[1]
http://koorb.co.uk/static/images/tglogos/layouts/blue-light-3-inner.png
[2]
http://koorb.co.uk/static/images/tglogos/layouts/blue-light-3-inner-gear-cropped.png
[3]
http://koorb.co.uk/static/images/tglogos/layouts/blue-light-3-inner-gear.png
[4] http://koorb.co.uk/static/images/tglogos/layouts/layout-1.png
[5] http://koorb.co.uk/turbogears/preview/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: OT - JavaScript UI widgets from Yahoo

2006-02-14 Thread Richard (koorb)


Michele Cella wrote:
 IMHO we could replace our calendar widget (LGPL, and
 Kevin said it was a bit ambiguous) with this one:
 http://developer.yahoo.net/yui/calendar/index.html

 This is also nicer (take a look at the examples), localized and
 maintained by yahoo.

 The old one can still be provided as a Widget plugin.

 What do you think?


+1 I've only had a brief look here, but these look like nice widgets!



[TurboGears] Re: semi-OT: TG on Intel Macs?

2006-02-14 Thread Richard (koorb)

I use an iMac Duo and I have compiled python from source with no
trouble, I have also used MacPython 2.4.1 and TigerPython24Fix from
http://undefined.org/python/ I install TurboGears from SVN and thus far
have had no problems. I have never bothered using python 2.3. It's easy
enough to upgrade - I have never used Fink (I did use darwin port
(http://darwinports.opendarwin.org) for a short time but I prefer to
compile, so I know what is where.)

If you have any problems, let me know.



[TurboGears] Re: semi-OT: TG on Intel Macs?

2006-02-14 Thread Richard (koorb)

Indeed, if I install the distribution from http://undefined.org/python/
it runs under PowerPC however the version I compiled from source
appears to run under Intel (it was also very quick, not 4 minutes
passed from downloading to running $ python)

Bob Ippolito wrote:
 On Feb 13, 2006, at 3:03 PM, isaac wrote:
 Python's sources do not
 compile for Intel out of the box, but we're pretty close to having
 those patches and a universal build ready.



[TurboGears] Re: SystemExit raised: shutting down autoreloader

2006-01-27 Thread Richard (koorb)

Hey Ronald
Worked perfectly thanks, and thanks Ksenia!

Richard

Ronald Jaramillo wrote:
 Hi Richard,
 Sounds like the same problem I'm seeing (check the Bus Error thread),
 Ksenia Marasanova has the following fix (which I haven't tried yet):

  I've tracked it down to  line 119 of pkg_resources.py in setuptools:
  __import__(moduleOrReq)
  It happens when moduleOrReq is 'turbogears.fastdata.templates'
 
  When I import it in advance, and put on the first line of config.py
  import turbogears.fastdata.templates, the error is gone.

 Cheers.
 Ronald


 On Jan 27, 2006, at 11:05 AM, Richard (koorb) wrote:

 
  Right, I'm using a Mac (tried it on 2 different machines) latest SVN
  with both existing and new projects I start the server:
 
  27/Jan/2006:09:38:47 CONFIG INFO Server parameters:
  27/Jan/2006:09:38:47 CONFIG INFO   server.environment: development
  27/Jan/2006:09:38:47 CONFIG INFO   server.log_to_screen: True
  27/Jan/2006:09:38:47 CONFIG INFO   server.log_file:
  27/Jan/2006:09:38:47 CONFIG INFO   server.log_tracebacks: True
  27/Jan/2006:09:38:47 CONFIG INFO   server.log_request_headers: True
  27/Jan/2006:09:38:47 CONFIG INFO   server.protocol_version: HTTP/1.0
  27/Jan/2006:09:38:47 CONFIG INFO   server.socket_host:
  27/Jan/2006:09:38:47 CONFIG INFO   server.socket_port: 8080
  27/Jan/2006:09:38:47 CONFIG INFO   server.socket_file:
  27/Jan/2006:09:38:47 CONFIG INFO   server.reverse_dns: False
  27/Jan/2006:09:38:47 CONFIG INFO   server.socket_queue_size: 5
  27/Jan/2006:09:38:47 CONFIG INFO   server.thread_pool: 0
  Registering Service project: development._http._tcp port 8080 path=/
  27/Jan/2006:09:38:47 HTTP INFO Serving HTTP on http://localhost:8080/
  Got a reply for project: development._http._tcp.local.: Name now
  registered and active
 
  As soon as I visit http://localhost:8080 all I get is a failed page
  and
  this on the terminal
 
  27/Jan/2006:09:38:57 HTTP INFO SystemExit raised: shutting down
  autoreloader
  27/Jan/2006:09:38:57 HTTP INFO CherryPy shut down
 
  Any ideas?
 

 
 Ronald Jaramillo
 mail: ronald AT checkandshare DOT com
 blog: http://www.checkandshare.com/blog



[TurboGears] Re: How to disable html code reformatting by Kid?

2006-01-26 Thread Richard (koorb)


David Stanek wrote:
 there is a property on the Kid serializer that you can set to turn off this
 formatting.

 This may be something to set automatically anyway. It seem like good default
 behavior to not have Kid reformat the document structure.

I completely agree with this, KID/TurboGears should NOT reformat your
code by default, by all means have an easy way to switch it on/off (tg
config file ?) when I write XHTML I want it to be delivered to the
browser just as I wrote it.



[TurboGears] coercing to Unicode !

2006-01-24 Thread Richard (koorb)

So I get this message when I try to *browse* my table in catwalk:

 Fail to load object instance: coercing to Unicode: need string or buffer, 
 NoneType found

though I should tell you that my model is this:

class AddressBook(SQLObject):
_fromDatabase = True
_idName = address_book_id

... don't ask!

I can run select() and get() on the class just fine - it comes back
with the right data - and I can use catwalk to add records and view the
*structure*, just wondered what catwalk needed, should it be possible
to browse from catwalk when using _fromDatabase ?



[TurboGears] Re: coercing to Unicode !

2006-01-24 Thread Richard (koorb)

update; this works fine!

class Customers(SQLObject):
_fromDatabase = True
_idName = customers_id

hehe! so I suppose it is something to do with the format of the mysql
table. A dump says this is the structure of my table:

CREATE TABLE `address_book` (
  `address_book_id` int(11) NOT NULL auto_increment,
  `customers_id` int(11) NOT NULL default '0',
  `entry_gender` char(1) NOT NULL default '',
  `entry_company` varchar(32) default NULL,
  `entry_firstname` varchar(32) NOT NULL default '',
  `entry_lastname` varchar(32) NOT NULL default '',
  `entry_street_address` varchar(64) NOT NULL default '',
  `entry_suburb` varchar(32) default NULL,
  `entry_postcode` varchar(10) NOT NULL default '',
  `entry_city` varchar(32) NOT NULL default '',
  `entry_state` varchar(32) default NULL,
  `entry_country_id` int(11) NOT NULL default '0',
  `entry_zone_id` int(11) NOT NULL default '0',
  `billing_email` text NOT NULL,
  `billing_phone` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`address_book_id`),
  KEY `idx_address_book_customers_id` (`customers_id`)
) TYPE=MyISAM AUTO_INCREMENT=188 ;

I'm not sure which column is likely to tripping up catwalk though!



[TurboGears] Re: a request's journey

2006-01-17 Thread Richard (koorb)

Ah that's beautiful, really useful too!

Ronald Jaramillo wrote:

 Hi,
 I have posted an illustration on my blog (http://
 www.checkandshare.com/blog/?p=34) that tries to describe the way a
 request 'flows' through the TurboGears stack. I plan to use it for my
 presentation (and maybe for the online class as well), so any
 comments regarding it's accuracy or clarity are welcome.

 Cheers.
 Ronald
 
 Ronald Jaramillo
 mail: ronald AT checkandshare DOT com
 blog: http://www.checkandshare.com/blog



[TurboGears] Re: ModelDesigner, drag handle to re-order items gets confused

2006-01-15 Thread Richard (koorb)

For instance, I might have the following code:

class book(SQLObject):
name = StringCol()
pages = MultipleJoin(page,joinColumn='page_id')

class page(SQLObject):
name = StringCol()
book = ForeignKey(book)

in ModelDesigner when you select the page table and hover over the book
*column* the drag handle would appear next to the book *table*

Robin Munn wrote:
 On 1/14/06, Richard (koorb) [EMAIL PROTECTED] wrote:
 
  As trac wont let me post a new ticket I'll mention it here.
 
  If you have a field that has the same name as a table, as you mouse
  over the field the drag handle appears next to the table instead

 When you say the same name, do you mean the same ID attribute? The
 spec says the ID attribute must be unique within a document, so if
 that's what you're doing, I wouldn't be surprised to find more than
 just the drag-handle code getting confused... Or do you mean a
 different attribute, like name=...?
 
 --
 Robin Munn
 [EMAIL PROTECTED]
 GPG key 0xD6497014



[TurboGears] Re: ModelDesigner, drag handle to re-order items gets confused

2006-01-15 Thread Richard (koorb)

 Convention dictate that your classes should be uppercased

Ahh! do you know, I didn't notice that. I do when I write model myself,
thanks!



[TurboGears] [ticket] Catwalk inline releated tables and the Javascript table widget

2006-01-15 Thread Richard (koorb)

I have a table with two relationships, when browsing a single record
and using the very useful reveal feature to see the records in the
relationship;

Using safari:
when I mouse over the menu on the first table to tick columns on or off
the menu for the second table appears, not the one I want.

Using Firefox or Camino:
Exactly the opposite, only the first tables menu pops-up even when
hovering over the second table.

Does that make sense? Also, sorry for keep posting tickets here :-)


Other topics for discussion (still on Catwalk): Why does the remove
buttons appear bellow the edit button rather than beside it? This
increases the height of the row unnecessarily.

On the subject of the remove button, why is it a division symbol?

Last point, sorry to bleat on about the calendar, I realise most people
seem to like the one that has been included in TurboGears, but can the
date(Time)Column be enabled so I can manually type in the date/time?
otherwise I have no practical way to complete the field in Catwalk.

Incidentally the value after entering a date, 2006-05-25 16:19:00 for
example, actually seems to be in the database as 2006-05-25
16:19:00.03! is this an SQLite thing, a Catwalk thing or just a
DateTimeColumn thing?

I don't mean to sound like a complaining git, it's just stuff I'm
coming across as I use it, I really do think you've all done a grand
job with TurboGears :-)



[TurboGears] ModelDesigner, drag handle to re-order items gets confused

2006-01-14 Thread Richard (koorb)

As trac wont let me post a new ticket I'll mention it here.

If you have a field that has the same name as a table, as you mouse
over the field the drag handle appears next to the table instead



[TurboGears] ModelDesigner broken in r512

2006-01-13 Thread Richard (koorb)

Looks like a foreign character in modelDesigner.js, the accented A

Firefox says:

 Error: missing ) after condition
 Source File: 
 http://imacg5.local.:7654/tg_toolbox/designer/javascript/modelDesigner.js
 Line: 1314, Column: 24
 Source Code:
 if(name=='None' ||Â name == '') return;



[TurboGears] Re: Fwd: [mochikit] Port of script.aculo.us

2006-01-13 Thread Richard (koorb)

That's great news. I have often looked at script.aculo.us and stomped
away mumbling to myself that two JS frameworks is just too messy ... I
will take a good look and see what I can do to help.



[TurboGears] Re: project start command and Growl (was: TurboGears new site look - let's get to it!)

2006-01-07 Thread Richard (koorb)


Martina Oefelein wrote:
 python project-start.py || growlnotify -t project stopping -m bye,
 bye...

 This pops up a message when the server stops due to an error during
 autoreload. This way, when I save changed code while the server is
 running, I don't have to watch the terminal window for errors.
 Instead, I can directly switch to the browser, wait a moment, and hit
 reload.

 Of course, this only works on the Mac, and only if you have Growl
 installed. Maybe tg-admin start could check for growlnotify and call
 if automatically?
 
 ciao
 Martina

ooo! now I like the sound of that!



[TurboGears] Re: Growl!

2006-01-07 Thread Richard (koorb)

like what exactly? does it need to be in a specific format?



[TurboGears] Re: project start command and Growl (OSX) or zenity (Linux/Gnome)

2006-01-07 Thread Richard (koorb)

hmm, seems somewhat highjacked. I will post this here anyway

- Designed to fit on 1024 width and centred on the page.
- I know there is still no mailing list signup box, I'm trying to fit
it in.

http://koorb.co.uk/static/images/tglogos/layouts/blue-light-3.png



[TurboGears] Re: TurboGears new site look - let's get to it!

2006-01-05 Thread Richard (koorb)

Just going to throw this on the table quickly for some feedback
http://koorb.co.uk/static/images/tglogos/layouts/blue-light-2.png



[TurboGears] Re: TurboGears new site look - let's get to it!

2006-01-03 Thread Richard (koorb)

[1]  is a slightly different approach with the following provisos;

-  Three steps are just filler ideas, so both text and images should be
improved.
-  Download Now grey box should have relevant information about the
current release.
-  Order and position of elements are initial suggestions only, all
comments welcome

I think however that popular opinion is to a merge of the best from
layouts 1, 2 and 3 [2].
If I get any positive feedback from this design I will work with that
too obviously. I am going to start developing some XHTML layouts soon
to better get an idea of how different pages will work so please
contribute any ideas and comments, positive or otherwise, now.

[1] http://koorb.co.uk/static/images/tglogos/layouts/blue-light.png
[2] http://koorb.co.uk/static/images/tglogos/layouts/



[TurboGears] Re: TurboGears new site look - let's get to it!

2006-01-03 Thread Richard (koorb)

 The titlebar is 1024 pixels wide, but the page body is 800 pixels wide
 (well, about 750 since you're allowing for a vertical scrollbar). Is
 there a reason for this?
(...)
 Actually, I see you've already planned for this eventuality: the
 right-hand side of the titlebar can drop off very neatly, as there's
 about 200 pixels of undifferentiated blue there

I meant to point this out too, it is designed to fit 800x600 but the
title bar would stretch to whatever width the widow is, I may try a
fixed width version and perhaps centre it.

 Regarding the body, the layout kind of swims, I'm missing a grid.
 I move the elements a bit just to anchor everythink:
 http://www.checkandshare.com/images/tg_blue.png

I agree, I like that. What might be nice is to have screen shots on the
home page from OS X, Linux, and I suppose we better have something from
Windows too (why do people use it I can't work it out - please don't
flame :-) This could quickly illustrate our equal opportunity
development!



[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-22 Thread Richard (koorb)

Kevin Dangoor wrote:
 layout 3 has a gray band at the right that is screaming out for
 *something* to happen there. I like the bottom half of layout 3, but
 prefer the top half of layout 2.

 Kevin

Just want to say again that where there is is blank space on my
layouts, I mostly intend for there to be content there. The sidebar on
layout-3 for instance is not meant to be just a block of grey, but
space for content - I just haven't taken the time to write any filler
copy for it.

Right now I'm more concerned with getting toward a general image and
colour that people like, before working to hard on the actual structure
of the content. There are a number of things that need to be done for a
successful redesign, among them; you need a brand: colours, text, image
conventions etc.  Some idea of a site map, so you know what content you
have to play with, then you can look at what needs to be summarised and
brought onto the home page. Not necessarily in that order and ideally
we can have people putting ideas into each aspect.

The way you should construct the site, or the grid, relies on what
information you have, and how you wish to convey it. If you don't have
a great deal to say you would have a simple layout, with emphasis on
pretty graphics and relevant imagery such as the G gear. If you have
much information that needs to be immediately available you need to be
a bit smarter and think about what's most important, what needs to go
above the fold and what goes below. What I mean is you have about 400px
to play with that every desktop resolution will likely see, as it is
our target audience is likely to have far more than that, but that's
the area you would take as being above the fold.

So you have to think about what you want in that area, are you after
drawing people in by promoting the features and pros of turbogears and
giving access to beginner, quick to follow tutorials and screencasts or
do you want to give that area to current users, fastest access to
important sections of the site. To put it another way, are you looking
for the turbogears.com home page to help increase interest and grow the
turbogears community or to be the best resource for turbogears
developers (by which I mean users) chance is that in could be both but
it's something that needs to be considered otherwise you just look
pretty - which don't help no one.

So to sum-up I have left much blank space because I think the
positioning of content is an big think in itself but I will endeavour
to put some copy in to give it more clarity.

Also I have been working on something a little different which I will
post up sooner or later.



[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-22 Thread Richard (koorb)

Don't miss my super interesting post [1] :-)

Kevin Dangoor wrote:
 I haven't been clear on this point, but I should be: I think the front
 page *should* be more about pitching TurboGears than providing info
 for the regular community. I'm thinking that letting a little bit of
 what's going on (...) leak
 out to the front page will help convey that this is an active and
 moving project (...)
 The front page of TurboGears.org absolutely has to sell people on the
 framework, because it will be the landing site for people dropping by
 based on articles, spotting t-shirts, etc.

That's just exactly what I wanted to know. And on the hole I think I
agree with you, as converted turbogearians ( ! ) we should be able to
find our way to a dashboard or indeed a 'spy' page (hmmm!) Just out of
interest is there going to be a difference between turbogears.com and
turbogears.org ? Just to clarify!

 The problem here is that commits, messages, and tickets generally
 don't stand on their own so unless you have a few (3 is generally the
 magic number) it isn't worth the space required to set them up and put
 them in context and they generally wind up just as visual noise.

I completely agree

 If the last commit is weeks in the past, it might say Slow-moving project.

can you imagine that happening? ;-)

 If the last commit is minutes ago, it might say Still under heavy
 development, wait until it settles down.

good points, I think I was going to make another point - though I can't
remember now!

Anyways it looks like we have a good group of people to make a worthy
attempt at this, and indeed the entire project - for me this lively
helpful community is one of the strongest points and well worth
promoting.

[1] http://groups.google.com/group/turbogears/msg/ca83d1b82a28b3b9



[TurboGears] Re: newbie question, meta replace

2005-12-20 Thread Richard (koorb)

http://trac.turbogears.org/turbogears/wiki/DefaultTemplates

Elvelind Grandin wrote:
 Perhaps we should add a little comment explaining some off the things
 in the standard templates?



[TurboGears] Re: shopping cart and catalog system

2005-12-20 Thread Richard (koorb)

Michele Cella wrote:
 I also agree that for example others widgets like a
 TinyMCE/FCKEdiror... should just use entrypoints and be installed from
 a separate egg, the TG distribution should be focused on providing the
 best framework to build all these things.

These are defiantly just niceties (TinyMCE/FCKEdiror) as someone that
would never use an (in-browser) wysiwyg editor for an application it
would be dead weight! something like that should only be brought in on
request, it should be easy to do though!

(looks worried that this thread is now well off track)



[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-20 Thread Richard (koorb)

Just to mention that the gear needs some attention to work at this size
(in layout-3), you loose much detail because it's so subtle and it
gains a much more pronounced outline which gives it something of a
cartoonish look (more like my first attempts ;-)



[TurboGears] Re: Calendar widget

2005-12-19 Thread Richard (koorb)

 Pardon me for jumping in, but I think that retaining two widgets for
 the sample feature is a very bad idea.

Your pardoned, but your more than welcome to jump in :D
I don't think one solution, in such an open ended situation, is
possible.

  each option has pros and cons

I may want to output a calendar that only uses xhtml, no Javascript at
all, if there was only one widget that output a bulky Javascript
implementation what am I meant to offer the users that are using text
browsers? A text box is useless if you are trying to show dates that
are available or unavailable for selection! Another use: a calendar
application may use an xhtml calendar that takes up the best part of
the screen and could be populated by Javascript + JSON / AJAX.

Oh Kay perhaps I am pushing the purpose of form widgets there, but do
you get what I mean. This one widget that itself doesn't work for a
part of my audience and doesn't even fall back to anything useful!



[TurboGears] Re: shopping cart and catalog system

2005-12-19 Thread Richard (koorb)

I would very much like to see generic payment modules. Integration in
to common payment gateways, other than PayPal, coupled with transaction
management?

Could you have a toolbox type of approach to stuff like this? Cart /
Catalogue / Payment?

Also, a little subject jump, a thought that went through my mind
regarding an application vault, is it even possible to consider one day
being able to do something like this:

$ tg-admin vault install tg-shoppingcart

Just a thought ...



[TurboGears] Re: Agreement signed with Prentice Hall to publish a TurboGears book!

2005-12-19 Thread Richard (koorb)

That's fantastic news! Wt, radicalawesomecowabunga, and indeed
yippee!

Jared Kuolt wrote:
 Yes. How totally radicalawesomecowabunga.

 On 12/19/05, Ronald Jaramillo [EMAIL PROTECTED] wrote:
 
  Wt = )!
 
 
  On Dec 19, 2005, at 9:55 PM, Kevin Dangoor wrote:
 
  
   After a month of discussions with two different publishers (both of
   which sounded quite excited about the project), Mark Ramm and I have
   agreed to write a TurboGears book for Prentice Hall. Prentice Hall is
   the largest technical publisher in the world and will provide
   excellent marketing and distribution support for the book. The
   worldwide reach is important, as TurboGears has many users outside of
   the US.
  
   We're working with Mark Taub, who has experience publishing books for
   other open source projects. Mark also worked with Bruce Perens on
   Bruce's series of books at Prentice Hall.
  
   We're grateful for the positive reviews and useful input our proposal
   received from some notable names in the Python world. This project is
   going to be a lot of fun, and we can't wait to get it out there.
   (Please wait a few months for delivery :)
  
   Kevin
  
   --
   Kevin Dangoor
   Author of the Zesty News RSS newsreader
  
   email: [EMAIL PROTECTED]
   company: http://www.BlazingThings.com
   blog: http://www.BlueSkyOnMars.com
 
  
  Ronald Jaramillo
  mail: ronald AT checkandshare DOT com
  blog: http://www.checkandshare.com/blog
 
 
 
 
 
 
 --
 [EMAIL PROTECTED]



[TurboGears] Re: 4 new widgets; attrs now supported

2005-12-19 Thread Richard (koorb)

I was a bit torn in views here, but I see your point. It appears as
quite a different element, similarly if you were to create an auto
complete widget (combo-box style) I wouldn't expect that to be an
option of widgets.SelectTextBox. The way I see it widgets are not a way
to create (x)html tags but abstracted elements that are generally more
like GUI programming like than html

Jorge Godoy wrote:
 Jared Kuolt [EMAIL PROTECTED] writes:

  Where do you draw the line when supporting attributes? We could
  support all given attributes for each element, but I think that lends
  itself to being an incredible headache.
 
  You can currently do this with attrs:
 
  widgets.SelectField(options=options_b,
  attrs={multiple:True, size:10},
  name=Multiple,
  default=[val3,val4])

 Don't you think it is so much difference from one to the other that it is
 worth it?  What other element presents that kind of different behaviour?
 Maybe textarea with one row when compared to another with n rows, but it
 is very uncommon to use a textarea with just one row.

 It is doable with the attrs attribute so it is not all that urgent, but it
 would be more intuitive to have a widgets.ListboxField() with the extra
 attribute, IMHO. 
 
 
 
 -- 
 Jorge Godoy  [EMAIL PROTECTED]



[TurboGears] Re: Combine TG and Subway?

2005-12-19 Thread Richard (koorb)

Michele Cella wrote:
 Personally I don't like CracAjax (at least ATM), to me it seems just
 like writing javascript code into a python file instead of where it
 belongs (a js file):

Here, here!

 JavaScript can be considered a bad or a good language, anyway it's a
 language and you need to use it (on the client side) thus I don't like
 the idea of hiding it in this way, MochiKit is just brilliant IMHO.

Go, go MochiKit

 Anyway that's only my personal opinion as a TG fan. :-)

:-D



[TurboGears] Re: shopping cart and catalog system

2005-12-19 Thread Richard (koorb)

 There no reason to put it in tg-admin (it's not a package manager) when
 we have easy_install. :-)

Good point, I was merely thinking as to how integrated it would be to
turbogears rather than independent apps.

 However, I think something like this could be integrated into the
 Toolbox.  Imagine a section called plugins or extensions in the
 toolbox where you could browse available extensions/plugins

I like that idea but I wouldn't want it to be web based only, I work
for an ISP and would look to roll hosting platforms out automatically
so there would have to be ways to do it programmatically - I suppose
that there would be by definition of it being a turbogears app... :-)

all good thought, sorry for de-railing this thread a bit!



[TurboGears] Re: Email Class:almost done

2005-12-18 Thread Richard (koorb)

Looks like a good idea, well done. Perhaps this is something that could
be built into turbogears?

 Text default - for those pitiful few that can not read html email, I
 would like to produce text.

Some of us *choose* to view only text in our e-mail clients!



[TurboGears] Re: shopping cart and catalog system

2005-12-18 Thread Richard (koorb)

Hi Jeremy,

I should think this would be a popular application. I believe, like
toolbox applications, you can just distribute your app and allow people
to plug-in to it.

 I was wondering if this might be
 something that might have enough general appeal for inclusion in TG

I don't think it's something that needs to be integrate it into
turbogears itself though, it's maybe too specific for a framework. We
could  have a application vault on turbogears.com for purpose specific
applications such as shopping carts and catalogues and blog engines and
such.



[TurboGears] Re: Calendar widget

2005-12-17 Thread Richard (koorb)

 I don't mind which one stays.  If it works on Macs -- I believe that's what 
 you use
 Do you have an alternative browser to test?

I do use Mac, safari normal (though Firefox seems faster, at least on
the javascript side of things, but it just aint as pretty!) so I have
tried it in Firefox and Camino, and yeah it works fine apart from a
slight flicker opening the months/years drop downs.

 complying with their 'copyright' notice on the HTML code seems a bit too
 much to me.  Keeping it with the script or adding it when there's embedded
 data sounds OK, but adding it to each and every HTML page...

sure, perhaps that's not the best one then, I didn't really look too
much in to it to be fair.

I think it depends entirely on the implementation. To make sure we're
all thinking on the same lines; If your creating an application for a
known audience and need fast data entry I can see a need to allow input
in the fastest way, which would be a single text box, and in the format
most natural to the user. But if you are building an international
public web site then it's going to be inanely difficult to build the
entire site so it feels natural to every user. Therefore providing a
globally accessible method to select the date in a way that is very
hard to get wrong, i.e. a Javascript calendar that falls back to select
boxes to remain usable without Javascript, would be, in my opinion, a
reasonable option.



[TurboGears] Re: Kid won't respect encoding

2005-12-17 Thread Richard (koorb)

I have the trouble that kid insists on giving me the loose/transitional
doctype even when I set it to be strict in both child and master.kid's



[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-16 Thread Richard (koorb)

 I do find the logo a little
 large and distracting.  I can't read the content because all I see is
 a giant bright-yellow gear!  If it were scaled down 30-40% I think it
 would be great.

agreed

 I think that the top bar is far too easy to ignore, being gray, and would
 probably look better as a brighter color

also agree

 Could I get a vector outline of the g-gear you're using?
...
 Can I have a gear like the gold one but gray/silver (the one that
 you've already done) and with the TurboGears text (and
 front-to-back...) in red/light blue? :D

I will put up some of the original artwork files so others can have a
play. Regarding different size gears interconnecting (I have some ideas
for 3d animations - trying to get to grips with Blender[1]) it's tricky
because the teeth on the gears have to be same size and spaces - not
easy.

I will try and refine the design a bit and but together some test
templates



[TurboGears] Calendar widget

2005-12-16 Thread Richard (koorb)

I know I am not completely alone on the having problems with the
current calendar widget, this [1] is the JS calendar that was part of
another python-form-widget thing someone posted about. and I personal
think is it much nicer, much more user friendly. Anyone got any reasons
why we choose the one we are using?

[1] http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm



[TurboGears] Re: What does 'kid' stand for?

2005-12-16 Thread Richard (koorb)


Angus Lee wrote:

 I just find this question hard to answer when it was raised by a friend.

... nothing infact!

http://lesscode.org/projects/kid/wiki/KidFaq#why-did-you-name-it-kid

 It was the first word that popped into my head. This project follows a
 time-honored Python tradition of not spending more time than necessary naming 
 a project.



[TurboGears] Re: Calendar widget

2005-12-16 Thread Richard (koorb)

 If I'm looking at it correctly, the user has 2 options: Set 3 seperate
 dropdowns or use the graphical calendar.  For data entry applications
 this is terrible.

I see your point. I thought it was quite user friendly - I wasn't
looking at it from that point of view. well could we have have two
different widgets? or perhaps a javascript hacker could have a go at a
custom one, my experience is limited but with MochiKit things are much
easier. I will give it a go if I ever get time.

¿ Ideal solution is something that is as neat and compact as the one I
suggested but allows text box only entry. I still think it is very user
friendly and accessible - more than the drop downs on the current
calendar not least because they use native GUI drop downs. But in
certain situations a text box is a much better approach. ?



[TurboGears] Re: Calendar widget

2005-12-16 Thread Richard (koorb)

 What problem did you have?

see [1] Apart from the obvious watch the scroll-bar when I first launch
the calendar, on a different view the calendar appears to jump across
the screen. Toward the end I am trying to drag the thing around, and it
leaps up to the top of the web page.

Not gona make a fuss, if everyone else is happy with the current one
then I will just do my own thing. It just feels very clunky to me and
unusable due to the issues seen in [1].

 Not to mention that this one has no today button...  If the user went to
 some other date, he has to navigate back month by month...

Although not obvious on the one I posted if you click the name of the
month on the calendar it goes back to 'today'. but it isn't clear or
logical. Also any date you select in the form elements updates the
calendar 'live' in a similar way to the current one only using native
widgets

[1] http://koorb.co.uk/static/video/calendar.mov



[TurboGears] Re: turbogears + atocha

2005-12-15 Thread Richard (koorb)

http://furius.ca/atocha/test/demo/cgi-bin/query.cgi

Now that's the kind of calendar widget I'm talking about, nice and
simple and works in my browser, and how about the fact that it uses
drop downs too. user-friendly, I think so!



[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-15 Thread Richard (koorb)

A quick play with an idea [1]. The yellow on blue reminds me of
something else, but I can't think what right now - just so you know I
didn't intentionally rip of someone else's colour scheme.

I'm also a little unsure about the lack of colour generally - seen as
the gear and blue splash bar wouldn't appear on every page. But see
what you think. the first layout is here [2]

[1] http://koorb.co.uk/static/images/tglogos/layout-2.png
[2] http://koorb.co.uk/static/images/tglogos/layout.png



  1   2   >