Re: [pylons-devel] Pylons 1.x maintenance

2015-07-21 Thread Ben Bangert
at 1:56 PM, Andrew Shadura and...@shadura.me wrote: Hi, On 20 July 2015 at 22:47, Steve Piercy steve.piercy@gmail.com wrote: To proceed, please contact Ben Bangert directly, as he is the owner of Pylons the web framework, and work out any details. I don't have any say in the matter

ANN: Beaker 1.6.4 released with important security update

2012-08-13 Thread Ben Bangert
Beaker is a high-level Python library providing caching and sessions for use in web applications. The session implementation comes with crypto-based cookie encryption that support PyCrypto, pycryptopp, and now NSS crypto. Prior to this release, an attacker could possibly determine some content

Re: ATTN: Please keep general discussion on pylons-discuss

2011-04-04 Thread Ben Bangert
On Apr 4, 2011, at 12:37 PM, Chris Withers wrote: Well, what has been happening, certainly from a (relatively) innocent bystanders point of view is that it's all been on -devel up until now. The two lists are meant to be a convenience for users, users, or developers? Both. But obviously

Re: ATTN: Please keep general discussion on pylons-discuss

2011-03-31 Thread Ben Bangert
On Mar 31, 2011, at 7:14 AM, Chris Withers wrote: How about just merging the lists? As far as I know, Google Groups has no 'merge' option. Is there really so much volume as to justify two lists? Well, the -devel is intentionally lower traffic so those more concerned about the development of

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Ben Bangert
On Mar 22, 2011, at 6:30 PM, Michael Merickel wrote: I'd imagine we can update Paste to support an alias for templates? paster create --list-scaffolding paster create --scaffold pyramid_starter paster create -s pyramid_routesalchemy Maybe the actual templates commands could even be

Re: Terminology Change - Template to Skeleton

2011-03-21 Thread Ben Bangert
On Mar 21, 2011, at 11:08 AM, Alice Bevan–McGregor wrote: ±0 — skeleton describes what it is less than, say, blueprint. A Linux /etc/skel is static, for one. Blueprints often reference other blueprints, too. I'd also say that blueprint is more descriptive, of course I think the Rails

Re: Terminology Change - Template to Skeleton

2011-03-21 Thread Ben Bangert
On Mar 21, 2011, at 12:29 PM, Mike Orr wrote: I like the word blueprint better than skeleton, actually. I would have suggested it but you had already taken the name. I don't think we can use your implementation classes directly, because they make a several fundamental changes compared to

Re: Terminology Change - Template to Skeleton

2011-03-21 Thread Ben Bangert
On Mar 21, 2011, at 1:48 PM, Mike Orr wrote: Template has been a problem for years. Even if people can figure it out, it's cumbersome to write in documentation and tutorials where you have to explain that a template (skeleton) is not a template (file) although some of its files are templates.

ATTN: Please keep general discussion on pylons-discuss

2011-03-15 Thread Ben Bangert
First, I apologize for failing to catch that the website was unfortunately instructing people to go to pylons-devel to talk about Pyramid and Pylons Project tasks. We really need to keep general discussion type stuff on pylons-discuss. Otherwise we end up with two lists for general

Re: How do I combine paster templates?

2011-03-07 Thread Ben Bangert
On Mar 7, 2011, at 3:56 AM, Simon King wrote: It might be worth pointing this out in the docs. http://docs.pylonsproject.org/#support and http://pylonsproject.org/community/get-support only mention the pylons-devel list (as far as I can see, at least). Thanks for pointing that out! We're

Re: How do I combine paster templates?

2011-03-06 Thread Ben Bangert
On Mar 5, 2011, at 12:34 PM, Sasker wrote: Also, I apologize if I am posting to the wrong group, I wasn't quite sure which group I should be posting to. No worries, this should be posted on the pylons-discuss list. Pylons-devel is for development related to Pylons projects, the Pyramid

Re: Some thoughts about Pyramid

2011-03-03 Thread Ben Bangert
On Mar 3, 2011, at 9:28 AM, Chris McDonough wrote: Sounds like (s)he is blowing off a little steam. All of these points are addressed in http://docs.pylonsproject.org/projects/pyramid/1.0/designdefense.html . Indeed, my comment is awaiting moderation on the blog, I cited that URL as well.

Re: paginator/batcher for use with Pyramid

2011-02-24 Thread Ben Bangert
On Feb 24, 2011, at 9:43 AM, Gael Pasgrimaud wrote: On Thu, Feb 24, 2011 at 6:37 PM, Mike Orr sluggos...@gmail.com wrote: Paginate works with Pyramid, with the caveat that if you use the Page.pager() method, you have to pass a custom URL generator to the constructor as described on the

Re: paginator/batcher for use with Pyramid

2011-02-24 Thread Ben Bangert
On Feb 24, 2011, at 11:18 AM, Mike Orr wrote: Or rather, it would solve the /index?page=2 problem. It wouldn't solve the /index/page/2 problem, which requires knowledge of a specific router. Yea, I can't say I'm really a fan of that. The whole url's shouldn't change, and here's an arbitrary

Re: Raw MySQL with SQLAlchemy using Pyramid framework

2011-02-20 Thread Ben Bangert
On Feb 20, 2011, at 1:58 AM, AwaisMuzaffar wrote: Thanks for the reply guys it has been very informative. My main reason for using raw is that I have spent so much time learning MySQL, to me it seems counter productive to learn SQLALchemy methodologies from scratch. Ok, so maybe manually

Re: help on webob

2010-12-30 Thread Ben Bangert
On Dec 30, 2010, at 11:29 AM, Gael Pasgrimaud wrote: I've already tried to contribute but my changes was never merged. Maybe you can use this changeset: https://bitbucket.org/gawel/webob/changeset/ed29414cd65b Thanks Gael! I've pulled and merged your test additions. Cheers, Ben -- You

Re: @view_config and URL dispatch

2010-12-13 Thread Ben Bangert
On Dec 12, 2010, at 10:20 PM, Jerry wrote: but not /with/ the 'name' argument (which gives the same error as that in my previous post) -- views.py @view_config(name='site1_view', route_name='site1', renderer='templates/site1.pt') /views.py Maybe the doc could have made it clearer that

Re: Pyramid project templates

2010-11-28 Thread Ben Bangert
On Nov 24, 2010, at 7:10 PM, Daniel Holth wrote: I recommend the status quo. My reusable pyramid application will not need to import pyramid_sqla. It will: • have its own declarative base • require the user to call ponzi_auth.configure_database(engine) • not use database

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
On Nov 23, 2010, at 7:50 PM, Chris McDonough wrote: I'd suggest instead: newproj/ __init__.py views.py tests.py models.py templates/ mytemplate.pt static/ various static files Such a template might be named pyramid_diy. pyramid_diy would be a

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
On Nov 23, 2010, at 11:22 PM, Mike Orr wrote: I can't read Ben's mind. I need to know what he expects it to contain. If we're just talking a Session and Base object and initialize_sql(), that's almost too little to justify a package. So, my thought was that it'd have a DBSession in it, and

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
On Nov 24, 2010, at 10:58 AM, Mike Orr wrote: There are a few limitations with putting the dbsession and initialize function in a package: 1) The model is no longer autonomous. A Pylons model can be imported and used on its own, even if the rest of the application or Pylons has some error

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
On Nov 24, 2010, at 1:49 PM, Mike Orr wrote: So do we need multiple sessions? I'm not sure we've defined the use cases clearly enough, which runs the risk that we'll make an API that won't be adequate anyway. So I'm inclined to use a single session. We can always add a multisession object

Re: permissions with handlers

2010-11-20 Thread Ben Bangert
On Nov 20, 2010, at 2:21 AM, Eric Rasmussen wrote: I completed the wiki tutorial and had no problem setting up authorization/authentication with config.add_route and the keyword argument view_permission. However, I'm putting together my own app now using the Pylons style handlers, and it

Routing in Pyramid

2010-11-19 Thread Ben Bangert
After some discussion, it seemed reasonable to also have Pyramid use the new Routes style syntax for grouping markers (the dynamic bit) in a pattern: '/articles/{action}/{id}' As this allows for multiple markers in the same path segment, and provides leeway for additional functionality like

Re: Routing in Pyramid

2010-11-19 Thread Ben Bangert
On Nov 19, 2010, at 2:26 PM, Alexandre Conrad wrote: I don't feel I'd use that very much. It's like having globals set in your app, you don't really know what's happening (even though the context manager helps in readability). I'd rather have explicitly {id:int} so I am sure it is casted to

Re: Routing in Pyramid

2010-11-19 Thread Ben Bangert
On Nov 19, 2010, at 4:12 PM, Chris McDonough wrote: If there are both regexes and converters, I'd suggest they remain separate, e.g.: {month:\d+:month_conv} Regexes are about matching, converters are about converting. Since my month converter knows it wants digits, I feel silly being

Re: Routing in Pyramid

2010-11-19 Thread Ben Bangert
On Nov 19, 2010, at 5:57 PM, Chris McDonough wrote: AFAICT, matching and conversion are totally separate concepts. Despite some conversions having a relationship with some matchings, there are times when you want a match filter without a conversion, and vice versa. And there are times when

Re: Status of Pyramid (angling for a beta)

2010-11-18 Thread Ben Bangert
On Nov 18, 2010, at 11:36 AM, Mike Orr wrote: BTW, I'm not so sure it's a good idea to allow omitting the slash before the star. Unlike segment replacement markers, [the star] does not need to be preceded by a slash. For example: foo/:baz/:bar*fizzle I would read that and be confused.

Re: Pylons 2 users guide, first draft

2010-09-30 Thread Ben Bangert
On Sep 30, 2010, at 9:43 AM, Mike Orr wrote: CC'ing pylons-devel because these will be FAQs. @action def login(self): login=(db.load_form('login.kk')) self.request.response_content_type = 'application/vnd.mozilla.xul+xml' return login @action TypeError:

Re: Pylons 2 users guide, first draft

2010-09-25 Thread Ben Bangert
On Sep 25, 2010, at 4:43 AM, Santhosh wrote: I checked the new developing version of pylons .The new version is entirely different from the older version . How can the developers follow this ? .The developers compelled to have change the developed software because if they remain in the older

Re: Pylons 2 users guide, first draft

2010-09-21 Thread Ben Bangert
On Sep 20, 2010, at 10:17 PM, Mike Orr wrote: How many full-time staff do you have available for two months? Just converting the hundreds of references to plain text would take hours, plus rewording the hundred-some pages of BFG docs and hundred-some other docs and a few more for SQLAlchemy

Re: Pylons 2 users guide, first draft

2010-09-19 Thread Ben Bangert
On Sep 19, 2010, at 6:36 PM, Ben Bangert wrote: BTW, for anyone else that just saw this message appear apparently out of the blue, Google Groups does have the full thread but failed to e-mail it out. To catch up, just go to: http://groups.google.com/group/pylons-devel/browse_thread/thread

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Ben Bangert
On Sep 13, 2010, at 12:09 AM, Mike Orr wrote: I'll move some of the background paragraphs into separate pages. But this page will focus on the minimal app. Do you have any sample applications in both Pylons 1 and Pylons 2 that I can include? The more sophistocated one with multiple actions

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Ben Bangert
On Sep 13, 2010, at 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. Sure, request.url though makes it ambiguous if its the request URL vs a url function. Ian called it request.link in his example app using

Re: pylons future plans?

2009-06-22 Thread Ben Bangert
On Jun 21, 2009, at 12:40 PM, Iain Duncan wrote: I don't know what Ben has up his sleeve but I think the core is essentially done with 0.9.7. The main incremental changes are on the periphery: improve @validate, replace @beaker_cache, improve the dependency documentation. I had a second

Re: create_slug helper

2009-06-18 Thread Ben Bangert
On Jun 6, 2009, at 6:17 PM, Domen Kožar wrote: Hey guy, today I threw together this little function helper that I miss a lot in WebHelpers. unidecode module can be obtained from http://code.zemanta.com/tsolc/unidecode/releases/Unidecode-0.04.1.tar.gz Funny, as I was porting my blog from a

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-05 Thread Ben Bangert
On May 4, 2009, at 4:48 PM, Mike Lewis wrote: Having passwords encrypted in MD5 sent in plaintext is probably almost worse than just sending them in plaintext. I was about to say something similar, until I read more about Paul's scheme. :) Paul is using a hand-shake method whereby the

Re: 0.9.7 docs

2008-11-23 Thread Ben Bangert
On Nov 23, 2008, at 5:18 PM, Eric Ongerth wrote: I would be glad to contribute typo and spelling fixes to the new pylons docs at docs.pylonshq.com. I have been reading through them and I have such volume of small fixes to offer that it would not be most efficient to package them up in email,

Beaker 1.1 Release

2008-11-16 Thread Ben Bangert
Beaker 1.1 has been released. I only mention it here because those upgrading should note that the pickled file format for Beaker has CHANGED. This means that ALL PRIOR BEAKER CACHE FILES SHOULD BE REMOVED AFTER UPGRADING. Otherwise your application will throw errors as it won't find the

Re: Prototype works under Konqueror - jQuery ie - not

2008-09-02 Thread Ben Bangert
On Sep 2, 2008, at 5:24 AM, Bartosz R wrote: Actually, what has been said on the wiki is that Prototype and Scriptaculous are out of date and will not be maintained. It seems though that they are maintained That is referring to the WebHelper functions that use those libraries, not the

Re: 0.9.6.2 mis-packaged?

2008-06-24 Thread Ben Bangert
On Jun 24, 2008, at 11:32 AM, Kyle VanderBeek wrote: I just noticed the same thing happened in the 0.9.5 release of Beaker as well: [EMAIL PROTECTED] devel]$ tar tzf Beaker-0.9.5.tar.gz | grep \\._ Beaker-0.9.5/beaker/.___init__.py Beaker-0.9.5/beaker/._cache.py

Re: Docs docs docs!

2008-04-30 Thread Ben Bangert
I've gotten the basic Sphinx setup working now, and have gotten the Getting Started doc done. Here's what the Sphinx doc build looks like so far: http://docs.pylonshq.com/ I've got most of the module API docs laid out too. I should note that this doc effort covers a few related packages as

Re: Docs docs docs!

2008-04-19 Thread Ben Bangert
On Apr 9, 2008, at 6:08 AM, Graham Higgins wrote: I'd like to be involved Great to see you getting back into the docs! I'm assembling the first revision of the Pylons docs that will use Sphinx and be in the Pylons repo so that anyone installing Pylons will have a copy of the docs with

Re: pylons's nose plugin configuration file versus hardcoded test.ini

2008-03-28 Thread Ben Bangert
On Mar 28, 2008, at 4:50 PM, Agustin Villena wrote: Therefore, supporting multiple test.ini files (for testing multiple configuration of componentes, like plugins) will not be allowed in the current Pylons? I don't understand what you mean that its not allowed in Pylons. It's in *your*

Re: A Buffet replacement

2008-03-05 Thread Ben Bangert
On Mar 4, 2008, at 9:36 PM, Ian Bicking wrote: It's a rendering factory someone wrote. A little like Buffet, except no entry points, no standardized way to instantiate the object, and no particular need to make the render callable have a completely consistent signature. Yet another

Re: Beaker: 'expiretime' and memcached backend

2008-02-21 Thread Ben Bangert
On Feb 21, 2008, at 2:53 AM, Andrew Stromnov wrote: Is 'expiretime' passed to memcached backend? It seems that 'key:value; pair stays forever in memcached backend The expired time isn't passed to the backends, when Beaker stores a value in any backend, it records the stored time in

Re: AW: Routes 2 spec

2008-01-17 Thread Ben Bangert
On Jan 17, 2008, at 2:19 AM, Andrew Smart wrote: I had some trouble with the HTTP var which has been used to identify the subdomain. In my configuration the subdomain must be retrieved from HTTP_X_FORWARDED_HOST and not from HTTP_HOST. Ian wrote something about egg:PasteDeploy#prefix which I

Re: Routes 2 spec

2008-01-17 Thread Ben Bangert
On Jan 17, 2008, at 12:21 PM, Mike Orr wrote: Good idea, active and passive routes are easy to explain. Active means participates in matching; passive means the route does nothing unless you invoke it for generation. Should we change .connect to .active or is that too radical? I think

Re: Routes 2 spec

2008-01-15 Thread Ben Bangert
On Jan 15, 2008, at 8:14 AM, Chris AtLee wrote: I just had a chance to look at the Routes 2 spec, and this was my first thought as well. Having route names as attributes on the RouteMap object will be very confusing since the methods used to manipulate the RouteMap will be indistinguishable

Re: Cleaning some house of imports and one letters

2007-12-19 Thread Ben Bangert
On Dec 19, 2007, at 8:37 AM, Ian Bicking wrote: My concern here has actually been the reactions I've gotten from people experienced with Python when they first look at Pylons. Several different people have mentioned this -- not as a horrible thing, but as something that stuck out to them,

Re: Cleaning some house of imports and one letters

2007-12-19 Thread Ben Bangert
On Dec 19, 2007, at 1:32 PM, Mike Orr wrote: from pylons import render, request, response, session Is that a move of pylons.template.render ? Not intentionally, my bad: from pylons.templating import render Should be in there. Cheers, Ben smime.p7s Description: S/MIME cryptographic

Re: Paste project and Pylons

2007-12-13 Thread Ben Bangert
On Dec 12, 2007, at 11:29 PM, Max Ischenko wrote: It's kind of a closed source open source package. It is a brainchild of a single person and seems to remain under full ownership of him, with very little external contributions. Documentation sucks, which is to be expected -- since no one else

Re: template_engine.default considered harmful

2007-12-12 Thread Ben Bangert
On Dec 12, 2007, at 1:42 PM, Mike Orr wrote: Why do you find it difficult to change the default engine, and what would be easier? In a one-engine scenario, you simply change the obvious template_engine argument in the config.init_app() call. In a multi-engine scenario you have to do the list