diff --git a/js/dir_app.js b/js/dir_app.js
index 04c28a9..09ff283 100644
--- a/js/dir_app.js
+++ b/js/dir_app.js
@@ -1286,7 +1286,7 @@ const ActivityList = Vue.component('activitylist', {
Edit
+ class="text-sm text-blue-600 hover:underline">Edit
· In person at {{ a.location_irl }} or
online
- online (zoom link not found)
+ online
· In person at {{ a.location_irl }}
· Online
diff --git a/queries.txt b/queries.txt
index d43128e..a05c5d4 100644
--- a/queries.txt
+++ b/queries.txt
@@ -1,12 +1,13 @@
Show tables|show tables;
+Recent logs|select * from gavi_logs order by id desc limit 400;
All sessions, most recent first|select * from conf_sessions order by id desc;
Signups by user|select i.id, i.timestamp, u.name, u.goo, u.email, s.title, s.mode from conf_signups i join conf_users u on i.user=u.id join conf_sessions s on i.session=s.id order by i.id desc;
-Signups by session|select n.title,u.name, n.type,n.starttime,n.mode, u.goo, u.email from conf_sessions n join conf_signups s on s.session=n.id join conf_users u on s.user=u.id where n.id>1413 order by n.id desc;
-Signup count per session|SELECT n.title, n.type, n.starttime, n.mode, COUNT(s.user) AS signup_count FROM conf_sessions n JOIN conf_signups s ON s.session = n.id WHERE n.id > 1413 GROUP BY n.title, n.type, n.starttime, n.mode ORDER BY n.starttime;
-Signup count per session by popularity|SELECT n.title, n.type, n.starttime, n.mode, COUNT(s.user) AS signup_count FROM conf_sessions n JOIN conf_signups s ON s.session = n.id WHERE n.id > 1413 GROUP BY n.title, n.type, n.starttime, n.mode ORDER BY signup_count desc;
+Signups by session|select n.title,u.name, n.type,n.starttime,n.mode, u.goo, u.email from conf_sessions n join conf_signups s on s.session=n.id join conf_users u on s.user=u.id where n.id>1439 order by n.id desc;
+Signup count per session|SELECT n.title, n.type, n.starttime, n.mode, COUNT(s.user) AS signup_count FROM conf_sessions n JOIN conf_signups s ON s.session = n.id WHERE n.id > 1439 GROUP BY n.title, n.type, n.starttime, n.mode ORDER BY n.starttime;
+Signup count per session by popularity|SELECT n.title, n.type, n.starttime, n.mode, COUNT(s.user) AS signup_count FROM conf_sessions n JOIN conf_signups s ON s.session = n.id WHERE n.id > 1439 GROUP BY n.title, n.type, n.starttime, n.mode ORDER BY signup_count desc;
Meta data|select * from conf_uinforecord;
All users, most recent first|select * from conf_users order by id desc;
-Hosts with emails|SELECT u.email FROM conf_sessions n JOIN conf_hosts h ON h.session=n.id JOIN conf_users u ON h.host=u.id WHERE n.id > 1413 ORDER BY n.starttime;
+Hosts with emails|SELECT u.email FROM conf_sessions n JOIN conf_hosts h ON h.session=n.id JOIN conf_users u ON h.host=u.id WHERE n.id > 1439 ORDER BY n.starttime;
Surveys with user|select a.answer, s.title, u.name, s.starttime, s.mode from conf_answers a join conf_users u on u.id=a.user join conf_sessions s on s.id=a.session where s.id>1412 order by a.session, a.question, u.name
Surveys without user|select a.answer, s.title, s.starttime, s.mode from conf_answers a join conf_sessions s on s.id=a.session where s.id>1412 order by a.session, a.question
Full surveys with users|SELECT s.id AS sessionid, s.title, s.starttime, s.mode, s.parent, GROUP_CONCAT(DISTINCT u1.name ORDER BY u1.name SEPARATOR ', ') AS hosts, GROUP_CONCAT(DISTINCT u2.name ORDER BY u2.name SEPARATOR ', ') AS signups, GROUP_CONCAT(DISTINCT CONCAT(u3.name, ': ', a.answer, ' (Q', a.question, ')') ORDER BY a.question SEPARATOR ' | ') AS ratings_comments FROM conf_sessions s LEFT JOIN conf_hosts h ON h.session = s.id LEFT JOIN conf_users u1 ON h.host = u1.id LEFT JOIN conf_signups i ON i.session = s.id LEFT JOIN conf_users u2 ON i.user = u2.id LEFT JOIN conf_answers a ON a.session = s.id LEFT JOIN conf_users u3 ON a.user = u3.id GROUP BY s.id ORDER BY s.id DESC;
@@ -14,3 +15,4 @@ Full surveys without users|SELECT s.id AS sessionid, s.title, s.starttime, s.mod
Turn on zoom links and surveys|update conf_uinforecord set `value`=1 where id>1 and id<4;
Turn off zoom links and surveys|update conf_uinforecord set `value`=0 where id>1 and id<4;
New user|insert into conf_users (`name`,`goo`,`email`,`active`,p2id) values ('name','123456','yyy@gavilan.edu',0,0);
+Update user|update conf_users set name=xxx where id=xxx;