Re: [pylons-devel] Announcing Montague: replace INI with YAML, JSON, etc

2015-06-28 Thread Domen Kožar
You can pass a list of filenames to logging.config.fileConfig and it will use them in order (including inheritance). Although that's not documented anywhere. On Sun, Jun 28, 2015 at 3:07 PM, Jon Rosebaugh wrote: > On 6/28/15 3:39 AM, Domen Kožar wrote: > >> ConfigParser

Re: [pylons-devel] Announcing Montague: replace INI with YAML, JSON, etc

2015-06-28 Thread Domen Kožar
> > > I also have sometimes wanted to separate the logging configuration > from the rest of the file. The logging configuration is very verbose > with multiple stanzas and many lines, and sometimes I have several > files that differ in only one or two settings but the same logging > configuration.

Re: Pyramid Summer Sprint in August

2013-06-19 Thread Domen Kožar
I'm in. I'll be working on SubstanceD. Cheers, Domen On Tue, Jun 18, 2013 at 2:00 PM, Christian Theune < christian.the...@googlemail.com> wrote: > Hi, > > just in case this information has not reached everyone who's interested. > > There will be a Pyramid sprint in Germany in August, sponsored

Re: cleaning up docs/conf.py

2013-03-29 Thread Domen Kožar
I'd say it better to stay there, as it provides inline documentation for settings that you might turn on. To clean it up, maybe split settings in two sections - configured and commented. On Fri, Mar 29, 2013 at 1:00 PM, Tshepang Lekhonkhobe wrote: > On Sat, Mar 16, 2013 at 9:23 PM, Tshepang Lek

Re: Release plans for webtest

2013-03-15 Thread Domen Kožar
Released WebTest 2.0.2: http://webtest.readthedocs.org/en/latest/changelog.html#id1 On Fri, Mar 15, 2013 at 3:35 PM, Andrey Lebedev wrote: > Hello, > > I am porting zope.testbrowser package from mechanize to webtest backend. > In the process of porting, I've fixed one issue in webtest and submit

Re: how are the pyramid docs managed ?

2013-02-08 Thread Domen Kožar
And tags to v1.4, yes :) On Fri, Feb 8, 2013 at 10:49 PM, Tshepang Lekhonkhobe wrote: > Would it solve the problem if the branches were simply renamed, from > e.g "1.4-branch" to "1.4"? > > On Fri, Feb 8, 2013 at 9:23 PM, Michael Merickel > wrote: > > We are limited by what readthedocs is actua

Substance D, Pyramid and WebTest sprints (also FOSDEM2013)

2013-02-01 Thread Domen Kožar
Hi all, just a quick reminder, there are lots of sprints going on in connection with Pylons project in EU. Artsprint 2013 (18th - 22nd February) in Vienna - Pyramid, Substance D http://www.coactivate.org/projects/artsprint2013/project-home WebTest sprint (21st - 24th February) in Paris https:

Re: AuthTktAuthenticationPolicy using MD5

2012-09-24 Thread Domen Kožar
ith Apache's mod_auth_tkt? > > On Sunday, September 23, 2012 12:03:43 PM UTC-4, Domen Kožar wrote: > >> Created pull request, changed the approach a bit: https://github.com/** >> Pylons/pyramid/pull/695 <https://github.com/Pylons/pyramid/pull/695> >> >>

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Domen Kožar
Created pull request, changed the approach a bit: https://github.com/Pylons/pyramid/pull/695 On Sun, Sep 23, 2012 at 4:05 PM, Chris McDonough wrote: > On Sun, 2012-09-23 at 06:54 -0700, Florian Rüchel wrote: > > > > > > On Sunday, September 23, 2012 3:11:51 PM UTC+2, Chris McDonough wrote: > >

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Domen Kožar
Thanks Florian, I'll try to come up with a sane patch based on this :) For generating secret, I would just update documentation to use something like: $ openssl rand -base64 32 On Sun, Sep 23, 2012 at 2:54 PM, Florian Rüchel wrote: > > How about a script that's part of the framework itself? We h

Re: AuthTktAuthenticationPolicy using MD5

2012-09-21 Thread Domen Kožar
Agreed. For that reason, I'd just use session authentication policy and TLS without decompression. On Fri, Sep 21, 2012 at 8:26 PM, Daniel Holth wrote: > On Fri, Sep 21, 2012 at 1:54 PM, Domen Kožar wrote: > > For generating secrets it's important to discourage usage

Re: AuthTktAuthenticationPolicy using MD5

2012-09-21 Thread Domen Kožar
For generating secrets it's important to discourage usage of random module, but use something like: secret = ''.join('%02x' % ord(x) for x in os.urandom(128)) On Fri, Sep 21, 2012 at 7:50 PM, Jonathan Vanasco wrote: > Additionally you could provide help on how to generate such a secret (but

Re: AuthTktAuthenticationPolicy using MD5

2012-09-13 Thread Domen Kožar
Hi Florian, It's probably enough to support "MD5", "SHA256" and "SHA512". Maybe just do case insensitive comparison and default to "MD5". I wouldn't complicate too much, as long as we can get the benefit of being compatible with specs and modern crypto. my 2 cents, cheers Domen On Mon, Sep 10,

Re: AuthTktAuthenticationPolicy using MD5

2012-09-09 Thread Domen Kožar
Florian: do you plan to provide a patch? On Sun, Sep 9, 2012 at 5:45 PM, Chris McDonough wrote: > On Sun, 2012-09-09 at 17:40 +0200, Domen Kožar wrote: > > According > > to > https://github.com/gavincarr/mod_auth_tkt/blob/master/conf/02_auth_tkt.confand > > ht

Re: AuthTktAuthenticationPolicy using MD5

2012-09-09 Thread Domen Kožar
According to https://github.com/gavincarr/mod_auth_tkt/blob/master/conf/02_auth_tkt.conf and http://linux.die.net/man/3/mod_auth_tkt, mod_auth_tkt supports SHA256 and SHA512 since version 2.1 Relevant: https://bitbucket.org/ianb/paste/changeset/7f90a96378ed On Sun, Sep 9, 2012 at 4:56 PM, Chris

Re: _jsmin.py license

2010-08-09 Thread Domen Kožar
We can make it as optional dependency and provide something else as default minimizer. I guess jokes make the world 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 g

Re: pylons future plans?

2009-06-23 Thread Domen Kožar
That's seems like a great idea. On Jun 23, 3:25 pm, 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 the subprojects should integrate with the Pylons site and a common > format for

create_slug helper

2009-06-06 Thread Domen Kožar
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 source: http://paste.pocoo.org/show/121523/ --~--~-~--~~~---~--