[Paste] batch applications

2007-01-04 Thread David Smith
Hi all, I'm writing a webapp that mails a newsletter to registered users every month. It requires access to the same database that the webapp uses and so I'd like to have it use the same pastedeploy config file where the dsn is defined. I'm currently doing this with a standard configparser but it

Re: [Paste] batch applications

2007-01-04 Thread David Smith
ython; coding: utf-8 -*- """ == PasteDeploy Command runner ====== :Copyright: (c) 2007 David Smith :Author: David Smith :Contact: [EMAIL PROTECTED] :Date: <2007-01-05 01:00:44 dds> """ import os,sys,re from command import Command, BadComm

Re: [Paste] batch applications

2007-01-04 Thread David Smith
Ian Bicking <[EMAIL PROTECTED]> writes: > David Smith wrote: >> I've attached patches to pastescript and pastedeploy to support >> what I had in mind: a pastedeploy abstract factory for commands >> that receive the standard config and then do anything they

Re: [Paste] batch applications

2007-01-04 Thread David Smith
"Shannon -jj Behrens" <[EMAIL PROTECTED]> writes: > On 1/4/07, David Smith <[EMAIL PROTECTED]> wrote: > >> I'm writing a webapp that mails a newsletter to registered >> users every month. It requires access to the same database that >> the

[Paste] i18n helper middleware

2007-01-13 Thread David Smith
In response to ticket #150 in the pylons trac, I wrote a small middleware for processing HTTP_ACCEPT_LANGUAGE in the same way that turbogears does it and implemented it as something to throw into paste, setting the environ['locale'] to a priority-sorted list of locale names. The patch with test cas

[Paste] mochikit moved showElement and hideElement from DOM to Style

2007-01-15 Thread David Smith
http://bosabosa.org/~dds/darcs/index.cgi?r=paste;a=filediff;h=20070115165639-1caef-8f084510b5106a115486c110ca340738a3a1e19f.gz;f=paste/evalexception/media/debug.js Please commit, thanks, -- David D. Smith pgpCCVHQ2WMYF.pgp Description: PGP signature ___