summaryrefslogtreecommitdiff
path: root/postgresqleu/views.py
diff options
context:
space:
mode:
authorMagnus Hagander2021-04-22 19:24:23 +0000
committerMagnus Hagander2021-04-22 19:24:23 +0000
commit6b998898f8bcc04425e7daad35df6b615a1b9f1d (patch)
tree70ce43e305614ba4774703978de53e88d462b441 /postgresqleu/views.py
parent568a8addbce723f4fa2c86a2e62e03e4c36e9870 (diff)
Add support for web based meetings
Instead of requiring people to get on IRC, support member meetings in a web browser. To make this work, there will be a simple websockets based server (hosted in a separate repository) that will act as a relay, and a trivial web app to handle the frontend. Also include a native handling of polls in the system, including timeouts, being typical actions during these meetings. Meeting log and handling goes in the database, making it easy to extract later for generation of official meeting minutes. Code by me, layout and styling by Ilaria Battiston.
Diffstat (limited to 'postgresqleu/views.py')
-rw-r--r--postgresqleu/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/postgresqleu/views.py b/postgresqleu/views.py
index 28a1263a..17daec52 100644
--- a/postgresqleu/views.py
+++ b/postgresqleu/views.py
@@ -175,6 +175,7 @@ def admin_dashboard(request):
'bank_file_uploads': bank_file_uploads,
'schedalert': conditional_exec_to_scalar(request.user.is_superuser, "SELECT NOT EXISTS (SELECT 1 FROM pg_stat_activity WHERE application_name='pgeu scheduled job runner' AND datname=current_database())"),
'mailqueuealert': conditional_exec_to_scalar(request.user.is_superuser, "SELECT EXISTS (SELECT 1 FROM mailqueue_queuedmail LIMIT 1)"),
+ 'meetingserver': settings.ENABLE_MEMBERSHIP and settings.MEETINGS_STATUS_BASE_URL,
})