You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2014/04/15 17:41:13 UTC

approaches for changing our User _id=None handling

Background: Ming thread about changing _id=None handling http://bit.ly/1gyyCio

Allura uses _id=None for the anonymous user.  To support the latest ming
changes, I am thinking of changes like this:

https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01

Every ForeignIdProperty that references 'User' would have to be updated to use
AlluraUserProperty.  This class would probably also help us in the future,
if/when we change the anonymous user to use a non-None _id.

Does this seem like a good way to go about it?

-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Re: approaches for changing our User_id=None handling

Posted by Tim Van Steenburgh <tv...@gmail.com>.
+1 


On Tuesday, April 15, 2014 at 11:41 AM, Dave Brondsema wrote:

> Background: Ming thread about changing _id=None handling http://bit.ly/1gyyCio
> 
> Allura uses _id=None for the anonymous user. To support the latest ming
> changes, I am thinking of changes like this:
> 
> https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01
> 
> Every ForeignIdProperty that references 'User' would have to be updated to use
> AlluraUserProperty. This class would probably also help us in the future,
> if/when we change the anonymous user to use a non-None _id.
> 
> Does this seem like a good way to go about it?
> 
> -- 
> Dave Brondsema : dave@brondsema.net (mailto:dave@brondsema.net)
> http://www.brondsema.net : personal
> http://www.splike.com : programming
> <><
> 
> 



Re: approaches for changing our User _id=None handling

Posted by Dave Brondsema <da...@brondsema.net>.
Thanks.  The full set of changes turned out to be pretty minimal.  They are at
https://sourceforge.net/p/allura/tickets/7329/ if someone wants to review & merge.

On 4/17/14 1:09 PM, Cory Johns wrote:
> +1, as well
> 
> 
> On Tue, Apr 15, 2014 at 12:06 PM, Olemis Lang <ol...@gmail.com> wrote:
> 
>> On Tue, Apr 15, 2014 at 11:59 AM, Dave Brondsema <da...@brondsema.net>
>> wrote:
>>
>>> On 4/15/14 11:56 AM, Olemis Lang wrote:
>>>> On Tue, Apr 15, 2014 at 11:41 AM, Dave Brondsema <da...@brondsema.net>
>>> wrote:
>>>>
>>>>> Allura uses _id=None for the anonymous user.  To support the latest
>> ming
>>>>> changes, I am thinking of changes like this:
>>>>>
>>>>> https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01
>>>>>
>>>>
>>>> I cannot access that page even after logging into my sf account , so I
>>>> guess others might have similar problems top ?
>>>>
>>>
>>> Whoops; fixed that now.
>>>
>>>
>> I can see it now and , fwiw +1
>>
>>
>>> I think I made the tool private at one point so we'd have less stuff on
>> the
>>> SourceForge project for allura.  We should install the pastebin tool on
>>> forge-allura.apache.org
>>>
>>>
>> ;)
>>
>> [...]
>>
>> --
>> Regards,
>>
>> Olemis - @olemislc
>>
>> Apache(tm) Bloodhound contributor
>> http://issues.apache.org/bloodhound
>> http://blood-hound.net
>>
>> Blog ES: http://simelo-es.blogspot.com/
>> Blog EN: http://simelo-en.blogspot.com/
>>
>> Featured article:
>>
> 



-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Re: approaches for changing our User _id=None handling

Posted by Cory Johns <jo...@gmail.com>.
+1, as well


On Tue, Apr 15, 2014 at 12:06 PM, Olemis Lang <ol...@gmail.com> wrote:

> On Tue, Apr 15, 2014 at 11:59 AM, Dave Brondsema <da...@brondsema.net>
> wrote:
>
> > On 4/15/14 11:56 AM, Olemis Lang wrote:
> > > On Tue, Apr 15, 2014 at 11:41 AM, Dave Brondsema <da...@brondsema.net>
> > wrote:
> > >
> > >> Allura uses _id=None for the anonymous user.  To support the latest
> ming
> > >> changes, I am thinking of changes like this:
> > >>
> > >> https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01
> > >>
> > >
> > > I cannot access that page even after logging into my sf account , so I
> > > guess others might have similar problems top ?
> > >
> >
> > Whoops; fixed that now.
> >
> >
> I can see it now and , fwiw +1
>
>
> > I think I made the tool private at one point so we'd have less stuff on
> the
> > SourceForge project for allura.  We should install the pastebin tool on
> > forge-allura.apache.org
> >
> >
> ;)
>
> [...]
>
> --
> Regards,
>
> Olemis - @olemislc
>
> Apache(tm) Bloodhound contributor
> http://issues.apache.org/bloodhound
> http://blood-hound.net
>
> Blog ES: http://simelo-es.blogspot.com/
> Blog EN: http://simelo-en.blogspot.com/
>
> Featured article:
>

Re: approaches for changing our User _id=None handling

Posted by Olemis Lang <ol...@gmail.com>.
On Tue, Apr 15, 2014 at 11:59 AM, Dave Brondsema <da...@brondsema.net> wrote:

> On 4/15/14 11:56 AM, Olemis Lang wrote:
> > On Tue, Apr 15, 2014 at 11:41 AM, Dave Brondsema <da...@brondsema.net>
> wrote:
> >
> >> Allura uses _id=None for the anonymous user.  To support the latest ming
> >> changes, I am thinking of changes like this:
> >>
> >> https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01
> >>
> >
> > I cannot access that page even after logging into my sf account , so I
> > guess others might have similar problems top ?
> >
>
> Whoops; fixed that now.
>
>
I can see it now and , fwiw +1


> I think I made the tool private at one point so we'd have less stuff on the
> SourceForge project for allura.  We should install the pastebin tool on
> forge-allura.apache.org
>
>
;)

[...]

-- 
Regards,

Olemis - @olemislc

Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

Re: approaches for changing our User _id=None handling

Posted by Dave Brondsema <da...@brondsema.net>.
On 4/15/14 11:56 AM, Olemis Lang wrote:
> On Tue, Apr 15, 2014 at 11:41 AM, Dave Brondsema <da...@brondsema.net> wrote:
> 
>> Allura uses _id=None for the anonymous user.  To support the latest ming
>> changes, I am thinking of changes like this:
>>
>> https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01
>>
> 
> I cannot access that page even after logging into my sf account , so I
> guess others might have similar problems top ?
> 

Whoops; fixed that now.

I think I made the tool private at one point so we'd have less stuff on the
SourceForge project for allura.  We should install the pastebin tool on
forge-allura.apache.org


-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Re: approaches for changing our User _id=None handling

Posted by Olemis Lang <ol...@gmail.com>.
On Tue, Apr 15, 2014 at 11:41 AM, Dave Brondsema <da...@brondsema.net> wrote:

> Allura uses _id=None for the anonymous user.  To support the latest ming
> changes, I am thinking of changes like this:
>
> https://sourceforge.net/p/allura/pastebin/534d521dbcf63a731093fd01
>

I cannot access that page even after logging into my sf account , so I
guess others might have similar problems top ?

-- 
Regards,

Olemis - @olemislc

Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article: