Re: pylons 0.9.7

2008-05-17 Thread Mike Orr
timeline for next public stable release? Whenever Ben gets the documentation done. http://docs.pylonshq.com/ I'd guess a couple weeks-ish. -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: pylons 0.9.7

2008-05-17 Thread Mike Orr
The outline of the ball in the holder is good, but the color version to the left of the section headers is kind of dull for a logo, and I absolutely don't like the lavendar ball color. How about adding some texture (bits of black) to the color version or some 3-D shadows on one side. --

Re: pylons 0.9.7

2008-05-18 Thread Mike Orr
x27;t we told a decision had been made some time ago?") -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-d

WebHelpers tickets

2008-05-23 Thread Mike Orr
ping - Should we just exclude it from being wrapped? -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pyl

webhelpers.util

2008-05-25 Thread Mike Orr
? -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this grou

Fwd: [Pylons] #461: literalize individual rails helpers rather than in init module

2008-06-08 Thread Mike Orr
ww.pylonshq.com> Pylons - The modern full-stack Python web development framework -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post

Re: problems with go-pylons.py on Windows

2008-08-19 Thread Mike Orr
newbies should be expected to know. I've suggested Python should either downgrade the simplejson dependency or eliminate it. It's not needed for anything in core Pylons, only for the @jsonify decorator. So why not move @jsonify to the Cookbook and eliminate the dependency, at l

Re: Prototype works under Konqueror - jQuery ie - not

2008-08-31 Thread Mike Orr
. It would be better to see why it doesn't work and fix it, or try another library like YUI, ExtJS, ForkJavascript, etc. Also, does what you're doing need a library? Sometimes people think they need a library when it's just as easy t

Re: Prototype works under Konqueror - jQuery ie - not

2008-08-31 Thread Mike Orr
ich Safari ? or something ? Well, again, why doesn't JQuery work on Konqueror? Is Konqueror missing some feature? Have you asked on the JQuery list? -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: Prototype works under Konqueror - jQuery ie - not

2008-09-02 Thread Mike Orr
ned. I have updated the wiki to make this clearer, and also added download links for the current Prototype and Scriptaculous. http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779 -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received thi

Re: Who maintains http://docs.pylonshq.com/ ?

2008-09-07 Thread Mike Orr
r_commands.html Ben maintains docs.pylonshq.com. Right now he's hard at work polishing them up for the release, so there's a thousand different things to do. (Maybe only 500 after the big revision a few days ago.) You can post suggestions here or in the bug tracker, and he'll get to

Pyinstall problems

2008-10-17 Thread Mike Orr
me/mso/venv/cameo/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg Searching for Beaker==1.0.3 Best match: Beaker 1.0.3 Adding Beaker 1.0.3 to easy-install.pth file Using /home/mso/venv/cameo/lib/python2.5/site-packages Searching for Pygments==0.11.1 Best match: Pygments 0.11.1 Adding Pygments 0.11.

Re: public folder

2008-11-08 Thread Mike Orr
the static file. The seventh line serves the file. With DirectoryApp, you can instantiate it with the root directory, but then I'm not sure how to pass the relative path when you call it. It reads the relative path from PATH_INFO, but I'm not sure how you get just {*url} without the part

Re: public folder

2008-11-08 Thread Mike Orr
On Sat, Nov 8, 2008 at 2:34 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote: > > On Sat, Nov 8, 2008 at 3:55 PM, Mike Orr <[EMAIL PROTECTED]> wrote: >> >> On Sat, Nov 8, 2008 at 12:54 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote: >>> >>> Hel

Weird i18n timeout on App Engine

2008-11-16 Thread Mike Orr
nit__.py", line 20, in from pylons.i18n import _ as pylons_gettext File "/base/data/home/apps/recipedepot/1.329338536775970131/lib/python2.5/site-packages/Pylons-0.9.7rc2-py2.5.egg/pylons/i18n/__init__.py", line 1, in """Internationalization and Localization fu

Fwd: buildbot failure in Pylons on Dev 2.5.1

2008-11-16 Thread Mike Orr
failed build of Dev 2.5.1 on Pylons. Full details are available at: http://pylonshq.com:8010/builders/Dev%202.5.1/builds/361 Buildbot URL: http://pylonshq.com:8010/ Buildslave for this Build: inigo Build Reason: Build Source Stamp: HEAD Blamelist: Mike Orr <[EMAIL PROTECTED]> BUILD FA

More pkg_resource issues with py2exe

2008-11-26 Thread Mike Orr
import the specific packages manually it won't do all that dependency checking that breaks in py2exe/py2app. But there seem to be other places where pkg_resources is used too, and I don't know where they all are. Chris, you'll want to subscribe to the pylons-devel group at group

Re: More pkg_resource issues with py2exe

2008-11-26 Thread Mike Orr
acy.render_response_warning, render_response.__doc__) === The module is using pylons.legacy without importing it, so that clearly needs to be fixed. After all this we were able to get the wxPython version of the application to run, but we rebuilt the py2exe version and it still has the same problem.

Re: More pkg_resource issues with py2exe

2008-11-26 Thread Mike Orr
On Wed, Nov 26, 2008 at 4:01 PM, Philip Jenvey <[EMAIL PROTECTED]> wrote: > > > On Nov 26, 2008, at 1:57 PM, Mike Orr wrote: >> >> The module is using pylons.legacy without importing it, so that >> clearly needs to be fixed. >> > > Ok, I committed

number_to_human_size helper

2008-12-01 Thread Mike Orr
ue to come up with an API that would work for a wide variety of users, which is our threshold for helper acceptance. -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-

Routes manual (draft)

2009-01-02 Thread Mike Orr
mp/routes-manual.txt The plan is to integrate this into the Routes documentation. However, I had trouble merging Ben's and Chairos's Sphinxifixation so I wrote it standalone first. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because yo

Re: Routes manual (draft)

2009-01-02 Thread Mike Orr
ng /. Once the controller list is created, the Mapper method create_regs should be called: m.create_regs(['content','admin/comments','blog']) After this step, the Mapper object is now ready to match URL's. """ Why is it so

Re: Google Summer of Code 2009

2009-01-06 Thread Mike Orr
it only covered simple usage, not building custom widgets. That's the main reason it's not used much in Pylons applications. it sounded like TW was making some good advances, dropping C dependencies and that rule library, and adding Mako templates so that Genshi wasn't required. Tha

Re: Google Summer of Code 2009

2009-01-07 Thread Mike Orr
on structure to be shared by multiple frameworks, and by multiple applications in one process. Of course Paste already does this to some extent, but we're looking at how to make it more universal and multi-app friendly. It's still at the theoretical stage; there are no

Re: pylons 0.9.7

2009-01-09 Thread Mike Orr
se matters and I'm not sure > if more discussion took place outside of this thread, prior to a > sprint, etc. Haha, the only guideline Ben has given me is, "Use ReST." He is using some convention for docstring arguments and return va

Re: authenticate_form webhelper

2009-02-06 Thread Mike Orr
ould check for > request.method?) -> http://pastebin.com/f1411a3bd > > Is this correct and do you think it's reasonable to merge this patch into > trunk? I'm the WebHelpers maintainer so I'd be the one to implement it, b

Re: ToscaWidgets Docs

2009-02-08 Thread Mike Orr
oo much out-of-date > tw doc on the net. OK, I deleted those and the other three ToscaWidgets articles I found, and put a link on the general Forms page. http://wiki.pylonshq.com/display/pylonscookbook/Forms -- Mike Orr --~--~-~--~~~---~--~~ You received thi

Re: What do you think about this web helper function called "tag_class"

2009-04-03 Thread Mike Orr
asses) print css_classes([ ("firstcolumn", i == 0), ("asc", request.get("o")), ] How would that be? I put the value first in the tuple to make the line more readable, since it would be hard to ascertain after a complicated expression. -- Mike Orr

Re: What do you think about this web helper function called "tag_class"

2009-04-03 Thread Mike Orr
t; print HTML.th("foobar", class_="") > > return : foobar > > I would like foobar. > > Do you add "css_classes" feature in webhelpers repository ? It works with a None argument. The function could be taught to do that. >&

PylonsCore package

2009-04-09 Thread Mike Orr
te (which depends on PasteDeploy), render_mako, @jsonify, etc. I would put them all in PylonsCore, even though they depend on undeclared packages. That would be easier than splitting modules between the packages or worse, splitting parts of modules between pac

Re: [webhelpers.paginate] I wonder why "_pagelink" and "_range" function are defined in "pager" function and not in "Page" class ?

2009-04-13 Thread Mike Orr
toph Haas is Paginate's maintainer. You can send him a patch at em...@christoph-haas.de . I don't know whether he has a particular reason for putting those methods where they are. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are

Re: [webhelpers.paginate] I wonder why "_pagelink" and "_range" function are defined in "pager" function and not in "Page" class ?

2009-04-13 Thread Mike Orr
Christoph, I'm planning a WebHelpers release in a few days, so please get back to me on whether you want to accept this idea. On Mon, Apr 13, 2009 at 10:44 AM, Mike Orr wrote: > On Sat, Apr 11, 2009 at 6:59 AM, KLEIN Stéphane > wrote: >> >> i, >> >> In webhe

Re: [patch] webhelpers.paginate fails on explicit mapper

2009-04-22 Thread Mike Orr
knowledgetap.com/hg/webhelpers/) is > defunct. Pylons, Routes, and WebHelpers have all moved to BitBucket. http://bitbucket.org/bbangert/webhelpers Christoph Haas manages Paginate and is incorporating a couple other patches now, so I'll lea

Re: [patch] webhelpers.paginate fails on explicit mapper

2009-04-23 Thread Mike Orr
${h.link_to_unless( is_last_page, literal("Last >>"), h.url_for(route_name, page=page.last_page, **params))} % for name, value in params.iteritems(): ${h.hidden(name, value)} % endfor para

Re: webhelpers.paginate fails on explicit mapper

2009-04-28 Thread Mike Orr
> (1) was the reason for which the paginator failed in the first place > in a regular pylons application with explicit=True because the call to > url_for in the paginator relied on this feature. > (2) was the reason for which your code sample failed as the controller/ > action were mis

Re: webhelpers.paginate fails on explicit mapper

2009-04-29 Thread Mike Orr
l() uses route memory in one situation but not >> in another, but i can't remember what those are. > > maybe you refer to the fact that route memory works for url_for but > not for redirect_to? No, it's both in url(). Maybe it's just that url.current() uses route

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-09 Thread Mike Orr
really makes people trust what you have to say, not. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com T

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-10 Thread Mike Orr
point! It has stopped now. :) I was just concerned about it escalating because some people who post like that, do so habitually. I'm sorry if I misjudged you. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-10 Thread Mike Orr
locks out non-JS users (including screen readers for the blind), but that if we include some Javascript the question arises, "Why this Javascript and not others?" -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

WebHelpers issues

2009-05-10 Thread Mike Orr
So is it just a matter of changing the home page entry? -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-12 Thread Mike Orr
On Tue, May 12, 2009 at 2:42 AM, Paul Johnston wrote: > > BTW, the Full Moon Party on Koh Phangan is the most amazing party I > have ever been to in my life. The what? Is this some place in Korea or Vietnam? -- Mike Orr --~--~-~--~~~---~--~~ You

Re: Another patch bundle for webhelpers

2009-05-30 Thread Mike Orr
s Christoph, can you make sure this contains your latest changes? The rails helpers are now gone in the development version, so don't install it any place they're needed. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subs

HTML-sanitizing helper

2009-05-31 Thread Mike Orr
an expected. I've got several various patches implemented in WebHelpers tip. I'll probably release the beta in a few days, although I would like to give it a proper manual before final. But I'm still learning how to set that up with Sphinx. -- Mike Orr --~--~-~--~---

Re: Route generation when url_for args=None

2009-06-04 Thread Mike Orr
path variable. Neither replacing it with None nor deleting it is appropriate. Instead, Routes should either raise an error or consider the route a non-match to the arguments; I'm not sure which is better. -- Mike Orr --~--~-~--~~~---~--~~ You received this mes

Re: HTML-sanitizing helper

2009-06-08 Thread Mike Orr
;, 'mailto', None]) > >    def sanitize_html(content_str): >        markup = HTML(content_str) | HTMLSanitizer(safe_tags, > safe_attrs, safe_schemes) >        return markup.render('html') > >    def serialize_to_plaintext(content_str): >        markup = HTML(content

Re: create_slug helper

2009-06-11 Thread Mike Orr
> > > source: http://paste.pocoo.org/show/121523/ Hmm, Unidecode is 1.4 MB, which is bigger than WebHelpers. What are you using the slugs for? What general purpose would they have in other sites? -- Mike Orr --~--~-~--~~~---~--~~ You received this message becaus

Re: pylons future plans?

2009-06-20 Thread Mike Orr
hat level should be integrated and why. Which means maybe it's just better to leave them as they are because they're working. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel

Re: pylons future plans?

2009-06-23 Thread Mike Orr
ut again the issues of how to integrate this with the Python docs and what to do about the lame home page (http://bitbucket.org/bbangert/webhelpers/wiki/Home) come up. I can update the roadmap this weekend now that we've confirmed there are no other major changes planned, but

Re: pylons future plans?

2009-06-23 Thread Mike Orr
who's writing them. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this

Re: pylons future plans?

2009-06-23 Thread Mike Orr
On Tue, Jun 23, 2009 at 10:10 AM, Iain Duncan wrote: > > On Tue, 2009-06-23 at 06:25 -0700, Mike Orr wrote: >> >> Perhaps we could have an IRC documentation party this Saturday and go >> over how the documentation is structured and make some decisions on >> how th

Re: webhelpers.html.literal is fucked

2009-07-20 Thread Mike Orr
does. And it also doesn't make sense that the programmer would go to that obscurity to create a constant when the simpler ``u"FUCKED"`` would have been equivalent. So the code, if it did exist, must have been unfinished at that stage. -- Mike Orr --~--~-~--~~

Re: create_slug helper

2009-07-24 Thread Mike Orr
pers dev already. (Finally I have my own time machine!) webhelpers.text.urlify(). There's also a companion remove_formatting() to strip HTML tags, and some character/entity converters. All by Ben and based on Ruby's stringex package. -- Mike Orr --~--~-~--~~

Routes documentation

2009-09-08 Thread Mike Orr
ebar in the manual should only show sections, not subsections. - The sidebar on the TODO page should be blank except for the search form. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel&

Re: Routes documentation

2009-09-16 Thread Mike Orr
ery single item. I can't do that for the tons of items in WebHelpers and keep it up to date. Would it be better to use Epydoc which can generate a whole package at once? Is there a way to plug Epydoc documentation into Sphinx? -- Mike Orr --~--~-~--~~~-

Re: Routes documentation

2009-09-16 Thread Mike Orr
e in the source. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group, send email

Filename sanitizing helper

2009-10-09 Thread Mike Orr
On the other hand, things like "myname.2009-10-22.utf8.txt" are not. I looked in WebHelpers and did not find anything, so I think a filename-sanitizing helper is needed. -- Mike Orr --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: some thoughts about caching in pylons

2009-10-20 Thread Mike Orr
application, but that means you have to use something other than Python for your auth. Perhaps an Apache module. By the way, the pylons-discuss list is the best place to ask usage questions. The pylons-devel list is for discussing changes to Pylons; details the entire userbase doesn't w

Fwd: [Pylons] #405: [Patch] Split up @validate

2009-11-19 Thread Mike Orr
to be: 1. An alternative to @validate. There are some patches in the ticket. Going to a one-method approach (form display and processing in the same controller action) would also simplify things. 2. Document the undocumented parts of FormEncode. 3. Add an alternate resource route to Routes, that

Re: [Pylons] #405: [Patch] Split up @validate

2009-11-19 Thread Mike Orr
On Thu, Nov 19, 2009 at 3:25 PM, Ben Bangert wrote: > On Nov 19, 2009, at 7:14 AM, Mike Orr wrote: > > It's not just the lack of documentation. It does things downright weird. > It's also pretty much unmaintained. Sure, patches will be applied usually, > but other t

Feedgenerator

2009-12-03 Thread Mike Orr
e last section applies to us -- the rest is ORM wrappers and framework integration) http://docs.djangoproject.com/en/dev/ref/contrib/syndication/ -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to p

Re: Concurrency

2009-12-15 Thread Mike Orr
urs with network or database access. The network part is handled by the WSGI server. Pylons does not include a database (just a suggested configuration for SQLAlchemy), so you're on your own there. I'm not sure if disk access is considered blocking, but if so, the session configuration and

Re: Concurrency

2009-12-15 Thread Mike Orr
On Tue, Dec 15, 2009 at 5:18 PM, Mike Orr wrote: > On Tue, Dec 15, 2009 at 2:39 PM, Joan Miller wrote: >> Pylons is a great project, thanks! But I'm supposed that it would be >> faster if it were ready for concurrency. >> >> Today is not necessary to use Twisted;

Basic HTML helpers

2009-12-16 Thread Mike Orr
can't find a simple function to generate a URL with query string (not using Routes). Is there an equivalent to this somewhere I've overlooked? def url(urlpath, **params): if not params: return urlpath return urlpath + "?" + urllib.urlencode(params) -- Mike Or

Re: Basic HTML helpers

2010-01-13 Thread Mike Orr
Thanks for your feedback, James. On Wed, Jan 13, 2010 at 12:31 PM, jgard...@jonathangardner.net wrote: > On Dec 16 2009, 8:43 pm, Mike Orr wrote: >> A couple proposed helpers, one for doctypes and one to generate a >> complete HTML document.  What do you guys think of the API a

Re: Concurrency

2010-01-13 Thread Mike Orr
> pretty idle (see Comet for ex), the memory that threads consume is a >> > big issue. >> >> > An event based framework solves this by saving as litle state as >> > needed (or possible) so that it could handle a large number of >> > otherwise slow or id

Re: Pylons tests are broken ?

2010-03-11 Thread Mike Orr
ste-1.7.2-py2.6.egg/paste/registry.py", > line 155, in __call__ >    return self._current_obj()(*args, **kw) >  File > "/Users/gawel/py/PylonsKGS/build_1.0b1/eggs/Routes-1.12-py2.6.egg/routes/util.py", > line 412, in __call__ >    (args, kargs)) > Generation

Bitbucket error

2010-03-13 Thread Mike Orr
rt-index-00manifesti-unknown-forma -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@goog

Fwd: [Bitbucket] Re: site issues?

2010-03-13 Thread Mike Orr
7;t happen again, and it's fixed now. Jesper -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email

Re: "stackless" pylons?

2010-03-14 Thread Mike Orr
tes. In those cases you have to use ._current_obj(). Otherwise, what actual problems are you having with the SOPs? They work most of the time; that's why there hasn't been a major push to get rid of them. -- Mike Orr -- You received this message because you are subscribed to the Goo

Re: "stackless" pylons?

2010-03-14 Thread Mike Orr
nment, ranging from getting the config early enough, to post-testing the session. Ben and Philip and Ian have done a good job of building as much of that as possible into the TestController and WebError. I still don't understand it very well, and the docs help only so far. You'll prob

Re: Help get Pylons 1.0 out the door!

2010-05-18 Thread Mike Orr
execution.rst It's reviewed up to "Anatomy of a Request" (line 419). -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscri

Re: #405: [Patch] Split up @validate

2010-05-21 Thread Mike Orr
choose would have to work with it. Some people have written standalone pieces of @validate which could be used inside actions or combined in a decorator, so we'd have to evaluate those. If you have any specific ideas, you can add them to the "Split up @validate" ticket. -- Mike

Re: Contribution: JSONRPCController

2010-06-30 Thread Mike Orr
service has been requested by users, although we're not sure exactly what kind of client program would issue the queries. The other two services are speculation, based on the idea that "if you build it, they will come" (i.e., realize they want it). -- Mike Orr -- You received th

Re: Contribution: JSONRPCController

2010-06-30 Thread Mike Orr
Created a ticket for it. http://pylonshq.com/project/pylonshq/ticket/697 This doesn't guarantee it will be accepted, but helps us in processing the proposal. -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To pos

Mike's email

2010-07-07 Thread Mike Orr
Hey pylonshounds. I moved to a new apartment and my DSL is not set up yet so I won't be active on the lists for a couple days. -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send ema

Re: PATCH.- Webhelpers Minification with cascade application

2010-08-06 Thread Mike Orr
t link to it because butbucket is down.) It has a "do no evil" license which Fedora can't distribute. If I can't get it relicensed I'll have to delete it. The C code is also convoluted and undocumented, which I've just left as is. I haven't decided whether to keep just

_jsmin.py license

2010-08-09 Thread Mike Orr
ompress this but not that?" On another note, a user has submitted a patch to minify application code and external Javascript libraries (e.g., jQuery) together. Do you think this patch looks like a good idea, and would you like to incorporate it upstream? http://groups.google.com/group/pylo

Re: _jsmin.py license

2010-08-09 Thread Mike Orr
to be the purpose of an MIT-style license). -- Forwarded message -- From: Douglas Crockford Date: Mon, Aug 9, 2010 at 2:50 PM Subject: Re: _jsmin.py license To: Mike Orr  I don't care what you do so long as you respect my license. On 8/9/2010 2:39 PM, Mike Orr wrote: &

Re: _jsmin.py license

2010-08-09 Thread Mike Orr
orld spin, literally. > > Domen > > On Mon, 2010-08-09 at 15:25 -0700, Mike Orr wrote: >> Crockford has spoken, so _jsmin.py will have to go. The Fedora people >> also contacted him earlier and got a similar response. I don't know >> why he's so obstinate: is

Re: _jsmin.py license

2010-08-10 Thread Mike Orr
e stuff which > depends on Java, then the dependency doesn't matter.  And if someone > wants a patch, I will post it :) > > [0] http://developer.yahoo.com/yui/compressor/ > [1] http://code.google.com/closure/compiler/ > > Néstor. > > On Aug 10, 3:42 am, Mike Orr wro

Re: _jsmin.py license

2010-08-13 Thread Mike Orr
th the Google > Closure Compiler and with YUI Compressor.  Perhaps you can write a > paragraph mentioning the software available to perform the > minification. > > http://docs.fubar.si/minwebhelpers/ > > Néstor. > > On Aug 10, 6:59 pm, Mike Orr wrote: >> So is it worth k

Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
(Originally from Mike Orr) I've got a first draft of the Pylons 2 Users Guide done. The "hello world" page is the only page that's completed; it goes through installing a default application and looking through the application code. I haven't gone through the Pylons code

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
a logging configuration may not belong in the minimal application, but in that case I'd have to provide the code to paste in. (Maybe using paste.translogger as a sample middleware that uses logging.) On the other hand, it can be argued that logging is so central to everything, it belongs in th

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
"Hello" (capitalized) is working now, and the interactive traceback. I adjusted the guide for those and for the new location of the static files. I adjusted the text for describing Routes and CM's other points. -- Mike Orr -- You received this message because you are subscribe

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
se. > > Should be fine to add that configuration there. I guess that means myapp/__init__.py will have to initialize the logging. Because who else will? This might be good to make the logging activation explicit. One problem with "paster serve" is nobody can figure out where logging i

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
endencies will really have to be dealt with at another level. BFG pulls in a lot of things that aren't relevant to a typical Pylons application, like Chameleon. App Engine users will certainly be interested in what they can exclude from uploading. I think we can worry about that later, to provide a

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
's GPL, we're releasing the documentation sources anyway so it shouldn't matter. -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe f

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
duh, I didn't realize it would keep doing that, but of course it would. -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from thi

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
e narrative sections? Because sometimes I need to look up an undocumented method, e.g., to access column metadata in a program. > No, I meant in the places where Pylons is importing WebHelpers and > FormEncode, it wraps the imports in try/excepts so that the legacy decorators > will onl

Re: webhelpers.paginate fails on explicit mapper

2010-09-18 Thread Mike Orr
t takes the page variable from the current URL. It's pretty complex, but that's why Routes has been simplified in Pylons 1 and the "current URL" feature put onto a separate method (pylons.url.current()). -- Mike Orr -- You received this message because you are subscribed

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Mike Orr
On Sun, Sep 19, 2010 at 6:36 PM, Ben Bangert wrote: > On Sep 13, 11:49 am, Mike Orr wrote: > >> Can it be made into a request method so you don't have to pass the >> request object?  That would be more OO. > > Yea, maybe request.link? request.url would conflict

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Mike Orr
lons tradition under the bus, especially because it would force people to rewrite their templates for no obvious benefit. It could copy the variables to both places by default, but have a flag to put them either at the top level or under 'c'. -- Mike Orr -- You received this m

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Mike Orr
On Mon, Sep 20, 2010 at 1:55 PM, Chris McDonough wrote: > On Mon, 2010-09-20 at 13:50 -0700, Mike Orr wrote: >> On Sun, Sep 19, 2010 at 7:01 PM, Chris McDonough wrote: >> > On Sun, 2010-09-19 at 18:36 -0700, Ben Bangert wrote: >> >> Yea, we're going to have

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Mike Orr
On Mon, Sep 20, 2010 at 9:09 PM, Ben Bangert wrote: > On Sep 20, 2010, at 2:58 PM, Mike Orr wrote: > >> BFG is bigger than all the other Pylons dependencies combined. We >> can't have 30% of the Pylons manual referring to BFG features that >> aren't normally

Re: Pylons 2 users guide, first draft

2010-09-26 Thread Mike Orr
etime next winter or spring? -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@google

Re: Pylons 2 users guide, first draft

2010-09-30 Thread Mike Orr
urn login > > > ValueError: Non-response object returned from view named (and no renderer): So you have to return the response object. response = self.request.response response.convent_type = "application/vnd.mozilla.xul+xml" response.body = db.load_form("login.kk")

A Plone clone for Pyramid?

2010-11-05 Thread Mike Orr
ing for in the first phases. This could be a first big project for Pyramid if it's feasable. Anybody want to help design the specs and identify the resources? Replies to pylons-devel. -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons

Re: Pylons 2.0 / pyramid default configuration format

2010-11-05 Thread Mike Orr
e. And of course, we'd have to define a YAML format and test it. Also, in the current system, the same INI file can contain both Paste settings and Python logging settings (and repoze.who settings, etc). Python logging can't parse a YAML file directly. -- Mike Orr -- You received this me

Pyramid incompatibilities with WebHelpers

2010-11-06 Thread Mike Orr
his is frequently-used enough to go into Pyramid directly. * Grid: A generic version is in webhelpers.html.grid. * Minify: I've never used this. Can it go into Pyramid. * Secure_form: I've never used this. Can it go into Pyramid? Pylons imports it into pylons.decorators.secure . -- Mike O

Re: Pylons 2.0 / pyramid default configuration format

2010-11-07 Thread Mike Orr
me. Paste does what it needs to do. Also, "Marco" to many of us means Pyramid. so if this launcher-with-a-YAML format is to be called Marco, that'll need to be distinguished. But I think the reason we left the name Marco (Polo) was that an existing project was already using

<    1   2   3   4   >