From fa95c6ae5fe0d644c76f1f136a5d07578fc644c6 Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Thu, 23 Jan 2020 21:14:15 +0100
Subject: [PATCH] Add new alumnigraph option

---
 uwsgi-python/templates/apps/alumnigraph.j2 | 1 +
 uwsgi-python/vars/alumnigraph.yml          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/uwsgi-python/templates/apps/alumnigraph.j2 b/uwsgi-python/templates/apps/alumnigraph.j2
index 09fb31d..31ba5f4 100644
--- a/uwsgi-python/templates/apps/alumnigraph.j2
+++ b/uwsgi-python/templates/apps/alumnigraph.j2
@@ -4,6 +4,7 @@ SQLALCHEMY_DATABASE_URI = "postgresql://{{ app_user }}:@/{{ app_db_name }}"
 SQLALCHEMY_TRACK_MODIFICATIONS = False
 
 YEAR_DISTANCE = {{ alumni_graph_year_distance }}
+NOTIFICATION_WAITING_PERIOD = {{ alumni_graph_notification_waiting_period }}
 
 MAIL_FROM = "{{ alumni_graph_mail_from }}"
 MAIL_REPLY_TO = "{{ alumni_graph_mail_reply_to }}"
diff --git a/uwsgi-python/vars/alumnigraph.yml b/uwsgi-python/vars/alumnigraph.yml
index 34344a2..330e513 100644
--- a/uwsgi-python/vars/alumnigraph.yml
+++ b/uwsgi-python/vars/alumnigraph.yml
@@ -31,6 +31,7 @@ app_secret_config: true
 app_secret_config_keys: []
 
 alumni_graph_year_distance: 5
+alumni_graph_notification_waiting_period: 21
 alumni_graph_mail_from: "Sender <sender@example.org>"
 alumni_graph_mail_reply_to: "Reply-To <reply-to@example.org>"
 
-- 
GitLab