feat: Add support for Web URLs in templates.
This adds support to include the Web URLs in the default email templates provided by Mailman. Since Postorius is an optional peice in Mailman 3, we haven't had support for Web URLs so far.
The changes in this PR include:
-
Additional field on domain, web_host, which will typically be the public facing URL for Postorius, including the prefix. A typical value for it would be something like:
https://lists.example.com/mailman3
-
A new configuration section,
urlpatterns
, which has the various patterns to generate URLs based on Postorius's default URL patterns using parameters likelist_id
,domain
,base_url
(web_host).
See #981
Edited by Abhilash Raj