From d0aa8ac11910e7352d83dfe281afebb57cfde554 Mon Sep 17 00:00:00 2001
From: Magnus Hagander
Note 2: Please do not subscribe to mailing lists using e-mail -accounts protected by mail-back anti-spam systems. These are extremely annoying -to the list maintainers and other members, and you may be automatically unsubscribed.""" - }, NavContext(request, "community")) def listinfo(request): resp = HttpResponse(content_type='application/json') diff --git a/pgweb/settings.py b/pgweb/settings.py index 2fd6a106..c79ca50f 100644 --- a/pgweb/settings.py +++ b/pgweb/settings.py @@ -146,7 +146,6 @@ STATIC_CHECKOUT="/usr/local/pgweb-static" # Location of a checked o NOTIFICATION_EMAIL="someone@example.com" # Address to send notifications *to* NOTIFICATION_FROM="someone@example.com" # Address to send notifications *from* NOREPLY_FROM="someone@example.com" # Address to send unverified messages from -LISTSERVER_EMAIL="someone@example.com" # Address to majordomo BUGREPORT_EMAIL="someone@example.com" # Address to pgsql-bugs list BUGREPORT_NOREPLY_EMAIL="someone-noreply@example.com" # Address to no-reply pgsql-bugs address DOCSREPORT_EMAIL="someone@example.com" # Address to pgsql-docs list diff --git a/pgweb/urls.py b/pgweb/urls.py index 1dba7ccf..9380b31a 100644 --- a/pgweb/urls.py +++ b/pgweb/urls.py @@ -49,7 +49,8 @@ urlpatterns = patterns('', (r'^community/$', 'pgweb.core.views.community'), (r'^community/contributors/$', 'pgweb.contributors.views.completelist'), (r'^community/lists/$', RedirectView.as_view(url='/list/', permanent=True)), - (r'^community/lists/subscribe/$', 'pgweb.lists.views.subscribe'), + (r'^community/lists/subscribe/$', RedirectView.as_view(url='https://lists.postgresql.org/', permanent=True)), + (r'^community/lists/listinfo/$', 'pgweb.lists.views.listinfo'), (r'^community/lists/activate/$', 'pgweb.lists.views.activate'), (r'^community/survey/vote/(\d+)/$', 'pgweb.survey.views.vote'), diff --git a/templates/lists/subscribe_form.html b/templates/lists/subscribe_form.html deleted file mode 100644 index 2f99d559..00000000 --- a/templates/lists/subscribe_form.html +++ /dev/null @@ -1,28 +0,0 @@ -{%extends "base/form.html"%} -{% block extrahead %} -{{ block.super }} - -{%endblock%} -{%block pre_form_header%} -
-The PostgreSQL project is currently migrating all mailinglists from an -old legacy system to a new more modern system. As this migration goes -on, there will unfortunately be two different sets of subscribe and -unsubscribe methods. -
--To subscribe to one of the lists that have been migrated, please use -the new system. -
--If the list you want to subscribe to is listed below, it has not yet -been migrated. For these lists, please use the form below. Use the -same form to unsubscribe from one of these lists. -
-{%endblock%}