Re: [PATCH 5 of 5] auth: fix tests after changing API key handling

2015-03-25 Thread Mads Kiilerich
On 03/25/2015 12:01 PM, Thomas De Schampheleire wrote: # HG changeset patch # User Thomas De Schampheleire # Date 1427279629 -3600 # Wed Mar 25 11:33:49 2015 +0100 # Node ID eaeea9ea95b036e8d5eaac16aea1e6c8c62868c9 # Parent e1a755428e3abd3d011c7c033233272dadb34572 auth: fix tests after cha

Re: [PATCH 3 of 5] auth: return early in LoginRequired on API key validation

2015-03-25 Thread Mads Kiilerich
On 03/25/2015 12:01 PM, Thomas De Schampheleire wrote: # HG changeset patch # User Thomas De Schampheleire # Date 1427274589 -3600 # Wed Mar 25 10:09:49 2015 +0100 # Node ID 32ced9e32b506c7441339f67da3c4237de0e6fa3 # Parent 43b0bc9088d3eedacf7610ffbf2f4b429ae98c45 auth: return early in Log

Re: [PATCH 2 of 5] auth: return early in LoginRequired on invalid IP

2015-03-25 Thread Mads Kiilerich
On 03/25/2015 12:01 PM, Thomas De Schampheleire wrote: # HG changeset patch # User Thomas De Schampheleire # Date 1427271075 -3600 # Wed Mar 25 09:11:15 2015 +0100 # Node ID 43b0bc9088d3eedacf7610ffbf2f4b429ae98c45 # Parent c5828585502f1a061f162abe8cbd181c17039843 auth: return early in Log

Re: [PATCH 1 of 5] auth: do not redirect to login page on invalid API key

2015-03-25 Thread Mads Kiilerich
On 03/25/2015 12:01 PM, Thomas De Schampheleire wrote: # HG changeset patch # User Thomas De Schampheleire # Date 1427269791 -3600 # Wed Mar 25 08:49:51 2015 +0100 # Node ID c5828585502f1a061f162abe8cbd181c17039843 # Parent 6017996e4dcfda0f5623498a45c51bb184eb67bb auth: do not redirect to

Re: 1st try - no repos found

2015-03-25 Thread Thomas De Schampheleire
On Wed, Mar 25, 2015 at 6:16 PM, Neal Becker wrote: > Thomas De Schampheleire wrote: > >> Hi Neal, >> >> On Wed, Mar 25, 2015 at 4:53 PM, Neal Becker >> wrote: >>> Thomas De Schampheleire wrote: >> [..] >>> >>> I'm running into a problem. I'm using hg-3.3.2, and I have a repo using >>> obsolete

Re: 1st try - no repos found

2015-03-25 Thread Neal Becker
Thomas De Schampheleire wrote: > Hi Neal, > > On Wed, Mar 25, 2015 at 4:53 PM, Neal Becker > wrote: >> Thomas De Schampheleire wrote: > [..] >> >> I'm running into a problem. I'm using hg-3.3.2, and I have a repo using >> obsolete markers. When I start kallithea, go to admin page, it says hg >

Re: 1st try - no repos found

2015-03-25 Thread Thomas De Schampheleire
Hi Neal, On Wed, Mar 25, 2015 at 4:53 PM, Neal Becker wrote: > Thomas De Schampheleire wrote: [..] > > I'm running into a problem. I'm using hg-3.3.2, and I have a repo using > obsolete markers. When I start kallithea, go to admin page, it says hg is > 3.1.2. I can't figure out where that come

Re: 1st try - no repos found

2015-03-25 Thread Neal Becker
Thomas De Schampheleire wrote: > On Wed, Mar 25, 2015 at 4:24 PM, Neal Becker > wrote: >> Thomas De Schampheleire wrote: >> >>> Hi Neal, >>> >>> On Wed, Mar 25, 2015 at 4:03 PM, Neal Becker >>> wrote: installed 0.1 on fedora f21 into venv using instructions for install and setup.

Re: 1st try - no repos found

2015-03-25 Thread Thomas De Schampheleire
On Wed, Mar 25, 2015 at 4:24 PM, Neal Becker wrote: > Thomas De Schampheleire wrote: > >> Hi Neal, >> >> On Wed, Mar 25, 2015 at 4:03 PM, Neal Becker >> wrote: >>> installed 0.1 on fedora f21 into venv using instructions for install and >>> setup. >>> >>> I chose for root >>> >>> /home/nbecker/si

Re: 1st try - no repos found

2015-03-25 Thread Neal Becker
Thomas De Schampheleire wrote: > Hi Neal, > > On Wed, Mar 25, 2015 at 4:03 PM, Neal Becker > wrote: >> installed 0.1 on fedora f21 into venv using instructions for install and >> setup. >> >> I chose for root >> >> /home/nbecker/sigproc.export >> >> which is a clone of a working hg repo, under m

Re: 1st try - no repos found

2015-03-25 Thread Thomas De Schampheleire
Hi Neal, On Wed, Mar 25, 2015 at 4:03 PM, Neal Becker wrote: > installed 0.1 on fedora f21 into venv using instructions for install and > setup. > > I chose for root > > /home/nbecker/sigproc.export > > which is a clone of a working hg repo, under my home dir. Kallithea is about serving more tha

1st try - no repos found

2015-03-25 Thread Neal Becker
installed 0.1 on fedora f21 into venv using instructions for install and setup. I chose for root /home/nbecker/sigproc.export which is a clone of a working hg repo, under my home dir. As me, I started paster server my.ini *** failed to import extension evolve from ~/mutable- history/hgext/ev

Re: Invitation to "adopt pytest month"

2015-03-25 Thread Thomas De Schampheleire
On Wed, Mar 25, 2015 at 11:15 AM, Thomas De Schampheleire wrote: > Hi, > > On Mon, Mar 23, 2015 at 10:35 AM, Nick Coghlan wrote: >> >> On 20 Mar 2015 09:32, "Mads Kiilerich" wrote: >>> >>> On 03/19/2015 11:30 PM, Brianna Laugher wrote: Hello, I am a contributor to the testing

[PATCH 5 of 5] auth: fix tests after changing API key handling

2015-03-25 Thread Thomas De Schampheleire
# HG changeset patch # User Thomas De Schampheleire # Date 1427279629 -3600 # Wed Mar 25 11:33:49 2015 +0100 # Node ID eaeea9ea95b036e8d5eaac16aea1e6c8c62868c9 # Parent e1a755428e3abd3d011c7c033233272dadb34572 auth: fix tests after changing API key handling Return codes when using API keys

[PATCH 4 of 5] auth: simplify logging of regular authentication in LoginRequired

2015-03-25 Thread Thomas De Schampheleire
# HG changeset patch # User Thomas De Schampheleire # Date 1427274714 -3600 # Wed Mar 25 10:11:54 2015 +0100 # Node ID e1a755428e3abd3d011c7c033233272dadb34572 # Parent 32ced9e32b506c7441339f67da3c4237de0e6fa3 auth: simplify logging of regular authentication in LoginRequired diff --git a/ka

[PATCH 3 of 5] auth: return early in LoginRequired on API key validation

2015-03-25 Thread Thomas De Schampheleire
# HG changeset patch # User Thomas De Schampheleire # Date 1427274589 -3600 # Wed Mar 25 10:09:49 2015 +0100 # Node ID 32ced9e32b506c7441339f67da3c4237de0e6fa3 # Parent 43b0bc9088d3eedacf7610ffbf2f4b429ae98c45 auth: return early in LoginRequired on API key validation Simplify the logic in t

[PATCH 1 of 5] auth: do not redirect to login page on invalid API key

2015-03-25 Thread Thomas De Schampheleire
# HG changeset patch # User Thomas De Schampheleire # Date 1427269791 -3600 # Wed Mar 25 08:49:51 2015 +0100 # Node ID c5828585502f1a061f162abe8cbd181c17039843 # Parent 6017996e4dcfda0f5623498a45c51bb184eb67bb auth: do not redirect to login page on invalid API key When accessing Kallithea t

[PATCH 2 of 5] auth: return early in LoginRequired on invalid IP

2015-03-25 Thread Thomas De Schampheleire
# HG changeset patch # User Thomas De Schampheleire # Date 1427271075 -3600 # Wed Mar 25 09:11:15 2015 +0100 # Node ID 43b0bc9088d3eedacf7610ffbf2f4b429ae98c45 # Parent c5828585502f1a061f162abe8cbd181c17039843 auth: return early in LoginRequired on invalid IP Simplify the code of the LoginR

Re: [PATCH 0 of 1 RFC] login-required pragma

2015-03-25 Thread Thomas De Schampheleire
On Mon, Mar 23, 2015 at 8:36 PM, Mads Kiilerich wrote: > On 03/22/2015 02:34 PM, Thomas De Schampheleire wrote: >> >> Hi Mads, >> >> On Fri, Mar 20, 2015 at 1:09 AM, Mads Kiilerich >> wrote: >>> >>> On 03/19/2015 09:34 PM, Thomas De Schampheleire wrote: Hi, Issue I'm trying to