[tg-trunk] Paste 1.7.4, security fix for XSS hole

2010-06-24 Thread Ian Bicking
://sensepost.com. I'm sorry about this, I hope this won't cause you too much trouble. -- Ian Bicking | http://blog.ianbicking.org -- You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-tr

[tg-trunk] Re: A Letter to the Authors of Web Authentication Libraries

2009-05-04 Thread Ian Bicking
this problem. OpenID with a provider that uses SSL solves these problems and others. -- Ian Bicking | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post

[tg-trunk] Re: a setuptools fork has been announced

2008-09-24 Thread Ian Bicking
Mark Ramm wrote: Ha, that's two forks this week: http://www.openplans.org/projects/topp-engineering/blog/2008/09/24/pyinstall-a-new-hope/ A reimplementation, really -- there's no shared code. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

[tg-trunk] Re: quickstart: css framework evaluation

2008-09-21 Thread Ian Bicking
particularly happy with any I saw, so I'm afraid I have no advice on that. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group

[tg-trunk] Re: Controller differences between tg1 and 2

2008-07-07 Thread Ian Bicking
() and then modifying it, where params.mixed() gives you the string-or-list values that you want. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears

[tg-trunk] Re: Content-Type meta header missing in all rendered templates

2008-07-02 Thread Ian Bicking
, and probably the way to get it in properly would be to have Genshi add it in itself during serialization, rather than try to preserve it through the transformations. It might already have an option to do that. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

[tg-trunk] Re: create_request is deprecated, long live WebTest

2008-06-10 Thread Ian Bicking
, but just reading this code leaves me feeling confused -- where are you mounting things, what does make_app return? -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed

[tg-trunk] Re: Documentation, Sphinx, linking

2008-05-05 Thread Ian Bicking
facilitate linking back to TG or Pylons documentation in a comfortable way. [1] http://www.dubita.com/pub/GSoC2008_BrunoJMMelo.txt Ack, no word wrap! Did you read Zed Shaw's recent post on docs? Seems like he's thinking about similar things. -- Ian Bicking : [EMAIL PROTECTED] : http

[tg-trunk] Re: Documentation, Sphinx, linking

2008-05-05 Thread Ian Bicking
on the current version of docs, or maybe on the devel version so long as there a warning to indicate what's appropriate to comment on, and a warning that comments are quick to get out of sync in that situation.) -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

[tg-trunk] Documentation, Sphinx, linking

2008-05-02 Thread Ian Bicking
the navigation exactly consistent, but maybe close enough? -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group

[tg-trunk] Re: MicroTG2 anyone?

2008-04-16 Thread Ian Bicking
might be misunderstanding something but isn't it possible to zip a whole package into a single egg file and thereby reducing the file count dramatically? App Engine doesn't support zipimport. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

[tg-trunk] Re: Introduction: Greg Wilson

2008-03-25 Thread Ian Bicking
Greg Wilson wrote: I've been teaching and developing with Python since 1998, and using TurboGears for about two years on a couple of projects (an online grading tool and a reverse testing oracle). My students have enjoyed working with TG, and I'd like to help make it more attractive,

[tg-trunk] Re: Proposal of an association

2008-03-23 Thread Ian Bicking
Well, here's my thoughts on an association, and what I'd fine useful. Maybe other people have different priorities, I dunno. First, who is in the association? I don't see it as an exclusive club, but the simple task of making a list of maintained packages compatible with this Not Really

[tg-trunk] Re: tg2 and Unicode params

2008-03-06 Thread Ian Bicking
Jonathan LaCour wrote: Mark Ramm wrote: The fact that TurboGears turns incoming request prams into controller function params seems intuitive and smart to me. But there are some limitations: * Function params must have asci string names * Function params can have only one value I

[tg-trunk] Re: tg-dev package thoughts

2008-01-21 Thread Ian Bicking
Kevin Horn wrote: On Jan 19, 2008 11:18 AM, Mark Ramm [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The reason I'm thinking about this is that one of the complaints I've heard about Pylons is that it is difficult to upgrade from one version to the next because so

[tg-trunk] Re: tg-dev package thoughts

2008-01-21 Thread Ian Bicking
Mark Ramm wrote: We would make the tg-dev package the thing which we tell people to install on the TurboGears.org page, and it would of course depend on TG directly. I don't think this will work well. If tg-dev and tg have different release cycles, there's no good way to indicate what

[tg-trunk] Re: TG2 status

2008-01-14 Thread Ian Bicking
Mark Ramm wrote: The current version of the TG2 trunk is not Python 2.4 friendly due to the fact that Python 2.4 can't use new style classes as exceptions. And since we finally made everything work with webob (Hooray!!!) I discoverd this evening that webob's exceptions are all newstyle

[tg-trunk] Re: TG2 status

2008-01-13 Thread Ian Bicking
classes. :( But feel free to use 2.5, as it works like a champ there. You can raise exc.HTTPNotFound().exception, instead of just exc.HTTPNotFound(). It's a little awkward, I'm afraid, but workable. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

[tg-trunk] Re: A few TG2 questions...

2008-01-07 Thread Ian Bicking
#translogger has its own logging setup, as all it does is log stuff so the configuration seemed particularly apropos to that piece. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed

[tg-trunk] Re: TG2 testutils module

2008-01-02 Thread Ian Bicking
then it's not a test request). -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-trunk

[tg-trunk] Re: [WARN] Possible breaking changes [WAS] Re: TG2, session vars not working out of the box

2007-12-27 Thread Ian Bicking
(or HTTPAuthenticationRequired), maybe based on environ['webauth.user_info']['groups'], or... well, whatever. Writing permission-checking code should be very easy. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message

[tg-trunk] Re: TG2 timeline

2007-11-26 Thread Ian Bicking
. These kinds of techniques should be simpler to implement than actually supporting the old forms (and any bugs in that support, etc), and will also probably save a lot of time for developers who port stuff. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

[tg-trunk] Re: tgsetup*.py

2007-11-11 Thread Ian Bicking
then populates it with the packages you want. There's some examples on the PyPI page for virtualenv. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears

[tg-trunk] Re: TurboGears2 status update

2007-11-06 Thread Ian Bicking
has, but I'm guessing it could allow for useful overlap between the projects (e.g., dynamically including the Pylons hg page into a TG context). James Gardner runs the server it's hosted on, if you want to ask about it. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

[tg-trunk] Re: TurboGears2 status update

2007-11-05 Thread Ian Bicking
` is a built-in). app_globals? -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-trunk

[tg-trunk] Re: TurboGears2 status update

2007-11-05 Thread Ian Bicking
-- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-trunk@googlegroups.com To unsubscribe

[tg-trunk] Re: TurboGears2 status update

2007-11-05 Thread Ian Bicking
Jonathan LaCour wrote: Ian Bicking wrote: BTW, repoze has a transaction middleware. It still has some Zope bindings which would have to be broken out (exceptions, I think), but would probably be a good starting point, and probably there's a way to keep stuff on the same codebase: http

[tg-trunk] Re: Why does Cheetah get installed?

2007-11-01 Thread Ian Bicking
was removed a while ago, but TG used to have it as a requirement as well, as it was using it internally for generating some of its files. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you

[TurboGears] Re: FormEncode form validators

2007-10-23 Thread Ian Bicking
On Oct 22, 6:01 am, vimal [EMAIL PROTECTED] wrote: #to check whether a given email id is correct import formencode from formencode import validators pattern = validators.Email() email_id = [EMAIL PROTECTED] try: if pattern.to_python(email_id): return True except:

[TurboGears] FormEncode form validators

2007-10-20 Thread Ian Bicking
also something generic to do easy whole-dict validation would be quite helpful. Do people have classes or recipes they've written that are general enough to include directly in FormEncode? If so, please contribute! Realistic examples in the docstrings will be very helpful. -- Ian Bicking : [EMAIL

[tg-trunk] WebOb and WebTest

2007-08-08 Thread Ian Bicking
corner things I want to add. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org : Write code, do good : http://topp.openplans.org/careers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: Moving to tg2?

2007-07-18 Thread Ian Bicking
On Jul 18, 7:21 pm, Mark Ramm [EMAIL PROTECTED] wrote: Seems like this is a discussion to move to trunk :) Yea, it all depends on the size of the controller object. It all depends on the size/complexity of the controller's __init__ method. Instantiating a class isn't particular expensive,

[tg-trunk] Re: Static files in TG2

2007-07-17 Thread Ian Bicking
. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org : Write code, do good : http://topp.openplans.org/careers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post

[tg-trunk] Re: TG2 doing things right

2007-07-02 Thread Ian Bicking
based on something. E.g., skip_template(model!='SQLAlchemy') in a SQLAlchemy-based file. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org | Write code, do good | http://topp.openplans.org/careers --~--~-~--~~~---~--~~ You received

[tg-trunk] Re: TG2 progress and bugs

2007-07-02 Thread Ian Bicking
that the middleware doesn't futz with it anymore. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org | Write code, do good | http://topp.openplans.org/careers --~--~-~--~~~---~--~~ You received this message because you are subscribed

[tg-trunk] Re: TG2 progress and bugs

2007-07-02 Thread Ian Bicking
Ben Bangert wrote: On Jul 2, 11:10 am, Ian Bicking [EMAIL PROTECTED] wrote: And have multiple flashes keyed at once. That seems weird to me... what purpose does the key have? Just so you can clear the key with flash['login_msg'] = None ? No, clearing the flash is handled automatically

[tg-trunk] Re: TG2 doing things right

2007-07-02 Thread Ian Bicking
Jorge Vargas wrote: On 7/2/07, Ian Bicking [EMAIL PROTECTED] wrote: Jorge Vargas wrote: Hi I just notice two things that got imported into trunk and I had to post something. tg-admin and quickstart templates where the two of the most horrible parts of the original TG. tg-admin grew out

[tg-trunk] Re: API generation is ready for tg2

2007-06-29 Thread Ian Bicking
to get something nice (no frames, better stylesheet, etc), and I don't think it has anything for stand-alone documentation. And I definitely want a toolset that does both generated and hand-written docs, with crosslinking. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[tg-trunk] Re: Fwd: [tg-docs] Re: The future of TurboGears documentation

2007-06-28 Thread Ian Bicking
., after as much as possible is setup). You could possibly do it, for instance, immediately before the controller method is called. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org | Write code, do good | http://topp.openplans.org/careers

[tg-trunk] Re: New tenant at http://svn.turbogears.org/trunk

2007-06-27 Thread Ian Bicking
into that, as the output looks quite good. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org | Write code, do good | http://topp.openplans.org/careers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[tg-trunk] Re: Transaction filter

2007-02-28 Thread Ian Bicking
this in middleware is to put a transaction container into the environment. Basically a fancy list that people can append to. Then on the way out, commit all the objects in that list (typically framework-specific transactions). -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[tg-trunk] RhubarbTart and TurboGears 1.2, 2.0, whatever...

2007-02-19 Thread Ian Bicking
I didn't really mention anything one way or the other before, but I thought I would note that RhubartTart provides a upgrade path to WSGIness that does quite well at supporting all the relevant (to TurboGears) parts of CherryPy. Anyway, just thought I'd throw that out there. -- Ian Bicking

[tg-trunk] Re: TG 2.0 update

2007-01-27 Thread Ian Bicking
outside of experiments yet because I'm still heavily refactoring it.) -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post

[tg-trunk] Re: bypassing @expose()

2007-01-12 Thread Ian Bicking
'] = raw_return_values # in the test: res = app.get('/something') assert res.raw_return_values == {some values} This exercises the complete stack including template rendering, but also gives you access to whatever intermediate values you are interested in. -- Ian Bicking | [EMAIL

[tg-trunk] Re: Paste etc.

2007-01-05 Thread Ian Bicking
is avoided. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-trunk@googlegroups.com

[tg-trunk] Re: CherryPy 3 and multiple apps

2007-01-04 Thread Ian Bicking
to the configuration file format. I'm not sure how to compare this to CherryPy's configuration, as I don't really know what the most core or essential part of CherryPy's configuration is. Perhaps you could shed light on that. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[tg-trunk] Re: Paste etc.

2007-01-03 Thread Ian Bicking
deployment strategy with Deliverance. This just uses paste.proxy, and some glue code in WSGIFilter.proxyapp -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[tg-trunk] Re: TG/Paster/Cheetah

2006-12-13 Thread Ian Bicking
Kevin Dangoor wrote: On Dec 13, 2006, at 10:47 AM, Ian Bicking wrote: Will it cause any problems in TurboGears if Paste Script stops requiring Cheetah in the next release? I don't think that you are using Cheetah in your project templates, but I'm not clear on that. If Paste Script

[tg-trunk] Re: Improve the testing framework

2006-11-27 Thread Ian Bicking
implicit in a doctest). -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-trunk

[TurboGears] Re: [FE-discuss] Renaming fields using a Schema

2006-10-04 Thread Ian Bicking
] class MySchema(Schema): pre_validators = [RenameField('email', 'user_email')] -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group

[TurboGears] Re: [FE-discuss] [TurboGears] Re: FormEncode i18n translation integration in TurboGears

2006-10-02 Thread Ian Bicking
Gregor Horvath wrote: Jorge Godoy schrieb: Ian Bicking [EMAIL PROTECTED] writes: I'm wondering how the releases should work. An update to a translation doesn't really warrant a new software release, and releases of FormEncode are otherwise going to be uncommon. Should the translations

[TurboGears] Re: [FE-discuss] FormEncode i18n translation integration in TurboGears

2006-09-29 Thread Ian Bicking
): [] gettextargs = {} [...] That would be fine, but for this case we might also just put gettext_domain='FormEncode' into the class too, no? It seems reasonable to set the domain to 'FormEncode' by default. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[TurboGears] Re: [FE-discuss] FormEncode i18n translation integration in TurboGears

2006-09-29 Thread Ian Bicking
Gregor Horvath wrote: Ian Bicking schrieb: That would be fine, but for this case we might also just put gettext_domain='FormEncode' into the class too, no? It seems reasonable to set the domain to 'FormEncode' by default. yes, but the standard gettext function does not accept a domain

[tg-trunk] Re: [patch] Wrap nosetests command to tg-admin tests

2006-09-25 Thread Ian Bicking
that they are only modestly interested in, but I don't think it is currently general enough otherwise. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: WSGI controllers and integration

2006-03-07 Thread Ian Bicking
= egg:Paste#grantip 192.168.0.0/24 = local_admin -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send

[TurboGears] Re: WSGI controllers and integration

2006-03-07 Thread Ian Bicking
for the import problem :-/ -- though a clever middleware could probably set multiple threadlocal's to match the environment, with the only interaction through a key in the environment itself. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: bike shed #1: config extension/dotted names

2006-03-07 Thread Ian Bicking
. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.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

[TurboGears] Re: Project status

2006-03-07 Thread Ian Bicking
-to-end tests for real applications, built on things like twill or Selenium, are the best way for TG to really ensure backward compatibility. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because

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

2006-03-07 Thread Ian Bicking
. I've experimented with automatically modifying files instead of writing new files (Paste has some support for this), but I find this hard to maintain. Python just isn't the kind of language where you can safely modify source in an automated way. -- Ian Bicking / [EMAIL PROTECTED] / http

[TurboGears] Re: bike shed #1: config extension/dotted names

2006-03-07 Thread Ian Bicking
be kept separate, so I kind of like if they use two different syntaxes. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post

[TurboGears] Re: WSGI controllers and integration

2006-03-07 Thread Ian Bicking
Mike Orr wrote: On 3/7/06, Ian Bicking [EMAIL PROTECTED] wrote: At least in Paste there is no global middleware stack, instead you set up a fairly specific stack that can potentially be more complex than just a linear top-to-bottom. Well, *usually* is more complex. You can have a non

[TurboGears] Re: tg-admin update overwrites code

2006-02-16 Thread Ian Bicking
in a repository. C'mon people, version control is your friend! But yeah, if it is still causing people problems that'd be fine. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you

[TurboGears] Re: tg-admin update overwrites code

2006-02-16 Thread Ian Bicking
Ian Bicking wrote: Elvelind Grandin wrote: Well. The problem is that the actual code is not in tg but in pasterscript On 2/16/06, nederhoed [EMAIL PROTECTED] wrote: Or make B the default? I guess I don't see any problem with defaulting to backup. I guess I don't notice these things

[TurboGears] Re: Sprint topics @ PyCon

2006-02-11 Thread Ian Bicking
CherryPaste, or just putting it in place manually so long as you are only running locally (where the app is mounted at the root, and the SCRIPT_NAME/PATH_INFO issues won't bite you). -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[TurboGears] Re: Sprint topics @ PyCon

2006-02-10 Thread Ian Bicking
like straightening out the cache situation, transactions, eliminating the naming conventions, polishing sqlobject-admin's rough edges. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: The Docudo Project

2006-02-07 Thread Ian Bicking
have problems in different ways :( -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: RhubarbTart

2006-01-31 Thread Ian Bicking
more than is typical in the current batch of applications, without having to build every bit of generalization in from the start. Some of the things allowed are redundant with things CP already does (e.g., with filters); but there really is more to it than that. -- Ian Bicking / [EMAIL

[TurboGears] Re: RhubarbTart

2006-01-30 Thread Ian Bicking
has a hard time working with. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: wiki got spammed

2006-01-30 Thread Ian Bicking
a wiki for document contributions, so I'm mostly trying to ignore Trac's wiki.) -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: .pydistutils.cfg docutils wiki20 home directory failure

2006-01-26 Thread Ian Bicking
-root installs (some aspects of which are complimentary with develop), but for your case develop is the right option. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Standard WYSIWYG widget ?

2006-01-25 Thread Ian Bicking
to participation. It does *not* have good marketing, and definitely has some crufty parts because it is relatively old. But I these are also relatively shallow problems. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: egg, svn problem with INITools

2006-01-24 Thread Ian Bicking
Paste Script release shortly. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Obscuring decorators

2006-01-24 Thread Ian Bicking
://www.phyast.pitt.edu/~micheles/python/documentation.html Last I looked it could use some packaging work (no setup.py). -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Template plugin: strings

2006-01-24 Thread Ian Bicking
it to .render()). -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Jeremy Jones shifting gears

2006-01-23 Thread Ian Bicking
of the version numbers and maybe package names are handled, to minimize confusion, but I don't think it should be too much of a problem. Especially if we can sync everything up when a TG version is actually released. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Dynamic SQLObject classes

2006-01-23 Thread Ian Bicking
that goes. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: API documentation

2006-01-23 Thread Ian Bicking
goal. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: API documentation

2006-01-23 Thread Ian Bicking
then at least it would be HTTP-API compatible with Frederik's work. And I think one thing we all share in common is that we care almost solely about HTML output, and don't really care about PDF or whatever. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[TurboGears] SQLite threading bug fixed

2006-01-22 Thread Ian Bicking
release soon. To install the stable bugfix branch, you can do: easy_install SQLObject==bugfix Or check out from http://svn.colorstudy.com/SQLObject/branches/0.7-bugfix -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[TurboGears] Re: Dynamic SQLObject classes

2006-01-22 Thread Ian Bicking
registry, but that's even lamer. Give each class its own name. You can create classes with dynamic names using the type() builtin. type(class_name, (SQLObject,), {attrs}) You can also modify classes on the fly with sqlmeta.addColumn and related methods. -- Ian Bicking | [EMAIL PROTECTED

[TurboGears] Re: Template plugins

2006-01-20 Thread Ian Bicking
a concept of a search path. It shouldn't be implemented purely on the frontend, because all templates (including included or extended templates) should be found with the same mechanism. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Template plugins

2006-01-19 Thread Ian Bicking
Kevin Dangoor wrote: On 1/18/06, Ian Bicking [EMAIL PROTECTED] wrote: I would like the interface to be suggestive of the features the plugins should implement. If people want to make reusable applications at all, this should be considered a bare minimum feature for that. I'm sold that we

[TurboGears] Re: Template plugins

2006-01-18 Thread Ian Bicking
want a different search path for different engines they're using anyhow. I would like the interface to be suggestive of the features the plugins should implement. If people want to make reusable applications at all, this should be considered a bare minimum feature for that. -- Ian Bicking

[TurboGears] Template plugins

2006-01-17 Thread Ian Bicking
with the modules either. * I'm confused what the purpose of .load_template() is. Or what it should return. * Where is the TurboCheetah repository? Can you put an svn link (with #egg=TurboCheetah-dev) on the cheese shop page? -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[TurboGears] Re: Template plugins

2006-01-17 Thread Ian Bicking
, self.extension)) The package here is actually a distribution name, and isn't related to Python packages. This further muddles the use of module-like names for templates, as you can't dot a distribution name with anything. -- Ian Bicking | [EMAIL PROTECTED

[TurboGears] Re: Template plugins

2006-01-17 Thread Ian Bicking
that suggests how to upgrade. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Template plugins

2006-01-17 Thread Ian Bicking
this to be a standard thing that plugins should support. I'm not quite clear how, say, the stan plugin works, and maybe a search path wouldn't work there. But for most it should work, and I consider it a very important feature so I'd like it to be consistent. -- Ian Bicking / [EMAIL PROTECTED

[TurboGears] Re: Looking for app with tests

2006-01-14 Thread Ian Bicking
Ian Bicking wrote: In order to test CherryPaste in a realistic situation, I'd like to test it against a real application. Is there an application someone could recommend that has a good set of tests? HTTP-based tests are best, but CherryPy tests are okay too (I'd have to rewrite

[TurboGears] Re: Looking for app with tests

2006-01-13 Thread Ian Bicking
Kevin Dangoor wrote: On 1/13/06, Ian Bicking [EMAIL PROTECTED] wrote: In order to test CherryPaste in a realistic situation, I'd like to test it against a real application. Is there an application someone could recommend that has a good set of tests? HTTP-based tests are best, but CherryPy

[TurboGears] Looking for app with tests

2006-01-12 Thread Ian Bicking
, but that's still easier than writing my own tests). Something written against the TG trunk would also be best. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[TurboGears] Re: build an egg from svn turbogears/thirdparty/cherrypy

2006-01-11 Thread Ian Bicking
and change the from distutils.core import setup line to say from setuptools import setup I think you can do something like: python -c import setuptools; execfile('setup.py') Using that you can run any setuptools command, e.g., develop. -- Ian Bicking / [EMAIL PROTECTED] / http

[TurboGears] Re: Paste/PasteDeploy, TurboGears 0.9 and CherryPy 2.2

2006-01-11 Thread Ian Bicking
to know that. Though I suspect there may be some configuration issues... is TG still using CherryPy's configuration, or is it starting to handle that on its own? -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Paste/PasteDeploy, TurboGears 0.9 and CherryPy 2.2

2006-01-11 Thread Ian Bicking
Kevin Dangoor wrote: On 1/11/06, Ian Bicking [EMAIL PROTECTED] wrote: Kevin Dangoor wrote: Jeff has designed an identity API that is amazingly user friendly for common cases. I would like to brainstorm a bit on how this API might be tweaked to use RuleDispatch syntax which would provide

[TurboGears] Re: Paste/PasteDeploy, TurboGears 0.9 and CherryPy 2.2

2006-01-11 Thread Ian Bicking
Kevin Dangoor wrote: On 1/11/06, Ian Bicking [EMAIL PROTECTED] wrote: I had not seen that, thanks for noting that. Added myself to CC as well. As I look through the CherryPy code, maybe it would be possible to figure this out with a sufficiently magical cherrypy.root object, though I

[TurboGears] Re: Exception reporting (was Re: Identity crisis)

2006-01-10 Thread Ian Bicking
Ian Bicking wrote: Bob Ippolito wrote: They probably use cgitb[1] from standard python distribution. It could be nice to integrate it to TG too... What we should do is this: http://blog.ianbicking.org/ajaxy-exception-catching.html This will require some WSGIish work on CherryPy

[TurboGears] SQLObject SF bugtracker - Trac

2006-01-10 Thread Ian Bicking
from SourceForge. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

[TurboGears] Re: Proposal: TurboGears extensions

2006-01-10 Thread Ian Bicking
-in, or any communication is in the form of the request itself. There's no monkeypatching, while in contrast the start/shutdown/create interface can only function through monkeypatching. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

[TurboGears] Re: Updating a schema with tg-admin

2005-12-30 Thread Ian Bicking
Kevin Dangoor wrote: On 12/29/05, Ian Bicking [EMAIL PROTECTED] wrote: I think I meant the upgrade command documentation is coming; the command is there now. I advise using sqlobject-admin record --edit (or whatever tg-admin wraps that as) and entering your ALTER statements. It will record

[TurboGears] Re: Updating a schema with tg-admin

2005-12-30 Thread Ian Bicking
Kevin Dangoor wrote: On 12/30/05, Ian Bicking [EMAIL PROTECTED] wrote: That's one nice thing about the Rails migrations. They're database independent, whereas a bunch of ALTER statements likely isn't... How do they do that? Anyway, right now you can provide multiple upgrade scripts

[TurboGears] Re: Updating a schema with tg-admin

2005-12-29 Thread Ian Bicking
. In the absence of an upgrade SQL script, the upgrade command won't work. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

  1   2   >