Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
Cc: pgsql-www(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Date: 2022-01-15 17:38:56
Message-ID: CABUevEyryYyxN-586xP0b2Qa1TzVOe6F9mtSodKO_Q1+AumO9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Wed, Oct 27, 2021 at 11:58 AM Célestin Matte
<celestin(dot)matte(at)cmatte(dot)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/

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2022-01-15 17:54:20 Re: [PATCH 1/2] pgarchives: Add missing authentication backend to settings.py
Previous Message Magnus Hagander 2022-01-15 17:38:52 Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives