Commit Graph

31 Commits

Author SHA1 Message Date
e8ea826976 Run good job migration and add dashboard 2024-02-07 10:19:14 +00:00
5f6bd01882 Add default_live_video_url 2024-02-04 15:46:28 +00:00
e8e143355d Add online property and live video URL to lecture models, as well as a default value at the course level 2024-02-04 14:23:07 +00:00
49282a72bf Add new semester 2 courses 2024-02-04 13:49:44 +00:00
08b83e32ab Add uniqueness constraints to course properties 2024-02-04 13:38:05 +00:00
04566509dc Add archived property to courses 2024-02-04 13:31:50 +00:00
3d078f215f Add document links to work items 2023-10-08 16:40:16 +01:00
f712837f91 Improve icons, add homepage links to courses
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m28s
2023-10-08 16:38:40 +01:00
c8b688ce57 Flesh out work items in the UI
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m43s
2023-10-08 16:06:07 +01:00
f9f4762450 Continue adding problem sheets 2023-10-08 15:46:19 +01:00
6a2f053bb6 Added WorkItems as a new subject for TrackedTimeEntries.
- Made TrackedTimeEntries polymorphic to belong to both Lecture and WorkItems models
- Added associated migrations for existing data
- Added to administrate UI
2023-10-07 15:53:31 +01:00
f121c990e8 Add WorkItem model for Problem sheets and equivalent 2023-10-07 15:41:32 +01:00
3540fa75f7 Remove attendances model 2023-10-06 22:09:38 +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
a2dfad331b Create TrackedTimeEntry as more general replacement of Attendance to include preparation and review 2023-10-06 21:09:28 +01:00
fe15365524 Add lecture kinds 2023-10-02 16:37:52 +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
fcff7ca839 Add the rest of my modules 2023-10-02 11:13:31 +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
915ce5112d Fix week numbering being off by one and add custom semester starts per module 2023-10-01 17:57:03 +01:00
9923067a17 Stash 2023-10-01 17:34:41 +01:00
69a97a3fa9 Add Recording model 2023-10-01 17:16:08 +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
0e0c6694ac Initial work for import from panopto 2023-09-29 19:19:03 +01:00
376e80e385 Make lectures belong to courses 2023-09-29 18:20:43 +01:00
38f48d1736 Create course model 2023-09-29 18:18:03 +01:00
a496965d81 Create lecture model 2023-09-29 18:14:31 +01:00
0d86f26613 Initial commit 2023-09-29 17:45:19 +01:00