Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Date
Msg-id CABUevEyryYyxN-586xP0b2Qa1TzVOe6F9mtSodKO_Q1+AumO9g@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
On Wed, Oct 27, 2021 at 11:58 AM Célestin Matte
<celestin.matte@cmatte.me> wrote:
>
> Hello,
>
> Here's a similar patch for pgarchives, in which the search forms also point to www.postgresql.org.
>
> I'm adding this patch to the same thread to avoid spreading the discussion.

Thanks!

This also looks like a good idea,  but I instead choose to put it in
NavContext to be consistent with allow_resend which also just maps a
setting from settings.py -> the templates.

It should also be the full url and not hardcoded to https, same as the
one for the main website. Fixed as well.

Finally it was also not updating the form for the general search,
which should of course be treated by the same setting.


--
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH 1/2] pgarchives: Add missing authentication backend to settings.py