[TurboGears] tg-admin broken on Windows

2005-12-21 Thread Dan Jacob
When running any tg-admin command: TurboGears 0.9a0dev-r1 command line interface Usage: C:\Python24\Scripts\tg-admin-script.py [command] [options] Available commands: Traceback (most recent call last): File C:\Python24\Scripts\tg-admin-script.py, line 7, in ? sys.exit( File

[TurboGears] Re: Widgets and client-side validation

2005-12-21 Thread Alvin Wang
I think that using JSON for simple validation would be a waste. However, you could have some cool cascading dropdowns. Eg] I pick California and all the cities in CA are in the next dropdown for me. Autocompletion is also cool http://trac.mochikit.com/wiki/AutoComplete I think it should be an

[TurboGears] What happens if I replace Identity

2005-12-21 Thread Alvin Wang
Short Question If I write my own security layer, will I lose anything? forms, widgets, catwalk? Thanks Alvin Long explanation No offense to Jeff - As mentioned, I just want to do things differently. http://nerd.newburyportion.com/2005/11/creating-your-own-identity-model I was looking through

[TurboGears] Get a CALL-CENTER JOB WORK FROM HOME

2005-12-21 Thread Softcall Services
Yes it is true. You can get a CALL-CENTER JOB and WORK FROM HOME. Work for an upcoming Call Center. NO LIMITATIONS - Location no bar (Work from Home/Office/Cyber-Café). - Language no bar (Work in any Language). - Qualification no bar. - Experience no bar. - Timing no

[TurboGears] Re: PATCH - HTML email from TG

2005-12-21 Thread Alvin Wang
That thread was from way before I started using TG. That is why I suggested a Wiki page. I have read some of the old threads but there are a lot of them. http://www.turbogears.org/community/contributing.html did point to http://www.python.org/peps/pep-0008.html A synopsis would be nice.

[TurboGears] Problems updating to latest svn version

2005-12-21 Thread jemi
I have installed a 0.8x TG on debian and began using the latest svn version instead a few weeks ago. Last night I spend two hours trying to make the latest checkout work properly. Many problems have been reported in this list concerning tg-svn updates and i was able to get around some of the

[TurboGears] Re: EntryPoints [was: shopping cart and catalog system]

2005-12-21 Thread Elvelind Grandin
As of now it only has the turbogears.command entrypoint. Soon it will also have turbogears.toolboxcommands. On 12/21/05, Alvin Wang [EMAIL PROTECTED] wrote: Does TG have a defined set of entrypoints for Widgets, toolbox, modules, etc? Thanks Alvin -- cheers elvelind grandin

[TurboGears] In-browser wysiwyg editor (was shopping cart and catalog system)

2005-12-21 Thread Evan Monroig
On 12/21/05, Richard (koorb) [EMAIL PROTECTED] wrote: 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

[TurboGears] Re: Installing .9

2005-12-21 Thread Lee McFadden
Just FYI, and so people might find this on the list in the future: To install turbogears 0.9 from SVN follow the instructions on the Contributing page[1]. There are some caveats and an extra requirement (RuleDispatch) but overall it's a fairly simple process. Hope this helps, and I hope I

[TurboGears] Re: Problems updating to latest svn version

2005-12-21 Thread Lee McFadden
On 12/21/05, jemi [EMAIL PROTECTED] wrote: Can someone _please_ give a more detailed instruction how to make the latest svn version work? Perhaps with fallback instructions what has to be removed before the installation if something goes unexpectedly wrong? I would like to spend my spare

[TurboGears] Re: Problems updating to latest svn version

2005-12-21 Thread Lee McFadden
Oh, and when I say nowhere near stable I mean that in terms of the API. When it's up and running and serving pages I've not encountered a problem with it so far.

[TurboGears] Re: Problems updating to latest svn version

2005-12-21 Thread Jorge Godoy
jemi [EMAIL PROTECTED] writes: Can someone _please_ give a more detailed instruction how to make the latest svn version work? Perhaps with fallback instructions what has to be removed before the installation if something goes unexpectedly wrong? What is happening on your installation? What

[TurboGears] Re: patch to identity module to allow md5 and sha hashing of passwords

2005-12-21 Thread reflog
Nice stuff, i've done somthing similar with unix 'crypt' but this is done way cleaner. anyhow, it could be rather easy to secure things abit, and encrypt the password before transmittion using javascript clientside, there are implementations of sha and md5 in Dojo for example...

[TurboGears] Re: Problems updating to latest svn version

2005-12-21 Thread jemi
I tried every hint i found posted in this group and was not able to run tg-admin in the end. I just tried it for a very last time - and it seems to be functional somehow. May be some hint did the trick - allthough there have been errors... perhaps the removal of some of the site-packages was the

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Kevin Dangoor
Hi Peter, On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: I think combining Subway and TG under the TG name would end the web framework wars. As of right now (I haven't talked to anyone related to TG about these ideas), I would propose the following: Thanks for the detailed proposal! This

[TurboGears] [subway] integration mechanics

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: - Do the merge as patches and changes to TG to integrate some of Subway's features into TG rather than break complete TG compatibility and use a new codebase, as TG is far more popular and as such should not have any gigantic sweeping changes.

[TurboGears] Re: mod_python

2005-12-21 Thread Damjan
Harmen, usually this happens when both Python (or a module) and Apache (or a module) are linked to the same library but different version (or even different compile options). One example is expat, I'm sure Apache has it's own expat version and it's hard to make it compile with the system

[TurboGears] [subway] form handling

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: - Integrate Subway's form handling. I think Subway's form handling system is innovative and a very productive way of validating forms. TG seems to be a bit lacking in form validation, anyway, so I think this won't be too controversial. This

[TurboGears] [subway]

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: - CherryFlow would be a quick addition to TG that wouldn't require much else other than some refactoring and some documentation. I have only done a little reading about CherryFlow, but I am certainly familiar with the idea of using continuations

[TurboGears] [subway] controllers and the mounting thereof

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: - Change TG's controller style slightly. In Subway, we opted for multiple .py files with functions rather than classes with methods. This is _not_ the big picture, however. The important thing was that Subway automatically assembled the tree of

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: - Templating. I cannot stress enough how important it is for TG to emphasize ONE and ONLY ONE templating language (we don't want another templating war). I also feel that Cheetah is far superior to Kid in terms of performance, extensibility,

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Sylvain Hellegouarch
Hi Kevin, As I alluded earlier in the thread, I *do* plan to have a way to plug in a different template system, but primarily for the purpose of backwards compatibility and easier transition to TurboGears. I like the sound of that idea since it has been the core idea of CherryPy itself

[TurboGears] [subway[ Paste integration

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: - Full integration with Python Paste could be a good idea, too. Subway used to do it, but Paste was changing too quickly for us to keep up, and we haven't had support for it for a while. I believe that the problem with Paste Deploy integration

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-21 Thread Greg Dean
What is important is that there is just enough content on the frontpage to know what we are talking about, and that it takes no more than one or two clicks to go to the information (a longer featurepresentation, a wiki, the tutorials, download, trac, etc.)Evan Oh yes, this is absolutely true.

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Ian Bicking [EMAIL PROTECTED] wrote: Again, it has something to do with work flow -- htmlfill is written with designers in mind, while widgets are more programmer-centric. There should be room for both techniques, without trying to encorporate both cases into the same interface.

[TurboGears] Re: [subway] controllers and the mounting thereof

2005-12-21 Thread Justus Pendleton
In gmane.comp.web.turbogears, Dangoor wrote: On 12/20/05, Peter Hunt [EMAIL PROTECTED] wrote: class MyRoot(controllers.Controller): mount_path = / # methods would go here I'd rather see Routes integration than something like this. From the looks of

[TurboGears] welcome #900!

2005-12-21 Thread Kevin Dangoor
I don't know who you are, but hi there! to the 900th member of this Google group! In other news, we've also served up north of 75,000 eggs. Had these eggs been laid by real pythons, this would've taken about 1,000 of them! I'm pretty sure that TextDrive wouldn't want 1,000 pythons in their data

[TurboGears] Re: Calendar widget

2005-12-21 Thread Kevin Dangoor
On 20 Dec 2005 18:31:16 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: Kevin Dangoor [EMAIL PROTECTED] writes: I hadn't followed this thread closely enough to know which one it was that worked with Safari (there were lots of references to the first choice or the 2nd). That was why I said

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Sylvain Hellegouarch
Keep in mind, though, that you'll likely miss out on the other cool stuff like widgets i18n. The ultimate experience would to be able to switch any layer of TG to replace by another that respects the same API :) What I'm dreaming? - Sylvain

[TurboGears] Re: Widgets and client-side validation

2005-12-21 Thread Michael Schneider
Dan, I still have not ventured into widgets yet. I watched the devcast, and will start next week. They seem to be very configurable. It would be nice to keep validation as a plug point in the widgets. You could plug validation into the widget: - pure client side (nice when you need to

[TurboGears] Re: welcome #900!

2005-12-21 Thread Jared Kuolt
I respect you and all, but you're a dork. :P On 12/21/05, Kevin Dangoor [EMAIL PROTECTED] wrote: I don't know who you are, but hi there! to the 900th member of this Google group! In other news, we've also served up north of 75,000 eggs. Had these eggs been laid by real pythons, this

[TurboGears] Re: welcome #900!

2005-12-21 Thread David Guaraglia
LMAO!!! Really, ROFL, LMAO, LOL, et al... :P Jared Kuolt wrote: I respect you and all, but you're a dork. :P On 12/21/05, Kevin Dangoor [EMAIL PROTECTED] wrote: I don't know who you are, but hi there! to the 900th member of this Google group! In other news, we've also served up north

[TurboGears] Re: Complex KID templates with py:match.

2005-12-21 Thread Kevin Dangoor
On 12/20/05, Matthew Bevan [EMAIL PROTECTED] wrote: I've been working away on a content management system and ran into a problem with Kid: py:match templates are not themselves matched. Dug up the following Trac ticket and fixed it on my local copy. Should it be fixed in the TurboGears

[TurboGears] Re: FileUpload and form enctype

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Dan Jacob [EMAIL PROTECTED] wrote: OK, I've modified the TableForm class. If a FileField is in the widget list, the enctype is automatically set to multipart/form-data. And there was much rejoicing! (Yay) Kevin -- Kevin Dangoor Author of the Zesty News RSS newsreader email:

[TurboGears] Re: Get a CALL-CENTER JOB WORK FROM HOME

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Softcall Services [EMAIL PROTECTED] wrote: Yes it is true. You can get a CALL-CENTER JOB and WORK FROM HOME. Work for an upcoming Call Center. Gee, that's swell. Apply for the job Work for a NewYork, USA based Mortgage Broker to earn more than Rs 20,000/-p.m. Wow.

[TurboGears] Re: PATCH - HTML email from TG

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Leandro Lucarella [EMAIL PROTECTED] wrote: Alvin Wang, el mi�rcoles 21 de diciembre a las 05:38 me escribiste: I am pretty new to TG and Python. I am not familiar with the naming convention or how the docutils thing works. If there is an official naming convention for TG,

[TurboGears] Re: EntryPoints [was: shopping cart and catalog system]

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Elvelind Grandin [EMAIL PROTECTED] wrote: As of now it only has the turbogears.command entrypoint. Soon it will also have turbogears.toolboxcommands. how about turbogears.toolbox.tools? The turbogears.widgets entry point will point to modules (so you don't have to explicitly

[TurboGears] Re: welcome #900!

2005-12-21 Thread sergio
Jared Kuolt wrote: I respect you and all, but you're a dork. :P up in here.. that is a compliment.. -- ___ sergio t. ruiz red red design 419.207.3927 www.redreddesign.com

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-21 Thread Karl Guertin
On 12/21/05, Richard (koorb) [EMAIL PROTECTED] wrote: What specifically do you think is like the Firefox page, I do have a habit of drawing inspiration from things I've seen! I've blocked out your page [1] and the firefox product page [2] (http://mozilla.com/firefox). Your grid is (consciously

[TurboGears] Re: Get a CALL-CENTER JOB WORK FROM HOME

2005-12-21 Thread Jared Kuolt
If anyone is looking at this group via a mail service, make sure to mark these fun mailings as spam. On 12/21/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 12/21/05, Softcall Services [EMAIL PROTECTED] wrote: Yes it is true. You can get a CALL-CENTER JOB and WORK FROM HOME. Work for an

[TurboGears] Re: HTTP DIGEST AUTH

2005-12-21 Thread Alvin Wang
It is on todo list for identify but is currently available for cherrypy http://www.cherrypy.org/wiki/rfc2617

[TurboGears] Re: PATCH - HTML email from TG

2005-12-21 Thread Alvin Wang
Cool, laziness comes into effect again and I will leave it. I have a lot more code to write. thanks Alvin

[TurboGears] Re: Problems updating to latest svn version

2005-12-21 Thread Kevin Dangoor
This one is explainable: tg-admin went through a change recently where it picks up its command via a setuptools EntryPoint. This allows you to easily create your own additions to tg-admin! But, to make it work, the egg-info needs to be regenerated. python setup.py develop would do that. Kevin

[TurboGears] Re: Widgets and client-side validation

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Dan Jacob [EMAIL PROTECTED] wrote: What are people's thoughts on adding automatic JavaScript validation to widgets ? There are two possibilities here: 1. The old-fashioned way. Basically alert boxes are used to display error messages (though other methods are possible).

[TurboGears] How *I* do form validation (request for comments)

2005-12-21 Thread Guyon Morée
After trying out differen form validation methods I settled on the following: @turbogears.expose(html=snippets.templates.register, validators=validations.RegistrationValidation()) def register(self, **kw): if kw: # user has entered form fields if

[TurboGears] Re: Using Django models in TurboGears

2005-12-21 Thread Kevin Dangoor
On 12/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The only trouble I am having has to do with SQLObjects licensing (since python's bytecode generation is compiling in my view) and this leaves things ambiguous with any project code generated (as far as SQLObjects LGPL licensing).

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Peter Hunt
Actually, I think that's a bad idea. Front-to-back frameworks are all about consistency and One Way to Do It. By encouraging pluggable components, this concept would be ruined, IMO. Sounds like you want to write a CherryPy generic template API. Peter Hunt

[TurboGears] Modules - Is this the way it is?

2005-12-21 Thread Alvin Wang
I am planning on doing a lot of coding over Christmas. A mail list system, Flickr based photo album, etc. If I could write them in a way that it would be easy for other people to integrate, I would be happy to donate. My understanding - please correct Naming Convention/Coding style

[TurboGears] Re: tasty: a REST tagging engine built on turbogears

2005-12-21 Thread anders pearson
Brian Beck [EMAIL PROTECTED] writes: I'm ready to start integrating Tasty into some of my applications, but it's not as easy as I expected. An example of integrating it into a simple TurboGears app would be appreciated! I've tried a few times now without much luck. sorry it took me a while

[TurboGears] Re: tasty: a REST tagging engine built on turbogears

2005-12-21 Thread Brian Beck
integrating tasty into another application should be straightforward but not necessarily easy. that's the tradeoff for being usable from other languages. it basically involves constructing some urls and making HTTP requests. the client implementations page in the wiki has some sample code.

[TurboGears] [0.9] widget suggestion for sample

2005-12-21 Thread Michael Schneider
Can sample be made to return a list, it will be very useful to have several samples for some widgets. Thanks Mike

[TurboGears] mod_python +tg -apache hangs on some requests

2005-12-21 Thread Tim Diggins
Hi - I've got tg working with some of my work and I wanted to see how I would deploy it under mod_python. I've used mod_python a bit before. I've got it partly working, but it only works for a controller with no template defined: @turbogears.expose() def something(self, *args):

[TurboGears] Re: EntryPoints [was: shopping cart and catalog system]

2005-12-21 Thread Elvelind Grandin
On 12/21/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 12/21/05, Elvelind Grandin [EMAIL PROTECTED] wrote: As of now it only has the turbogears.command entrypoint. Soon it will also have turbogears.toolboxcommands. how about turbogears.toolbox.tools? hm. yes. that would be just as

[TurboGears] Re: welcome #900!

2005-12-21 Thread [EMAIL PROTECTED]
I want some of that your smoking ;)

[TurboGears] Re: What does tg-admin update do?

2005-12-21 Thread Guyon Morée
!!!WARNING!!! tg-admin update does kill your files, or i did something wrong i'm so happy i made a backup

[TurboGears] change the DOCTYPE

2005-12-21 Thread mtg
Moin, I have a css stylesheet which works with !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN but not with !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd;. Is it possible to change the doctype in turbogears? Many thanks Matthias

[TurboGears] Re: Widgets and client-side validation

2005-12-21 Thread Jared Kuolt
On 12/20/05, Alvin Wang [EMAIL PROTECTED] wrote: Coincidentally, I have a drop in javascript library that I was planning on modifying when the formencode devcast was done. I don't understand the form stuff yet. I glanced at the Toasty Goat code and I might be able to figure it out from

[TurboGears] copying a SQLObject.

2005-12-21 Thread sergio
i am building some test data for my app, and i have a object called Opportunity since it is an extensive object, i just populated one in phpmyadmin (using mysql) and called it.. i would like to must make copies of the entry so i can edit small pieces in phpmyadmin to make them make

[TurboGears] Attaching CatWalk to my document tree locks my DB.

2005-12-21 Thread Matthew Bevan
Howdy! I've posted a bug in trac: http://trac.turbogears.org/turbogears/ticket/249 It seems that if I attach CatWalk to my application my database becomes permanantly locked - likely due to a mismatched hub.begin() and hub.commit()/hub.rollback() pair. As a temporary solution I have

[TurboGears] Re: What does tg-admin update do?

2005-12-21 Thread Elvelind Grandin
if it does then that's a bug. what exactly did it do? and what did you do? did you tell it to overwrite your files? On 12/21/05, Guyon Morée [EMAIL PROTECTED] wrote: !!!WARNING!!! tg-admin update does kill your files, or i did something wrong i'm so happy i made a backup -- cheers

[TurboGears] Re: change the DOCTYPE

2005-12-21 Thread Elvelind Grandin
Isn't that for HTML 2? why would you want to use that? and no. there is no easy way to set it to a custom doctype. On 12/21/05, mtg [EMAIL PROTECTED] wrote: Moin, I have a css stylesheet which works with !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN but not with !DOCTYPE HTML PUBLIC

[TurboGears] CMS: TurboGears.Content

2005-12-21 Thread Matthew Bevan
Howdy! I'm currently working away figuring out some of the scarier stuff related to my CMS and would like some input and/or comment bashing from the rest of you. ;^) So far my design is very application-specific, but I hope to split out the bare-bones for re-use later. I have a directory

[TurboGears] Re: tasty: a REST tagging engine built on turbogears

2005-12-21 Thread anders pearson
Brian Beck [EMAIL PROTECTED] writes: That request part isn't what's making it hard to integrate, it's the model. Reading the tag schema doesn't really help, either. Am I supposed to modify tasty's Item class to be the model for the items I want tagged? Or is it supposed to exist as a

[TurboGears] Re: copying a SQLObject.

2005-12-21 Thread Leandro Lucarella
sergio, el mi�rcoles 21 de diciembre a las 16:02 me escribiste: i am building some test data for my app, and i have a object called Opportunity since it is an extensive object, i just populated one in phpmyadmin (using mysql) and called it.. i would like to must make copies of the

[TurboGears] Re: What does tg-admin update do?

2005-12-21 Thread Guyon Morée
i must admit i did overwrite that sounds so stupid now :) what do the other options mean? Overwrite ../snippets\snippets\controllers.py [Y/n/d/b/?] cheers, Guyon http://gumuz.looze.net/

[TurboGears] Re: tasty: a REST tagging engine built on turbogears

2005-12-21 Thread Brian Beck
anders pearson wrote: maybe you're misunderstanding. tasty is designed to run as its own service, *entirely* seperate from your application. you only access it through HTTP. it should be not just a distinct table, but a distinct database. it could exist on a seperate machine even. Ah,

[TurboGears] Re: copying a SQLObject.

2005-12-21 Thread Wavy Davy
On 21/12/05, sergio [EMAIL PROTECTED] wrote: i did this: newOpp=Opportunity.get(1) newOpp and i see the opportunity and all its data.. i wanted to make a copy of it, so i did this: import copy newOpp2=copy.copy(newOpp) hoping it would insert another row into the database..

[TurboGears] Re: CMS: TurboGears.Content

2005-12-21 Thread Michele Cella
Matthew Bevan wrote: 1. Can I make the @turbogears.expose() template path relative to the current directory, or otherwise detach it from my application root? E.g. the above would turn into templates.view which is much nicer. If you are using tg svn: * Templates can now be specified

[TurboGears] Re: controllers and the mounting thereof

2005-12-21 Thread Michele Cella
Kevin Dangoor wrote: I know that you've been thinking along the lines of a product API. What I've been shooting for is the ability to compose applications using standard Python mechanisms. Install an egg, import the class and hook up an instance to your tree... that would hardly even

[TurboGears] URL parsing problem

2005-12-21 Thread icylamb
Hi all, I need your help on this problem. In my default() method, I have following snippet to detect malformed url. So what I want is to throw away anything that is not http://localhost:8080/ or http://localhost:8080 So I wrote: if len(args) == 0: # Suppose that no args provided

[TurboGears] Re: CMS: TurboGears.Content

2005-12-21 Thread Alvin Wang
For my security needs, module can not equal group because I will have groups like admin and members. For example: All users can read a forum. Members can write in them. admins can delete them. I guess that is more granularity than most people need.

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-21 Thread Michele Cella
I think Karl's layout is original and nice, but (personally) I don't find it quite usable. For example, I think the front page exposes to many things packed in a small spaces and it's hard to find what you are looking for. Most probably my impression it's only related to the relatively dark (and

[TurboGears] Re: tasty: a REST tagging engine built on turbogears

2005-12-21 Thread anders pearson
Brian Beck [EMAIL PROTECTED] writes: Ah, got'cha. It seems impractical performance-wise since there is indirection through HTTP, and it will take some extra work to write complex queries involving both tags and separate attributes. But I was actually impressed with the responsiveness on

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Kevin Dangoor
Right on. Kevin On 12/21/05, Peter Hunt [EMAIL PROTECTED] wrote: Actually, I think that's a bad idea. Front-to-back frameworks are all about consistency and One Way to Do It. By encouraging pluggable components, this concept would be ruined, IMO. Sounds like you want to write a CherryPy

[TurboGears] Re: Modules - Is this the way it is?

2005-12-21 Thread Kevin Dangoor
I love your enthusiasm! On 12/21/05, Alvin Wang [EMAIL PROTECTED] wrote: I am planning on doing a lot of coding over Christmas. A mail list system, Flickr based photo album, etc. If I could write them in a way that it would be easy for other people to integrate, I would be happy to

[TurboGears] Re: Script to run at start-up time

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Mike Orr [EMAIL PROTECTED] wrote: Icylamb: I found the file MyProject-start.py in the same folder with dev.cfg which I thought all the start-up script should be placed in there. I have a similar case but for admin programs and cron jobs. I want them together with the

[TurboGears] Re: encrypted passwords using tg.identity

2005-12-21 Thread Jeff Watkins
Well, based on the patch which I'm still hoping to check in tonight, validate_identity will automatically MD5 or SHA the provided password before comparing it against the database. You shouldn't have to do anything. On 19 Dec, 2005, at 10:57 pm, Jeremy Jones wrote: I'm trying to get

[TurboGears] Re: change the DOCTYPE

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Elvelind Grandin [EMAIL PROTECTED] wrote: Isn't that for HTML 2? why would you want to use that? and no. there is no easy way to set it to a custom doctype. Kid provides a way through the serializer, but i agree that this seems like an odd request. Kevin

[TurboGears] Re: CMS: TurboGears.Content

2005-12-21 Thread Kevin Dangoor
On 12/21/05, Matthew Bevan [EMAIL PROTECTED] wrote: If you are using tg svn: ... Hey, thanks! That's exactly what I'm looking for. The second half of that is how do I reference my master template from my object templates without typing py:extends='../../../templates/master.kid'? ;) Use

[TurboGears] Re: URL parsing problem

2005-12-21 Thread Kevin Dangoor
On 12/21/05, icylamb [EMAIL PROTECTED] wrote: It actually works fine but with this url: http://localhost:8080/?action. It gives me errors: default is only called when CP can't find a matching method. That URL properly matches the index method, and thus it will call index (with the action

[TurboGears] Re: [0.9] widget suggestion for sample

2005-12-21 Thread Leandro Lucarella
Kevin Dangoor, el mi�rcoles 21 de diciembre a las 21:20 me escribiste: On 12/21/05, Michael Schneider [EMAIL PROTECTED] wrote: Can sample be made to return a list, it will be very useful to have several samples for some widgets. I had been thinking that you would compose the samples

[TurboGears] Re: patch to identity module to allow md5 and sha hashing of passwords

2005-12-21 Thread Jeremy Jones
Jeff Watkins wrote: On 20 Dec, 2005, at 3:08 pm, Jeremy Jones wrote: I went ahead and put it in one. I'm sure you can find it, but it's #241, has [PATCH] in it, and shows up in the Pending Patches report. Jeremy, I've applied your patch, but the problem I see is that it's now difficult

[TurboGears] Re: change the DOCTYPE

2005-12-21 Thread Matthias Teege
On 12/21/05, Elvelind Grandin [EMAIL PROTECTED] wrote: Isn't that for HTML 2? why would you want to use that? Because it works with the complicated style sheet but your are right. I try to solve the problem with the style sheet. Matthias

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Mike Orr
On 12/21/05, Sylvain Hellegouarch [EMAIL PROTECTED] wrote: Kevin Dangoor wrote: Keep in mind, though, that you'll likely miss out on the other cool stuff like widgets i18n. That's the tradeoff. Use Kid or port these extra features yourself. Or maybe a third-party maintainer will arise to

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Mike Orr
On 12/21/05, Mike Orr [EMAIL PROTECTED] wrote: The other potential areas are things that haven't stablized yet: forms, identity, sessions, etc. Hopefully the final contenders will be flexible enough to work for everybody, but if not, people need an easy way to substitute their own, For

[TurboGears] Re: Combine TG and Subway?

2005-12-21 Thread Mike Orr
On 12/21/05, Sylvain Hellegouarch [EMAIL PROTECTED] wrote: Hi Kevin, As I alluded earlier in the thread, I *do* plan to have a way to plug in a different template system, but primarily for the purpose of backwards compatibility and easier transition to TurboGears. I like the sound of

[TurboGears] Re: Trac down again :(

2005-12-21 Thread Matthew Bevan
And again, methinks.

[TurboGears] Re: Trac down again :(

2005-12-21 Thread Karl Guertin
On 12/22/05, Matthew Bevan [EMAIL PROTECTED] wrote: And again, methinks. It's been down since around 5PM, I get a '502 Bad Gateway'.

[TurboGears] Re: How *I* do form validation (request for comments)

2005-12-21 Thread Tracy Ruggles
On Dec 21, 2005, at 12:47 PM, Guyon Morée wrote: After trying out differen form validation methods I settled on the following: @turbogears.expose(html=snippets.templates.register, validators=validations.RegistrationValidation()) def register(self, **kw): if kw: # user has entered

[TurboGears] Re: Widgets and client-side validation

2005-12-21 Thread Tracy Ruggles
On Dec 21, 2005, at 12:36 PM, Kevin Dangoor wrote: 2. The AJAX way. The validation is done server-side, and the error messages are sent back with JSON and rendered in the form somehow. This would be neat but is it possible to prevent the same form being sent twice to the server (once for

[TurboGears] Re: What does tg-admin update do?

2005-12-21 Thread Elvelind Grandin
type ? and it will tell you :) Y(es):Overwrite the file with the new content. N(o): Do not overwrite the file. D(iff): Show a unified diff of the proposed changes (dc=context diff) B(ackup): Save the current file contents to a .bak file (and overwrite) Use all