Commit Graph

21 Commits

Author SHA1 Message Date
6e85c4103a Disable panopto scraping for now 2024-02-04 17:37:30 +00:00
bee3984a35 Fix issue missing lecture when calling checkin 2024-02-04 17:36:39 +00:00
f9f4762450 Continue adding problem sheets 2023-10-08 15:46:19 +01:00
84143c683f Add some naive filtering to the Toggl scraping job to ignore time entries that have already been tracked 2023-10-06 22:06:54 +01:00
0cb03812cf Track associated toggl entry id for uniqueness, show stats for time spent in different parts of the lecture flow. 2023-10-06 22:00:01 +01:00
5b74f1380b Fix bug in toggl scraping
Some checks failed
Build and Publish Docker Container / build (push) Failing after 5m4s
2023-10-06 16:10:17 +01:00
750b67fd2f Fix panopto scraping 2023-10-05 09:59:13 +01:00
04caed2783 Add checkin notifications for starting lectures 2023-10-05 09:59:08 +01:00
0e0d26d06d Move calendar scraping to a model method 2023-10-04 14:41:15 +01:00
9a5116f29e Add Toggl data to attendances, fix attendance creation for past lectures. Change styling a little. 2023-10-02 16:19:37 +01:00
58c1280309 Update Lecture-Recording relationship and add Lecture cancellation status
The commit introduces notable changes to the Lecture-Recording model relationship in our application and adds a new cancellation status to Lecture model.

Models Lecture and Recording previously had a belongs_to :recording and belongs_to :lecture relationship respectively. However, this setup was not reflecting the correct relationship between these two entities in the actual educational setup where a lecture can have a recording but a recording is always of a lecture. Thus, the relationship has been revised to has_one :recording in Lecture and belongs_to :lecture in Recording models.

Also, added the ability to mark a lecture as "cancelled". This addresses the requirement of representing real-world scenarios where lectures are sometimes cancelled. This cancellation status is then reflected in the Attendance Tracker view and is also handled in the ScrapePanoptoJob.

Additionally, new changes are reflected in the application's schema, migration files, admin dashboard, and stylesheets (for displaying cancelled lectures).
2023-10-02 09:47:46 +01:00
d9d182bc94 Update lecture properties and various migration changes
Modified code to remove 'status' field from lecture's table and added 'event_uuid' field. Also refined the 'start_time' field in recordings' table to handle datetime instead of strings. Further, made minor changes in scraping jobs and seeding logic. Implemented these changes to allow lectures to be associated with calendar events and streamlined various fields.
2023-10-01 19:44:20 +01:00
070816f0a2 Rename job to be more inline with other jobs 2023-10-01 18:01:41 +01:00
83bc134998 Add basic calendar scraping 2023-10-01 17:58:37 +01:00
ef34d1c5b5 Update panopto scraping to separate lectures from recordings. Implement naive lecture creation on new recordings. 2023-10-01 17:51:05 +01:00
9923067a17 Stash 2023-10-01 17:34:41 +01:00
598c1204e3 Move the display to attendances 2023-09-29 21:32:28 +01:00
2934d21f5f Rephrase toggl scraping in term of attendances 2023-09-29 21:19:43 +01:00
be4f3f75c3 Add toggl scraping 2023-09-29 21:06:33 +01:00
0d97b5fdc0 Scraping work 2023-09-29 19:54:03 +01:00
0d86f26613 Initial commit 2023-09-29 17:45:19 +01:00