Mailing List Archive

A few minor UserDB patch proposals
Everyone,

I'd like to propose a few minor patches to UserDB.

The first one is at login time, to set $Vend::admin earlier so that its
value is accessible to the optional postlogin_action:

https://github.com/jonjensen/interchange/commit/e250c1f2701eec05f1e6f6c68af919e12af1d63c

From what I can see that should not have any ill effect, or any other
effect at all, really, since nothing else happens in the interim.

The second one is to add a prelogout_action akin to the postlogin_action
and allow arbitrary code to be hooked into the logout function:

https://github.com/jonjensen/interchange/commit/02467791bf3ed83551ca9daf919f81115373b296

Any objections or comments?

Thanks,
Jon


--
Jon Jensen
End Point Corporation
https://www.endpoint.com/

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: A few minor UserDB patch proposals [ In reply to ]
On 12/23/2016 05:39 AM, Jon Jensen wrote:
> Everyone,
>
> I'd like to propose a few minor patches to UserDB.
>
> The first one is at login time, to set $Vend::admin earlier so that its
> value is accessible to the optional postlogin_action:
>
> https://github.com/jonjensen/interchange/commit/e250c1f2701eec05f1e6f6c68af919e12af1d63c
>
>
> From what I can see that should not have any ill effect, or any other
> effect at all, really, since nothing else happens in the interim.
>
> The second one is to add a prelogout_action akin to the postlogin_action
> and allow arbitrary code to be hooked into the logout function:
>
> https://github.com/jonjensen/interchange/commit/02467791bf3ed83551ca9daf919f81115373b296
>
>
> Any objections or comments?
>
> Thanks,
> Jon
>
>

Sounds good to me ... +1

Regards
Racke

--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: A few minor UserDB patch proposals [ In reply to ]
> On 12/23/2016 05:39 AM, Jon Jensen wrote:
> > Everyone,
> >
> > I'd like to propose a few minor patches to UserDB.
> >
> > The first one is at login time, to set $Vend::admin earlier so that
> > its value is accessible to the optional postlogin_action:
> >
> >
> https://github.com/jonjensen/interchange/commit/e250c1f2701eec05f1e6f6
> > c68af919e12af1d63c
> >
> >
> > From what I can see that should not have any ill effect, or any other
> > effect at all, really, since nothing else happens in the interim.
> >
> > The second one is to add a prelogout_action akin to the
> > postlogin_action and allow arbitrary code to be hooked into the logout
> function:
> >
> >
> https://github.com/jonjensen/interchange/commit/02467791bf3ed83551ca9d
> > af919f81115373b296
> >
> >
> > Any objections or comments?
> >
> > Thanks,
> > Jon
> >
> >
>
> Sounds good to me ... +1
>
> Regards
> Racke

+1 & Happy holidays :)


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: A few minor UserDB patch proposals [ In reply to ]
On Fri, 23 Dec 2016, Gert van der Spoel wrote:

>>> I'd like to propose a few minor patches to UserDB.
>>
>> Sounds good to me ... +1
>
> +1 & Happy holidays :)

Thanks for the input, Racke & Gert. Merry Christmas and happy holidays to
you all too!

Jon

--
Jon Jensen
End Point Corporation
https://www.endpoint.com/

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users