Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message - Mailing list pgsql-www

From Akshat Jaimini
Subject Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message
Date
Msg-id CAMaW3Vg5ZVFkoFrb4mv7dvDKFOfxGwvPg8OUQSGBiOm40LS=SA@mail.gmail.com
Whole thread Raw
In response to [PATCH] pgweb: auth.py: make it possible to customize email address in error message  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
We actually have a new tool that tests all the functionalities in the website. So just wanted to run it through that before.

I'll run the tests against your gitlab mirror.



Regards,
Akshat Jaimini

On Wed, 20 Dec, 2023, 20:11 Célestin Matte, <celestin.matte@cmatte.me> wrote:
Hello,

Not sure what you're asking — I don't have access to the pgweb repo
Do you mean a pull request?
My local copy is on gitlab: https://gitlab.com/cmatte/pgweb/-/tree/auth_email?ref_type=heads

Regards,

On 20/12/2023 14:32, Akshat Jaimini wrote:
> Hi!
> It would be great if we could test this patch with the testing harness to confirm that nothing would break(although I am sure nothing would but there's no harm in testing).
>
> Is it possible to setup a develop/testing branch on the pgweb repo from where the harness can pull it?
>
> Regards,
> Akshat Jaimini
>
> On Tue, 19 Dec, 2023, 22:21 Célestin Matte, <celestin.matte@cmatte.me <mailto:celestin.matte@cmatte.me>> wrote:
>
>     auth.py contains an error message with an hardcoded @postgresql.org <http://postgresql.org> email address.
>     This patch makes it possible to change it using a variable in the settings.
>     I used ADMINS because it already exists in pgweb with the correct value (and pgarchives), but that can be discussed as it doesn't exist in pglister.
>
>     --
>     Célestin Matte
>

--
Célestin Matte

pgsql-www by date:

Previous
From: Célestin Matte
Date:
Subject: pglister: monitor eximintegration queue with nagios?
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message