[turbogears-commits] [1893] trunk/turbogears/command/base.py: merge 1892 from 1.0

2006-09-17 Thread dangoor
Title: [1893] trunk/turbogears/command/base.py: merge 1892 from 1.0 Revision 1893 Author elvelind Date 2006-09-17 17:05:16 -0500 (Sun, 17 Sep 2006) Log Message merge 1892 from 1.0 Modified Paths trunk/turbogears/command/base.py Diff Modified: trunk/turbogears/command/base.py (1892

[turbogears-commits] [1894] branches/1.0/turbogears/qstemplates/qsbase/+package+/static/css: fix #1113

2006-09-17 Thread dangoor
Title: [1894] branches/1.0/turbogears/qstemplates/qsbase/+package+/static/css: fix #1113 Revision 1894 Author elvelind Date 2006-09-17 17:43:12 -0500 (Sun, 17 Sep 2006) Log Message fix #1113 Modified Paths branches/1.0/turbogears/qstemplates/qsbase/+package+/static/css/style.css

[tg-tickets] Re: [TurboGears] #1079: Toolbox doesn't work with quickstarted SQLAlchemy+identity-project

2006-09-17 Thread TurboGears
#1079: Toolbox doesn't work with quickstarted SQLAlchemy+identity-project -+-- Reporter: joshua |Owner: elvelind Type: defect | Status: closed Priority: normal |Milestone: 1.1

[TurboGears] Re: Kid Cheat Sheet

2006-09-17 Thread Italo Maia
Sad the image resolution is so low, but great stuff! --~--~-~--~~~---~--~~ 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

[TurboGears] Re: RDBMS vs ODBMS

2006-09-17 Thread GinTon
I received the following answer of Eric Viara, EyeDB.org: We planned to introduce soon a plugin mechanism to facilitate the way to write language bindings such as PHP5, Python, PERL and so on. But we do not know yet if the Python binding will be written by the core staff. We do not plan to

[TurboGears] Re: New TurboGears installer, please test

2006-09-17 Thread Michele Cella
Jorge Godoy wrote: Rezand [EMAIL PROTECTED] writes: Yet, it appears to have installed python to /usr/bin and /usr/lib. As a result, when I try to use any of the turbogears installers, I get an error (pasted at the end of this post) as it tries to install to the site-packages directory

[TurboGears] Re: Is there default sqlalchemy identity without ActiveMapper?

2006-09-17 Thread Olli Wang
thanks, Ksenia. I just write a default identity model with assign_mapper by ref the active_mapper version, but I'm very new to SA, so if someone would help me to check this I'd be very appreciative. - from datetime import datetime from sqlalchemy import * from sqlalchemy.ext.assignmapper import

[TurboGears] Re: Error reporting...

2006-09-17 Thread Elvelind Grandin
On 9/16/06, Matt Good [EMAIL PROTECTED] wrote: Karl Guertin wrote: On 9/15/06, Adam Jones [EMAIL PROTECTED] wrote: I am not familiar with Django's error reporting. Could you provide a link or description? You get a nicely formatted error page showing the line of code where the

[TurboGears] Custom Identity, how to?

2006-09-17 Thread [EMAIL PROTECTED]
I read that in order to extend identity or have custom identity models I would have to use extend SO-provider and use subclassing. I took a look at Fasttrack and this is also what they did. But I also took a look at the latest model.py which seems to natively support user attribute extensions.

[TurboGears] Problem with to-do list tutorial and MySQL

2006-09-17 Thread codefire
Hi, I saw in the old posts that there seems to be an extra line of code required in both the tutorials on the TurboGears website. The posts relating to this are one year old (and are closed) so I'm posting here. If you are running the todo list tute with MySQL you get the folloowing when you

[TurboGears] TG/MysqlDB OS X 10.4 (Intel)

2006-09-17 Thread [EMAIL PROTECTED]
I guess this is more of a MySQLDB Question, I am trying to use MySQL with TurboGears on a Mac Pro. and I get this error when I try: import MySQLdb ImportError: Inappropriate file type for dynamic loading I get the same error when running tg-admin sql create I installed the pkg from

[TurboGears] help with identity login stuff

2006-09-17 Thread [EMAIL PROTECTED]
Hi I've followed the identity tutorial, and also took a look at the Fasttrack code. I can't seem to be able to log-in and be authenticated properly. I used catwalk to populate an admin user. I try to login with proper credentials but the page always still shows me as a guest

[TurboGears] TurboGears Outsourcers/Consultants?

2006-09-17 Thread Conor O'Neill
Hi, Our company is currently in the process of speccing a new web application. We are looking to get a proof of concept prototype built by external developers and ideally we'd like that to be done using TurboGears. The application is concerned with the aggregation and manipulation of specific

[TurboGears] Does anyone deploy successfully on Bluehost?

2006-09-17 Thread Olli Wang
I already could let my tg-app run, but I still have no idea how to let people connect my site. RewriteRule to a paticular port won't work and there's no fastcgi, too. their supporter told me there's no way to deploy TG or CherryPy site on their host, but I saw someone deploy successfully on TG's

[TurboGears] Re: Does anyone deploy successfully on Bluehost?

2006-09-17 Thread Kevin Dangoor
On Sep 17, 2006, at 2:00 PM, Olli Wang wrote: I already could let my tg-app run, but I still have no idea how to let people connect my site. RewriteRule to a paticular port won't work and there's no fastcgi, too. their supporter told me there's no way to deploy TG or CherryPy site on their

[TurboGears] Re: Kid Cheat Sheet

2006-09-17 Thread Italo Maia
I believe that too rsrsr. But my firefox is not showing the svg image properly. The text is all mixed up! Is it showing ok there? My Firefox is the 1.5.0.7v --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: Custom Identity, how to?

2006-09-17 Thread Karl Guertin
On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is the old way now deprecated? Can I just add more variables to the 'user' class in model.py if i wanted to add a picture field for instance? You can either extend or just add fields. I personally just add fields.

[TurboGears] Re: Kid Cheat Sheet

2006-09-17 Thread Jorge Godoy
Italo Maia [EMAIL PROTECTED] writes: I believe that too rsrsr. But my firefox is not showing the svg image properly. The text is all mixed up! Is it showing ok there? I use inkscape for SVG... -- Jorge Godoy [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You

[TurboGears] Re: Does anyone deploy successfully on Bluehost?

2006-09-17 Thread Olli Wang
Kevin Dangoor wrote: On Sep 17, 2006, at 2:00 PM, Olli Wang wrote: I already could let my tg-app run, but I still have no idea how to let people connect my site. RewriteRule to a paticular port won't work and there's no fastcgi, too. their supporter told me there's no way to deploy

[TurboGears] Re: Error reporting...

2006-09-17 Thread Elvelind Grandin
On 9/17/06, Matt Good [EMAIL PROTECTED] wrote: Elvelind Grandin wrote: On 9/16/06, Matt Good [EMAIL PROTECTED] wrote: Karl Guertin wrote: On 9/15/06, Adam Jones [EMAIL PROTECTED] wrote: I am not familiar with Django's error reporting. Could you provide a link or

[TurboGears] Re: help with identity login stuff

2006-09-17 Thread [EMAIL PROTECTED]
I figured it out. I needed to add: identity.soprovider.model.user=x.model.User etc. :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to

[TurboGears] @validate vs. SQLAlchemy: problem with strange tracebacks

2006-09-17 Thread Jan Niklas Fingerle
Hi, I'm using TurboGears 1.0b1. I've run into a problem when using validation with SQLAlchemy. Test cases: SQLObject: (1) I've quickstarted a project testerrso using SQLObject and without identity. (2) I've changed class Root in controllers.py to: class Root(controllers.RootController):

[TurboGears] Re: @validate vs. SQLAlchemy: problem with strange tracebacks

2006-09-17 Thread Ksenia Marasanova
You have tg_error in first example and tg_errors in second example, I think this is the problem. Ksenia. On 9/17/06, Jan Niklas Fingerle [EMAIL PROTECTED] wrote: Hi, I'm using TurboGears 1.0b1. I've run into a problem when using validation with SQLAlchemy. Test cases: SQLObject: (1)

[TurboGears] Re: @validate vs. SQLAlchemy: problem with strange tracebacks

2006-09-17 Thread Jan Niklas Fingerle
Hi, Jan Niklas Fingerle wrote: SQLAlchemy: (1) I've quickstarted a project testerrsa using SQLObject and s/SQLObject/SQLAlchemy/ sorry, --Jan Niklas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: Does anyone deploy successfully on Bluehost?

2006-09-17 Thread John J Lee
On Sun, 17 Sep 2006, Olli Wang wrote: I already could let my tg-app run, but I still have no idea how to let people connect my site. RewriteRule to a paticular port won't work and there's no fastcgi, too. their supporter told me there's no way to deploy TG or CherryPy site on their host, but

[TurboGears] Re: @validate vs. SQLAlchemy: problem with strange tracebacks

2006-09-17 Thread Jan Niklas Fingerle
Hi, Ksenia Marasanova wrote: You have tg_error in first example and tg_errors in second example, I think this is the problem. yes, it seems i misspelled it when creating the small test cases, but no, it doesn't solve the problem... :-( Cheers, --Jan Niklas

[TurboGears] how to style form widgets?

2006-09-17 Thread [EMAIL PROTECTED]
I went through the form widgets but it doesn't seem like I can template the form elements. Or can I? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to

[TurboGears] How to hide all the parameters in the URI

2006-09-17 Thread [EMAIL PROTECTED]
Is it possible to hide the parameters passed to the URI? And yet be able to use those parameters as input? So instead of seeing this: localhost:8080/index?p1=0p2=0... This would be displayed as: localhost:8080/index --~--~-~--~~~---~--~~ You received this

[TurboGears] Re: how to style form widgets?

2006-09-17 Thread Jorge Godoy
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: I went through the form widgets but it doesn't seem like I can template the form elements. Or can I? You can. Just pass a template when instantiating the widget or subclass it and change its template. -- Jorge Godoy [EMAIL PROTECTED]

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Jorge Godoy
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: Is it possible to hide the parameters passed to the URI? And yet be able to use those parameters as input? So instead of seeing this: localhost:8080/index?p1=0p2=0... This would be displayed as: localhost:8080/index Use POST instead of GET.

[TurboGears] Re: targeting of widget labels with CSS - patch coming soon

2006-09-17 Thread isaac
Hi, A patch for this is posted, #1116: http://trac.turbogears.org/turbogears/ticket/1116 it's against the trunk as it was 10 minutes ago. HTH! --isaac --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread [EMAIL PROTECTED]
How do I do a post redirect? This is the code I have now but it seems to do a get: @expose() def page(self, *args, **kw): redirectParams=? for param in kw: redirectParams+=param+=+kw[param]+ raise

[TurboGears] an ERP application

2006-09-17 Thread Wektor
Hi, im thinkimg about building an open source modular ERP application with TG. I did some analisis work and its a huge project so im looking for support and comments about this idea. Wektor --~--~-~--~~~---~--~~ You received this message because you are

[TurboGears] Forms identity, possible to log somebody in in one step?

2006-09-17 Thread [EMAIL PROTECTED]
I got my new user signup stuff working. I also got the login process working, but I can't seem to tie them together in one step. If user signs up and form is validated with an okay, they should automatically be logged in. Otherwise, they shouldn't. Looking at the default login code it seems

[TurboGears] Re: Forms identity, possible to log somebody in in one step?

2006-09-17 Thread [EMAIL PROTECTED]
A simliar question, if the log-in authentication fails, how can I tell if the username failed or the password failed? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Tim Lesher
On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How do I do a post redirect? User agents aren't allowed to automatically fetch a resource with any method other than HEAD or GET, without user intervention (see RFC 2616). What's the reason you need to hide the parameters? Knowing this

[TurboGears] Re: Forms identity, possible to log somebody in in one step?

2006-09-17 Thread Jorge Godoy
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: A simliar question, if the log-in authentication fails, how can I tell if the username failed or the password failed? You don't want to give that kind of information. It leaks too much information for an attacker. If he doesn't know what failed he

[TurboGears] Re: Forms identity, possible to log somebody in in one step?

2006-09-17 Thread Jorge Godoy
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: If user signs up and form is validated with an okay, they should automatically be logged in. Otherwise, they shouldn't. Hmmm... This is one of the approaches, yes. There are other such as requiring some sort of approval for the subscription,

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Julio Oña
why not just do a return? instead the raise? @expose()def page(self, *args, **kw):redirectParams=?for param in kw:redirectParams+=param+=+kw[param]+ return page2(redirectParams)RegardsOn 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:How do I do a post redirect?This is the code I have now

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Julio Oña
Sorry I've missed a small detail: return page2(**redirectParams)On 9/17/06, Julio Oña [EMAIL PROTECTED] wrote:why not just do a return? instead the raise? @expose() def page(self, *args, **kw):redirectParams=?for param in kw:redirectParams+=param+=+kw[param]+ return

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Jorge Godoy
Tim Lesher [EMAIL PROTECTED] writes: User agents aren't allowed to automatically fetch a resource with any method other than HEAD or GET, without user intervention (see RFC 2616). They shouldn't, but that's not what happens. Usually using GET wouldn't modify anything and using POST would,

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Jorge Godoy
Julio Oña [EMAIL PROTECTED] writes: why not just do a return? instead the raise? He probably want the URL changed... I believe it is a multi-page form, but Tim suggested a different thing. Lets see what the problem is when the OP answers. :-) -- Jorge Godoy [EMAIL PROTECTED]

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Adam Jones
Tim Lesher wrote: On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How do I do a post redirect? User agents aren't allowed to automatically fetch a resource with any method other than HEAD or GET, without user intervention (see RFC 2616). What's the reason you need to hide the

[TurboGears] Re: Forms identity, possible to log somebody in in one step?

2006-09-17 Thread Tim Lesher
On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: A simliar question, if the log-in authentication fails, how can I tell if the username failed or the password failed? Unfortunately, Identity makes it really hard to do this--the provider is defined as returning either the identity, or

[TurboGears] Re: an ERP application

2006-09-17 Thread pythonwin
Hello! An idea is good and executable, but requires heap of time. --- Привет! Идея хорошая и выполнимая, но требует много времени. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread Tim Lesher
On 9/17/06, Jorge Godoy [EMAIL PROTECTED] wrote: Tim Lesher [EMAIL PROTECTED] writes: User agents aren't allowed to automatically fetch a resource with any method other than HEAD or GET, without user intervention (see RFC 2616). They shouldn't, but that's not what happens. Usually

[TurboGears] Re: Forms identity, possible to log somebody in in one step?

2006-09-17 Thread [EMAIL PROTECTED]
Hi Tim, How would I check on failure? Do you have code? All, I am looking for a direct login directly following a signup registration. Similiar to http://youtube.com/signup. Also another strange thing while looking at the default login code, looks like the user_name and password parameters

[TurboGears] Re: How to hide all the parameters in the URI

2006-09-17 Thread [EMAIL PROTECTED]
Thanks for the replies guys. Here is what I was trying to do: I'm working on a login/signup thing similiar to http://youtube.com/signup. Originally I had the login page at localhost:8080/l/login. (since my site is complex, I didn't want too many pages/controllers at the root level). An alias I

[TurboGears] OT: Nginx wiki

2006-09-17 Thread Cliff Wells
Hey, Sorry for the OT post, but I know some of you are interested in deploying TurboGears behind Nginx. If so you may want to visit http://wiki.codemongers.com/Nginx Most of the documentation has been translated (some of it, ahem... loosely), but you'll find this to be the best place to