Skip to content
Snippets Groups Projects
Commit 9b35bc78 authored by Martin Mareš's avatar Martin Mareš
Browse files

App is installable

parent 8808d85a
Branches
No related tags found
No related merge requests found
- Number of workers
- Access rights
- Reloading
- Ztlumit logování
DB:
- Trigger na "last modified" u meetingů
- indexy
Hook:
- Adjust number of workers
- Ztlumit logování
- hooky na create/delete user
- přehlednější log
- indexy
DEST=/srv/mffzoom/app
install:
rsync -av --delete zoom.py templates $(DEST)/
touch $(DEST)/force-reload
......@@ -107,12 +107,13 @@ def main_page():
# XXX: No meeting is ever longer than 24 hours
db_query("""
SELECT m.meeting_id, m.topic, m.start_time, m.duration, u.email, u.full_name
SELECT m.meeting_id, m.topic, s.start_time, s.duration, u.email, u.full_name
FROM zoom_meetings m
JOIN zoom_users u ON u.id = m.host_id
WHERE m.start_time >= DATE %s - INTERVAL '1 day'
AND m.start_time < DATE %s + INTERVAL '1 day'
ORDER BY u.email, m.start_time
JOIN zoom_users u ON u.uid = m.host_uid
JOIN zoom_schedule s ON s.mid = m.mid
WHERE s.start_time >= DATE %s - INTERVAL '1 day'
AND s.start_time < DATE %s + INTERVAL '1 day'
ORDER BY u.email, s.start_time
""",
(dt, dt))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment