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

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Дата
Msg-id CABUevEwD_qbzgJdZCrFvrfLDM+QVwKW+1RWSkB-xh97Oi+UZ7g@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives  (Célestin Matte <celestin.matte@cmatte.me>)
Ответы Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives  (Célestin Matte <celestin.matte@cmatte.me>)
Список pgsql-www
On Tue, Oct 26, 2021 at 4:34 PM Célestin Matte <celestin.matte@cmatte.me> wrote:
Hello,

Domain of messages in pgweb's search is currently hardcoded as postgresql.org
in templates/search/listsearch.html. This patch allows to use another domain
for links to messages in archives in the search function.
Since pgarchives' domain can differ from pgweb's one, a new variable is defined
for that purpose instead of using SITE_ROOT.

This patch adds a new parameter ARCHIVES_FRONT_ADDRESS, which is then never used. Instead it passes in ARCHIVES_SEARCH_SERVER into the templates.

I'm pretty sure that's not intentional? They should both b ARCHIVES_FRONT_ADDRESS?

--

В списке pgsql-www по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [PATCH] pgarchives: Bugfix: allow message's parentid to be null
Следующее
От: Célestin Matte
Дата:
Сообщение: Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives