Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
wizards
mffzoom
Commits
9b35bc78
Commit
9b35bc78
authored
Mar 23, 2020
by
Martin Mareš
Browse files
App is installable
parent
8808d85a
Changes
3
Hide whitespace changes
Inline
Side-by-side
TODO
View file @
9b35bc78
- 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
app/Makefile
0 → 100644
View file @
9b35bc78
DEST
=
/srv/mffzoom/app
install
:
rsync
-av
--delete
zoom.py templates
$(DEST)
/
touch
$(DEST)
/force-reload
app/zoom.py
View file @
9b35bc78
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment